|
@@ -26,12 +26,8 @@
|
|
|
<view class="list_1_2">
|
|
|
<view class="goods">
|
|
|
<view class="goods_1">
|
|
|
- <image class="image" v-if="item.spec.file&&item.spec.file.length>0"
|
|
|
- :src="item.spec.file&&item.spec.file.length>0?item.spec.file[0].url:''"
|
|
|
- mode=""></image>
|
|
|
- <image class="image" v-else
|
|
|
- :src="item.goods.file&&item.goods.file.length>0?item.goods.file[0].url:''"
|
|
|
- mode=""></image>
|
|
|
+ <image class="image" v-if="item.spec.file&&item.spec.file.length>0" :src="item.spec.file&&item.spec.file.length>0?item.spec.file[0].url:''" mode=""></image>
|
|
|
+ <image class="image" v-else :src="item.goods.file&&item.goods.file.length>0?item.goods.file[0].url:''" mode=""></image>
|
|
|
</view>
|
|
|
<view class="goods_2">
|
|
|
<view class="goodsname textOver">
|
|
@@ -117,16 +113,16 @@
|
|
|
}
|
|
|
};
|
|
|
},
|
|
|
- onLoad: function(e) {
|
|
|
+ onLoad: async function(e) {
|
|
|
const that = this;
|
|
|
that.searchConfig();
|
|
|
- },
|
|
|
- onShow: async function(e) {
|
|
|
- const that = this;
|
|
|
await that.searchOther();
|
|
|
await that.watchlogin();
|
|
|
await that.search();
|
|
|
},
|
|
|
+ onShow: async function(e) {
|
|
|
+ const that = this;
|
|
|
+ },
|
|
|
onPullDownRefresh: async function() {
|
|
|
const that = this;
|
|
|
that.clearPage();
|
|
@@ -397,9 +393,10 @@
|
|
|
font-size: 14px;
|
|
|
color: #858585;
|
|
|
}
|
|
|
+
|
|
|
.other_2 {
|
|
|
font-size: var(--font14Size);
|
|
|
-
|
|
|
+
|
|
|
text {
|
|
|
color: #ff0000;
|
|
|
padding: 0 2vw 0 0;
|