Commit 71103f7f authored by 王建威's avatar 王建威

bugfix

parent f1d8bf60
...@@ -88,7 +88,7 @@ ...@@ -88,7 +88,7 @@
<text class="focus_shop" v-if="data.EquipmentInfo.collect_store === 1" @click="collectShop(data.StoreInfo.store_id, 0)">已关注</text> <text class="focus_shop" v-if="data.EquipmentInfo.collect_store === 1" @click="collectShop(data.StoreInfo.store_id, 0)">已关注</text>
</view> </view>
<view class="shop_goods"> <view class="shop_goods">
<view class="shop_goods_item" v-for="(val, index) in data.EquipmentList" :key="index"> <view class="shop_goods_item" v-for="(val, index) in data.EquipmentList" :key="index" @click="jumpDetail(val.equipment_id)">
<image :src="val.img_url"></image> <image :src="val.img_url"></image>
<view class="shop_goods_name">{{val.equipment_name}}</view> <view class="shop_goods_name">{{val.equipment_name}}</view>
<view class="shop_goods_price"><text v-if="isLogin">¥</text>{{isLogin ? val.equipment_price : '登录显示价格'}}</view> <view class="shop_goods_price"><text v-if="isLogin">¥</text>{{isLogin ? val.equipment_price : '登录显示价格'}}</view>
...@@ -297,7 +297,12 @@ ...@@ -297,7 +297,12 @@
} }
} }
}) })
} },
jumpDetail(id) {
uni.navigateTo({
url: `/pages/installment/installmentinfo?id=${id}`,
});
},
}, },
components: { components: {
uniPopup, uniPopup,
...@@ -586,13 +591,18 @@ ...@@ -586,13 +591,18 @@
display: block; display: block;
} }
} }
.shop_goods::-webkit-scrollbar {
display: none;
}
.shop_goods { .shop_goods {
display: flex; display: flex;
justify-content: space-between; justify-content: flex-start;
padding: 40rpx 24rpx 24rpx; padding: 40rpx 24rpx 24rpx;
background: #FFFFFF; background: #FFFFFF;
overflow: scroll;
.shop_goods_item { .shop_goods_item {
width: 160rpx; width: 160rpx;
margin-right: 20rpx;
image { image {
width: 120rpx; width: 120rpx;
height: 120rpx; height: 120rpx;
...@@ -622,6 +632,9 @@ ...@@ -622,6 +632,9 @@
text-align: center; text-align: center;
} }
} }
.shop_goods_item:last-child {
margin-right: 0;
}
} }
.goods_info_bottom_bar { .goods_info_bottom_bar {
width: 100%; width: 100%;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment