170 lines
3.9 KiB
Vue
170 lines
3.9 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'}">
|
|
<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">
|
|
系统设置1
|
|
</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>
|
|
|
|
<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">
|
|
系统设置2
|
|
</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>
|
|
</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,
|
|
index: 0,
|
|
array: ['女', '男', '保密'],
|
|
date: '2000-01-29',
|
|
index1: 1,
|
|
array1: ['计算机/电子', '高级UI设计', '会计/金融', '政府/非盈利组织/其他'],
|
|
}
|
|
},
|
|
computed: {
|
|
|
|
},
|
|
methods: {
|
|
goBack() {
|
|
if (getCurrentPages().length > 1) {
|
|
uni.navigateBack()
|
|
} else {
|
|
uni.redirectTo({
|
|
url: '/pages/index/index'
|
|
})
|
|
|
|
}
|
|
},
|
|
// 跳转
|
|
tn(e) {
|
|
uni.navigateTo({
|
|
url: e,
|
|
});
|
|
},
|
|
}
|
|
}
|
|
</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> |