店铺会员制Vip功能增加

This commit is contained in:
2022-08-11 15:48:33 +08:00
parent 7e8ed7115d
commit 4b3d83007b
35 changed files with 6869 additions and 2379 deletions

View File

@@ -1,20 +1,16 @@
<template>
<view class="goods-item">
<image
src="https://gimg2.baidu.com/image_search/src=http%3A%2F%2Fc-ssl.duitang.com%2Fuploads%2Fitem%2F202003%2F18%2F20200318231340_shbab.thumb.1000_0.jpg&refer=http%3A%2F%2Fc-ssl.duitang.com&app=2002&size=f9999,10000&q=a80&n=0&g=0n&fmt=auto?sec=1662167784&t=893e1b78d1563aa0a9a65f4d14f21643"
mode="aspectFill" class="goods-cover" />
<image :src="item.cover" mode="aspectFill" class="goods-cover" />
<view class="goods-info">
<view class="_title">北欧抱枕靠垫沙发垫办公室腰靠等功能弃权</view>
<view class="_des">金凯来京东店 </view>
<view class="_title">{{item.name}}</view>
<view class="_des">{{item.shop.name}} </view>
<view class="_pin">
<view class="_has">
<image src="/static/book/fire.png" mode="widthFix" class="fire" /> 已拼1件
</view>
<view class="tuan">2人团</view>
<view class="_has" v-if="item.sales>0"> <image src="/static/book/fire.png" mode="widthFix" class="fire" /> 已拼 {{item.sales}} </view>
<view class="tuan">{{item.active.number}}人团</view>
</view>
<view class="price">
<view class="money"> 160.00 </view>
<view class="now-pin" @click="goPin(90)">马上拼团</view>
<view class="money">{{item.active.price}} <span>DT积分</span> </view>
<view class="now-pin" @click="goPin(item.goods_id)">马上拼团</view>
</view>
</view>
</view>
@@ -91,7 +87,8 @@
color: #d81e06;
background-color: rgba($color: $text-price, $alpha: 0.1);
padding: 4rpx 10rpx;
border-radius: 30rpx;
border-radius: 30rpx;
margin-right: $margin;
image {
width: 24rpx;
@@ -100,9 +97,6 @@
}
}
.tuan {
margin-left: $margin;
}
}
.price {
@@ -116,7 +110,12 @@
.money {
font-size: 34rpx;
font-weight: 600;
color: #d81e06;
color: #d81e06;
span{
font-size: 24rpx;
margin-left: 10rpx;
font-weight: normal;
}
}
.now-pin {