修复 694
This commit is contained in:
@@ -18,7 +18,23 @@
|
||||
</view>
|
||||
</view>
|
||||
<scroll-view scroll-y class="integral-botom" :style="{ height: integralHeight }">
|
||||
<rich-text :nodes="nodes"></rich-text>
|
||||
|
||||
<view class="medal-title">
|
||||
<!-- <image src="../static/mine/29.png"></image> -->
|
||||
<view>积分获取规则</view>
|
||||
<!-- <image src="../static/mine/30.png"></image> -->
|
||||
</view>
|
||||
<view class="medal-content">
|
||||
<rich-text :nodes="nodes"></rich-text>
|
||||
</view>
|
||||
<view class="medal-title">
|
||||
<!-- <image src="../static/mine/29.png"></image> -->
|
||||
<view>会员等级权益</view>
|
||||
<!-- <image src="../static/mine/30.png"></image> -->
|
||||
</view>
|
||||
<view class="medal-content">
|
||||
<rich-text :nodes="dengji"></rich-text>
|
||||
</view>
|
||||
</scroll-view>
|
||||
</view>
|
||||
</template>
|
||||
@@ -30,6 +46,7 @@ export default {
|
||||
memberInfo: {},
|
||||
integralHeight: 0,
|
||||
nodes: '',
|
||||
dengji:""
|
||||
}
|
||||
},
|
||||
onShow() {
|
||||
@@ -47,6 +64,7 @@ export default {
|
||||
if (res.errCode == 0) {
|
||||
this.memberInfo = res.data;
|
||||
this.nodes = common.unescapeHTML(this.memberInfo.points_rule.document_content);
|
||||
this.dengji = common.unescapeHTML(res.data.grade_rule.document_content)
|
||||
}
|
||||
})
|
||||
},
|
||||
@@ -100,5 +118,24 @@ export default {
|
||||
top: 251rpx;
|
||||
z-index: 9;
|
||||
}
|
||||
|
||||
.medal-title {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
margin-bottom: 52rpx;
|
||||
> image {
|
||||
width: 22rpx;
|
||||
height: 22rpx;
|
||||
}
|
||||
> view {
|
||||
font-size: 32rpx;
|
||||
color: rgba(51,51,51,1);
|
||||
margin: 0 30rpx;
|
||||
}
|
||||
}
|
||||
.medal-content {
|
||||
padding-bottom: 20rpx;
|
||||
}
|
||||
}
|
||||
</style>
|
||||
Reference in New Issue
Block a user