|
|
@@ -98,7 +98,7 @@
|
|
|
<view class="item-title-proportion sys-weight-600 sys-color-black sys-height-44">+30%</view>
|
|
|
</view>
|
|
|
<view class="item-from">
|
|
|
- <view class="from-item">
|
|
|
+ <view class="from-item" @click="goToUrl(1)">
|
|
|
<view class="from-item-title sys-height-44 sys-weight-400">昵称</view>
|
|
|
<view class="from-item-data">
|
|
|
<view class="item-data-text sys-height-44 sys-color-gray-9 sys-weight-400">江湖救急</view>
|
|
|
@@ -108,8 +108,8 @@
|
|
|
</view>
|
|
|
</view>
|
|
|
|
|
|
- <view class="from-item">
|
|
|
- <view class="from-item-title sys-height-44 sys-weight-400">出生日期</view>
|
|
|
+ <view class="from-item" @click="goToUrl(2)">
|
|
|
+ <view class="from-item-title sys-height-44 sys-weight-400" >出生日期</view>
|
|
|
<view class="from-item-data">
|
|
|
<view class="item-data-text sys-height-44 sys-color-gray-9 sys-weight-400">江湖救急</view>
|
|
|
<view class="item-data-icon">
|
|
|
@@ -117,8 +117,8 @@
|
|
|
</view>
|
|
|
</view>
|
|
|
</view>
|
|
|
- <view class="from-item">
|
|
|
- <view class="from-item-title sys-height-44 sys-weight-400">年龄</view>
|
|
|
+ <view class="from-item" @click="goToUrl(2)">
|
|
|
+ <view class="from-item-title sys-height-44 sys-weight-400" >年龄</view>
|
|
|
<view class="from-item-data">
|
|
|
<view class="item-data-text sys-height-44 sys-color-gray-9 sys-weight-400">江湖救急</view>
|
|
|
<view class="item-data-icon">
|
|
|
@@ -126,8 +126,8 @@
|
|
|
</view>
|
|
|
</view>
|
|
|
</view>
|
|
|
- <view class="from-item">
|
|
|
- <view class="from-item-title sys-height-44 sys-weight-400">星座</view>
|
|
|
+ <view class="from-item" @click="goToUrl(2)">
|
|
|
+ <view class="from-item-title sys-height-44 sys-weight-400" >星座</view>
|
|
|
<view class="from-item-data">
|
|
|
<view class="item-data-text sys-height-44 sys-color-gray-9 sys-weight-400">江湖救急</view>
|
|
|
<view class="item-data-icon">
|
|
|
@@ -135,7 +135,7 @@
|
|
|
</view>
|
|
|
</view>
|
|
|
</view>
|
|
|
- <view class="from-item">
|
|
|
+ <view class="from-item" @click="goToUrl(3)">
|
|
|
<view class="from-item-title sys-height-44 sys-weight-400">学校</view>
|
|
|
<view class="from-item-data">
|
|
|
<view class="item-data-text sys-height-44 sys-color-gray-9 sys-weight-400">江湖救急</view>
|
|
|
@@ -185,6 +185,21 @@ export default {
|
|
|
methods: {
|
|
|
setNavHeight(navHeight){
|
|
|
this.navHeight=navHeight
|
|
|
+ },
|
|
|
+ goToUrl(type){
|
|
|
+ if(type===1){
|
|
|
+ uni.navigateTo({
|
|
|
+ 'url':'./edit/nickname'
|
|
|
+ })
|
|
|
+ }else if(type===2){
|
|
|
+ uni.navigateTo({
|
|
|
+ 'url':'./edit/age'
|
|
|
+ })
|
|
|
+ }else if(type===3){
|
|
|
+ uni.navigateTo({
|
|
|
+ 'url':'./edit/school'
|
|
|
+ })
|
|
|
+ }
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
@@ -302,6 +317,7 @@ export default {
|
|
|
.edit-item{
|
|
|
margin-top: 40rpx;
|
|
|
.item-title{
|
|
|
+ padding-bottom: 24rpx;
|
|
|
display: flex;
|
|
|
justify-content: space-between;
|
|
|
height: 44rpx;
|
|
|
@@ -393,7 +409,6 @@ export default {
|
|
|
justify-content: space-between;
|
|
|
.item-data-text{
|
|
|
font-size: 28rpx;
|
|
|
-
|
|
|
}
|
|
|
.item-data-icon{
|
|
|
.iconfont{
|