|
@@ -51,7 +51,7 @@
|
|
|
<view class="jx-box-title"><image src="../../static/sy/sy03.png" mode=""></image></view>
|
|
|
<view class="jx-box-img"><image src="../../static/sy/sy09.png" mode=""></image></view>
|
|
|
</view>
|
|
|
- <view class="jx-box-content" v-for="(item, index) in bastList">
|
|
|
+ <!-- <view class="jx-box-content" v-for="(item, index) in bastList">
|
|
|
<view class="content-left"><image :src="item.image" mode=""></image></view>
|
|
|
<view class="content-right">
|
|
|
<view class="shop-name">{{ item.store_name }}</view>
|
|
@@ -67,11 +67,11 @@
|
|
|
<view class="shop-content-right" @click="navToDetailPagevip(item)">购买升级</view>
|
|
|
</view>
|
|
|
</view>
|
|
|
- </view>
|
|
|
- <view class="more" @click="navTo('/pages/product/vip')">
|
|
|
+ </view> -->
|
|
|
+ <!-- <view class="more" @click="navTo('/pages/product/vip')">
|
|
|
<view class="more-font">查看更多</view>
|
|
|
<image class="more-icon" src="../../static/img/img39.png" mode=""></image>
|
|
|
- </view>
|
|
|
+ </view> -->
|
|
|
<view class="xian"></view>
|
|
|
<view class="product-box" v-if="shoplist.length != 0">
|
|
|
<view class="product-title">
|
|
@@ -82,7 +82,10 @@
|
|
|
<view class="hotgoods">
|
|
|
<view class="hotgoods-item" v-for="item in shoplist" :key="item.id" @click="navToDetailPage(item)">
|
|
|
<view class="image-wrapper"><image class="image" :src="item.image" mode="scaleToFill"></image></view>
|
|
|
- <view class="title clamp2">{{ item.store_name }}</view>
|
|
|
+ <view class="title clamp">{{ item.store_name }}</view>
|
|
|
+ <view class="redRange">
|
|
|
+ 分红额度:{{item.give_award_range}}
|
|
|
+ </view>
|
|
|
<view class="hot-price">
|
|
|
<!-- <view class="hotPrice-box">会员价</view> -->
|
|
|
<view class="price">
|
|
@@ -277,12 +280,12 @@ export default {
|
|
|
uni.stopPullDownRefresh();
|
|
|
});
|
|
|
},
|
|
|
- getvip() {
|
|
|
- getProducts({ cid: 52, page: 1, limit: 10 }).then(({ data }) => {
|
|
|
- this.bastList = data; //会员礼包
|
|
|
- console.log(this.bastList, '123456');
|
|
|
- });
|
|
|
- },
|
|
|
+ // getvip() {
|
|
|
+ // getProducts({ cid: 52, page: 1, limit: 10 }).then(({ data }) => {
|
|
|
+ // this.bastList = data; //会员礼包
|
|
|
+ // console.log(this.bastList, '123456');
|
|
|
+ // });
|
|
|
+ // },
|
|
|
//轮播图切换修改背景色
|
|
|
swiperChange(e) {
|
|
|
const index = e.detail.current;
|
|
@@ -634,6 +637,11 @@ page,
|
|
|
font-weight: 500;
|
|
|
color: #333333;
|
|
|
}
|
|
|
+ .redRange{
|
|
|
+ font-size: $font-sm;
|
|
|
+ margin-left: 15rpx;
|
|
|
+ color: #999999;
|
|
|
+ }
|
|
|
|
|
|
.titlee {
|
|
|
margin-left: 15rpx;
|