Commit 63276afc by zhangxw

ui走查

1 parent 187498d7
......@@ -21,7 +21,7 @@
"navigationBarTextStyle": "black"
},
"tabBar": {
"color": "#565656",
"color": "#757980",
"selectedColor": "#3582EE",
"backgroundColor": "#FFFFFF",
"position": "bottom",
......@@ -30,25 +30,29 @@
"pagePath": "tabIndex/pages/index/index",
"text": "首页",
"iconPath": "images/tab-home.png",
"selectedIconPath": "images/tab-home-active.png"
"selectedIconPath": "images/tab-home-active.png",
"iconSize": "24"
},
{
"pagePath": "pages/tabWorkOrder/pages/index/index",
"text": "工单管理",
"iconPath": "images/tab-order.png",
"selectedIconPath": "images/tab-order-active.png"
"selectedIconPath": "images/tab-order-active.png",
"iconSize": "24"
},
{
"pagePath": "pages/tabDateIndex/pages/tabDateIndex",
"text": "预约管理",
"iconPath": "images/tab-date.png",
"selectedIconPath": "images/tab-date-active.png"
"selectedIconPath": "images/tab-date-active.png",
"iconSize": "24"
},
{
"pagePath": "tabMine/pages/index/index",
"text": "个人中心",
"iconPath": "images/tab-mine.png",
"selectedIconPath": "images/tab-mine-active.png"
"selectedIconPath": "images/tab-mine-active.png",
"iconSize": "24"
}
]
},
......
......@@ -25,8 +25,8 @@
transition: all .5s;
}
.tab-bar .item .icon-box{
width: 44rpx;
height: 44rpx;
width: 48rpx;
height: 48rpx;
margin-bottom: 8rpx;
}
.tab-bar .item .icon-box .active-icon{
......
......@@ -67,7 +67,7 @@ Component({
// 切换账号
changeAccount() {
wx.$router.go('pages.accountItems')
wx.$router.reLaunch('pages.accountItems')
},
// 退出登录
logout() {
......
......@@ -19,7 +19,7 @@
<view class="static_item" wx:for="{{itemDataList}}" wx:key="index" wx:for-index="index">
<view class="label">
<image src="{{IMG_URL}}staticIcon/{{item.icon}}.png" mode=""/>
<text>{{item.label}}</text>
<text class="label_text">{{item.label}}</text>
</view>
<view class="value"><text wx:if="{{index == 2 || index == 5}}" style="font-size: 24rpx;margin-right: 4rpx;">¥</text>{{staticData[item.value]||0}}</view>
</view>
......
......@@ -29,7 +29,6 @@
.top_item .value{
font-size: 40rpx;
margin: 4rpx 0 12rpx 0;
font-weight: 700;
height: 64rpx;
display: flex;
align-items: center;
......@@ -95,15 +94,20 @@
}
.static_box .static_item .label image{
width: 36rpx;
height: 36rpx;
width: 40rpx;
height: 40rpx;
}
.static_box .static_item .label .label_text{
font-size: 22rpx;
color: #5A5E66;
font-weight: 500;
font-family: PingFangSC-Medium;
}
.static_box .static_item .value{
margin-left: 44rpx;
font-size: 36rpx;
color: #2D2D33;
font-weight: 700;
margin-top: 8rpx;
font-family: 'numberBold';
}
......
......@@ -4,7 +4,7 @@
font-size: 28rpx;
color: #333;
letter-spacing: 0;
background: #F8F9F9;
background: #F7F8FA;
box-sizing: border-box;
height: 100vh;
}
......@@ -48,7 +48,7 @@
}
.items {
width: 100%;
height: 144rpx;
height: 160rpx;
background: #FFFFFF;
border-radius: 16rpx;
margin-top: 32rpx;
......@@ -91,10 +91,11 @@
align-items: center;
}
.items .right .midle{
font-size: 24rpx;
font-size: 28rpx;
font-weight: 600;
width: 96rpx;
height: 96rpx;
border-radius: 4rpx;
border-radius: 8rpx;
margin-right: 30rpx;
display: flex;
align-items: center;
......
/* pages/sceneIndex/sceneIndex.wxss */
page {
background-color: #F3F5F7;
background-color: #F7F8FA;
height: 100vh;
}
.user-box {
......@@ -52,7 +52,7 @@ page {
align-items: center;
justify-content: space-between;
box-sizing: border-box;
height: 192rpx;
height: 160rpx;
background: #FFFFFF;
/* box-shadow: 0 48rpx 20rpx -40rpx #D8D9E6; */
border-radius: 24rpx;
......@@ -70,10 +70,10 @@ page {
}
.scene-item .left .scene-icon{
width: 128rpx;
height: 128rpx;
border-radius: 20rpx;
margin-right: 24rpx;
width: 96rpx;
height: 96rpx;
border-radius: 8rpx;
margin-right: 30rpx;
}
.scene-item .left .item-text{
......
......@@ -4,7 +4,7 @@
font-size: 28rpx;
color: #333;
letter-spacing: 0;
background: #F8F9F9;
background: #F7F8FA;
box-sizing: border-box;
height: 100vh;
}
......
/* pages/sceneIndex/sceneIndex.wxss */
page {
background-color: #F3F5F7;
background-color: #F7F8FA;
height: 100vh;
}
.user-box {
......@@ -52,7 +52,7 @@ page {
align-items: center;
justify-content: space-between;
box-sizing: border-box;
height: 192rpx;
height: 160rpx;
background: #FFFFFF;
/* box-shadow: 0 48rpx 20rpx -40rpx #D8D9E6; */
border-radius: 24rpx;
......@@ -63,7 +63,6 @@ page {
.scene-box .scene-item.active{
border: 4rpx solid #347BFF;
height: 184rpx;
}
.scene-box .scene-item:first-child{
......@@ -75,10 +74,10 @@ page {
}
.scene-item .left .scene-icon{
width: 128rpx;
height: 128rpx;
border-radius: 20rpx;
margin-right: 24rpx;
width: 96rpx;
height: 96rpx;
border-radius: 8rpx;
margin-right: 30rpx;
}
.scene-item .left .item-text{
......
......@@ -14,5 +14,5 @@
<tab-mine id="page-3" class="pagedetail {{ tabIndex == 3?'':'hide' }}" navBarHeight="{{ navBarHeight }}"></tab-mine>
</block>
</view>
<custom-tabBar list="{{ tabBarList }}" color="#6C6C70" selectedColor="#3582EE" tabIndex="{{ tabIndex }}" bindchange="changeTabBar" />
<custom-tabBar list="{{ tabBarList }}" color="#757980" selectedColor="#3582EE" tabIndex="{{ tabIndex }}" bindchange="changeTabBar" />
<side-select-popup show="{{ shopSideSelectPopup }}" storeList="{{storeRange}}"/>
\ No newline at end of file
......@@ -25,7 +25,6 @@
height: 64rpx;
display: flex;
align-items: center;
font-weight: 700;
font-family: 'numberBold';
}
.tips_box{
......@@ -78,8 +77,14 @@
font-size: 22rpx;
color: #5A6066;
image{
width: 36rpx;
height: 36rpx;
width: 40rpx;
height: 40rpx;
}
.overview-text{
font-family: PingFangSC-Medium;
font-weight: 500;
font-size: 22rpx;
color: #5A5E66;
}
}
......@@ -87,16 +92,11 @@
margin-left: 44rpx;
font-size: 36rpx;
color: #2D2D33;
font-weight: 700;
margin-top: 8rpx;
font-family: 'numberBold';
} }
.overview-img{
width: 28px;
height: 28px;
} } }
} }
}
......
......@@ -16,8 +16,8 @@
<view class="overview-wrap">
<view class="overview-list" wx:for="{{productionValueList}}" wx:key="index">
<view class="overview-left">
<view class="overview-title"><image class="overview-img" src="{{IMG_URL}}staticIcon/{{item.imgName}}.png"></image>{{item.title}}</view>
<view class="overview-num">{{conversionList[item.valueName]}}</view>
<view class="overview-title"><image class="overview-img" src="{{IMG_URL}}staticIcon/{{item.imgName}}.png"></image><text class="overview-text">{{item.title}}</text></view>
<view class="overview-num">{{conversionList[item.valueName] || 0}}</view>
</view>
</view>
</view>
......
......@@ -310,6 +310,14 @@ page ::-webkit-scrollbar {
width: 40rpx;
height: 40rpx;
}
.name_label{
display: flex;
align-items: center;
font-size: 22rpx;
color: #5A5E66;
font-weight: 500;
font-family: PingFangSC-Medium;
}
}
.number {
......
......@@ -64,7 +64,7 @@
<view class="icon">
<image src="{{IMG_URL}}staticIcon/{{item.icon}}.png" mode="" binderror="" bindload=""></image>
</view>
{{item.name}}
<view class="name_label">{{item.name}}</view>
</veiw>
<view class="number" wx:if="{{userInfo.userType == 2 && !userInfo.isSuper}}">
<text class="unit" wx:if="{{ item.unit }}">{{item.unit}}</text>
......
......@@ -237,15 +237,15 @@ Page({
},
getAvatar(userInfo) {
let _this = this
wx.qy.getAvatar({
success(res) {
_this.setData({
['userInfo.userAvatarUrl']: res.avatar
})
userInfo.userAvatarUrl = res.avatar
wx.$util.setUserInfo(userInfo)
}
})
// wx.qy.getAvatar({
// success(res) {
// _this.setData({
// ['userInfo.userAvatarUrl']: res.avatar
// })
// userInfo.userAvatarUrl = res.avatar
// // wx.$util.setUserInfo(userInfo)
// }
// })
},
showMerchantPop() {
this.setData({
......@@ -271,7 +271,7 @@ Page({
// 切换账号
changeAccount() {
wx.$router.go('pages.accountItems')
wx.$router.reLaunch('pages.accountItems')
},
/**
* 生命周期函数--监听页面加载
......
......@@ -24,7 +24,7 @@
<view class="item">
所属园区:{{userInfo.merchantName}}{{userInfo.isSuper==true?'(超管)':loginRoleLabel[userInfo.loginRole]}}
</view>
<view class="item">创建时间:{{userInfo.createdTime}}</view>
<view class="item">商户号:{{userInfo.merchantId}}</view>
</view>
</view>
</view>
......
......@@ -28,9 +28,11 @@
height: 108rpx;
overflow: hidden;
border-radius: 100%;
box-sizing: border-box;
position: absolute;
left: 50rpx;
top: -32rpx;
border: 4rpx solid #fff;
}
.name_box{
display: flex;
......@@ -46,8 +48,8 @@
.change_btn{
width: 134rpx;
height: 48rpx;
background: rgba(53, 180, 238, .1);
color: #3582EE;
background: rgba(52, 123, 255, .1);
color: #347BFF;
font-size: 24rpx;
display: flex;
align-items: center;
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!