From 1f9349e0444b832152b869c061b2a90ecf501fb3 Mon Sep 17 00:00:00 2001 From: vee <897831508@qq.com> Date: Sat, 4 Dec 2021 23:38:17 +0800 Subject: [PATCH] =?UTF-8?q?=E5=BE=AE=E8=B0=83=E6=A0=B7=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/menu/about/terms/index.vue | 19 ++-- pages/menu/helpCenter/index.vue | 163 ++++++++++++++++--------------- 2 files changed, 93 insertions(+), 89 deletions(-) diff --git a/pages/menu/about/terms/index.vue b/pages/menu/about/terms/index.vue index 1a9385d..7f38f46 100644 --- a/pages/menu/about/terms/index.vue +++ b/pages/menu/about/terms/index.vue @@ -4,16 +4,17 @@ {{i18n.TermsofService}} - - - {{i18n.serviceTit}} - - - - - - + + + + {{i18n.serviceTit}} + + + + + + diff --git a/pages/menu/helpCenter/index.vue b/pages/menu/helpCenter/index.vue index 79e3af4..e233547 100644 --- a/pages/menu/helpCenter/index.vue +++ b/pages/menu/helpCenter/index.vue @@ -2,11 +2,11 @@ - {{this.$t('index').faq}} + {{this.$t('index').faq}} - - - - - - - - {{item.head}} - - - - - {{item.body}} - - - - - - - - - - - + + + + + + + {{item.head}} + + + + + {{item.body}} + + + + + + + + + + + @@ -53,55 +56,55 @@ export default { data() { return { - myIndex:-1, - recordInfo:[], - form:{ - pageNum:1, - pageSize:10, - auAdPositionType:'user_questions', - terminalType:'user_client', + myIndex: -1, + recordInfo: [], + form: { + pageNum: 1, + pageSize: 10, + auAdPositionType: 'user_questions', + terminalType: 'user_client', }, itemList: [{ - head: this.$t('index').t1, - body: this.$t('index').b1, - open: true, - disabled: true - }, - { - head: this.$t('index').t2, - body: this.$t('index').b2, - open: false, - }, - - { - head: this.$t('index').t3, - body: this.$t('index').b3, - open: false, - }, - { - head: this.$t('index').t4, - body: this.$t('index').b4, - open: false, - }, - { - head: this.$t('index').t5, - open: false, - body: this.$t('index').b5, - }, - { - head: this.$t('index').t6, - open: false, - body: this.$t('index').b6, - }, - { - head: this.$t('index').t7, - open: false, - body: this.$t('index').b7, - }, - ], + head: this.$t('index').t1, + body: this.$t('index').b1, + open: true, + disabled: true + }, + { + head: this.$t('index').t2, + body: this.$t('index').b2, + open: false, + }, + + { + head: this.$t('index').t3, + body: this.$t('index').b3, + open: false, + }, + { + head: this.$t('index').t4, + body: this.$t('index').b4, + open: false, + }, + { + head: this.$t('index').t5, + open: false, + body: this.$t('index').b5, + }, + { + head: this.$t('index').t6, + open: false, + body: this.$t('index').b6, + }, + { + head: this.$t('index').t7, + open: false, + body: this.$t('index').b7, + }, + ], } }, - computed: { + computed: { i18n() { return this.$t('index') }, @@ -109,21 +112,21 @@ onLoad() { // this.getHomeSlideFunc() }, - + methods: { - noClass(){ + noClass() { console.log(12121) - this.myIndex=-1 + this.myIndex = -1 console.log(this.myIndex) }, - toClass(i){ - this.myIndex=i + toClass(i) { + this.myIndex = i + }, + async getHomeSlideFunc() { + const response = await this.$api.getAuAdList(this.form) + this.recordInfo = response.rows + console.log(response, 777777777) }, - async getHomeSlideFunc() { - const response = await this.$api.getAuAdList(this.form) - this.recordInfo = response.rows - console.log(response,777777777) - }, }, }