shish 3 лет назад
Родитель
Сommit
846cc28780

+ 1 - 1
ghsApp/src/admin/billing/index.vue

@@ -18,7 +18,7 @@
 			<scroll-view scroll-y scroll-with-animation class="tab-view">
 				<!--分类-->
 				<div v-for="(item, index) in globalClassItemList" :key="index" class="tab-bar-item" :class="classIndex == index ? 'active' : ''" :data-current="index" @tap.stop="swichClass(index)">
-					<text>{{ item.className || "" }}</text>
+					<text style="text-align: center;">{{ item.className || "" }}</text>
 				</div>
 				<view style="height: 120upx"></view>
 			</scroll-view>

+ 1 - 1
ghsApp/src/admin/item/list.vue

@@ -15,7 +15,7 @@
 			<view class="scroll-middle_bx">
 				<scroll-view scroll-y scroll-with-animation class="tab-view" :scroll-top="scrollTop">
 					<div v-for="(item, index) in globalClassItemList" :key="index" class="tab-bar-item" :class="[classIndex == index ? 'active' : '']" :data-current="index" @tap.stop="swichClass(index)">
-						<text>{{ item.className || "" }}</text>
+						<text style="text-align: center;">{{ item.className || "" }}</text>
 					</div>
 				</scroll-view>
 					<scroll-view scroll-y class="right-box" :scroll-into-view="scroll_into_view" scroll-with-animation="true"

+ 1 - 1
ghsApp/src/pagesPurchase/add.vue

@@ -19,7 +19,7 @@
 		<view class="scroll-middle_bx">
 			<scroll-view scroll-y scroll-with-animation class="tab-view">
 				<div v-for="(item, index) in globalClassItemList" :key="index" class="tab-bar-item" :class="[classIndex == index ? 'active' : '']" :data-current="index" @tap.stop="swichClass(index)">
-					<text>{{ item.className || "" }}</text>
+					<text style="text-align: center;">{{ item.className || "" }}</text>
 				</div>
 			</scroll-view>
 			<scroll-view scroll-y class="right-box" :scroll-into-view="scroll_into_view" scroll-with-animation="true" @scroll="scroll_detail" lower-threshold="100" @scrolltolower="scroll_bottom">

+ 2 - 2
hdApp/src/pagesPurchase/bookProduct.vue

@@ -31,8 +31,8 @@
 		<view class="scroll-middle_bx">
 			<scroll-view scroll-y scroll-with-animation class="tab-view">
 				<div v-for="(item, index) in filterProductInfo" :key="index" class="tab-bar-item" :class="[classIndex == index ? 'active' : '']" :data-current="index" @tap.stop="swichClass(index)">
-					<text v-if="item.classId=='-1' || item.classId=='-3'" style="color: red">{{ item.className || "" }}</text>
-					<text v-else>{{ item.className }}</text>
+					<text v-if="item.classId=='-1' || item.classId=='-3'" style="color: red;text-align: center;">{{ item.className || "" }}</text>
+					<text v-else style="text-align: center;">{{ item.className }}</text>
 				</div>
 				<view style="height:150upx"></view>
 			</scroll-view>

+ 2 - 2
hdApp/src/pagesPurchase/ghsProduct.vue

@@ -34,8 +34,8 @@
 		<view class="scroll-middle_bx">
 			<scroll-view scroll-y scroll-with-animation class="tab-view">
 				<div v-for="(item, index) in filterProductInfo" :key="index" class="tab-bar-item" :class="[classIndex == index ? 'active' : '']" :data-current="index" @tap.stop="swichClass(index)">
-					<text v-if="item.classId=='-1' || item.classId=='-3'" style="color: red;font-weight:bold;">{{ item.className || "" }}</text>
-					<text v-else>{{ item.className }}</text>
+					<text v-if="item.classId=='-1' || item.classId=='-3'" style="color: red;font-weight:bold;text-align: center;">{{ item.className || "" }}</text>
+					<text v-else style="text-align: center;">{{ item.className }}</text>
 				</div>
 				<view style="height:150upx"></view>
 			</scroll-view>