设置-页面
This commit is contained in:
parent
d233b5733c
commit
c33149ece5
1
.gitignore
vendored
1
.gitignore
vendored
|
|
@ -2,3 +2,4 @@ node_modules/
|
||||||
.project
|
.project
|
||||||
unpackage/
|
unpackage/
|
||||||
.DS_Store
|
.DS_Store
|
||||||
|
.idea
|
||||||
|
|
@ -7,3 +7,4 @@ $text-font-color-1:#000; //文字主色
|
||||||
$text-font-color-2:#676767; //副标题颜色
|
$text-font-color-2:#676767; //副标题颜色
|
||||||
$text-font-color-3:#a7a7a7; //浅色
|
$text-font-color-3:#a7a7a7; //浅色
|
||||||
$text-font-color-4:#e4e4e4; //更浅
|
$text-font-color-4:#e4e4e4; //更浅
|
||||||
|
|
||||||
|
|
@ -1,18 +1,3 @@
|
||||||
view,swiper,swiper-item{
|
|
||||||
box-sizing: border-box;
|
|
||||||
}
|
|
||||||
|
|
||||||
.pageBg{
|
|
||||||
background:
|
|
||||||
linear-gradient(to bottom,transparent,#fff 400rpx),
|
|
||||||
linear-gradient(to right,#beecd8 20%,#F4E2D8);
|
|
||||||
min-height: 80vh;
|
|
||||||
}
|
|
||||||
|
|
||||||
.loadingLayout{
|
|
||||||
padding:30rpx 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
.safe-area-inset-bottom {
|
.safe-area-inset-bottom {
|
||||||
height: env(safe-area-inset-bottom);
|
height: env(safe-area-inset-bottom);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -26,6 +26,14 @@
|
||||||
"navigationBarTitleText": "个人中心",
|
"navigationBarTitleText": "个人中心",
|
||||||
"navigationStyle": "custom"
|
"navigationStyle": "custom"
|
||||||
}
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"path" : "pages/set/set",
|
||||||
|
"style" :
|
||||||
|
{
|
||||||
|
"navigationBarTitleText" : "设置",
|
||||||
|
"autoBackButton":true
|
||||||
|
}
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"tabBar": {
|
"tabBar": {
|
||||||
|
|
|
||||||
|
|
@ -16,8 +16,8 @@
|
||||||
<view class="user-details">
|
<view class="user-details">
|
||||||
<text class="user-name">昵称</text>
|
<text class="user-name">昵称</text>
|
||||||
<text class="user-id">123****8912</text>
|
<text class="user-id">123****8912</text>
|
||||||
<view class="settings-icon">
|
<view class="settings-icon" @click="gotoPage('/pages/set/set')">
|
||||||
<image :src="commonEnum.SET" class="settings-img" mode="aspectFit"></image>
|
<image :src="commonEnum.SET" class="settings-img" mode="aspectFit" />
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
|
|
@ -136,6 +136,9 @@ export default {
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
|
gotoPage(url) {
|
||||||
|
uni.navigateTo({ url })
|
||||||
|
},
|
||||||
goToAgentApply() {
|
goToAgentApply() {
|
||||||
uni.showToast({
|
uni.showToast({
|
||||||
title: '申请代理',
|
title: '申请代理',
|
||||||
|
|
@ -181,7 +184,6 @@ export default {
|
||||||
position: relative;
|
position: relative;
|
||||||
background: #ffffff;
|
background: #ffffff;
|
||||||
|
|
||||||
|
|
||||||
.avatar {
|
.avatar {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
top: -80rpx; // 头像向上偏移,一半在容器外
|
top: -80rpx; // 头像向上偏移,一半在容器外
|
||||||
|
|
|
||||||
13
pages/set/set.vue
Normal file
13
pages/set/set.vue
Normal file
|
|
@ -0,0 +1,13 @@
|
||||||
|
<template>
|
||||||
|
<view class="">
|
||||||
|
|
||||||
|
</view>
|
||||||
|
</template>
|
||||||
|
|
||||||
|
<script setup>
|
||||||
|
|
||||||
|
</script>
|
||||||
|
|
||||||
|
<style lang="scss" scoped>
|
||||||
|
|
||||||
|
</style>
|
||||||
Loading…
Reference in New Issue
Block a user