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