Commit 63276afc by zhangxw

ui走查

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