add file
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
const app = getApp()
|
||||
Page({
|
||||
data: {
|
||||
navbarData: {
|
||||
showCapsule: 1, //是否显示左上角图标 1表示显示 0表示不显示
|
||||
title: '我的简介', //导航栏 中间的标题
|
||||
},
|
||||
},
|
||||
goBack(){
|
||||
wx.navigateBack();
|
||||
}
|
||||
|
||||
})
|
||||
@@ -0,0 +1,8 @@
|
||||
{
|
||||
"component": true,
|
||||
"usingComponents": {
|
||||
"te-nav-bar": "/commpents/te_navbar",
|
||||
"myprofile": "/commpents/myprofile/index",
|
||||
"van-button": "@vant/weapp/button/index"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,5 @@
|
||||
<te-nav-bar navbar-data='{{navbarData}}' ></te-nav-bar>
|
||||
<view class="container" style="height: calc(100vh - 96rpx - {{height}}px);">
|
||||
<myprofile indentity="{{false}}" />
|
||||
|
||||
</view>
|
||||
@@ -0,0 +1,46 @@
|
||||
/* .container{
|
||||
padding-bottom: 50rpx;
|
||||
} */
|
||||
.t-cell__note {
|
||||
font-size: 25rpx !important;
|
||||
letter-spacing: 2rpx;
|
||||
}
|
||||
.t-cell__title-text{
|
||||
font-size: 30rpx !important;
|
||||
}
|
||||
.t-input__wrap--suffix-icon{
|
||||
padding-left: var(--td-spacer-1, 8rpx) !important;
|
||||
}
|
||||
|
||||
.container {
|
||||
width: 100vw;
|
||||
background-color: #ffffff;
|
||||
}
|
||||
.tui-navigatorbar{
|
||||
position: fixed;
|
||||
top: 0;
|
||||
width: 750rpx;
|
||||
height: 170rpx;
|
||||
background-color: #bae46b;
|
||||
z-index: 99;
|
||||
}
|
||||
.tui-navigatorbar-back{
|
||||
position: absolute;
|
||||
width: 48rpx;
|
||||
height: 48rpx;
|
||||
left: 40rpx;
|
||||
bottom: 20rpx;
|
||||
}
|
||||
.conversation-title {
|
||||
position:absolute;
|
||||
width: 350rpx;
|
||||
height: 88rpx;
|
||||
line-height: 56rpx;
|
||||
font-size: 36rpx;
|
||||
color: #e68080;
|
||||
bottom: 0;
|
||||
left: 200rpx;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
}
|
||||
Reference in New Issue
Block a user