mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/learning-system-mobile.git
synced 2025-12-11 11:56:47 +08:00
提交修改
This commit is contained in:
@@ -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;
|
||||
}
|
||||
})
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user