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.
yanzong_qianduan/pages/news1/text.vue

61 lines
1.2 KiB

<template>
<view>
<view class="title">{{title}}</view>
<view class="con">用户服务协议用户服务协议用户服务协议用户服务协议用户服务协议用户服务协议用户服务协议用户服务协议用户服务协议用户服务协议用户服务协议用户服务协议用户服务协议用户服务协议</view>
</view>
</template>
<script>
import * as feedback from '@/api/feedback'
export default {
data() {
return {
title:'用户协议'
};
},
onShow() {
this.getShopList()
},
onLoad(params) {
},
methods: {
getShopList() {
const that = this
// that.shopList = []
// return new Promise((resolve, reject) => {
// feedback.shopList()
// .then(res => {
// if (res.data.length > 0) {
// for (var i = 0; i < res.data.length; i++) {
// let obj = {
// text: res.data[i].shop_name,
// id: res.data[i].shop_id
// }
// that.shopList.push(obj)
// }
// }
// })
// .catch(reject)
// })
},
}
}
</script>
<style scoped lang="scss">
.title{
font-size: 30rpxrpx;
font-weight: bold;
text-align: center;
margin: 10rpx 20rpx;
}
.con{
font-size: 28rpx;
padding: 0 40rpx 40rpx;
line-height: 28px;
}
</style>