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.
114 lines
2.1 KiB
114 lines
2.1 KiB
<template>
|
|
<view class="site">
|
|
<view class="site-bd">
|
|
<view class="item" @click="openPage(1)">
|
|
<view class="a">用户协议</view>
|
|
<view class="b">
|
|
<image src="https://www.lijkj.cn/static/icon-arrow.png"></image>
|
|
</view>
|
|
</view>
|
|
<view class="item" @click="openPage(2)">
|
|
<view class="a">隐私政策</view>
|
|
<view class="b">
|
|
<image src="https://www.lijkj.cn/static/icon-arrow.png"></image>
|
|
</view>
|
|
</view>
|
|
<view class="item" @click="openPage(3)">
|
|
<view class="a">平台规则</view>
|
|
<view class="b">
|
|
<image src="https://www.lijkj.cn/static/icon-arrow.png"></image>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</template>
|
|
|
|
<script>
|
|
export default {
|
|
data() {
|
|
return {
|
|
|
|
};
|
|
},
|
|
methods: {
|
|
openPage(index){
|
|
if(index == 1){
|
|
uni.navigateTo({
|
|
url: "/pages/view/outer?type=YHXY"
|
|
})
|
|
}else if(index == 2){
|
|
uni.navigateTo({
|
|
url: "/pages/view/outer?type=YSXY"
|
|
})
|
|
}else if(index == 3){
|
|
uni.navigateTo({
|
|
url: "/pages/view/outer?type=XYGZ"
|
|
})
|
|
}
|
|
}
|
|
}
|
|
}
|
|
</script>
|
|
|
|
<style lang="scss" scoped>
|
|
.site{
|
|
padding: 25rpx;
|
|
overflow: hidden;
|
|
&-bd{
|
|
width: 700rpx;
|
|
background: #FFFFFF;
|
|
box-shadow: 0px 3rpx 10rpx 0px rgba(9,44,39,0.05);
|
|
border-radius: 20rpx;
|
|
margin: 0 auto;
|
|
padding: 0 30rpx;
|
|
box-sizing: border-box;
|
|
position: relative;
|
|
.item{
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
border-top: 1px solid #EAEAEA;
|
|
padding: 35rpx 0;
|
|
overflow: hidden;
|
|
position: relative;
|
|
&:first-child{
|
|
border-color: #FFFFFF;
|
|
}
|
|
.a{
|
|
width: 160rpx;
|
|
display: flex;
|
|
align-items: center;
|
|
font-weight: 500;
|
|
font-size: 30rpx;
|
|
color: #222222;
|
|
}
|
|
.b{
|
|
flex: 1;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: flex-end;
|
|
font-weight: 500;
|
|
font-size: 24rpx;
|
|
color: #999999;
|
|
input{
|
|
flex: 1;
|
|
font-weight: 500;
|
|
font-size: 24rpx;
|
|
color: #999999;
|
|
}
|
|
text{
|
|
font-weight: 500;
|
|
font-size: 28rpx;
|
|
color: #00C6A9;
|
|
margin-left: 15rpx;
|
|
}
|
|
image{
|
|
width: 60rpx;
|
|
height: 60rpx;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
</style>
|
|
|
|
|