Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
saas
/
mini-program
/
zhwy
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 30fb72d1
authored
Dec 01, 2023
by
前端
Browse Files
Options
Browse Files
Tag
Download
Plain Diff
Merge branch 'v3.22.0' into 'master'
V3.22.0 See merge request
!7
2 parents
fa50ee5d
2fb02671
Hide whitespace changes
Inline
Side-by-side
Showing
12 changed files
with
21 additions
and
22 deletions
mixins/devMixin.js
packageDiscovery/pages/PayResult/payResult.js
packageEquity/pages/gCoupons/index.scss
packageMine/pages/move/components/add/add.js
packageMine/pages/questionnaire/questionnaire.js
packageMine/pages/questionnaire/questionnaire.scss
packageMine/pages/questionnaire/questionnaire.wxml
packageSaveMoney/pages/chargeDetail/chargeDetail.js
packageSaveMoney/pages/chargeWait/chargeWait.js
packageSaveMoney/pages/detail/detail.js
pages/Login/Login.wxss
pages/loading/loading.js
mixins/devMixin.js
View file @
30fb72d
...
@@ -31,7 +31,7 @@ module.exports = Behavior({
...
@@ -31,7 +31,7 @@ module.exports = Behavior({
if
(
item
.
appId
)
if
(
item
.
appId
)
wx
.
navigateToMiniProgram
(
item
)
wx
.
navigateToMiniProgram
(
item
)
else
{
else
{
wx
.
p
.
router
.
go
(
'/package
Shopmall/package
Mine/pages/device/tachograph/tachograph'
,
{
wx
.
p
.
router
.
go
(
'/packageMine/pages/device/tachograph/tachograph'
,
{
notIntercept
:
true
notIntercept
:
true
})
})
}
}
...
...
packageDiscovery/pages/PayResult/payResult.js
View file @
30fb72d
...
@@ -96,11 +96,10 @@ Page({
...
@@ -96,11 +96,10 @@ Page({
.
then
(
data
=>
{
})
.
then
(
data
=>
{
})
},
},
toCar
()
{
toCar
()
{
wx
.
$router
.
reLaunch
(
'/packageShopmall/packageMall/pages/shoppingCart/shoppingCart'
)
wx
.
$router
.
reLaunch
(
'/packageMall/pages/shoppingCart/shoppingCart'
)
// wx.$router.go('/packageShopmall/packageMall/pages/shoppingCart/shoppingCart')
},
},
toOrder
()
{
toOrder
()
{
wx
.
$router
.
reLaunch
(
'/package
Shopmall/package
Mine/pages/order/index/index'
)
wx
.
$router
.
reLaunch
(
'/packageMine/pages/order/index/index'
)
},
},
onUnload
(){
onUnload
(){
clearInterval
(
this
.
timer
)
clearInterval
(
this
.
timer
)
...
...
packageEquity/pages/gCoupons/index.scss
View file @
30fb72d
...
@@ -88,9 +88,11 @@
...
@@ -88,9 +88,11 @@
}
}
.lq_g_bg
{
.lq_g_bg
{
background
:
url(https://img02.glsx.com.cn/weapp/resource/miniprogram/wuye/equity/coupons/lq_g_bg.png)
;
background
:
url(https://img02.glsx.com.cn/weapp/resource/miniprogram/wuye/equity/coupons/lq_g_bg.png)
;
background-size
:
100%
100%
;
}
}
.lq_w_bag
{
.lq_w_bag
{
background
:
url(https://img02.glsx.com.cn/weapp/resource/miniprogram/wuye/equity/coupons/lq_w_bag.png)
;
background
:
url(https://img02.glsx.com.cn/weapp/resource/miniprogram/wuye/equity/coupons/lq_w_bag.png)
;
background-size
:
100%
100%
;
}
}
.footer_rule_box
{
.footer_rule_box
{
width
:
100%
;
width
:
100%
;
...
...
packageMine/pages/move/components/add/add.js
View file @
30fb72d
...
@@ -111,7 +111,7 @@ Component({
...
@@ -111,7 +111,7 @@ Component({
unionId
:
userInfo
.
unionId
unionId
:
userInfo
.
unionId
}
}
if
(
codeId
)
{
if
(
codeId
)
{
params
.
userPhone
=
user
P
hone
params
.
userPhone
=
user
Info
.
p
hone
params
.
codeId
=
codeId
params
.
codeId
=
codeId
}
else
{
}
else
{
params
.
id
=
id
params
.
id
=
id
...
...
packageMine/pages/questionnaire/questionnaire.js
View file @
30fb72d
...
@@ -25,7 +25,7 @@ Page({
...
@@ -25,7 +25,7 @@ Page({
* 生命周期函数--监听页面加载
* 生命周期函数--监听页面加载
*/
*/
onLoad
(
options
)
{
onLoad
(
options
)
{
this
.
setData
(
options
)
},
},
async
getQuestionnaireDetail
(
options
)
{
async
getQuestionnaireDetail
(
options
)
{
const
res
=
await
wx
.
p
.
router
.
intercept
()
const
res
=
await
wx
.
p
.
router
.
intercept
()
...
...
packageMine/pages/questionnaire/questionnaire.scss
View file @
30fb72d
/* packageMine/pages/questionnaire/questionnaire.wxss */
/* packageMine/pages/questionnaire/questionnaire.wxss */
.layout
{
.layout
{
// padding: 30rpx 40rpx calc(198rpx + var(--constantSafeAreaInsetBottom)) 0;
// padding: 30rpx 40rpx calc(198rpx + var(--envSafeAreaInsetBottom)) 0;
padding
:
30rpx
40rpx
44rpx
0
;
padding
:
30rpx
40rpx
44rpx
0
;
padding
:
30rpx
40rpx
44rpx
0
;
padding
:
30rpx
40rpx
44rpx
0
;
background-color
:
#fff
;
background-color
:
#fff
;
...
...
packageMine/pages/questionnaire/questionnaire.wxml
View file @
30fb72d
...
@@ -16,7 +16,7 @@
...
@@ -16,7 +16,7 @@
<gl-checkbox data="{{item.data}}" num="{{item.num}}" bindchange="change" />
<gl-checkbox data="{{item.data}}" num="{{item.num}}" bindchange="change" />
</block>
</block>
<block wx:elif="{{item.type == 3}}">
<block wx:elif="{{item.type == 3}}">
<gl-textarea placeholder="请输入" maxlength="{{item.maxLength}}"
data-num="{{item.num}}" bindblur="blur" showWordLimit></gl-textarea>
<gl-textarea placeholder="请输入" maxlength="{{item.maxLength}}" data-num="{{item.num}}" bindblur="blur" showWordLimit></gl-textarea>
</block>
</block>
<block wx:elif="{{item.type == 4}}">
<block wx:elif="{{item.type == 4}}">
<gl-select data="{{item.data}}" title="{{item.text}}" num="{{item.num}}" bindchange="change" />
<gl-select data="{{item.data}}" title="{{item.text}}" num="{{item.num}}" bindchange="change" />
...
@@ -28,9 +28,11 @@
...
@@ -28,9 +28,11 @@
</block>
</block>
</view>
</view>
</view>
</view>
<view class="fixed-btn text-center">
<block wx:if="{{questionnaireObj.status == 1}}">
<button class="default-btn" bindtap="submit">提交</button>
<view class="fixed-btn text-center">
</view>
<button class="default-btn" bindtap="submit">提交</button>
</view>
</block>
</block>
</block>
<block wx:else>
<block wx:else>
<finish data="{{questionnaireObj}}" />
<finish data="{{questionnaireObj}}" />
...
...
packageSaveMoney/pages/chargeDetail/chargeDetail.js
View file @
30fb72d
...
@@ -143,7 +143,6 @@ Page({
...
@@ -143,7 +143,6 @@ Page({
},
},
toCoupons
()
{
toCoupons
()
{
wx
.
navigateTo
({
wx
.
navigateTo
({
// url: '/packageShopmall/packageEquity/pages/orderList/orderList'
url
:
'/packageMine/pages/order/index/index'
url
:
'/packageMine/pages/order/index/index'
})
})
},
},
...
...
packageSaveMoney/pages/chargeWait/chargeWait.js
View file @
30fb72d
...
@@ -16,8 +16,7 @@ Page({
...
@@ -16,8 +16,7 @@ Page({
},
},
toOrderList
()
{
toOrderList
()
{
wx
.
redirectTo
({
wx
.
redirectTo
({
// url:'/packageShopmall/packageEquity/pages/orderList/orderList'
url
:
'/packageMine/pages/order/index/index'
url
:
'/packageShopmall/packageMine/pages/order/index/index'
})
})
},
},
toBack
()
{
toBack
()
{
...
...
packageSaveMoney/pages/detail/detail.js
View file @
30fb72d
...
@@ -215,7 +215,7 @@ Page({
...
@@ -215,7 +215,7 @@ Page({
},
},
toMemberPage
()
{
toMemberPage
()
{
wx
.
navigateTo
({
wx
.
navigateTo
({
url
:
'/package
Shopmall/package
Equity/pages/open/open?page=business'
url
:
'/packageEquity/pages/open/open?page=business'
})
})
},
},
// 去购买
// 去购买
...
@@ -308,7 +308,6 @@ Page({
...
@@ -308,7 +308,6 @@ Page({
},
},
toMyCoupons
()
{
toMyCoupons
()
{
wx
.
navigateTo
({
wx
.
navigateTo
({
// url: '/packageShopmall/packageEquity/pages/orderList/orderList'
url
:
'/packageMine/pages/order/index/index'
url
:
'/packageMine/pages/order/index/index'
})
})
},
},
...
...
pages/Login/Login.wxss
View file @
30fb72d
...
@@ -50,7 +50,7 @@
...
@@ -50,7 +50,7 @@
}
}
.nav-bar .back .icon {
.nav-bar .back .icon {
width:
16
rpx;
width:
28
rpx;
height: 28rpx;
height: 28rpx;
}
}
...
...
pages/loading/loading.js
View file @
30fb72d
...
@@ -52,7 +52,7 @@ Page({
...
@@ -52,7 +52,7 @@ Page({
}
}
console
.
log
(
'登陆信息:'
,
data
)
console
.
log
(
'登陆信息:'
,
data
)
if
(
options
.
url
)
{
if
(
options
.
url
)
{
return
this
.
jumpPage
(
options
.
url
)
return
this
.
jumpPage
(
options
)
}
}
// 默认跳转到首页
// 默认跳转到首页
wx
.
p
.
router
.
goHome
()
wx
.
p
.
router
.
goHome
()
...
@@ -83,12 +83,13 @@ Page({
...
@@ -83,12 +83,13 @@ Page({
this
.
login
()
this
.
login
()
}
}
},
},
jumpPage
(
val
)
{
jumpPage
(
options
)
{
console
.
log
(
val
);
console
.
log
(
options
);
const
targetPath
=
decodeURIComponent
(
va
l
),
const
targetPath
=
decodeURIComponent
(
options
.
ur
l
),
{
url
,
events
}
=
this
.
setRouteData
(
targetPath
),
{
url
,
events
}
=
this
.
setRouteData
(
targetPath
),
routeName
=
this
.
tabList
.
findIndex
(
e
=>
`/
${
e
.
pagePath
}
`
==
`
${
url
}
.html`
)
>
-
1
?
'switchTab'
:
'redirectTo'
routeName
=
this
.
tabList
.
findIndex
(
e
=>
`/
${
e
.
pagePath
}
`
==
`
${
url
}
.html`
)
>
-
1
?
'switchTab'
:
'redirectTo'
events
.
notIntercept
=
true
events
.
notIntercept
=
true
events
.
merchantId
=
options
.
merchantId
||
''
wx
.
p
.
router
[
routeName
](
url
,
events
)
wx
.
p
.
router
[
routeName
](
url
,
events
)
},
},
setRouteData
(
targetPath
)
{
setRouteData
(
targetPath
)
{
...
...
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