更新:天医币、积分列表增加跳转订单详情页。修改活动说明字体样式
This commit is contained in:
@@ -8,16 +8,17 @@
|
||||
<view class="recharge_block" @click="chosPric(item)"
|
||||
:class="aloneItem.priceTypeId === item.priceTypeId ? 'selected' : ''"
|
||||
v-for="item in rechargeList.bookBuyConfigList" :key="item.priceTypeId">
|
||||
<view class="recharge_money">¥{{item.realMoney}}</view>
|
||||
<view class="recharge_money">NZ${{item.realMoney}}</view>
|
||||
<view style="font-size: 26rpx;">{{item.money}}{{ $t('global.coin') }}</view>
|
||||
<!-- 红框位置的618活动标签 -->
|
||||
<!-- <view class="activity-tag">618活动</view> -->
|
||||
<span class="activity-label" v-if="item.givejf >0">{{item.description}}</span>
|
||||
<text class="recharge_give" v-if="item.givejf >0">({{$t('order.give')}}{{item.givejf}}{{$t('order.points')}})</text>
|
||||
<text class="recharge_give"
|
||||
v-if="item.givejf >0">({{$t('order.give')}}{{item.givejf}}{{$t('order.points')}})</text>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
<view class="activity-container">
|
||||
<view class="active_block" v-if="remark?.remark">
|
||||
<view v-html="remark.remark"></view>
|
||||
</view>
|
||||
<view class="cha_fangsh">
|
||||
@@ -100,7 +101,7 @@
|
||||
const popup = ref(null)
|
||||
const agreemenState = ref(false)
|
||||
// 协议id
|
||||
const id = ref(101)
|
||||
const id = ref(116)
|
||||
|
||||
const richTextContent = ref('');
|
||||
// 协议数据
|
||||
@@ -347,8 +348,7 @@
|
||||
try {
|
||||
const text = ref(await getActivityDescription())
|
||||
remark.value = text.value.res[0]
|
||||
// console.log(remark.value, '活动说明内容');
|
||||
|
||||
console.log(remark.value, '活动说明内容');
|
||||
} catch (error) {
|
||||
console.error('获取协议数据:', error)
|
||||
}
|
||||
@@ -542,4 +542,38 @@
|
||||
overflow-y: scroll
|
||||
}
|
||||
}
|
||||
|
||||
.active_block {
|
||||
background-color: rgba(37, 143, 235, 0.2);
|
||||
margin: 0 30rpx 20rpx 30rpx;
|
||||
border-radius: 10rpx;
|
||||
padding: 15rpx;
|
||||
font-size: 28rpx;
|
||||
color: #333;
|
||||
}
|
||||
|
||||
::v-deep.active_block span {
|
||||
color: red;
|
||||
font-size: 32rpx;
|
||||
font-weight: bold;
|
||||
padding: 0 5rpx;
|
||||
color: red;
|
||||
font-size: 32rpx;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
::v-deep.active_block span:first-child {
|
||||
padding: 0 5rpx 0 0;
|
||||
}
|
||||
|
||||
::v-deep.active_block p {
|
||||
padding-top: 10rpx;
|
||||
color: #666;
|
||||
font-size: 24rpx;
|
||||
line-height: 34rpx;
|
||||
}
|
||||
|
||||
::v-deep.active_block p span {
|
||||
padding: 0 5rpx !important;
|
||||
}
|
||||
</style>
|
||||
Reference in New Issue
Block a user