| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169 |
- <template>
- <view class="user-info-wrap">
- <view class="nav-bar">
- <view class="nav-content">
- <view @click="gotoSettingtelphone(0)" class="nav-info">
- <view class="nav-desc">
- <view class="nav-name">
- <view class="">手机号</view>
- </view>
- </view>
- <view class="arrow-right">
- <u-icon name="arrow-right" color="#666" size="18"></u-icon>
- </view>
- </view>
- </view>
- <view class="custom-line"></view>
- <view class="nav-content">
- <view @click="gotoSettingWechat()" class="nav-info">
- <view class="nav-desc">
- <view class="nav-name">
- <view class="">微信号</view>
- </view>
- </view>
- <view class="arrow-right">
- <u-icon name="arrow-right" color="#666" size="18"></u-icon>
- </view>
- </view>
- </view>
- <view class="custom-line"></view>
- <view class="nav-content">
- <view @click="gotoSettingAccountPassword()" class="nav-info">
- <view class="nav-desc">
- <view class="nav-name">
- <view class="">密码</view>
- </view>
- </view>
- <view class="arrow-right">
- <u-icon name="arrow-right" color="#666" size="18"></u-icon>
- </view>
- </view>
- </view>
- </view>
- </view>
- </template>
- <script>
- export default {
- data() {
- return {
- userInfo: {
- telphone: '',
- code: '',
- },
- }
- },
- onReady() {
- },
- methods: {
- // 去设置手机号
- gotoSettingtelphone(){
- uni.navigateTo({
- url: '/myPages/setting/setting-telphone',
- })
- },
- // 去设置微信号
- gotoSettingWechat(){
- uni.navigateTo({
- url: '/myPages/setting/setting-wechat',
- })
- },
- // 去设置账号密码
- gotoSettingAccountPassword(){
- uni.navigateTo({
- url: '/myPages/setting/setting-account-password',
- })
- },
- // 去设置交易密码页面
- gotoSettingTransactionPassword(){
- uni.navigateTo({
- url: '/myPages/setting/setting-transaction-password',
- })
- }
- }
- }
- </script>
- <style lang="scss">
- .user-info-wrap{
- margin-left: 12px;
- margin-right: 12px;
- /* 导航菜单 */
- .nav-bar{
- background: #fff;
- border-radius: 10px;
- margin-top: 12px;
- /* 商店信息 */
- .nav-content{
- padding-top: 10px;
- padding-bottom: 6px;
- .nav-info{
- display: flex;
- padding-left: 10px;
- .logo {
- width: 12%;
- text-align: center;
- image{
- width: 24px;
- height: 24px;
- }
- }
- .nav-desc{
- width: 68%;
- display: flex;
- line-height: 30px;
- .nav-name{
- font-size: 14px;
- width: 60%;
- }
- .change-store{
- text-align: right;
- width: 40%;
- font-size: 12px;
- color: #666;
- }
- }
- .arrow-right{
- width:70%;
- text-align: right;
- margin: 0 auto;
- //cursor: pointer;
- padding-top: 3px;
- padding-right: 6px;
- display: flex;
- justify-content: flex-end;
- align-items: center;
- image{
- width: 18px;
- height: 18px;
- }
- .head-img {
- text-align: center;
- image{
- width: 24px;
- height: 24px;
- }
- }
- }
- }
- }
- }
- .sure-btn{
- margin-top: 20px;
- width: 100%;
- .btn{
- background: #FF6C7B;
- text-align: center;
- border-radius: 14px;
- height: 36px;
- line-height: 36px;
- color: #fff;
- font-size: 16px;
- }
- }
- }
- </style>
|