提交修改

This commit is contained in:
daihh
2022-05-30 23:03:25 +08:00
parent faa7afb65f
commit ab382aca7b
18 changed files with 539 additions and 401 deletions

View File

@@ -2,9 +2,9 @@
<view class="content" :class="{'active':active}">
<view style="padding: 60rpx 60rpx 0 30rpx;color: #8a8a8a;overflow: auto;">
<view style="text-align: center;font-size: 50upx;padding-bottom:50rpx ;">京东方大学堂内容发布须知</view>
<view style="line-height: 60upx;white-space:pre-line;">
<view>
<!-- <u-parse :content="context"></u-parse> -->
<text v-html="context"></text>
<view style="line-height: 50upx;white-space:pre-line;margin-bottom: 20upx;" v-for="(item,index) in context" :key="index">{{item}}</view>
<!-- <view style="display: flex;margin-bottom: 10rpx;">
<view style="margin-right: 10rpx;">
1.
@@ -30,7 +30,7 @@
</view>
</view> -->
</view>
<view style="height: 300px;"></view>
<view style="height: 50px;"></view>
</view>
<view class="tabbar-box-wrap">
<view class="tabbar-box">
@@ -66,7 +66,7 @@
data() {
return {
active: false,
context:'',
context:[],
};
},
onLoad() {
@@ -84,7 +84,8 @@
getprotocol() {
apiProtocol.query(1).then(res => {
if (res.status == 200) {
this.context = res.result.content;
let list = res.result.content.split('\n');
this.context = list;
}
})
},