1
This commit is contained in:
@@ -7,7 +7,11 @@
|
||||
</view>
|
||||
<view class="line-wrap"
|
||||
:style="{ left: `${(100 / tabs.length) * active}%`, width: `${100 / tabs.length}%` }">
|
||||
<view class="line"></view>
|
||||
<view class="line">
|
||||
<image style="width:40rpx; height: 10rpx;"
|
||||
src="https://czg-qr-order.oss-cn-beijing.aliyuncs.com/index/today/dg.png" mode="aspectFill">
|
||||
</image>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
</u-sticky>
|
||||
@@ -46,8 +50,7 @@
|
||||
<view class="content">
|
||||
<view class="shop-info">
|
||||
<view class="shop-item">
|
||||
<view class="cover flex-start" v-for="(item1,index1) in item.detailList"
|
||||
:key="index1">
|
||||
<view class="cover flex-start" v-for="(item1,index1) in item.detailList" :key="index1">
|
||||
<!-- <image :src="item1.productImg" style="width: 200rpx;height: 200rpx; border-radius: 20rpx;" mode="widthFix"></image> -->
|
||||
<c-image width="200" height="200" radius="20" :src="item1.productImg"></c-image>
|
||||
</view>
|
||||
@@ -74,6 +77,8 @@
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
<image style="margin:32rpx auto;" src="https://czg-qr-order.oss-cn-beijing.aliyuncs.com/nomore.png"
|
||||
v-if="is_end" mode="aspectFill"></image>
|
||||
<u-loadmore :status="form.status" fontSize="28" color="#999" iconSize="28" />
|
||||
</view>
|
||||
</template>
|
||||
@@ -137,16 +142,11 @@
|
||||
methods: {
|
||||
async loginwxuserInfo() {
|
||||
let res = await this.api.loginwxuserInfo({
|
||||
userId: uni.cache.get('userInfo').id,
|
||||
shopId: uni.cache.get('shopUser').shopId
|
||||
userId: uni.cache.get('userInfo').id
|
||||
})
|
||||
if (res.code == 0) {
|
||||
uni.cache.set('userInfo', res.data.userInfo);
|
||||
uni.cache.set('shopUser', res.data.shopUser);
|
||||
uni.cache.set('shopInfo', res.data.shopInfo);
|
||||
this.shopUser = uni.cache.get('shopUser')
|
||||
uni.cache.set('userInfo', res.data);
|
||||
this.userInfo = uni.cache.get('userInfo')
|
||||
this.shopInfo = uni.cache.get('shopInfo')
|
||||
}
|
||||
},
|
||||
orderinfo(e) {
|
||||
@@ -203,10 +203,15 @@
|
||||
$tabH: 80upx;
|
||||
$color: #ff411d;
|
||||
|
||||
page {
|
||||
background: #f6f6f6;
|
||||
}
|
||||
|
||||
.tab-wrap {
|
||||
display: flex;
|
||||
height: $tabH;
|
||||
position: relative;
|
||||
background: #ffd158;
|
||||
padding: 48rpx 0 72rpx 0;
|
||||
|
||||
.item {
|
||||
flex: 1;
|
||||
@@ -215,11 +220,15 @@
|
||||
justify-content: center;
|
||||
position: relative;
|
||||
z-index: 2;
|
||||
|
||||
text {
|
||||
color: #fff;
|
||||
}
|
||||
}
|
||||
|
||||
.line-wrap {
|
||||
position: absolute;
|
||||
bottom: 0;
|
||||
bottom: 48rpx;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
padding-bottom: 8upx;
|
||||
@@ -227,16 +236,22 @@
|
||||
|
||||
.line {
|
||||
$h: 6upx;
|
||||
width: 30%;
|
||||
height: $h;
|
||||
margin-top: 6rpx;
|
||||
// width: 30%;
|
||||
// height: $h;
|
||||
border-radius: $h;
|
||||
background-color: $color;
|
||||
// background-color: $color;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.list-wrap {
|
||||
padding: $paddingSize;
|
||||
position: relative;
|
||||
margin-top: -24rpx;
|
||||
z-index: 99999;
|
||||
background: #f6f6f6;
|
||||
border-radius: 24rpx 24rpx 0rpx 0rpx;
|
||||
|
||||
.item {
|
||||
border-radius: 20upx;
|
||||
|
||||
Reference in New Issue
Block a user