Authored by shuaiguo

Merge branch 'refs/heads/hotfix/second-image'

... ... @@ -7,8 +7,8 @@
<image-format
:class="product.status === 100 ? 'dim-imge' : 'second-image'"
:src="product.secondhand_image"
:width="180"
:height="180"/>
:width="360"
:height="360"/>
<div v-if="product.status === 100" class="dim-out"></div>
</div>
... ...
... ... @@ -19,8 +19,8 @@
:lazy="false"
alt="图片加载失败"
:src="item"
:width="375"
:height="375"
:width="750"
:height="750"
/>
<div class="pole-dot-area"></div>
</cube-slide-item>
... ... @@ -51,8 +51,8 @@
class="image"
:alt="info.image"
:src="info.image"
:width="70"
:height="70"
:width="140"
:height="140"
/>
<div class="middle" @click="'productId'">
<p class="name ellipsis">{{ info.productName }}</p>
... ...
... ... @@ -11,7 +11,7 @@
<SecondList ref="second" :list="skupList.list" :yasParams="yasParams"></SecondList>
</LayoutScroll>
<UfoNoItem class="empty" :tip="`暂无数据`" v-else></UfoNoItem>
<UfoNoItem v-if="isShowEmpty" class="empty" :tip="`暂无数据`"></UfoNoItem>
</LayoutApp>
</template>
... ... @@ -43,7 +43,7 @@ export default {
};
},
computed: {
...mapState(['skupList', 'isMore'])
...mapState(['skupList', 'isMore', 'isShowEmpty'])
},
methods: {
...mapActions(['fetchSecondSkupList']),
... ...
... ... @@ -34,7 +34,7 @@ export default function() {
}
}
},
errorData(state) {
showEmpty(state) {
state.isShowEmpty = true;
}
},
... ... @@ -55,8 +55,11 @@ export default function() {
let data = result.data;
commit('addList', { data, isReset });
if (data && !data.total) {
commit('showEmpty');
}
} else {
commit('errorData');
commit('showEmpty');
}
return result.data || [];
},
... ...
{
"name": "xianyu-ufo-app-web",
"version": "1.1.3",
"version": "1.1.4",
"private": true,
"description": "Xianyu Project With Express",
"repository": {
... ...