Sfoglia il codice sorgente

修改商品问题等

fuwei 6 anni fa
parent
commit
f5b9b17334

+ 3 - 0
store/src/admin/goodsManage/add.vue

@@ -329,6 +329,8 @@ export default {
       // width: 104px;
       // width: 104px;
       margin-right: 20px;
       margin-right: 20px;
       margin-bottom: 20px;
       margin-bottom: 20px;
+      position: relative;
+      z-index: 9999;
       // &:nth-child(4n + 1) {
       // &:nth-child(4n + 1) {
       // 	margin-left: 0;
       // 	margin-left: 0;
       // }
       // }
@@ -344,6 +346,7 @@ export default {
 // button
 // button
 .app-footer {
 .app-footer {
   justify-content: space-evenly;
   justify-content: space-evenly;
+  z-index: 9999;
   .admin-button-com {
   .admin-button-com {
     width: 46%;
     width: 46%;
   }
   }

+ 1 - 1
store/src/admin/goodsManage/img-store.vue

@@ -32,7 +32,7 @@
       <block v-if="!$util.isEmpty(list.data)">
       <block v-if="!$util.isEmpty(list.data)">
         <div class="list" v-for="(item, index) in list.data" :key="index">
         <div class="list" v-for="(item, index) in list.data" :key="index">
           <div class="list-img" :style="{ height: listWidth + 'px' }">
           <div class="list-img" :style="{ height: listWidth + 'px' }">
-            <img :src="item.imgUrl" alt="图片" mode="heightFix" />
+            <img :src="item.imgUrl" alt="图片" mode="aspectFit" />
           </div>
           </div>
           <div class="list-det">
           <div class="list-det">
             <div class="app-size-28">{{ item.name }}</div>
             <div class="app-size-28">{{ item.name }}</div>

+ 5 - 1
store/src/admin/goodsManage/list.vue

@@ -34,7 +34,7 @@
               <div class="goods-list" v-for="(item, idx) in list.data" :key="idx">
               <div class="goods-list" v-for="(item, idx) in list.data" :key="idx">
                 <div class="goods-list-top">
                 <div class="goods-list-top">
                   <div class="img-blo">
                   <div class="img-blo">
-                    <img :src="item.smallImgList[0]" alt="商品图" mode="heightFix" style="height:130rpx;" />
+                    <img :src="item.smallImgList[0]" alt="商品图" mode="aspectFit" />
                   </div>
                   </div>
                   <div class="goods-det">
                   <div class="goods-det">
                     <div class="goods-det-top">
                     <div class="goods-det-top">
@@ -475,6 +475,10 @@ page {
         width: 130px;
         width: 130px;
         height: 130px;
         height: 130px;
         margin-right: 20px;
         margin-right: 20px;
+        & > img {
+          height: 100%;
+          width: 100%;
+        }
       }
       }
       .goods-det {
       .goods-det {
         width: calc(100% - 150px);
         width: calc(100% - 150px);