Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
saas_plus
/
dj-car-boutique-work-wechat
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
1
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 63276afc
authored
Sep 25, 2023
by
zhangxw
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
ui走查
1 parent
187498d7
Hide whitespace changes
Inline
Side-by-side
Showing
17 changed files
with
75 additions
and
57 deletions
app.json
components/CustomTabBar/CustomTabBar.wxss
components/TabMine/TabMine.js
packageCrowdFunding/pages/homePage/index/index.wxml
packageCrowdFunding/pages/homePage/index/index.wxss
pages/accountItems/accountItems.wxss
pages/changeScene/changeScene.wxss
pages/merchantList/merchantList.wxss
pages/sceneIndex/sceneIndex.wxss
subvehicleConversion/pages/TabBar/conversionPage.wxml
subvehicleConversion/pages/indexPage/index.sass
subvehicleConversion/pages/indexPage/index.wxml
tabIndex/pages/index/index.sass
tabIndex/pages/index/index.wxml
tabMine/pages/index/index.js
tabMine/pages/index/index.wxml
tabMine/pages/index/index.wxss
app.json
View file @
63276af
...
@@ -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"
}
}
]
]
},
},
...
...
components/CustomTabBar/CustomTabBar.wxss
View file @
63276af
...
@@ -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: 4
4
rpx;
width: 4
8
rpx;
height: 4
4
rpx;
height: 4
8
rpx;
margin-bottom: 8rpx;
margin-bottom: 8rpx;
}
}
.tab-bar .item .icon-box .active-icon{
.tab-bar .item .icon-box .active-icon{
...
...
components/TabMine/TabMine.js
View file @
63276af
...
@@ -67,7 +67,7 @@ Component({
...
@@ -67,7 +67,7 @@ Component({
// 切换账号
// 切换账号
changeAccount
()
{
changeAccount
()
{
wx
.
$router
.
go
(
'pages.accountItems'
)
wx
.
$router
.
reLaunch
(
'pages.accountItems'
)
},
},
// 退出登录
// 退出登录
logout
()
{
logout
()
{
...
...
packageCrowdFunding/pages/homePage/index/index.wxml
View file @
63276af
...
@@ -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>
...
...
packageCrowdFunding/pages/homePage/index/index.wxss
View file @
63276af
...
@@ -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';
}
}
...
...
pages/accountItems/accountItems.wxss
View file @
63276af
...
@@ -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: #F
8F9F9
;
background: #F
7F8FA
;
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: 1
44
rpx;
height: 1
60
rpx;
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:
4
rpx;
border-radius:
8
rpx;
margin-right: 30rpx;
margin-right: 30rpx;
display: flex;
display: flex;
align-items: center;
align-items: center;
...
...
pages/changeScene/changeScene.wxss
View file @
63276af
/* pages/sceneIndex/sceneIndex.wxss */
/* pages/sceneIndex/sceneIndex.wxss */
page {
page {
background-color: #F
3F5F7
;
background-color: #F
7F8FA
;
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: 1
92
rpx;
height: 1
60
rpx;
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:
128
rpx;
width:
96
rpx;
height:
128
rpx;
height:
96
rpx;
border-radius:
20
rpx;
border-radius:
8
rpx;
margin-right:
24
rpx;
margin-right:
30
rpx;
}
}
.scene-item .left .item-text{
.scene-item .left .item-text{
...
...
pages/merchantList/merchantList.wxss
View file @
63276af
...
@@ -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: #F
8F9F9
;
background: #F
7F8FA
;
box-sizing: border-box;
box-sizing: border-box;
height: 100vh;
height: 100vh;
}
}
...
...
pages/sceneIndex/sceneIndex.wxss
View file @
63276af
/* pages/sceneIndex/sceneIndex.wxss */
/* pages/sceneIndex/sceneIndex.wxss */
page {
page {
background-color: #F
3F5F7
;
background-color: #F
7F8FA
;
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: 1
92
rpx;
height: 1
60
rpx;
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:
128
rpx;
width:
96
rpx;
height:
128
rpx;
height:
96
rpx;
border-radius:
20
rpx;
border-radius:
8
rpx;
margin-right:
24
rpx;
margin-right:
30
rpx;
}
}
.scene-item .left .item-text{
.scene-item .left .item-text{
...
...
subvehicleConversion/pages/TabBar/conversionPage.wxml
View file @
63276af
...
@@ -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="#
6C6C7
0" selectedColor="#3582EE" tabIndex="{{ tabIndex }}" bindchange="changeTabBar" />
<custom-tabBar list="{{ tabBarList }}" color="#
75798
0" 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
subvehicleConversion/pages/indexPage/index.sass
View file @
63276af
...
@@ -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
;
}
}
}
}
}
...
...
subvehicleConversion/pages/indexPage/index.wxml
View file @
63276af
...
@@ -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>
...
...
tabIndex/pages/index/index.sass
View file @
63276af
...
@@ -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
{
...
...
tabIndex/pages/index/index.wxml
View file @
63276af
...
@@ -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>
...
...
tabMine/pages/index/index.js
View file @
63276af
...
@@ -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'
)
},
},
/**
/**
* 生命周期函数--监听页面加载
* 生命周期函数--监听页面加载
...
...
tabMine/pages/index/index.wxml
View file @
63276af
...
@@ -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>
...
...
tabMine/pages/index/index.wxss
View file @
63276af
...
@@ -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(5
3, 180, 238
, .1);
background: rgba(5
2, 123, 255
, .1);
color: #3
582EE
;
color: #3
47BFF
;
font-size: 24rpx;
font-size: 24rpx;
display: flex;
display: flex;
align-items: center;
align-items: center;
...
...
Write
Preview
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment