设置-页面
This commit is contained in:
parent
d233b5733c
commit
c33149ece5
1
.gitignore
vendored
1
.gitignore
vendored
|
|
@ -2,3 +2,4 @@ node_modules/
|
|||
.project
|
||||
unpackage/
|
||||
.DS_Store
|
||||
.idea
|
||||
|
|
@ -7,3 +7,4 @@ $text-font-color-1:#000; //文字主色
|
|||
$text-font-color-2:#676767; //副标题颜色
|
||||
$text-font-color-3:#a7a7a7; //浅色
|
||||
$text-font-color-4:#e4e4e4; //更浅
|
||||
|
||||
|
|
@ -1,19 +1,4 @@
|
|||
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{
|
||||
height: env(safe-area-inset-bottom);
|
||||
.safe-area-inset-bottom {
|
||||
height: env(safe-area-inset-bottom);
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -26,6 +26,14 @@
|
|||
"navigationBarTitleText": "个人中心",
|
||||
"navigationStyle": "custom"
|
||||
}
|
||||
},
|
||||
{
|
||||
"path" : "pages/set/set",
|
||||
"style" :
|
||||
{
|
||||
"navigationBarTitleText" : "设置",
|
||||
"autoBackButton":true
|
||||
}
|
||||
}
|
||||
],
|
||||
"tabBar": {
|
||||
|
|
|
|||
|
|
@ -16,8 +16,8 @@
|
|||
<view class="user-details">
|
||||
<text class="user-name">昵称</text>
|
||||
<text class="user-id">123****8912</text>
|
||||
<view class="settings-icon">
|
||||
<image :src="commonEnum.SET" class="settings-img" mode="aspectFit"></image>
|
||||
<view class="settings-icon" @click="gotoPage('/pages/set/set')">
|
||||
<image :src="commonEnum.SET" class="settings-img" mode="aspectFit" />
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
|
|
@ -136,6 +136,9 @@ export default {
|
|||
}
|
||||
},
|
||||
methods: {
|
||||
gotoPage(url) {
|
||||
uni.navigateTo({ url })
|
||||
},
|
||||
goToAgentApply() {
|
||||
uni.showToast({
|
||||
title: '申请代理',
|
||||
|
|
@ -181,7 +184,6 @@ export default {
|
|||
position: relative;
|
||||
background: #ffffff;
|
||||
|
||||
|
||||
.avatar {
|
||||
position: absolute;
|
||||
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