239 lines
6.6 KiB
Vue
239 lines
6.6 KiB
Vue
|
<template>
|
|||
|
<view class="tn-safe-area-inset-bottom">
|
|||
|
<!-- 顶部自定义导航 -->
|
|||
|
<tn-nav-bar :isBack="false" backTitle="" :bottomShadow="true" backgroundColor="#FFFFFF">
|
|||
|
<view class="custom-nav tn-flex tn-flex-col-center tn-flex-row-left">
|
|||
|
<view style="padding-left: 15rpx;" @click="goBack()">
|
|||
|
<text class="tn-icon-left" style="font-size: 40rpx;"></text>
|
|||
|
</view>
|
|||
|
<view class="tn-margin-top"
|
|||
|
style=";text-shadow: 1rpx 0 0 #FFF, 0 1rpx 0 #FFF, -1rpx 0 0 #FFF , 0 -1rpx 0 #FFF;">
|
|||
|
<tn-tabs :list="[{name:'我的信息'}]" :current="topCurrent" activeColor="#000" :bold="false"
|
|||
|
:fontSize="36"></tn-tabs>
|
|||
|
</view>
|
|||
|
</view>
|
|||
|
</tn-nav-bar>
|
|||
|
|
|||
|
<view class="tn-margin-top" :style="{paddingTop: vuex_custom_bar_height + 'px'}">
|
|||
|
<!-- 这个是图鸟UI响应用户需求,推出的一个uni_modules组件,插件市场点击右上角,导入即可 https://ext.dcloud.net.cn/plugin?id=10172 -->
|
|||
|
<wx-user-info-modal v-model="showAuthorizationModal" @updated="updatedUserInfoEvent"></wx-user-info-modal>
|
|||
|
|
|||
|
<view class="tn-flex tn-flex-row-between tn-strip-bottom tn-padding" @tap.stop="openAuthorizationModal">
|
|||
|
<view class="justify-content-item">
|
|||
|
<view class="tn-text-bold tn-text-lg">
|
|||
|
朱荣梅
|
|||
|
</view>
|
|||
|
<view class="tn-color-gray tn-padding-top-xs">
|
|||
|
康桥集团执行总裁
|
|||
|
</view>
|
|||
|
</view>
|
|||
|
<view class="justify-content-item tn-text-lg tn-color-grey">
|
|||
|
<view class="logo-pic tn-shadow">
|
|||
|
<view>
|
|||
|
<view class="tn-shadow-blur"
|
|||
|
style="background-image:url('/static/u1.jpg');width: 100rpx;height: 100rpx;background-size: cover;">
|
|||
|
</view>
|
|||
|
</view>
|
|||
|
</view>
|
|||
|
</view>
|
|||
|
</view>
|
|||
|
<view class="tn-flex tn-flex-row-between tn-strip-bottom-min tn-padding" @click="showModal2">
|
|||
|
<view class="justify-content-item">
|
|||
|
<view class="tn-text-bold tn-text-lg">
|
|||
|
绑定手机号
|
|||
|
</view>
|
|||
|
<view class="tn-color-gray tn-padding-top-xs">
|
|||
|
18000000000
|
|||
|
</view>
|
|||
|
</view>
|
|||
|
<view class="justify-content-item tn-text-lg tn-color-grey">
|
|||
|
<view class="tn-icon-right tn-padding-top"></view>
|
|||
|
</view>
|
|||
|
</view>
|
|||
|
|
|||
|
<view class="tn-flex tn-flex-row-between tn-strip-bottom-min tn-padding" @click="showModal3">
|
|||
|
<view class="justify-content-item">
|
|||
|
<view class="tn-text-bold tn-text-lg">
|
|||
|
姓名
|
|||
|
</view>
|
|||
|
<view class="tn-color-gray tn-padding-top-xs">
|
|||
|
朱荣梅
|
|||
|
</view>
|
|||
|
</view>
|
|||
|
<view class="justify-content-item tn-text-lg tn-color-grey">
|
|||
|
<view class="tn-icon-right tn-padding-top"></view>
|
|||
|
</view>
|
|||
|
</view>
|
|||
|
<picker @change="bindPickerChange" :value="index" :range="array">
|
|||
|
<view class="tn-flex tn-flex-row-between tn-strip-bottom-min tn-padding">
|
|||
|
<view class="justify-content-item">
|
|||
|
<view class="tn-text-bold tn-text-lg">
|
|||
|
性别
|
|||
|
</view>
|
|||
|
<view class="tn-color-gray tn-padding-top-xs">
|
|||
|
|
|||
|
<view class="tn-color-gray">{{array[index]}}</view>
|
|||
|
</view>
|
|||
|
</view>
|
|||
|
<view class="justify-content-item tn-text-lg tn-color-grey">
|
|||
|
<view class="tn-icon-right tn-padding-top"></view>
|
|||
|
</view>
|
|||
|
</view>
|
|||
|
</picker>
|
|||
|
<picker @change="bindDateChange" mode="date" :value="date" :start="startDate" :end="endDate">
|
|||
|
<view class="tn-flex tn-flex-row-between tn-strip-bottom-min tn-padding">
|
|||
|
<view class="justify-content-item">
|
|||
|
<view class="tn-text-bold tn-text-lg">
|
|||
|
生日
|
|||
|
</view>
|
|||
|
<view class="tn-color-gray tn-padding-top-xs">
|
|||
|
1988-01-01
|
|||
|
</view>
|
|||
|
</view>
|
|||
|
<view class="justify-content-item tn-text-lg tn-color-grey">
|
|||
|
<view class="tn-icon-right tn-padding-top"></view>
|
|||
|
</view>
|
|||
|
</view>
|
|||
|
</picker>
|
|||
|
<picker @change="bindPickerChange1" :value="index1" :range="array1">
|
|||
|
<view class="tn-flex tn-flex-row-between tn-strip-bottom-min tn-padding">
|
|||
|
<view class="justify-content-item">
|
|||
|
<view class="tn-text-bold tn-text-lg">
|
|||
|
简介
|
|||
|
</view>
|
|||
|
<view class="tn-color-gray tn-padding-top-xs">
|
|||
|
康桥集团执行总裁
|
|||
|
</view>
|
|||
|
</view>
|
|||
|
<view class="justify-content-item tn-text-lg tn-color-grey">
|
|||
|
<view class="tn-icon-right tn-padding-top"></view>
|
|||
|
</view>
|
|||
|
</view>
|
|||
|
</picker>
|
|||
|
</view>
|
|||
|
<view class="tn-flex tn-footerfixed">
|
|||
|
<view class="tn-flex-1 justify-content-item tn-margin-sm tn-text-center">
|
|||
|
<tn-button backgroundColor="#FBBD12" fontColor="#ffffff" padding="40rpx 0" width="60%" shadow fontBold
|
|||
|
@tap="upload">
|
|||
|
<!-- <text class="tn-icon-light tn-padding-right-xs tn-color-black"></text> -->
|
|||
|
<text>保 存</text>
|
|||
|
</tn-button>
|
|||
|
</view>
|
|||
|
</view>
|
|||
|
</view>
|
|||
|
</template>
|
|||
|
|
|||
|
<script>
|
|||
|
export default {
|
|||
|
data() {
|
|||
|
return {
|
|||
|
topCurrent: 0,
|
|||
|
showAuthorizationModal: false,
|
|||
|
show1: false,
|
|||
|
show2: false,
|
|||
|
show3: false,
|
|||
|
index: 0,
|
|||
|
array: ['女', '男', '保密'],
|
|||
|
date: '2000-01-29',
|
|||
|
index1: 1,
|
|||
|
array1: ['计算机/电子', '高级UI设计', '会计/金融', '政府/非盈利组织/其他'],
|
|||
|
}
|
|||
|
},
|
|||
|
methods: {
|
|||
|
// 跳转
|
|||
|
tn(e) {
|
|||
|
uni.navigateTo({
|
|||
|
url: e,
|
|||
|
});
|
|||
|
},
|
|||
|
goBack() {
|
|||
|
if (getCurrentPages().length > 1) {
|
|||
|
uni.navigateBack()
|
|||
|
} else {
|
|||
|
uni.redirectTo({
|
|||
|
url: '/pages/index/index'
|
|||
|
})
|
|||
|
|
|||
|
}
|
|||
|
},
|
|||
|
|
|||
|
}
|
|||
|
}
|
|||
|
</script>
|
|||
|
|
|||
|
<style lang="scss" scoped>
|
|||
|
/* 授权 */
|
|||
|
.login-page {
|
|||
|
width: 100vw;
|
|||
|
height: 100vh;
|
|||
|
display: flex;
|
|||
|
align-items: center;
|
|||
|
justify-content: center;
|
|||
|
}
|
|||
|
|
|||
|
/* 授权按钮 */
|
|||
|
.submit-btn {
|
|||
|
width: 100%;
|
|||
|
background-color: #05C160;
|
|||
|
color: #FFFFFF;
|
|||
|
margin-top: 60rpx;
|
|||
|
border-radius: 10rpx;
|
|||
|
padding: 25rpx;
|
|||
|
font-size: 32rpx;
|
|||
|
display: flex;
|
|||
|
align-items: center;
|
|||
|
justify-content: center;
|
|||
|
margin: 30rpx;
|
|||
|
}
|
|||
|
|
|||
|
/* 间隔线 start*/
|
|||
|
.tn-strip-bottom-min {
|
|||
|
width: 100%;
|
|||
|
border-bottom: 1rpx solid #F8F9FB;
|
|||
|
}
|
|||
|
|
|||
|
.tn-strip-bottom {
|
|||
|
width: 100%;
|
|||
|
border-bottom: 20rpx solid rgba(241, 241, 241, 0.8);
|
|||
|
}
|
|||
|
|
|||
|
/* 间隔线 end*/
|
|||
|
|
|||
|
|
|||
|
/* 用户头像 start */
|
|||
|
.logo-image {
|
|||
|
width: 80rpx;
|
|||
|
height: 80rpx;
|
|||
|
position: relative;
|
|||
|
}
|
|||
|
|
|||
|
.logo-pic {
|
|||
|
background-size: cover;
|
|||
|
background-repeat: no-repeat;
|
|||
|
// background-attachment:fixed;
|
|||
|
background-position: top;
|
|||
|
border: 2rpx solid rgba(255, 255, 255, 0.05);
|
|||
|
box-shadow: 0rpx 0rpx 80rpx 0rpx rgba(0, 0, 0, 0.15);
|
|||
|
border-radius: 50%;
|
|||
|
overflow: hidden;
|
|||
|
// background-color: #FFFFFF;
|
|||
|
}
|
|||
|
|
|||
|
|
|||
|
/* 底部悬浮按钮 start*/
|
|||
|
.tn-tabbar-height {
|
|||
|
min-height: 100rpx;
|
|||
|
height: calc(120rpx + env(safe-area-inset-bottom) / 2);
|
|||
|
}
|
|||
|
|
|||
|
.tn-footerfixed {
|
|||
|
position: fixed;
|
|||
|
width: 100%;
|
|||
|
bottom: calc(30rpx + env(safe-area-inset-bottom));
|
|||
|
z-index: 1024;
|
|||
|
box-shadow: 0 1rpx 6rpx rgba(0, 0, 0, 0);
|
|||
|
|
|||
|
}
|
|||
|
|
|||
|
/* 底部悬浮按钮 end*/
|
|||
|
</style>
|