bitcooo
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

91 lines
2.3 KiB

<template>
<view>
<navigation :showBack="true">
<text class="big_title">
FAQ
</text>
</navigation>
<view class="main">
<!-- <u-collapse>
<u-collapse-item :title="item.adTitle" v-for="(item, index) in recordInfo" :key="index">
<view class="num">
{{index+1}}
</view>
<view class="btex" v-html="item.adContentHtml">
</view>
</u-collapse-item>
</u-collapse> -->
<view class="item" v-for="(item, index) in recordInfo" :key="index">
<view class="num">
0{{index+1}}
</view>
<view class="btx">
{{item.adTitle}}
</view>
<image src="../../../static/tongyonh/plus.png" mode="aspectFit" class="teximg"></image>
</view>
</view>
</view>
</template>
<script>
import utils from '@/utils'
import md5 from 'js-md5'
import store from '@/store'
import token from '@/utils/TokenUtil'
import cont from "@/components/navigation/navigation.vue"
export default {
data() {
return {
recordInfo:[],
form:{
pageNum:1,
pageSize:10,
auAdPositionType:'user_questions',
terminalType:'user_client',
},
itemList: [{
head: "赏识在于角度的转换",
body: "只要我们正确择取一个合适的参照物乃至稍降一格去看待他人,值得赏识的东西便会扑面而来",
open: true,
disabled: true
},{
head: "生活中不是缺少美,而是缺少发现美的眼睛",
body: "学会欣赏,实际是一种积极生活的态度,是生活的调味品,会在欣赏中发现生活的美",
open: false,
},{
head: "周围一些不起眼的人、事、物,或许都隐藏着不同凡响的智慧",
body: "但是据说雕刻大卫像所用的这块大理石,曾被多位雕刻家批评得一无是处,有些人认为这块大理石采凿得不好,有些人嫌它的纹路不够美",
open: false,
}],
}
},
computed: {
i18n() {
return this.$t('index')
},
},
onLoad() {
this.getHomeSlideFunc()
},
methods: {
async getHomeSlideFunc() {
const response = await this.$api.getAuAdList(this.form)
this.recordInfo = response.rows
console.log(response,777777777)
},
},
}
</script>
<style>
@import './index.css';
</style>