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 b6bce86c
authored
May 09, 2022
by
张立顺
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
feat:首页列表颜色根据角色变化;工位设置权限修复
1 parent
a58d5d2b
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
4 deletions
api/environment.js
tabIndex/pages/index/index.wxml
tabMine/pages/index/index.js
api/environment.js
View file @
b6bce86
...
...
@@ -10,7 +10,7 @@ const accountInfo = wx.getAccountInfoSync()
//手动控制体验版环境的请求 true就依据下面index false就默认为2
const
manual
=
false
let
index
=
1
let
index
=
2
// 判断小程序环境
// develop:开发版(正常开发工具,测试时)
...
...
tabIndex/pages/index/index.wxml
View file @
b6bce86
...
...
@@ -172,7 +172,7 @@
<block wx:if="{{i.key == 'filmTimes'}}">
<view
class="text-center"
style="width:100%;height: 100%;color:
#3582EE;
"
style="width:100%;height: 100%;color:
{{isYqdSuper?'#3582EE':'#333333'}}
"
data-item="{{item}}"
bindtap="changeTableData">
{{item[i.key] || 0}}
...
...
tabMine/pages/index/index.js
View file @
b6bce86
...
...
@@ -70,7 +70,7 @@ Page({
touchEnd
,
userInfo
:
{
userType
}
}
=
this
.
data
if
(
userType
==
1
)
return
if
(
userType
==
2
)
return
let
value
=
workItem
[
index
].
maxCount
value
+=
count
if
(
value
<
0
)
value
=
0
...
...
@@ -116,7 +116,7 @@ Page({
sundayFlag
,
userInfo
:
{
userType
}
}
=
this
.
data
if
(
userType
==
1
)
{
if
(
userType
==
2
)
{
this
.
showWork
()
return
}
...
...
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