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.
lxwx_front/pages/my/setting.vue

111 lines
1.7 KiB

2 years ago
<template>
<view class="editInfo">
<u-navbar @leftClick="leftClick" height="50" :autoBack="true">
<view
class="u-nav-slot"
slot="left"
>
<u-icon
name="arrow-left"
size="19"
></u-icon>
<view class="title">
设置
</view>
</view>
</u-navbar>
<view class="editInfoContent">
<view class="editItem" @click="goFeed(1)">
<view class="editTitle">
用户协议
</view>
<u-icon
name="arrow-right"
size="19"
color="#999999"
></u-icon>
</view>
<view class="editItem" @click="goFeed(2)">
<view class="editTitle">
隐私政策
</view>
<u-icon
name="arrow-right"
size="19"
color="#999999"
></u-icon>
</view>
<view class="editItem" @click="goFeed(4)">
<view class="editTitle">
版本信息
</view>
<u-icon
name="arrow-right"
size="19"
color="#999999"
></u-icon>
</view>
<view class="editItem" style="border:none;"@click="goFeed(3)">
<view class="editTitle">
关于我们
</view>
<u-icon
name="arrow-right"
size="19"
color="#999999"
></u-icon>
</view>
</view>
</view>
</template>
<script>
export default{
data(){
return{
}
},
methods:{
leftClick(){
},
goFeed(ids){
uni.navigateTo({
url:'/pages/my/richText?id='+ids
})
}
}
}
</script>
<style lang="scss" scoped>
.u-nav-slot{
display: flex;
align-items: center;
.title{
font-size: 36upx;
color: #222222;
}
}
.editInfoContent{
margin:0 24upx;
margin-top:60px;
background: #FFFFFF;
border-radius: 20upx;
padding: 0 30upx;
.editItem{
padding:45upx 0upx;
display: flex;
justify-content: space-between;
align-items: center;
border-bottom:1px solid #EAEAEA;
.editTitle{
font-size: 30upx;
color: #333333;
}
}
}
</style>