调整会员服务样式
This commit is contained in:
parent
0f55428656
commit
6302677c65
@ -25,11 +25,11 @@
|
||||
</view>
|
||||
<scroll-view scroll-y class="integral-botom" :style="{ height: richHeight }">
|
||||
<view class="rich-container">
|
||||
<view class="title">{{ memberInfo.points_rule.document_title }}</view>
|
||||
<view class="title">{{ points_rule.document_title }}</view>
|
||||
<rich-text :nodes="pointsNodes"></rich-text>
|
||||
</view>
|
||||
<view class="rich-container">
|
||||
<view class="title" >{{ memberInfo.xunzhang_rule.document_title }}</view>
|
||||
<view class="title" >{{ member_rule.document_title }}</view>
|
||||
<rich-text :nodes="nodes"></rich-text>
|
||||
</view>
|
||||
</scroll-view>
|
||||
@ -78,6 +78,8 @@ export default {
|
||||
memberInfo: {},
|
||||
pointsNodes: '',
|
||||
nodes: '',
|
||||
points_rule: {},
|
||||
member_rule: {}
|
||||
}
|
||||
},
|
||||
components: {
|
||||
@ -111,9 +113,10 @@ export default {
|
||||
this.$u.api.getMemberPointsStat().then((res)=>{
|
||||
if(res.errCode == 0) {
|
||||
this.memberInfo = res.data;
|
||||
this.nodes = common.unescapeHTML(this.memberInfo.xunzhang_rule.document_content);
|
||||
this.nodes = common.unescapeHTML(this.memberInfo.grade_rule.document_content);
|
||||
this.pointsNodes = common.unescapeHTML(this.memberInfo.points_rule.document_content);
|
||||
console.log(this.memberInfo.xunzhang_rule);
|
||||
this.points_rule = this.memberInfo.points_rule;
|
||||
this.member_rule = this.memberInfo.grade_rule;
|
||||
}
|
||||
})
|
||||
},
|
||||
@ -191,12 +194,14 @@ export default {
|
||||
top: 250rpx;
|
||||
z-index: 9;
|
||||
.rich-container {
|
||||
margin-bottom: 20rpx;
|
||||
&:not(:last-child) {
|
||||
margin-bottom: 56rpx;
|
||||
}
|
||||
.title {
|
||||
text-align: center;
|
||||
font-size: 32rpx;
|
||||
color: #333333;
|
||||
margin-bottom: 10rpx;
|
||||
margin-bottom: 26rpx;
|
||||
// font-weight: bold;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user