杨阁辉 4 years ago
parent
commit
d179bba1d9
1 changed files with 9 additions and 16 deletions
  1. 25
      pages/mall/index.vue

25
pages/mall/index.vue

@ -30,7 +30,7 @@
></image> ></image>
<view class="" style="width: 100%"> <view class="" style="width: 100%">
<view class="title"> <view class="title">
<view class="">{{ item.brandName }}</view>
<view class="">{{ item.name }}</view>
<view class=""> <view class="">
<image <image
class="icon" class="icon"
@ -39,10 +39,10 @@
></image> ></image>
</view> </view>
</view> </view>
<view class="sub-title">{{ item.categoryName }}/{{ item.name }}/{{ item.manufacturerName }}</view>
<view class="desc">
<view class="sub-title">{{ item.manufacturerName }}/{{ item.categoryName }}/{{ item.brandName }}</view>
<view class="desc flex-row-center-start" style="flex-wrap: wrap">
克重(价格) 克重(价格)
<text v-for="(sku, index) in item.skuList" :key="index">{{ sku.weight }}({{ sku.listPrice }})</text>
<text style="margin-right: 8rpx" v-for="(sku, index) in item.skuList" :key="index">{{ sku.weight }}g({{ sku.listPrice }})</text>
</view> </view>
</view> </view>
</view> </view>
@ -58,7 +58,7 @@
</scroll-list> </scroll-list>
</view> </view>
<view> <view>
<view class="offer-prices" @click="nativeTo()"><image class="my-image" src="../../static/imgs/trade/camera.png" mode=""></image></view>
<view class="offer-prices" @click="nativeTo()"><image class="my-image" src="../../static/imgs/trade/camera.png"></image></view>
</view> </view>
<no-data v-if="!pageShow"></no-data> <no-data v-if="!pageShow"></no-data>
</view> </view>
@ -134,7 +134,7 @@ export default {
onShow() { onShow() {
if (this.hasCompany) { if (this.hasCompany) {
this.storeInformation = { this.storeInformation = {
supplierId: this.$store.state.supplierInfo.supplierId,
supplierId: this.$store.state.supplierInfo.supplierId
} }
this.queryData() this.queryData()
this.getSupplier(this.$store.state.supplierInfo.supplierId) this.getSupplier(this.$store.state.supplierInfo.supplierId)
@ -424,18 +424,11 @@ export default {
z-index: 9999; z-index: 9999;
right: 32rpx; right: 32rpx;
bottom: 122rpx; bottom: 122rpx;
background-color: #007aff;
border-radius: 50%; border-radius: 50%;
padding: 10rpx;
text-align: center;
width: 110rpx;
height: 110rpx;
border: 2rpx solid #f9f9f9;
width: 100rpx;
height: 100rpx;
overflow: hidden;
box-shadow: 0rpx 4rpx 34rpx 0rpx rgba(0, 0, 0, 0.2); box-shadow: 0rpx 4rpx 34rpx 0rpx rgba(0, 0, 0, 0.2);
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
} }
.my-image { .my-image {
width: 100rpx; width: 100rpx;

Loading…
Cancel
Save