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 0be7a79e
authored
Nov 20, 2023
by
前端
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
1111
1 parent
823d50e0
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
19 additions
and
5 deletions
tabMine/pages/collectCoupons/collectCoupons.js
tabMine/pages/collectCoupons/collectCoupons.sass
tabMine/pages/collectCoupons/collectCoupons.wxml
tabMine/pages/completeBuild/completeBuild.js
tabMine/pages/completeBuild/completeBuild.wxml
tabMine/pages/collectCoupons/collectCoupons.js
View file @
0be7a79
...
@@ -3,6 +3,7 @@ import api from '../../api.js'
...
@@ -3,6 +3,7 @@ import api from '../../api.js'
import
{
import
{
ImgUrl
ImgUrl
}
from
'~/config'
;
}
from
'~/config'
;
const
app
=
getApp
()
Page
({
Page
({
/**
/**
...
@@ -24,6 +25,9 @@ Page({
...
@@ -24,6 +25,9 @@ Page({
*/
*/
onLoad
(
options
)
{
onLoad
(
options
)
{
this
.
getReservationConfig
()
this
.
getReservationConfig
()
this
.
setData
({
isYqdSuper
:
app
.
globalData
.
isYqdSuper
,
})
},
},
/**
/**
...
@@ -225,8 +229,10 @@ Page({
...
@@ -225,8 +229,10 @@ Page({
submit
()
{
submit
()
{
let
{
let
{
info
info
,
userInfo
}
=
this
.
data
}
=
this
.
data
if
(
userInfo
.
userType
==
2
)
return
let
params
=
{}
let
params
=
{}
let
config
=
wx
.
$util
.
deepClone
(
info
)
let
config
=
wx
.
$util
.
deepClone
(
info
)
if
(
config
.
isEdit
)
{
if
(
config
.
isEdit
)
{
...
...
tabMine/pages/collectCoupons/collectCoupons.sass
View file @
0be7a79
...
@@ -174,6 +174,10 @@ page {
...
@@ -174,6 +174,10 @@ page {
pointer-events
:
none
;
pointer-events
:
none
;
}
}
.disabled
{
opacity
:
.5
;
}
.btns
{
.btns
{
position
:
fixed
;
position
:
fixed
;
/* position: absolute; */
/* position: absolute; */
...
...
tabMine/pages/collectCoupons/collectCoupons.wxml
View file @
0be7a79
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
<view class="main {{isFullSucreen?'isFullSucreen':''}}">
<view class="main {{isFullSucreen?'isFullSucreen':''}}">
<view class="switch-v">
<view class="switch-v">
<view class="label">设置园区店集中接待电话</view>
<view class="label">设置园区店集中接待电话</view>
<switch color="#347BFF"
isYqdSuper="{{
isYqdSuper}}" checked="{{info.yqMerchantEnableFlag}}" bindchange="changeYQSwitch" data-target="info.yqMerchantEnableFlag" />
<switch color="#347BFF"
class=" {{userInfo.userType == 2 ?'disabled':''}}" disabled="{{!
isYqdSuper}}" checked="{{info.yqMerchantEnableFlag}}" bindchange="changeYQSwitch" data-target="info.yqMerchantEnableFlag" />
</view>
</view>
<view class="setItem {{info.yqMerchantEnableFlag?'':'itemOP'}}">
<view class="setItem {{info.yqMerchantEnableFlag?'':'itemOP'}}">
<view class="item-label">{{info.yqMerchantName}}</view>
<view class="item-label">{{info.yqMerchantName}}</view>
...
@@ -23,7 +23,7 @@
...
@@ -23,7 +23,7 @@
</view>
</view>
<view class="switch-v">
<view class="switch-v">
<view class="label">设置单店驻店接待电话</view>
<view class="label">设置单店驻店接待电话</view>
<switch color="#347BFF"
isYqdSuper="{{
isYqdSuper}}" checked="{{info.shopMerchantEnableFlag}}" bindchange="change4sSwitch" data-target="info.shopMerchantEnableFlag" />
<switch color="#347BFF"
class=" {{userInfo.userType == 2 ?'disabled':''}}" disabled="{{!
isYqdSuper}}" checked="{{info.shopMerchantEnableFlag}}" bindchange="change4sSwitch" data-target="info.shopMerchantEnableFlag" />
</view>
</view>
<block wx:for="{{info.shopMerchantConfigList}}" wx:key="index">
<block wx:for="{{info.shopMerchantConfigList}}" wx:key="index">
<view class="setItem {{info.shopMerchantEnableFlag?'':'itemOP'}}">
<view class="setItem {{info.shopMerchantEnableFlag?'':'itemOP'}}">
...
@@ -48,6 +48,6 @@
...
@@ -48,6 +48,6 @@
<view class="btns {{isFullSucreen?'isFullSucreen-btn':''}}">
<view class="btns {{isFullSucreen?'isFullSucreen-btn':''}}">
<tips-bottom style="width: 100%;box-sizing: border-box;" tipsProps="{{ tipsProps }}" />
<tips-bottom style="width: 100%;box-sizing: border-box;" tipsProps="{{ tipsProps }}" />
<view class="btns-con">
<view class="btns-con">
<view class="confirm text-center" bindtap="submit">批量提交</view>
<view class="confirm text-center
{{userInfo.userType == 2 ?'disabled':''}}
" bindtap="submit">批量提交</view>
</view>
</view>
</view>
</view>
\ No newline at end of file
\ No newline at end of file
tabMine/pages/completeBuild/completeBuild.js
View file @
0be7a79
...
@@ -3,6 +3,7 @@ import api from '../../api.js'
...
@@ -3,6 +3,7 @@ import api from '../../api.js'
import
{
import
{
ImgUrl
ImgUrl
}
from
'~/config'
;
}
from
'~/config'
;
const
app
=
getApp
()
Page
({
Page
({
/**
/**
...
@@ -23,6 +24,9 @@ Page({
...
@@ -23,6 +24,9 @@ Page({
*/
*/
onLoad
(
options
)
{
onLoad
(
options
)
{
this
.
getMerchantConfiguration
()
this
.
getMerchantConfiguration
()
this
.
setData
({
isYqdSuper
:
app
.
globalData
.
isYqdSuper
,
})
},
},
/**
/**
...
...
tabMine/pages/completeBuild/completeBuild.wxml
View file @
0be7a79
...
@@ -3,7 +3,7 @@
...
@@ -3,7 +3,7 @@
<view class="main {{isFullSucreen?'isFullSucreen':'' }} {{showTips?'fullSucreen-tips':'' }}" style="height:calc(100vh - {{isFullSucreen?(34+71.5) : 71.5}}px);">
<view class="main {{isFullSucreen?'isFullSucreen':'' }} {{showTips?'fullSucreen-tips':'' }}" style="height:calc(100vh - {{isFullSucreen?(34+71.5) : 71.5}}px);">
<view class="createData">
<view class="createData">
<view class="label">是否开启客户电子签名及评分选项</view>
<view class="label">是否开启客户电子签名及评分选项</view>
<switch class=" {{userInfo.userType == 2 ?'disabled':''}}" color="#347BFF"
isYqdSuper="{{
isYqdSuper}}" checked="{{saturdayFlag}}" bindchange="changeSwitch" data-target="saturdayFlag" />
<switch class=" {{userInfo.userType == 2 ?'disabled':''}}" color="#347BFF"
disabled="{{!
isYqdSuper}}" checked="{{saturdayFlag}}" bindchange="changeSwitch" data-target="saturdayFlag" />
</view>
</view>
<view class="box">
<view class="box">
<view class="box-label">客户电子签名及施工页面:</view>
<view class="box-label">客户电子签名及施工页面:</view>
...
...
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