lin
2026-06-11 5df313e611a4459c8de026fafe68b7873ca010d7
feat:星享购 新增会员价格
10 files modified
51 ■■■■ changed files
pages/catesList/catesList.vue 6 ●●●●● patch | view | raw | blame | history
pages/ginfo/ginfo.vue 4 ●●●● patch | view | raw | blame | history
pages/index/index.vue 11 ●●●●● patch | view | raw | blame | history
pages/login/login.vue 3 ●●●● patch | view | raw | blame | history
pages/search/search.vue 6 ●●●●● patch | view | raw | blame | history
static/css/carts.css patch | view | raw | blame | history
static/css/ginfo.css 8 ●●●●● patch | view | raw | blame | history
static/css/index.css 5 ●●●●● patch | view | raw | blame | history
static/css/order.css 3 ●●●● patch | view | raw | blame | history
static/css/search.css 5 ●●●●● patch | view | raw | blame | history
pages/catesList/catesList.vue
@@ -6,9 +6,15 @@
                    <image lazy-load class="goods-icon" :src="itm.icon" mode="widthFix"></image>
                    <view class="goods-title">{{itm.title}}</view>
                    <view class="goods-price">
                        <view>原价</view>
                        <view>¥</view>
                        <view class="red">{{itm.price}}</view>
                    </view>
                    <view class="goods-price">
                        <view>会员价</view>
                        <view>¥</view>
                        <view class="red">{{itm.vprice}}</view>
                    </view>
                </view>
            </view>
            <view class="noData" v-else>
pages/ginfo/ginfo.vue
@@ -12,8 +12,12 @@
        <view class="gTitle">
            <view class="">{{goodsData.title}}</view>
            <view class="">
                <text>原价</text>
                <text>¥</text>
                <text>{{goodsData.price}}</text>
                <text>会员价</text>
                <text>¥</text>
                <text>{{goodsData.vprice}}</text>
                <!-- <text>积分:{{goodsData.points}}</text> -->
                <!-- <text>原价:¥{{goodsData.price}}</text> -->
            </view>
pages/index/index.vue
@@ -91,6 +91,7 @@
                        <image lazy-load class="goods-icon" :src="itm.icon" mode=""></image>
                        <view class="goods-title">{{itm.title}}</view>
                        <view class="goods-price">
                            <view>原价</view>
                            <view>¥</view>
                            <view class="red">{{itm.price}}</view>
                            <!-- <view class="hyj">
@@ -99,6 +100,16 @@
                            <!-- <view>¥</view>
                            <view class="red">{{itm.price}}</view> -->
                        </view>
                        <view class="goods-price">
                            <view>会员价</view>
                            <view>¥</view>
                            <view class="red">{{itm.vprice}}</view>
                            <!-- <view class="hyj">
                                <image src="@/static/imgs/hyj.png" mode=""></image>
                            </view> -->
                            <!-- <view>¥</view>
                            <view class="red">{{itm.price}}</view> -->
                        </view>
                    </view>
                </view>
            </view>
pages/login/login.vue
@@ -18,7 +18,7 @@
                <input type="password" v-model="formData.pass" placeholder="请输入密码" />
            </view>
            <view class="login-item" v-if="formData.loginType == 2">
                <input type="tel" v-model="formData.code" maxlength="4" placeholder="请输入验证码" />
                <input type="number" v-model="formData.code" maxlength="4" placeholder="请输入验证码" />
                <text class="code2" v-if="leftTime < 60">{{leftTime}}S后获取</text>
                <text class="code" @click="sendCode" v-else>获取验证码</text>
            </view>
@@ -168,6 +168,7 @@
                  // 登录接口
                  const res = await t.$util.post('User/Login', this.formData)
                  console.log('res', res)
                  if (res.code == 1) {
pages/search/search.vue
@@ -26,9 +26,15 @@
                    <image lazy-load class="goods-icon" :src="itm.icon" mode="widthFix"></image>
                    <view class="goods-title">{{itm.title}}</view>
                    <view class="goods-price">
                        <view>原价</view>
                        <view>¥</view>
                        <view class="red">{{itm.price}}</view>
                    </view>
                    <view class="goods-price">
                        <view>会员价</view>
                        <view>¥</view>
                        <view class="red">{{itm.vprice}}</view>
                    </view>
                </view>
            </view>
        </view>
static/css/carts.css
static/css/ginfo.css
@@ -56,14 +56,12 @@
    display: flex;
    align-items: center;
}
.gTitle view text:nth-child(1), .gTitle view text:nth-child(2){
.gTitle view text{
    color: #F75451;
    font-weight: 700;
    margin-right: 10rpx;
}
.gTitle view text:nth-child(2){
    font-size: 36upx;
    margin: 0 50upx 0 10upx;
}
.gInfo-title{
    width: 100%;
    text-align: center;
static/css/index.css
@@ -145,6 +145,7 @@
    border-radius: 18upx;
    background-color: #fbf8f8;
    margin-bottom: 30upx;
    padding-bottom: 20rpx;
}
.goods-icon{
    width: 100%;
@@ -152,13 +153,13 @@
    margin-bottom: 20upx;
}
.goods-price{
    margin-top: 0upx;
    margin-top: 10rpx;
    display: flex;
    align-items: center;
    color: #F75451;
    font-size: 26upx;
    padding: 0 14upx;
    padding-bottom: 20upx;
    padding-bottom: 0upx;
}
.goods-price .red{
    margin-left: 10upx;
static/css/order.css
@@ -7,7 +7,8 @@
    position: fixed;
    left: 0;
    /*top: 44px;*/
    top: var(--status-bar-height);
    /*top: var(--status-bar-height);*/
    top: 0;
    z-index: 99;
    display: flex;
    height: 80upx;
static/css/search.css
@@ -78,6 +78,7 @@
    border-radius: 18upx;
    background-color: #fbf8f8;
    margin-bottom: 30upx;
    padding-bottom: 20rpx;
}
.goods-icon{
    width: 100%;
@@ -85,13 +86,13 @@
    margin-bottom: 20upx;
}
.goods-price{
    margin-top: 16upx;
    margin-top: 10upx;
    display: flex;
    align-items: center;
    color: #F75451;
    font-size: 26upx;
    padding: 0 14upx;
    padding-bottom: 20upx;
    padding-bottom: 0upx;
}
.goods-price .red{
    margin-left: 10upx;