Browse Source

微调样式

master
vee 4 years ago
parent
commit
1f9349e044
  1. 19
      pages/menu/about/terms/index.vue
  2. 163
      pages/menu/helpCenter/index.vue

19
pages/menu/about/terms/index.vue

@ -4,16 +4,17 @@
{{i18n.TermsofService}} {{i18n.TermsofService}}
</navigation> </navigation>
<view class="con"> <view class="con">
<view class="main"> <scroll-view :scroll-y="true" class="main_con" style="max-height: 1380rpx;" lower-threshold="50">
<view class="tit"> <view class="main">
{{i18n.serviceTit}} <view class="tit">
</view> {{i18n.serviceTit}}
</view>
<view class="tit3" v-html="i18n.serviceTwo">
</view>
</view>
<view class="tit3" v-html="i18n.serviceTwo">
</view>
</view>
</scroll-view>
</view> </view>
</view> </view>

163
pages/menu/helpCenter/index.vue

@ -2,11 +2,11 @@
<view> <view>
<navigation :showBack="true" class="navbg"> <navigation :showBack="true" class="navbg">
<text class="big_title"> <text class="big_title">
{{this.$t('index').faq}} {{this.$t('index').faq}}
</text> </text>
</navigation> </navigation>
<view class="main"> <view class="main">
<!-- <u-collapse> <!-- <u-collapse>
<u-collapse-item :title="item.adTitle" v-for="(item, index) in recordInfo" :key="index"> <u-collapse-item :title="item.adTitle" v-for="(item, index) in recordInfo" :key="index">
<view class="num"> <view class="num">
{{index+1}} {{index+1}}
@ -16,29 +16,32 @@
</view> </view>
</u-collapse-item> </u-collapse-item>
</u-collapse> --> </u-collapse> -->
<!-- --> <!-- -->
<scroll-view :scroll-y="true" class="main_con" style="max-height: 1280rpx;" lower-threshold="50">
<view class="item" v-for="(item, index) in itemList" :key="index" :class="{'on': index==myIndex, 'bg': index==myIndex}"> <view class="item" v-for="(item, index) in itemList" :key="index"
<view class="div1"> :class="{'on': index==myIndex, 'bg': index==myIndex}">
<view class="div1">
<view class="btx">
{{item.head}} <view class="btx">
</view> {{item.head}}
<image src="../../../static/tongyonh/plus.png" mode="aspectFit" class="teximg" v-if="index!=myIndex" @click="toClass(index)" ></image> </view>
<image src="../../../static/tongyonh/xmark.png" mode="aspectFit" class="teximg" v-if="index==myIndex" @click.stop="noClass"></image> <image src="../../../static/tongyonh/plus.png" mode="aspectFit" class="teximg"
<view class="div"> v-if="index!=myIndex" @click="toClass(index)"></image>
{{item.body}} <image src="../../../static/tongyonh/xmark.png" mode="aspectFit" class="teximg"
</view> v-if="index==myIndex" @click.stop="noClass"></image>
</view> <view class="div">
{{item.body}}
</view> </view>
</view>
</view>
</scroll-view>
</view> </view>
</view> </view>
</template> </template>
@ -53,55 +56,55 @@
export default { export default {
data() { data() {
return { return {
myIndex:-1, myIndex: -1,
recordInfo:[], recordInfo: [],
form:{ form: {
pageNum:1, pageNum: 1,
pageSize:10, pageSize: 10,
auAdPositionType:'user_questions', auAdPositionType: 'user_questions',
terminalType:'user_client', terminalType: 'user_client',
}, },
itemList: [{ itemList: [{
head: this.$t('index').t1, head: this.$t('index').t1,
body: this.$t('index').b1, body: this.$t('index').b1,
open: true, open: true,
disabled: true disabled: true
}, },
{ {
head: this.$t('index').t2, head: this.$t('index').t2,
body: this.$t('index').b2, body: this.$t('index').b2,
open: false, open: false,
}, },
{ {
head: this.$t('index').t3, head: this.$t('index').t3,
body: this.$t('index').b3, body: this.$t('index').b3,
open: false, open: false,
}, },
{ {
head: this.$t('index').t4, head: this.$t('index').t4,
body: this.$t('index').b4, body: this.$t('index').b4,
open: false, open: false,
}, },
{ {
head: this.$t('index').t5, head: this.$t('index').t5,
open: false, open: false,
body: this.$t('index').b5, body: this.$t('index').b5,
}, },
{ {
head: this.$t('index').t6, head: this.$t('index').t6,
open: false, open: false,
body: this.$t('index').b6, body: this.$t('index').b6,
}, },
{ {
head: this.$t('index').t7, head: this.$t('index').t7,
open: false, open: false,
body: this.$t('index').b7, body: this.$t('index').b7,
}, },
], ],
} }
}, },
computed: { computed: {
i18n() { i18n() {
return this.$t('index') return this.$t('index')
}, },
@ -109,21 +112,21 @@
onLoad() { onLoad() {
// this.getHomeSlideFunc() // this.getHomeSlideFunc()
}, },
methods: { methods: {
noClass(){ noClass() {
console.log(12121) console.log(12121)
this.myIndex=-1 this.myIndex = -1
console.log(this.myIndex) console.log(this.myIndex)
}, },
toClass(i){ toClass(i) {
this.myIndex=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)
},
}, },
} }
</script> </script>

Loading…
Cancel
Save