|
|
@@ -33,7 +33,23 @@
|
|
|
<img src="../assets/clock.png" class="icon" />
|
|
|
</div>
|
|
|
<div class="article" v-html="content1"></div>
|
|
|
- <div class="article" v-html="content2" id="contact"></div>
|
|
|
+ <div class="more">
|
|
|
+ <div
|
|
|
+ class="item"
|
|
|
+ v-for="item in more"
|
|
|
+ :key="item.id"
|
|
|
+ @click="$router.push({ name: 'article', query: { name: item.name } })"
|
|
|
+ >
|
|
|
+ {{ item.name }}
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ <div class="article" v-html="content2"></div>
|
|
|
+ <div class="article" v-html="content3" id="contact"></div>
|
|
|
+ <div class="more">
|
|
|
+ <div class="item" @click="$router.push({ name: 'article', query: { name: '关于我们' } })">关于我们</div>
|
|
|
+ <div class="item" @click="$router.push({ name: 'article', query: { name: '对接流程' } })">对接流程</div>
|
|
|
+ <div class="item" @click="$router.push({ name: 'article', query: { name: '用户反馈' } })">用户反馈</div>
|
|
|
+ </div>
|
|
|
<div style="height: calc(50px + max(env(safe-area-inset-bottom), 0px))"></div>
|
|
|
<promote-dialog :visible.sync="showDialog"></promote-dialog>
|
|
|
</div>
|
|
|
@@ -49,6 +65,8 @@ export default {
|
|
|
banners: [],
|
|
|
content1: '',
|
|
|
content2: '',
|
|
|
+ content3: '',
|
|
|
+ more: [],
|
|
|
start: null,
|
|
|
end: null,
|
|
|
showDialog: false
|
|
|
@@ -58,12 +76,18 @@ export default {
|
|
|
this.$http.post('/banner/all', { size: 1000 }, { body: 'json' }).then(res => {
|
|
|
this.banners = res.content;
|
|
|
});
|
|
|
- this.$http.get('/article/get/name/首页介绍').then(res => {
|
|
|
+ this.$http.get('/article/get/name/首页介绍-上').then(res => {
|
|
|
this.content1 = res.content;
|
|
|
});
|
|
|
- this.$http.get('/article/get/name/商务对接').then(res => {
|
|
|
+ this.$http.get('/article/get/name/首页介绍-下').then(res => {
|
|
|
this.content2 = res.content;
|
|
|
});
|
|
|
+ this.$http.post('/article/all', { query: { type: 'INTRO' } }, { body: 'json' }).then(res => {
|
|
|
+ this.more = res.content;
|
|
|
+ });
|
|
|
+ this.$http.get('/article/get/name/商务对接').then(res => {
|
|
|
+ this.content3 = res.content;
|
|
|
+ });
|
|
|
this.$http.get('/sysConfig/get/start').then(res => {
|
|
|
this.start = this.$dayjs(res.value, 'YYYY-MM-DD HH:mm:ss');
|
|
|
});
|
|
|
@@ -217,4 +241,17 @@ export default {
|
|
|
padding: 0 16px;
|
|
|
margin-top: 20px;
|
|
|
}
|
|
|
+.more {
|
|
|
+ padding: 10px 11px;
|
|
|
+ .flex();
|
|
|
+ flex-wrap: wrap;
|
|
|
+ justify-content: center;
|
|
|
+ .item {
|
|
|
+ margin: 0 5px;
|
|
|
+ font-size: 14px;
|
|
|
+ font-weight: bold;
|
|
|
+ text-decoration: underline;
|
|
|
+ color: @prim;
|
|
|
+ }
|
|
|
+}
|
|
|
</style>
|