shish vor 4 Jahren
Ursprung
Commit
9d144c4535
2 geänderte Dateien mit 3 neuen und 4 gelöschten Zeilen
  1. 1 1
      ghsApp/src/admin/item/detail.vue
  2. 2 3
      ghsApp/src/admin/ptItem/components/Item.vue

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

@@ -409,7 +409,7 @@ export default {
 				}
 				}
       }
       }
       let form = JSON.parse(JSON.stringify(this.form))
       let form = JSON.parse(JSON.stringify(this.form))
-      uni.showLoading({mask:true})
+      uni.showLoading({mask:true,title:'提交中'})
       requestHost({...form,cover:this.form.cover[0]}).then(res => {
       requestHost({...form,cover:this.form.cover[0]}).then(res => {
         uni.hideLoading()
         uni.hideLoading()
         if(res.code == 1){
         if(res.code == 1){

+ 2 - 3
ghsApp/src/admin/ptItem/components/Item.vue

@@ -1,6 +1,6 @@
 <template>
 <template>
 	<view class="item-cmd_bx" @click="selectItem(info)">
 	<view class="item-cmd_bx" @click="selectItem(info)">
-		<view class="img_bx" style="background:#eeeeee">
+		<view class="img_bx" style="background:#EEEEEE">
 			<image :src="info.cover" v-if="isImg"></image>
 			<image :src="info.cover" v-if="isImg"></image>
 		</view>
 		</view>
 		<view class="cmd-info_bx">
 		<view class="cmd-info_bx">
@@ -13,13 +13,12 @@
 			</view>
 			</view>
 			<view class="num-open_bx">
 			<view class="num-open_bx">
 				<view class="open-bx warn">
 				<view class="open-bx warn">
-					单位:<text>{{ info.bigUnit }}</text>
+					<text>{{info.ratio}}{{info.smallUnit}}/{{ info.bigUnit }}</text>
 				</view>
 				</view>
 			</view>
 			</view>
 		</view>
 		</view>
 	</view>
 	</view>
 </template>
 </template>
-
 <script>
 <script>
 import AppImg from "@/components/app-img";
 import AppImg from "@/components/app-img";
 export default {
 export default {