关于我们、政策、服务协议页面添加

version/0412
mujinxia 11 months ago
parent f61adbe6be
commit de2efe4185
  1. 7
      pages.json
  2. 11
      pages/news1/setting.vue
  3. 60
      pages/news1/text.vue

@ -955,6 +955,13 @@
"navigationBarTextStyle": "black", "navigationBarTextStyle": "black",
"navigationBarTitleText": "设置" "navigationBarTitleText": "设置"
} }
},{
"path": "text",
"style": {
"navigationStyle": "default",
"navigationBarTextStyle": "black",
"navigationBarTitleText": "协议"
}
}, },
{ {
"path": "help", "path": "help",

@ -40,19 +40,19 @@
</view> </view>
<u-icon style="margin-left: 5rpx; color: #8A8A8A" name="arrow-right"></u-icon> <u-icon style="margin-left: 5rpx; color: #8A8A8A" name="arrow-right"></u-icon>
</view> </view>
<view class="box-avter conten-height"> <view class="box-avter conten-height" @click="toTextPage(1)">
<view class="name-text"> <view class="name-text">
用户服务协议 用户服务协议
</view> </view>
<u-icon style="margin-left: 5rpx; color: #8A8A8A" name="arrow-right"></u-icon> <u-icon style="margin-left: 5rpx; color: #8A8A8A" name="arrow-right"></u-icon>
</view> </view>
<view class="box-avter conten-height"> <view class="box-avter conten-height" @click="toTextPage(2)">
<view class="name-text"> <view class="name-text">
隐私政策 隐私政策
</view> </view>
<u-icon style="margin-left: 5rpx; color: #8A8A8A" name="arrow-right"></u-icon> <u-icon style="margin-left: 5rpx; color: #8A8A8A" name="arrow-right"></u-icon>
</view> </view>
<view class="box-avter conten-height"> <view class="box-avter conten-height" @click="toTextPage(3)">
<view class="name-text"> <view class="name-text">
关于我们 关于我们
</view> </view>
@ -182,6 +182,11 @@ export default {
} }
}); });
}, },
toTextPage(n) {
uni.navigateTo({
url: "/pages/news1/text?pageFlag=" + n
})
},
bindPickerInvoice() { bindPickerInvoice() {
uni.navigateTo({ uni.navigateTo({
url: "/pages/invoice/indexset" url: "/pages/invoice/indexset"

@ -0,0 +1,60 @@
<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>
Loading…
Cancel
Save