优化代码

This commit is contained in:
王创世 2025-07-31 16:45:48 +08:00
parent 150459f614
commit 72633579e0
3 changed files with 4 additions and 7 deletions

View File

@ -818,7 +818,7 @@ export default {
display: block;
width: 100%;
height: 280rpx;
margin-bottom: 20rpx;
margin-bottom: 40rpx;
background-color: #ffffff;
border-radius: 20rpx;
overflow: hidden;

View File

@ -47,19 +47,16 @@
{{ item.uses_text }}
</view>
<view class="justify-content-item tn-color-gray tn-text-center" style="padding-top: 15rpx;" v-if="item.uses != 'ALL'">
<!-- 普通用户价 -->
<!-- <view class="justify-content-item tn-color-gray tn-text-center" style="padding-top: 15rpx;" v-if="item.uses != 'ALL'">
<block v-if="item.uses == 'ONLY_PAY'">
<text class="tn-icon-my-fill tn-padding-right-xs tn-text-lg"></text>
<text class="tn-padding-right" :class="item.member_price < item.price ? ['text-del-line'] : []">{{ item.price }}</text>
</block>
<!-- 会员价 -->
<block v-if="item.uses == 'ONLY_MEMBER' || item.uses == 'ONLY_PAY'">
<text class="tn-icon-vip-fill tn-padding-right-xs tn-text-lg tn-color-orange"></text>
<text class="tn-color-orange">{{ item.member_price }}</text>
</block>
</view>
</view> -->
</view>
</view>
<!-- <view class="image-pic tn-margin-sm" :style="'background-image:url(' + item.userAvatar + ')'">

View File

@ -3,7 +3,7 @@
<view v-for="item in list">
<view style="display: flex;justify-content: center;align-items: center;gap: 30rpx;margin: 30rpx 0rpx;">
<view style="color: #999999;"></view>
<view style="font-size: 40rpx;font-weight: 600">{{item.type_name}}</view>
<view style="font-size: 36rpx;font-weight: 600">{{item.type_name}}</view>
<view style="color: #999999;"></view>
</view>
<view style="background-color: #ffffff;">