shish 3 lat temu
rodzic
commit
ed84e35177
1 zmienionych plików z 7 dodań i 3 usunięć
  1. 7 3
      hdApp/src/admin/goods/list.vue

+ 7 - 3
hdApp/src/admin/goods/list.vue

@@ -27,7 +27,7 @@
                   </view>
                   <view class="goods-det">
                     <view class="goods-det-top" style="margin-bottom:4upx;">
-                      <view class="goods-name" style="font-size:29upx;font-weight:bold;">{{ goodsItem.name||'' }}</view>
+                      <view class="goods-name" style="font-size:29upx;font-weight:bold;	overflow: hidden;text-overflow: ellipsis;white-space: nowrap;width:350upx;">{{ goodsItem.name||'' }}</view>
                     </view>
                     <view class="operate-wrap" style="margin-bottom:15upx;">
                       <view class="goods-price" style="font-size:23upx;">¥{{ goodsItem.price?parseFloat(goodsItem.price):0 }}</view>
@@ -35,7 +35,7 @@
                     <view class="operate-wrap">
                       <view style="font-size:23upx;">
                         <text>库存</text> <text style="font-weight:bold;margin-left:8upx;">{{goodsItem.stock}}</text>
-                        <text style="margin-left:12upx;color:#CCCCCC;">已售 {{ goodsItem.actualSold }}</text>
+                        <text style="margin-left:18upx;color:#CCCCCC;">已售 {{ goodsItem.actualSold }}</text>
                       </view>
                     </view>
                   </view>
@@ -112,12 +112,16 @@ export default {
   methods: {
 		moreToDo(item){
 			let that=this;
-			let doList = ['打1个标签', '打2个标签','打5个标签', '打10个标签','打20个标签']
+			let doList = ['打1个标签', '打2个标签','打5个标签', '打10个标签','设置为散花']
 			let doNum = [1,2,5,10,20]
 			uni.showActionSheet({
 				itemList: doList,
 				success: function (respond) {
 					let index = respond.tapIndex
+          if(index == 4){
+            that.$msg('开发中')
+            return
+          }
           let currentNum = Number(doNum[index])
           print({id:item.id,num:currentNum}).then(res=>{
             if(res.code == 1){