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 eb1d0e97
authored
Jan 30, 2024
by
张立顺
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
样式修改
1 parent
2607ea2d
Hide whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
34 additions
and
24 deletions
app.js
components/TabMine/TabMine.wxss
config.js
packageEquity/pages/carQuotation/index/index.wxss
packageEquity/pages/carQuotation/updateOrderInfo/updateOrderInfo.wxml
packageEquity/pages/collegeScene/collegeScene.js
packageEquity/pages/collegeScene/collegeScene.wxml
pages/tabMine/pages/index/index.wxml
pages/tabMine/pages/index/index.wxss
app.js
View file @
eb1d0e9
...
...
@@ -63,7 +63,7 @@ App({
wx
.
onMemoryWarning
(
function
()
{
console
.
log
(
'onMemoryWarningReceive'
)
})
console
.
log
(
'lifeshow'
)
//
console.log('lifeshow')
getUpdateManager
()
if
(
options
)
{
...
...
components/TabMine/TabMine.wxss
View file @
eb1d0e9
...
...
@@ -10,8 +10,8 @@ page {
.bg {
width: 100%;
height: 350rpx;
background: url('https://img02.glsx.com.cn/weapp/resource/dj-car-boutique-work-wechat/navgation_bg.png')
no-repeat
;
background-size: 100%
526rpx
;
background: url('https://img02.glsx.com.cn/weapp/resource/dj-car-boutique-work-wechat/navgation_bg.png');
background-size: 100%
100%
;
background-color: #fff;
position: fixed;
left: 0;
...
...
@@ -22,9 +22,10 @@ page {
.user-box {
position: relative;
border-radius: 32rpx 32rpx 0 0;
background: #FFFFFF;
/* background: #FFFFFF; */
font-size: 28rpx;
color: #333333;
background: #F7F8FA;
}
.user-avatar {
...
...
config.js
View file @
eb1d0e9
...
...
@@ -18,7 +18,7 @@ export const appId = 'wx570d9331f9ace0bd'
* 4预发布
* 5cdptest
*/
let
index
=
2
let
index
=
1
const
accountInfo
=
wx
.
getAccountInfoSync
()
const
systemInfo
=
wx
.
getSystemInfoSync
()
...
...
packageEquity/pages/carQuotation/index/index.wxss
View file @
eb1d0e9
...
...
@@ -233,6 +233,7 @@
font-weight: 600;
max-width: 60%;
color: #333333;
word-break: break-all;
}
.list .icon-sex {
...
...
packageEquity/pages/carQuotation/updateOrderInfo/updateOrderInfo.wxml
View file @
eb1d0e9
...
...
@@ -4,7 +4,7 @@
<view class="box">
<view class="customerName owner">
<gl-cell border valueAlign="right" label="车主姓名" requiredAfter labelWidth="140rpx" required>
<input placeholder="点击输入" class="input" placeholder-class="placeholder-class" maxlength="
16
" value="{{orderObj.owner.owner}}" bindinput="input" data-name="owner.owner" always-embed></input>
<input placeholder="点击输入" class="input" placeholder-class="placeholder-class" maxlength="
50
" value="{{orderObj.owner.owner}}" bindinput="input" data-name="owner.owner" always-embed></input>
</gl-cell>
</view>
<!-- <gl-cell border label="性别" valueAlign="right" labelWidth="140rpx">
...
...
packageEquity/pages/collegeScene/collegeScene.js
View file @
eb1d0e9
...
...
@@ -153,11 +153,18 @@ Page({
data
.
monthPerformanceList
=
data
.
monthPerformanceList
.
map
(
item
=>
{
item
.
performanceMonthLabel
=
this
.
extractMonth
(
item
.
performanceMonth
)
item
.
height
=
item
.
staffDataList
.
length
>
3
?
item
.
staffDataList
.
length
*
70
+
120
:
'300'
if
(
item
.
minimumWage
>
item
.
finalWage
)
{
item
.
finalWage
=
item
.
minimumWage
// item.performanceWage = 0
item
.
hidePerformanceWage
=
true
}
// console.log(Boolean(item.minimumWage && item.minimumWage > item.finalWage));
item
.
staffDataList
=
item
.
staffDataList
.
map
((
childItem
)
=>
{
if
(
Boolean
(
childItem
.
minimumWage
&&
childItem
.
minimumWage
>
childItem
.
finalWage
))
{
childItem
.
finalWage
=
childItem
.
minimumWage
// item.performanceWage = 0
childItem
.
hidePerformanceWage
=
true
}
else
{
childItem
.
finalWage
=
childItem
.
basicWage
}
return
childItem
})
// 处理基本工资和提成
...
...
@@ -248,7 +255,7 @@ Page({
init
(
userInfo
)
{
const
isStaff
=
app
.
globalData
.
isStaff
// let { userInfo } = this.data
console
.
log
(
this
.
data
,
userInfo
,
'userInfo'
)
//
console.log(this.data, userInfo, 'userInfo')
this
.
setData
({
isStaff
:
userInfo
.
isSuper
?
false
:
isStaff
,
hasStaffPassword
:
!
isStaff
?
true
:
false
...
...
@@ -267,40 +274,40 @@ Page({
/**
* 生命周期函数--监听页面加载
*/
onLoad
(
options
)
{},
onLoad
(
options
)
{
},
/**
* 生命周期函数--监听页面初次渲染完成
*/
onReady
()
{},
onReady
()
{
},
/**
* 生命周期函数--监听页面显示
*/
onShow
(
e
)
{},
onShow
(
e
)
{
},
/**
* 生命周期函数--监听页面隐藏
*/
onHide
()
{},
onHide
()
{
},
/**
* 生命周期函数--监听页面卸载
*/
onUnload
()
{},
onUnload
()
{
},
/**
* 页面相关事件处理函数--监听用户下拉动作
*/
onPullDownRefresh
()
{},
onPullDownRefresh
()
{
},
/**
* 页面上拉触底事件的处理函数
*/
onReachBottom
()
{},
onReachBottom
()
{
},
/**
* 用户点击右上角分享
*/
onShareAppMessage
()
{}
onShareAppMessage
()
{
}
})
packageEquity/pages/collegeScene/collegeScene.wxml
View file @
eb1d0e9
...
...
@@ -69,7 +69,7 @@
<image bind:tap="hideStaffInfo" class="eyesIcon" src="{{ ImgUrl+'openeyesIcon.png' }}"></image>
</view>
<view class="wagesCon">
<view class="wagesItem" wx:for="{{ staffInfoObj.monthPerformanceList }}">
<view class="wagesItem" wx:for="{{ staffInfoObj.monthPerformanceList }}"
wx:key="index"
>
<view class="label">{{index? item.performanceMonthLabel : '当前月'}}</view>
<view class="value">
<text>工资</text>
...
...
pages/tabMine/pages/index/index.wxml
View file @
eb1d0e9
...
...
@@ -27,14 +27,14 @@
<view class="item flex">
<view>所属服务商:</view>
<view>
<view wx:for="{{merchantInfo}}">{{item.merchantName}}{{item.merchantId}}
<view wx:for="{{merchantInfo}}"
wx:key="index"
>{{item.merchantName}}{{item.merchantId}}
</view>
</view>
</view>
<view class="item flex">
<view>服务商账号:</view>
<view>
<view wx:for="{{merchantInfo}}">{{item.merchantLoginAccount}}
<view wx:for="{{merchantInfo}}"
wx:key="index"
>{{item.merchantLoginAccount}}
</view>
</view>
</view>
...
...
pages/tabMine/pages/index/index.wxss
View file @
eb1d0e9
...
...
@@ -26,6 +26,7 @@ page {
/* background: #FFFFFF; */
font-size: 28rpx;
color: #333333;
background: #F7F8FA;
}
.user-avatar {
...
...
@@ -238,7 +239,7 @@ page {
}
.version_box {
margin-top: 28rpx;
margin-top: 28rpx;
display: grid;
grid-template-columns: repeat(auto-fill, 190rpx);
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