|
@@ -3,11 +3,14 @@
|
|
|
<div class="section">
|
|
<div class="section">
|
|
|
<div class="agreement">
|
|
<div class="agreement">
|
|
|
<div class="join_xieyi">
|
|
<div class="join_xieyi">
|
|
|
- <div>
|
|
|
|
|
|
|
+ <div class="article-flag">
|
|
|
<span @click="chooseTag=1" :class="chooseTag==1?'active':''">优软商城服务条款</span>
|
|
<span @click="chooseTag=1" :class="chooseTag==1?'active':''">优软商城服务条款</span>
|
|
|
<span @click="chooseTag=2" :class="chooseTag==2?'active':''">优软商城买卖条例</span>
|
|
<span @click="chooseTag=2" :class="chooseTag==2?'active':''">优软商城买卖条例</span>
|
|
|
</div>
|
|
</div>
|
|
|
- <textarea readonly></textarea>
|
|
|
|
|
|
|
+ <!--<textarea readonly></textarea>-->
|
|
|
|
|
+ <div class="text-area">
|
|
|
|
|
+ <div class="ql-container ql-snow" v-html="article"></div>
|
|
|
|
|
+ </div>
|
|
|
</div>
|
|
</div>
|
|
|
</div>
|
|
</div>
|
|
|
<div class="row" style="margin-left: 30px; text-align: center;">
|
|
<div class="row" style="margin-left: 30px; text-align: center;">
|
|
@@ -29,9 +32,18 @@
|
|
|
props: ['checkData', 'loginData', 'cacheData'],
|
|
props: ['checkData', 'loginData', 'cacheData'],
|
|
|
data () {
|
|
data () {
|
|
|
return {
|
|
return {
|
|
|
- chooseTag: 1
|
|
|
|
|
|
|
+ chooseTag: 1,
|
|
|
|
|
+ article: ''
|
|
|
|
|
+ }
|
|
|
|
|
+ },
|
|
|
|
|
+ watch: {
|
|
|
|
|
+ chooseTag: function (val) {
|
|
|
|
|
+ this.getArticle(val === 1 ? 21 : 16)
|
|
|
}
|
|
}
|
|
|
},
|
|
},
|
|
|
|
|
+ mounted () {
|
|
|
|
|
+ this.getArticle(21)
|
|
|
|
|
+ },
|
|
|
methods: {
|
|
methods: {
|
|
|
sectionChange: function (type) {
|
|
sectionChange: function (type) {
|
|
|
if (type === 3) {
|
|
if (type === 3) {
|
|
@@ -52,15 +64,30 @@
|
|
|
} else {
|
|
} else {
|
|
|
this.$emit('sectionEvent', type)
|
|
this.$emit('sectionEvent', type)
|
|
|
}
|
|
}
|
|
|
|
|
+ },
|
|
|
|
|
+ getArticle: function (num) {
|
|
|
|
|
+ this.$http.get('/api/help-service/issues/' + num).then(response => {
|
|
|
|
|
+ this.article = response.data.article
|
|
|
|
|
+ })
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
</script>
|
|
</script>
|
|
|
|
|
|
|
|
-<style scoped>
|
|
|
|
|
|
|
+<style>
|
|
|
|
|
+ @import '~assets/scss/help.css';
|
|
|
.next-btn button:first-child{
|
|
.next-btn button:first-child{
|
|
|
background: #fff;
|
|
background: #fff;
|
|
|
color: #5078cb;
|
|
color: #5078cb;
|
|
|
border: 1px solid #5078cb;
|
|
border: 1px solid #5078cb;
|
|
|
}
|
|
}
|
|
|
|
|
+ .join_xieyi .ql-editor {
|
|
|
|
|
+ padding-left: 30px;
|
|
|
|
|
+ }
|
|
|
|
|
+ .join_xieyi .ql-editor span,.join_xieyi .ql-editor a {
|
|
|
|
|
+ font-size: 10px;
|
|
|
|
|
+ }
|
|
|
|
|
+ .join_xieyi .ql-editor br {
|
|
|
|
|
+ display: none;
|
|
|
|
|
+ }
|
|
|
</style>
|
|
</style>
|