提交修改

This commit is contained in:
daihh
2022-05-30 23:25:01 +08:00
parent b050613020
commit b749df42e6
19 changed files with 481 additions and 307 deletions

View File

@@ -1,12 +1,12 @@
<template>
<div class="item-agr">
<div style="padding: 40px 20px 0 20px;color: #8a8a8a;">
<div style="text-align: center;font-size: 26px;padding-bottom:40px ;">京东方大学堂内容发布须知</div>
<div style="min-height: 300px;max-height: 500px;overflow-y: auto;">
<div style="line-height: 30px; white-space:pre-line" v-html="context" ></div>
<div style="padding: 0 10px 0 10px;color:#626262;;">
<div style="text-align: center;font-size: 26px;padding-bottom:20px ;">京东方大学堂内容发布须知</div>
<div class="agr-content" style="min-height: 320px;max-height: 320px;overflow-y: auto;">
<div style="" >
<p style="margin-bottom:10px;line-height: 24px; white-space:pre-line" v-for="(item,index) in context" :key="index">{{item}}</p>
</div>
</div>
<!-- <div style="height: 100px;"></div> -->
</div>
</div>
</template>
@@ -16,7 +16,7 @@ import apiProtocol from '@/api/modules/protocol.js';
data(){
return {
baseUrl:process.env.VUE_APP_FILE_BASE_URL,
context:'',
context:[],
}
},
created() {
@@ -33,7 +33,8 @@ import apiProtocol from '@/api/modules/protocol.js';
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;
}
})
}
@@ -42,5 +43,9 @@ import apiProtocol from '@/api/modules/protocol.js';
</script>
<style scoped lang="scss">
.agr-content{
background: #f7f7f7;
padding: 20px;
color: #626262;
}
</style>