Browse Source

我的页面修改

work_tab_bar
李素 1 year ago
parent
commit
823cad8fd5
  1. 6
      pages/mine/mine.js
  2. 32
      pages/mine/mine.wxml
  3. 36
      pages/mine/mine.wxss
  4. 9
      project.private.config.json
  5. 4
      subpages/searchResult/pages/cheshi/cheshi.wxml

6
pages/mine/mine.js

@ -25,7 +25,11 @@ Page({
userName:app.globalData.user.realName
})
},
toChangePassword(){
wx.navigateTo({
url: '/subpages/settings/pages/changePassword/changePassword',
})
},
/**
* 生命周期函数--监听页面初次渲染完成
*/

32
pages/mine/mine.wxml

@ -4,19 +4,25 @@
我的
</view>
<view class="content">
<view class="left"><image src="../../images/mine/avater.png" mode=""/></view>
<view class="left"><image src="../../images/mine/lz.png" mode=""/></view>
<view class="right">
<view class="top"> <b>{{userName}}</b> <text>{{agencyName}}</text></view>
<view class="bto">
<view> <image src="../../images/mine/wgz.png" mode=""/> 网格长 </view>
<view> <image src="../../images/mine/lz.png" mode=""/> 楼长 </view>
<!-- <view> <image src="../../images/mine/wgz.png" mode=""/> 网格长 </view> -->
<!-- <view> <image src="../../images/mine/lz.png" mode=""/> 楼长 </view> -->
<view class="text-wrapper_24">
<text class="text_63">网格长</text>
</view>
<view class="text-wrapper_24">
<text class="text_63">楼长</text>
</view>
</view>
</view>
</view>
</view>
<view class="body">
<view class="card">
<view class="item" bind:tap="handelInformation">
<!-- <view class="item" bind:tap="handelInformation">
<view class="left">
<image src="../../images/mine/cj.png" mode=""/>
<view>我采集的信息</view>
@ -44,13 +50,27 @@
<view>关于</view>
</view>
<view class="right"> <image src="../../images/right.png" mode=""/></view>
</view>
<view class="item no-pseudo" bind:tap="toSettings" >
</view> -->
<!-- <view class="item no-pseudo" bind:tap="toSettings" >
<view class="left">
<image src="../../images/mine/sz.png" mode=""/>
<view>设置</view>
</view>
<view class="right"> <image src="../../images/right.png" mode=""/></view>
</view> -->
<view class="item no-pseudo" bind:tap="toSettings" >
<view class="left" bind:tap="toChangePassword">
<image src="../../images/login/password.png" mode=""/>
<view>修改密码</view>
</view>
<view class="right"> <image src="../../images/right.png" mode=""/></view>
</view>
<view class="item">
<view class="left">
<image src="../../images/mine/gy.png" mode=""/>
<view>使用指南</view>
</view>
<view class="right"> <image src="../../images/right.png" mode=""/></view>
</view>
</view>
</view>

36
pages/mine/mine.wxss

@ -4,15 +4,17 @@ page{
width: 100%;
background-color: #f7f7f7;
}
.header {
width: 100%;
height: 470rpx;
height: 370rpx;
/* position: fixed;
top: 0;
left: 0;
z-index: 1000; */
background: linear-gradient(180deg, #7DB5FF 0%, #F7F7F7 100%);
/* background: linear-gradient(180deg, #7DB5FF 0%, #F7F7F7 100%); */
background: #3973F6;
overflow: hidden;
}
.header .navigation {
@ -20,7 +22,7 @@ page{
display: flex;
align-items: center;
justify-content: center;
color: #333333;
color: #fdfdfd;
font-size: 32rpx;
position: relative;
z-index: 100;
@ -54,14 +56,15 @@ page{
.header .content .right .top b{
font-size: 36rpx;
font-family: PingFang SC;
color: #000000;
color: #ffffff;
}
.header .content .right .top text{
margin-left: 19rpx;
padding-left: 19rpx;
height: 31rpx;
font-size: 30rpx;
border-left: 1rpx solid #333333 ;
border-left: 1rpx solid #fffefe ;
color: #ffffff;
}
.header .content .right .bto{
display: flex;
@ -73,10 +76,10 @@ page{
height: 46rpx;
display: flex;
align-items: center;
background: #FFFFFF;
/* background: #FFFFFF; */
border-radius: 46rpx;
font-size: 28rpx;
color: #999;
color: rgb(255, 255, 255);
margin-right: 10rpx;
}
.header .content .right .bto image{
@ -86,9 +89,11 @@ page{
}
.body{
padding: 0 20rpx;
height: auto;
position: relative;
top: -120rpx;
/* height: auto; */
/* position: relative; */
/* top: -120rpx; */
margin-top: 30rpx;
}
.body .card {
background-color: #ffffff;
@ -104,7 +109,18 @@ page{
padding: 0 30rpx;
box-sizing: border-box;
}
.text-wrapper_24 {
background-color: #84ACF0;
border-radius: 0;
}
.text_63 {
overflow-wrap: break-word;
color: rgb(255, 255, 255);
font-family: PingFang-SC-Medium;
white-space: nowrap;
margin-left: 5rpx;
}
.body .card .item::before{
content: "";
position: absolute;

9
project.private.config.json

@ -7,15 +7,6 @@
},
"libVersion": "2.19.6",
"condition": {
"plugin": {
"list": []
},
"game": {
"list": []
},
"gamePlugin": {
"list": []
},
"miniprogram": {
"list": [
{

4
subpages/searchResult/pages/cheshi/cheshi.wxml

@ -76,8 +76,7 @@
<view>国籍</view>
</view>
<view class="input">
<view class="china" v-show="!edit">中国{{kong}}</view>
<input v-show="edit" v-model="description"></input>
<view class="china">中国{{kong}}</view>
</view>
</view>
<view class="form_item">
@ -107,7 +106,6 @@
</view>
<view class="input">
<view class="china">{{phon}}</view>
<input disabled="{{!editMode}}" value="{{editedMobile}}" bindinput="mobileInput"/>
</view>
</view>

Loading…
Cancel
Save