Browse Source

微调样式

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

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

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

37
pages/menu/helpCenter/index.vue

@ -17,15 +17,18 @@
</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"
:class="{'on': index==myIndex, 'bg': index==myIndex}">
<view class="div1"> <view class="div1">
<view class="btx"> <view class="btx">
{{item.head}} {{item.head}}
</view> </view>
<image src="../../../static/tongyonh/plus.png" mode="aspectFit" class="teximg" v-if="index!=myIndex" @click="toClass(index)" ></image> <image src="../../../static/tongyonh/plus.png" mode="aspectFit" class="teximg"
<image src="../../../static/tongyonh/xmark.png" mode="aspectFit" class="teximg" v-if="index==myIndex" @click.stop="noClass"></image> v-if="index!=myIndex" @click="toClass(index)"></image>
<image src="../../../static/tongyonh/xmark.png" mode="aspectFit" class="teximg"
v-if="index==myIndex" @click.stop="noClass"></image>
<view class="div"> <view class="div">
{{item.body}} {{item.body}}
</view> </view>
@ -33,7 +36,7 @@
</view> </view>
</scroll-view>
@ -53,13 +56,13 @@
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,
@ -111,18 +114,18 @@
}, },
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() { async getHomeSlideFunc() {
const response = await this.$api.getAuAdList(this.form) const response = await this.$api.getAuAdList(this.form)
this.recordInfo = response.rows this.recordInfo = response.rows
console.log(response,777777777) console.log(response, 777777777)
}, },
}, },
} }

Loading…
Cancel
Save