Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in / Register
Toggle navigation
U
uni-pdtravel
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
panyongping
uni-pdtravel
Commits
24e3e559
Commit
24e3e559
authored
Dec 07, 2023
by
潘永坪
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'pd-lx' into develop
parents
72aa26e7
cd96ca24
Changes
29
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
29 changed files
with
543 additions
and
743 deletions
+543
-743
main.js
main.js
+1
-0
pages.json
pages.json
+8
-0
combiChoose.vue
pages/combination/combiChoose/combiChoose.vue
+55
-55
combiOrder.vue
pages/combination/combiOrder/combiOrder.vue
+1
-1
distributionCombiChoose.vue
...ation/distributionCombiChoose/distributionCombiChoose.vue
+2
-2
sourceCombiChoose.vue
pages/combination/sourceCombiChoose/sourceCombiChoose.vue
+49
-49
hotelIndex.vue
pages/hotel/hotelIndex/hotelIndex.vue
+1
-1
dongjianIndex.vue
pages/indexs/dongjianIndex/dongjianIndex.vue
+14
-14
index.vue
pages/indexs/index/index.vue
+7
-7
merchantListIndex.vue
pages/indexs/merchantListIndex/merchantListIndex.vue
+3
-3
commonInfo.vue
pages/my/commonInfo/commonInfo.vue
+1
-1
myCouponList.vue
pages/my/couponCenter/myCouponList/myCouponList.vue
+1
-1
enterpriseWechat.vue
.../my/customerService/enterpriseWechat/enterpriseWechat.vue
+1
-1
exchangeIndex.vue
pages/my/exchangeCode/exchangeIndex/exchangeIndex.vue
+18
-18
afterSaleList.vue
pages/my/order/afterSale/afterSaleList/afterSaleList.vue
+1
-1
applyAfterSale - 副本.vue
...my/order/afterSale/applyAfterSale/applyAfterSale - 副本.vue
+2
-2
intelTicket.vue
pages/my/order/intelTicket/intelTicket.vue
+46
-46
codeResult.vue
pages/my/passCode/codeResult/codeResult.vue
+1
-1
shopCart.vue
pages/my/shopCart/shopCart.vue
+1
-1
travelList.vue
pages/my/travelList/travelList/travelList.vue
+1
-1
myTravelogue.vue
pages/my/travelNotes/myTravelogue/myTravelogue.vue
+1
-1
combinationProduct.vue
pages/scenic/combinationProduct/combinationProduct.vue
+6
-1
scenicCombiOrder.vue
pages/scenic/scenicCombiOrder/scenicCombiOrder.vue
+301
-524
calendar.vue
pages/scenic/scenicComponents/calendar.vue
+14
-5
scenicIndex.vue
pages/scenic/scenicIndex/scenicIndex.vue
+1
-1
scenicJointOrder.vue
pages/scenic/scenicJointOrder/scenicJointOrder.vue
+1
-1
scenicOrder.vue
pages/scenic/scenicOrder/scenicOrder.vue
+1
-1
scenicProduct.vue
pages/scenic/scenicProduct/scenicProduct.vue
+2
-2
scenicSingleOrder.vue
pages/scenic/scenicSingleOrder/scenicSingleOrder.vue
+2
-2
No files found.
main.js
View file @
24e3e559
...
@@ -8,6 +8,7 @@ import commonjs from 'common/common.js'
...
@@ -8,6 +8,7 @@ import commonjs from 'common/common.js'
Vue
.
prototype
.
$commonjs
=
commonjs
Vue
.
prototype
.
$commonjs
=
commonjs
Vue
.
prototype
.
$request
=
request
Vue
.
prototype
.
$request
=
request
Vue
.
prototype
.
$wxurl
=
'https://lx.pangdly.com/#/'
Vue
.
prototype
.
imageError
=
'@/static/img/common/pangdingLogo.png'
Vue
.
prototype
.
imageError
=
'@/static/img/common/pangdingLogo.png'
Vue
.
use
(
uView
)
Vue
.
use
(
uView
)
uni
.
$u
.
config
.
unit
=
'rpx'
uni
.
$u
.
config
.
unit
=
'rpx'
...
...
pages.json
View file @
24e3e559
...
@@ -309,6 +309,14 @@
...
@@ -309,6 +309,14 @@
"enablePullDownRefresh"
:
false
"enablePullDownRefresh"
:
false
}
}
},
{
"path"
:
"scenicCombiOrder/scenicCombiOrder"
,
"style"
:
{
"navigationBarTitleText"
:
""
,
"enablePullDownRefresh"
:
false
}
}
}
]
]
},
},
...
...
pages/combination/combiChoose/combiChoose.vue
View file @
24e3e559
...
@@ -5,65 +5,65 @@
...
@@ -5,65 +5,65 @@
</
template
>
</
template
>
<
script
>
<
script
>
export
default
{
export
default
{
data
()
{
data
()
{
return
{
return
{
enterUrl
:
""
,
//进入页面路由
enterUrl
:
''
,
//进入页面路由
outUrl
:
""
,
//跳出页面路由
outUrl
:
''
,
//跳出页面路由
}
}
},
},
onLoad
(
option
)
{
onLoad
(
option
)
{
//#ifdef MP-WEIXIN
//#ifdef MP-WEIXIN
this
.
enterUrl
=
option
.
q
this
.
enterUrl
=
option
.
q
//#endif
//#endif
//#ifdef MP-ALIPAY
//#ifdef MP-ALIPAY
this
.
enterUrl
=
uni
.
getStorageSync
(
"alipayQrCode"
)
this
.
enterUrl
=
uni
.
getStorageSync
(
'alipayQrCode'
)
//#endif
//#endif
if
(
this
.
enterUrl
){
//普通二维码扫码进入
if
(
this
.
enterUrl
){
//普通二维码扫码进入
let
channelId
=
this
.
getUrlKey
(
"channelId"
)
let
channelId
=
this
.
getUrlKey
(
'channelId'
)
let
companyId
=
this
.
getUrlKey
(
"companyId"
)
let
companyId
=
this
.
getUrlKey
(
'companyId'
)
let
merchantId
=
this
.
getUrlKey
(
"merchantId"
)
let
merchantId
=
this
.
getUrlKey
(
'merchantId'
)
let
groupId
=
this
.
getUrlKey
(
"groupId"
)
let
groupId
=
this
.
getUrlKey
(
'groupId'
)
let
groupChannelId
=
this
.
getUrlKey
(
"groupChannelId"
)
let
groupChannelId
=
this
.
getUrlKey
(
'groupChannelId'
)
let
pageType
=
this
.
getUrlKey
(
"pageType"
)
let
pageType
=
this
.
getUrlKey
(
'pageType'
)
let
pdOpenid
=
uni
.
getStorageSync
(
"openid"
)
//胖丁小程序openid,临时用,当公众号授权做好之后可以删除
let
pdOpenid
=
uni
.
getStorageSync
(
'openid'
)
//胖丁小程序openid,临时用,当公众号授权做好之后可以删除
let
pdToken
=
uni
.
getStorageSync
(
"token"
)
let
pdToken
=
uni
.
getStorageSync
(
'token'
)
let
pdCreateUserId
=
uni
.
getStorageSync
(
"createUserId"
)
let
pdCreateUserId
=
uni
.
getStorageSync
(
'createUserId'
)
let
pdUserId
=
uni
.
getStorageSync
(
"userId"
)
let
pdUserId
=
uni
.
getStorageSync
(
'userId'
)
let
pageCode
=
this
.
getUrlKey
(
"pageCode"
)
//赠送优惠券接口参数
let
pageCode
=
this
.
getUrlKey
(
'pageCode'
)
//赠送优惠券接口参数
if
(
pageType
==
1
){
//组合
if
(
pageType
==
1
){
//组合
this
.
outUrl
=
"https://wx.pangdly.com/#/combiChoose?channelId="
+
channelId
+
"&merchantId="
+
merchantId
+
"&groupId="
+
groupId
+
"&groupChannelId="
+
groupChannelId
+
"&companyId="
+
companyId
+
"&pdOpenid="
+
pdOpenid
+
"&pdToken="
+
pdToken
+
"&pdCreateUserId="
+
pdCreateUserId
+
"&pdUserId="
+
pdUserId
this
.
outUrl
=
this
.
$wxurl
+
'combiChoose?channelId='
+
channelId
+
'&merchantId='
+
merchantId
+
'&groupId='
+
groupId
+
'&groupChannelId='
+
groupChannelId
+
'&companyId='
+
companyId
+
'&pdOpenid='
+
pdOpenid
+
'&pdToken='
+
pdToken
+
'&pdCreateUserId='
+
pdCreateUserId
+
'&pdUserId='
+
pdUserId
}
else
{
//分销
}
else
{
//分销
uni
.
navigateTo
({
uni
.
navigateTo
({
url
:
"../distributionCombiChoose/distributionCombiChoose?channelId="
+
channelId
+
"&merchantId="
+
merchantId
+
"&groupId="
+
groupId
+
"&groupChannelId="
+
groupChannelId
+
"&companyId="
+
companyId
+
"&pageCode"
+
pageCode
url
:
'../distributionCombiChoose/distributionCombiChoose?channelId='
+
channelId
+
'&merchantId='
+
merchantId
+
'&groupId='
+
groupId
+
'&groupChannelId='
+
groupChannelId
+
'&companyId='
+
companyId
+
'&pageCode'
+
pageCode
})
})
}
}
}
else
{
//小程序页面跳转进入
}
else
{
//小程序页面跳转进入
let
channelId
=
option
.
channelId
||
''
let
channelId
=
option
.
channelId
||
''
let
companyId
=
option
.
companyId
||
''
let
companyId
=
option
.
companyId
||
''
let
merchantId
=
option
.
merchantId
||
''
let
merchantId
=
option
.
merchantId
||
''
let
groupId
=
option
.
groupId
||
''
let
groupId
=
option
.
groupId
||
''
let
groupChannelId
=
option
.
groupChannelId
||
''
let
groupChannelId
=
option
.
groupChannelId
||
''
let
thirdOpenid
=
option
.
thirdOpenid
||
''
//第三方openid
let
thirdOpenid
=
option
.
thirdOpenid
||
''
//第三方openid
let
touristType
=
option
.
touristType
||
''
//游客类型
let
touristType
=
option
.
touristType
||
''
//游客类型
let
pdOpenid
=
uni
.
getStorageSync
(
"openid"
)
||
''
//胖丁小程序openid,临时用,当公众号授权做好之后可以删除
let
pdOpenid
=
uni
.
getStorageSync
(
'openid'
)
||
''
//胖丁小程序openid,临时用,当公众号授权做好之后可以删除
let
pdToken
=
uni
.
getStorageSync
(
"token"
)
||
''
let
pdToken
=
uni
.
getStorageSync
(
'token'
)
||
''
let
pdCreateUserId
=
uni
.
getStorageSync
(
"createUserId"
)
||
''
let
pdCreateUserId
=
uni
.
getStorageSync
(
'createUserId'
)
||
''
let
pdUserId
=
uni
.
getStorageSync
(
"userId"
)
||
''
let
pdUserId
=
uni
.
getStorageSync
(
'userId'
)
||
''
let
baseUrl
=
"https://wx.pangdly.com/#/combiChoose?thirdOpenid="
+
thirdOpenid
+
"&touristType="
+
touristType
let
baseUrl
=
this
.
$wxurl
+
'combiChoose?thirdOpenid='
+
thirdOpenid
+
'&touristType='
+
touristType
this
.
outUrl
=
baseUrl
+
"&channelId="
+
channelId
+
"&merchantId="
+
merchantId
+
"&groupId="
+
groupId
+
"&groupChannelId="
+
groupChannelId
+
"&companyId="
+
companyId
+
"&pdOpenid="
+
pdOpenid
+
"&pdToken="
+
pdToken
+
"&pdCreateUserId="
+
pdCreateUserId
+
"&pdUserId="
+
pdUserId
this
.
outUrl
=
baseUrl
+
'&channelId='
+
channelId
+
'&merchantId='
+
merchantId
+
'&groupId='
+
groupId
+
'&groupChannelId='
+
groupChannelId
+
'&companyId='
+
companyId
+
'&pdOpenid='
+
pdOpenid
+
'&pdToken='
+
pdToken
+
'&pdCreateUserId='
+
pdCreateUserId
+
'&pdUserId='
+
pdUserId
}
}
},
},
methods
:
{
methods
:
{
getUrlKey
(
name
){
//---------------------------------------------------------------获取url
getUrlKey
(
name
){
//---------------------------------------------------------------获取url
return
(
new
RegExp
(
'[?|&]'
+
name
+
'='
+
'([^&;]+?)(&|#|;|$)'
).
exec
(
decodeURIComponent
(
this
.
enterUrl
))
||
[,
""
])[
1
].
replace
(
/
\+
/g
,
'%20'
)
||
""
;
return
(
new
RegExp
(
'[?|&]'
+
name
+
'='
+
'([^&;]+?)(&|#|;|$)'
).
exec
(
decodeURIComponent
(
this
.
enterUrl
))
||
[,
''
])[
1
].
replace
(
/
\+
/g
,
'%20'
)
||
''
},
},
}
}
}
}
</
script
>
</
script
>
<
style
>
<
style
>
...
...
pages/combination/combiOrder/combiOrder.vue
View file @
24e3e559
...
@@ -23,7 +23,7 @@ export default {
...
@@ -23,7 +23,7 @@ export default {
let
pdToken
=
uni
.
getStorageSync
(
'token'
)
let
pdToken
=
uni
.
getStorageSync
(
'token'
)
let
pdCreateUserId
=
uni
.
getStorageSync
(
'createUserId'
)
let
pdCreateUserId
=
uni
.
getStorageSync
(
'createUserId'
)
let
pdUserId
=
uni
.
getStorageSync
(
'userId'
)
let
pdUserId
=
uni
.
getStorageSync
(
'userId'
)
let
baseUrl
=
'https://wx.pangdly.com/#/
combiOrder?pdOpenid='
+
pdOpenid
+
'&pdToken='
+
pdToken
+
'&pdCreateUserId='
+
pdCreateUserId
+
'&pdUserId='
+
pdUserId
let
baseUrl
=
this
.
$wxurl
+
'
combiOrder?pdOpenid='
+
pdOpenid
+
'&pdToken='
+
pdToken
+
'&pdCreateUserId='
+
pdCreateUserId
+
'&pdUserId='
+
pdUserId
let
url
=
'&groupId='
+
groupId
+
'&groupChannelId='
+
groupChannelId
+
'&productIdList='
+
productIdList
+
'&orderSource='
+
orderSource
+
'&companyId='
+
companyId
+
'&ifyukuaiCode='
+
ifyukuaiCode
let
url
=
'&groupId='
+
groupId
+
'&groupChannelId='
+
groupChannelId
+
'&productIdList='
+
productIdList
+
'&orderSource='
+
orderSource
+
'&companyId='
+
companyId
+
'&ifyukuaiCode='
+
ifyukuaiCode
this
.
outUrl
=
baseUrl
+
url
this
.
outUrl
=
baseUrl
+
url
},
},
...
...
pages/combination/distributionCombiChoose/distributionCombiChoose.vue
View file @
24e3e559
...
@@ -38,7 +38,7 @@ export default {
...
@@ -38,7 +38,7 @@ export default {
url
:
'../combiChoose/combiChoose?channelId='
+
channelId
+
'&merchantId='
+
merchantId
+
'&groupId='
+
groupId
+
'&groupChannelId='
+
groupChannelId
+
'&companyId='
+
companyId
url
:
'../combiChoose/combiChoose?channelId='
+
channelId
+
'&merchantId='
+
merchantId
+
'&groupId='
+
groupId
+
'&groupChannelId='
+
groupChannelId
+
'&companyId='
+
companyId
})
})
}
else
{
//分销
}
else
{
//分销
this
.
outUrl
=
'https://wx.pangdly.com/#/
distributionCombiChooseS?channelId='
+
channelId
+
'&merchantId='
+
merchantId
+
'&groupId='
+
groupId
+
'&groupChannelId='
+
groupChannelId
+
'&companyId='
+
companyId
+
'&pdOpenid='
+
pdOpenid
+
'&pdToken='
+
pdToken
+
'&pdCreateUserId='
+
pdCreateUserId
+
'&pdUserId='
+
pdUserId
+
'&pageCode'
+
pageCode
this
.
outUrl
=
this
.
$wxurl
+
'
distributionCombiChooseS?channelId='
+
channelId
+
'&merchantId='
+
merchantId
+
'&groupId='
+
groupId
+
'&groupChannelId='
+
groupChannelId
+
'&companyId='
+
companyId
+
'&pdOpenid='
+
pdOpenid
+
'&pdToken='
+
pdToken
+
'&pdCreateUserId='
+
pdCreateUserId
+
'&pdUserId='
+
pdUserId
+
'&pageCode'
+
pageCode
}
}
}
else
{
//小程序页面跳转进入
}
else
{
//小程序页面跳转进入
...
@@ -54,7 +54,7 @@ export default {
...
@@ -54,7 +54,7 @@ export default {
let
pdToken
=
uni
.
getStorageSync
(
'token'
)
||
''
let
pdToken
=
uni
.
getStorageSync
(
'token'
)
||
''
let
pdCreateUserId
=
uni
.
getStorageSync
(
'createUserId'
)
||
''
let
pdCreateUserId
=
uni
.
getStorageSync
(
'createUserId'
)
||
''
let
pdUserId
=
uni
.
getStorageSync
(
'userId'
)
||
''
let
pdUserId
=
uni
.
getStorageSync
(
'userId'
)
||
''
let
baseUrl
=
'https://wx.pangdly.com/#/
distributionCombiChooseS?thirdOpenid='
+
thirdOpenid
+
'&touristType='
+
touristType
let
baseUrl
=
this
.
$wxurl
+
'
distributionCombiChooseS?thirdOpenid='
+
thirdOpenid
+
'&touristType='
+
touristType
this
.
outUrl
=
baseUrl
+
'&channelId='
+
channelId
+
'&merchantId='
+
merchantId
+
'&groupId='
+
groupId
+
'&groupChannelId='
+
groupChannelId
+
'&companyId='
+
companyId
+
'&pdOpenid='
+
pdOpenid
+
'&pdToken='
+
pdToken
+
'&pdCreateUserId='
+
pdCreateUserId
+
'&pdUserId='
+
pdUserId
+
'&pageCode'
+
pageCode
this
.
outUrl
=
baseUrl
+
'&channelId='
+
channelId
+
'&merchantId='
+
merchantId
+
'&groupId='
+
groupId
+
'&groupChannelId='
+
groupChannelId
+
'&companyId='
+
companyId
+
'&pdOpenid='
+
pdOpenid
+
'&pdToken='
+
pdToken
+
'&pdCreateUserId='
+
pdCreateUserId
+
'&pdUserId='
+
pdUserId
+
'&pageCode'
+
pageCode
}
}
...
...
pages/combination/sourceCombiChoose/sourceCombiChoose.vue
View file @
24e3e559
...
@@ -6,59 +6,59 @@
...
@@ -6,59 +6,59 @@
</
template
>
</
template
>
<
script
>
<
script
>
export
default
{
export
default
{
data
()
{
data
()
{
return
{
return
{
enterUrl
:
""
,
//进入页面路由
enterUrl
:
''
,
//进入页面路由
outUrl
:
""
,
//跳出页面路由
outUrl
:
''
,
//跳出页面路由
}
}
},
},
onLoad
(
option
)
{
onLoad
(
option
)
{
//#ifdef MP-WEIXIN
//#ifdef MP-WEIXIN
this
.
enterUrl
=
option
.
q
this
.
enterUrl
=
option
.
q
//#endif
//#endif
//#ifdef MP-ALIPAY
//#ifdef MP-ALIPAY
this
.
enterUrl
=
uni
.
getStorageSync
(
"alipayQrCode"
)
this
.
enterUrl
=
uni
.
getStorageSync
(
'alipayQrCode'
)
//#endif
//#endif
if
(
this
.
enterUrl
){
//普通二维码扫码进入
if
(
this
.
enterUrl
){
//普通二维码扫码进入
let
channelId
=
this
.
getUrlKey
(
"channelId"
)
let
channelId
=
this
.
getUrlKey
(
'channelId'
)
let
companyId
=
this
.
getUrlKey
(
"companyId"
)
let
companyId
=
this
.
getUrlKey
(
'companyId'
)
let
merchantId
=
this
.
getUrlKey
(
"merchantId"
)
let
merchantId
=
this
.
getUrlKey
(
'merchantId'
)
let
groupId
=
this
.
getUrlKey
(
"groupId"
)
let
groupId
=
this
.
getUrlKey
(
'groupId'
)
let
groupChannelId
=
this
.
getUrlKey
(
"groupChannelId"
)
let
groupChannelId
=
this
.
getUrlKey
(
'groupChannelId'
)
let
sourceType
=
this
.
getUrlKey
(
'sourceType'
)
//资源方类型,景区1,酒店2,餐饮3,特产4,运营车5
let
sourceType
=
this
.
getUrlKey
(
'sourceType'
)
//资源方类型,景区1,酒店2,餐饮3,特产4,运营车5
let
pdOpenid
=
uni
.
getStorageSync
(
"openid"
)
//胖丁小程序openid,临时用,当公众号授权做好之后可以删除
let
pdOpenid
=
uni
.
getStorageSync
(
'openid'
)
//胖丁小程序openid,临时用,当公众号授权做好之后可以删除
let
pdToken
=
uni
.
getStorageSync
(
"token"
)
let
pdToken
=
uni
.
getStorageSync
(
'token'
)
let
pdCreateUserId
=
uni
.
getStorageSync
(
"createUserId"
)
let
pdCreateUserId
=
uni
.
getStorageSync
(
'createUserId'
)
let
pdUserId
=
uni
.
getStorageSync
(
"userId"
)
let
pdUserId
=
uni
.
getStorageSync
(
'userId'
)
let
baseUrl
=
"https://wx.pangdly.com/#/sourceCombiChoose?channelId="
+
channelId
+
"&merchantId="
+
merchantId
+
"&groupId="
+
groupId
+
"&groupChannelId="
+
groupChannelId
+
"&companyId="
+
companyId
let
baseUrl
=
this
.
$wxurl
+
'sourceCombiChoose?channelId='
+
channelId
+
'&merchantId='
+
merchantId
+
'&groupId='
+
groupId
+
'&groupChannelId='
+
groupChannelId
+
'&companyId='
+
companyId
this
.
outUrl
=
baseUrl
+
"&pdOpenid="
+
pdOpenid
+
"&pdToken="
+
pdToken
+
"&pdCreateUserId="
+
pdCreateUserId
+
"&pdUserId="
+
pdUserId
+
"&sourceType="
+
sourceType
this
.
outUrl
=
baseUrl
+
'&pdOpenid='
+
pdOpenid
+
'&pdToken='
+
pdToken
+
'&pdCreateUserId='
+
pdCreateUserId
+
'&pdUserId='
+
pdUserId
+
'&sourceType='
+
sourceType
}
else
{
//小程序页面跳转进入
}
else
{
//小程序页面跳转进入
let
channelId
=
option
.
channelId
||
''
let
channelId
=
option
.
channelId
||
''
let
companyId
=
option
.
companyId
||
''
let
companyId
=
option
.
companyId
||
''
let
merchantId
=
option
.
merchantId
||
''
let
merchantId
=
option
.
merchantId
||
''
let
groupId
=
option
.
groupId
||
''
let
groupId
=
option
.
groupId
||
''
let
groupChannelId
=
option
.
groupChannelId
||
''
let
groupChannelId
=
option
.
groupChannelId
||
''
let
thirdOpenid
=
option
.
thirdOpenid
||
''
//第三方openid
let
thirdOpenid
=
option
.
thirdOpenid
||
''
//第三方openid
let
sourceType
=
option
.
sourceType
||
''
//第三方openid//资源方类型,景区1,酒店2,餐饮3,特产4,运营车5
let
sourceType
=
option
.
sourceType
||
''
//第三方openid//资源方类型,景区1,酒店2,餐饮3,特产4,运营车5
let
pdOpenid
=
uni
.
getStorageSync
(
"openid"
)
||
''
//胖丁小程序openid,临时用,当公众号授权做好之后可以删除
let
pdOpenid
=
uni
.
getStorageSync
(
'openid'
)
||
''
//胖丁小程序openid,临时用,当公众号授权做好之后可以删除
let
pdToken
=
uni
.
getStorageSync
(
"token"
)
||
''
let
pdToken
=
uni
.
getStorageSync
(
'token'
)
||
''
let
pdCreateUserId
=
uni
.
getStorageSync
(
"createUserId"
)
||
''
let
pdCreateUserId
=
uni
.
getStorageSync
(
'createUserId'
)
||
''
let
pdUserId
=
uni
.
getStorageSync
(
"userId"
)
||
''
let
pdUserId
=
uni
.
getStorageSync
(
'userId'
)
||
''
let
baseUrl
=
"https://wx.pangdly.com/#/sourceCombiChoose?thirdOpenid="
+
thirdOpenid
+
"&channelId="
+
channelId
+
"&merchantId="
+
merchantId
+
"&groupId="
+
groupId
+
"&sourceType="
+
sourceType
let
baseUrl
=
this
.
$wxurl
+
'sourceCombiChoose?thirdOpenid='
+
thirdOpenid
+
'&channelId='
+
channelId
+
'&merchantId='
+
merchantId
+
'&groupId='
+
groupId
+
'&sourceType='
+
sourceType
this
.
outUrl
=
baseUrl
+
"&groupChannelId="
+
groupChannelId
+
"&companyId="
+
companyId
+
"&pdOpenid="
+
pdOpenid
+
"&pdToken="
+
pdToken
+
"&pdCreateUserId="
+
pdCreateUserId
+
"&pdUserId="
+
pdUserId
this
.
outUrl
=
baseUrl
+
'&groupChannelId='
+
groupChannelId
+
'&companyId='
+
companyId
+
'&pdOpenid='
+
pdOpenid
+
'&pdToken='
+
pdToken
+
'&pdCreateUserId='
+
pdCreateUserId
+
'&pdUserId='
+
pdUserId
}
}
},
},
methods
:
{
methods
:
{
getUrlKey
(
name
){
//---------------------------------------------------------------获取url
getUrlKey
(
name
){
//---------------------------------------------------------------获取url
return
(
new
RegExp
(
'[?|&]'
+
name
+
'='
+
'([^&;]+?)(&|#|;|$)'
).
exec
(
decodeURIComponent
(
this
.
enterUrl
))
||
[,
""
])[
1
].
replace
(
/
\+
/g
,
'%20'
)
||
""
;
return
(
new
RegExp
(
'[?|&]'
+
name
+
'='
+
'([^&;]+?)(&|#|;|$)'
).
exec
(
decodeURIComponent
(
this
.
enterUrl
))
||
[,
''
])[
1
].
replace
(
/
\+
/g
,
'%20'
)
||
''
},
},
}
}
}
}
</
script
>
</
script
>
<
style
>
<
style
>
...
...
pages/hotel/hotelIndex/hotelIndex.vue
View file @
24e3e559
...
@@ -17,7 +17,7 @@ export default {
...
@@ -17,7 +17,7 @@ export default {
let
pdToken
=
uni
.
getStorageSync
(
'token'
)
||
''
let
pdToken
=
uni
.
getStorageSync
(
'token'
)
||
''
let
pdCreateUserId
=
uni
.
getStorageSync
(
'createUserId'
)
||
''
let
pdCreateUserId
=
uni
.
getStorageSync
(
'createUserId'
)
||
''
let
pdUserId
=
uni
.
getStorageSync
(
'userId'
)
||
''
let
pdUserId
=
uni
.
getStorageSync
(
'userId'
)
||
''
let
baseUrl
=
'https://wx.pangdly.com/#/
hotelIndex?companyId='
let
baseUrl
=
this
.
$wxurl
+
'
hotelIndex?companyId='
this
.
outUrl
=
baseUrl
+
companyId
+
'&pdOpenid='
+
pdOpenid
+
'&pdToken='
+
pdToken
+
'&pdCreateUserId='
+
pdCreateUserId
+
'&pdUserId='
+
pdUserId
this
.
outUrl
=
baseUrl
+
companyId
+
'&pdOpenid='
+
pdOpenid
+
'&pdToken='
+
pdToken
+
'&pdCreateUserId='
+
pdCreateUserId
+
'&pdUserId='
+
pdUserId
},
},
methods
:
{
methods
:
{
...
...
pages/indexs/dongjianIndex/dongjianIndex.vue
View file @
24e3e559
...
@@ -5,20 +5,20 @@
...
@@ -5,20 +5,20 @@
</
template
>
</
template
>
<
script
>
<
script
>
export
default
{
export
default
{
data
()
{
data
()
{
return
{
return
{
outUrl
:
""
,
//跳出地址
outUrl
:
''
,
//跳出地址
}
}
},
},
onLoad
(
option
){
onLoad
(
option
){
let
pdOpenid
=
uni
.
getStorageSync
(
"openid"
)
//胖丁小程序openid,临时用,当公众号授权做好之后可以删除
let
pdOpenid
=
uni
.
getStorageSync
(
'openid'
)
//胖丁小程序openid,临时用,当公众号授权做好之后可以删除
let
pdToken
=
uni
.
getStorageSync
(
"token"
)
let
pdToken
=
uni
.
getStorageSync
(
'token'
)
let
pdCreateUserId
=
uni
.
getStorageSync
(
"createUserId"
)
let
pdCreateUserId
=
uni
.
getStorageSync
(
'createUserId'
)
let
pdUserId
=
uni
.
getStorageSync
(
"userId"
)
let
pdUserId
=
uni
.
getStorageSync
(
'userId'
)
this
.
outUrl
=
"https://wx.pangdly.com/#/dongjianIndex?pdOpenid="
+
pdOpenid
+
"&pdToken="
+
pdToken
+
"&pdCreateUserId="
+
pdCreateUserId
+
"&pdUserId="
+
pdUserId
this
.
outUrl
=
this
.
$wxurl
+
'dongjianIndex?pdOpenid='
+
pdOpenid
+
'&pdToken='
+
pdToken
+
'&pdCreateUserId='
+
pdCreateUserId
+
'&pdUserId='
+
pdUserId
}
}
}
}
</
script
>
</
script
>
<
style
>
<
style
>
...
...
pages/indexs/index/index.vue
View file @
24e3e559
...
@@ -31,7 +31,7 @@
...
@@ -31,7 +31,7 @@
<view
class=
"list"
>
<view
class=
"list"
>
<view
class=
"list-wrap"
@
click=
"goSuodao()"
>
<view
class=
"list-wrap"
@
click=
"goSuodao()"
>
<view
class=
"list-head"
>
<view
class=
"list-head"
>
<image
src=
"http://
w
x.pangdly.com/static/img/sodao.1cdf287.jpg"
mode=
"widthFix"
>
<image
src=
"http://
l
x.pangdly.com/static/img/sodao.1cdf287.jpg"
mode=
"widthFix"
>
</image>
</image>
<view
class=
"address"
>
<view
class=
"address"
>
...
@@ -65,7 +65,7 @@
...
@@ -65,7 +65,7 @@
<view
class=
"list-wrap"
@
click=
"goGuoji()"
>
<view
class=
"list-wrap"
@
click=
"goGuoji()"
>
<view
class=
"list-head"
>
<view
class=
"list-head"
>
<image
src=
"http://
w
x.pangdly.com/static/img/yunduan.331a774.jpg"
mode=
"widthFix"
>
<image
src=
"http://
l
x.pangdly.com/static/img/yunduan.331a774.jpg"
mode=
"widthFix"
>
</image>
</image>
<view
class=
"address"
>
<view
class=
"address"
>
...
@@ -99,7 +99,7 @@
...
@@ -99,7 +99,7 @@
<view
class=
"list-wrap"
@
click=
"goLiangjiang()"
>
<view
class=
"list-wrap"
@
click=
"goLiangjiang()"
>
<view
class=
"list-head"
>
<view
class=
"list-head"
>
<image
src=
"http://
w
x.pangdly.com/static/img/liangjiang.097258e.jpg"
mode=
"widthFix"
>
<image
src=
"http://
l
x.pangdly.com/static/img/liangjiang.097258e.jpg"
mode=
"widthFix"
>
</image>
</image>
<view
class=
"address"
>
<view
class=
"address"
>
...
@@ -134,7 +134,7 @@
...
@@ -134,7 +134,7 @@
<view
class=
"list-wrap"
@
click=
"goHuiguan()"
>
<view
class=
"list-wrap"
@
click=
"goHuiguan()"
>
<view
class=
"list-head"
>
<view
class=
"list-head"
>
<image
src=
"http://
w
x.pangdly.com/static/img/huiguan.c00da69.jpg"
mode=
"widthFix"
>
<image
src=
"http://
l
x.pangdly.com/static/img/huiguan.c00da69.jpg"
mode=
"widthFix"
>
</image>
</image>
<view
class=
"address"
>
<view
class=
"address"
>
...
@@ -176,13 +176,13 @@ export default {
...
@@ -176,13 +176,13 @@ export default {
currentNum
:
0
,
//轮播图下标
currentNum
:
0
,
//轮播图下标
list
:
[
//轮播图图片
list
:
[
//轮播图图片
{
{
url
:
'http://
w
x.pangdly.com/static/img/home1.69efcf8.jpg'
url
:
'http://
l
x.pangdly.com/static/img/home1.69efcf8.jpg'
},
},
{
{
url
:
'http://
w
x.pangdly.com/static/img/home2.2ec1a04.jpg'
url
:
'http://
l
x.pangdly.com/static/img/home2.2ec1a04.jpg'
},
},
{
{
url
:
'http://
w
x.pangdly.com/static/img/home3.df60ec3.jpg'
url
:
'http://
l
x.pangdly.com/static/img/home3.df60ec3.jpg'
}
}
],
],
iconList
:[
//图标列表
iconList
:[
//图标列表
...
...
pages/indexs/merchantListIndex/merchantListIndex.vue
View file @
24e3e559
...
@@ -149,13 +149,13 @@ export default {
...
@@ -149,13 +149,13 @@ export default {
currentNum
:
0
,
//轮播图下标
currentNum
:
0
,
//轮播图下标
list
:
[
//轮播图图片
list
:
[
//轮播图图片
{
{
url
:
'http://
w
x.pangdly.com/static/img/home1.69efcf8.jpg'
url
:
'http://
l
x.pangdly.com/static/img/home1.69efcf8.jpg'
},
},
{
{
url
:
'http://
w
x.pangdly.com/static/img/home2.2ec1a04.jpg'
url
:
'http://
l
x.pangdly.com/static/img/home2.2ec1a04.jpg'
},
},
{
{
url
:
'http://
w
x.pangdly.com/static/img/home3.df60ec3.jpg'
url
:
'http://
l
x.pangdly.com/static/img/home3.df60ec3.jpg'
}
}
],
],
tabList
:
[{
tabList
:
[{
...
...
pages/my/commonInfo/commonInfo.vue
View file @
24e3e559
...
@@ -17,7 +17,7 @@ export default {
...
@@ -17,7 +17,7 @@ export default {
let
pdToken
=
uni
.
getStorageSync
(
'token'
)
||
''
let
pdToken
=
uni
.
getStorageSync
(
'token'
)
||
''
let
pdCreateUserId
=
uni
.
getStorageSync
(
'createUserId'
)
||
''
let
pdCreateUserId
=
uni
.
getStorageSync
(
'createUserId'
)
||
''
let
pdUserId
=
uni
.
getStorageSync
(
'userId'
)
||
''
let
pdUserId
=
uni
.
getStorageSync
(
'userId'
)
||
''
let
baseUrl
=
'https://wx.pangdly.com/#/
commonInfo?companyId='
let
baseUrl
=
this
.
$wxurl
+
'
commonInfo?companyId='
this
.
outUrl
=
baseUrl
+
companyId
+
'&pdOpenid='
+
pdOpenid
+
'&pdToken='
+
pdToken
+
'&pdCreateUserId='
+
pdCreateUserId
+
'&pdUserId='
+
pdUserId
this
.
outUrl
=
baseUrl
+
companyId
+
'&pdOpenid='
+
pdOpenid
+
'&pdToken='
+
pdToken
+
'&pdCreateUserId='
+
pdCreateUserId
+
'&pdUserId='
+
pdUserId
},
},
methods
:
{
methods
:
{
...
...
pages/my/couponCenter/myCouponList/myCouponList.vue
View file @
24e3e559
...
@@ -17,7 +17,7 @@ export default {
...
@@ -17,7 +17,7 @@ export default {
let
pdToken
=
uni
.
getStorageSync
(
'token'
)
||
''
let
pdToken
=
uni
.
getStorageSync
(
'token'
)
||
''
let
pdCreateUserId
=
uni
.
getStorageSync
(
'createUserId'
)
||
''
let
pdCreateUserId
=
uni
.
getStorageSync
(
'createUserId'
)
||
''
let
pdUserId
=
uni
.
getStorageSync
(
'userId'
)
||
''
let
pdUserId
=
uni
.
getStorageSync
(
'userId'
)
||
''
let
baseUrl
=
'https://wx.pangdly.com/#/
myCoupon?companyId='
let
baseUrl
=
this
.
$wxurl
+
'
myCoupon?companyId='
this
.
outUrl
=
baseUrl
+
companyId
+
'&pdOpenid='
+
pdOpenid
+
'&pdToken='
+
pdToken
+
'&pdCreateUserId='
+
pdCreateUserId
+
'&pdUserId='
+
pdUserId
this
.
outUrl
=
baseUrl
+
companyId
+
'&pdOpenid='
+
pdOpenid
+
'&pdToken='
+
pdToken
+
'&pdCreateUserId='
+
pdCreateUserId
+
'&pdUserId='
+
pdUserId
},
},
methods
:
{
methods
:
{
...
...
pages/my/customerService/enterpriseWechat/enterpriseWechat.vue
View file @
24e3e559
...
@@ -17,7 +17,7 @@ export default {
...
@@ -17,7 +17,7 @@ export default {
let
pdToken
=
uni
.
getStorageSync
(
'token'
)
||
''
let
pdToken
=
uni
.
getStorageSync
(
'token'
)
||
''
let
pdCreateUserId
=
uni
.
getStorageSync
(
'createUserId'
)
||
''
let
pdCreateUserId
=
uni
.
getStorageSync
(
'createUserId'
)
||
''
let
pdUserId
=
uni
.
getStorageSync
(
'userId'
)
||
''
let
pdUserId
=
uni
.
getStorageSync
(
'userId'
)
||
''
let
baseUrl
=
'https://wx.pangdly.com/#/
enterpriseWechat?companyId='
let
baseUrl
=
this
.
$wxurl
+
'
enterpriseWechat?companyId='
this
.
outUrl
=
baseUrl
+
companyId
+
'&pdOpenid='
+
pdOpenid
+
'&pdToken='
+
pdToken
+
'&pdCreateUserId='
+
pdCreateUserId
+
'&pdUserId='
+
pdUserId
this
.
outUrl
=
baseUrl
+
companyId
+
'&pdOpenid='
+
pdOpenid
+
'&pdToken='
+
pdToken
+
'&pdCreateUserId='
+
pdCreateUserId
+
'&pdUserId='
+
pdUserId
},
},
methods
:
{
methods
:
{
...
...
pages/my/exchangeCode/exchangeIndex/exchangeIndex.vue
View file @
24e3e559
...
@@ -5,25 +5,25 @@
...
@@ -5,25 +5,25 @@
</
template
>
</
template
>
<
script
>
<
script
>
export
default
{
export
default
{
data
()
{
data
()
{
return
{
return
{
outUrl
:
""
,
//跳出页面路由
outUrl
:
''
,
//跳出页面路由
}
}
},
},
onLoad
(
option
)
{
onLoad
(
option
)
{
let
merchantId
=
option
.
merchantId
||
''
let
merchantId
=
option
.
merchantId
||
''
let
pdOpenid
=
uni
.
getStorageSync
(
"openid"
)
||
''
//胖丁小程序openid,临时用,当公众号授权做好之后可以删除
let
pdOpenid
=
uni
.
getStorageSync
(
'openid'
)
||
''
//胖丁小程序openid,临时用,当公众号授权做好之后可以删除
let
pdToken
=
uni
.
getStorageSync
(
"token"
)
||
''
let
pdToken
=
uni
.
getStorageSync
(
'token'
)
||
''
let
pdCreateUserId
=
uni
.
getStorageSync
(
"createUserId"
)
||
''
let
pdCreateUserId
=
uni
.
getStorageSync
(
'createUserId'
)
||
''
let
pdUserId
=
uni
.
getStorageSync
(
"userId"
)
||
''
let
pdUserId
=
uni
.
getStorageSync
(
'userId'
)
||
''
let
baseUrl
=
"https://wx.pangdly.com/#/exchangeIndex?merchantId="
+
merchantId
let
baseUrl
=
this
.
$wxurl
+
'exchangeIndex?merchantId='
+
merchantId
this
.
outUrl
=
baseUrl
+
"&pdOpenid="
+
pdOpenid
+
"&pdToken="
+
pdToken
+
"&pdCreateUserId="
+
pdCreateUserId
+
"&pdUserId="
+
pdUserId
this
.
outUrl
=
baseUrl
+
'&pdOpenid='
+
pdOpenid
+
'&pdToken='
+
pdToken
+
'&pdCreateUserId='
+
pdCreateUserId
+
'&pdUserId='
+
pdUserId
},
},
methods
:
{
methods
:
{
}
}
}
}
</
script
>
</
script
>
<
style
>
<
style
>
...
...
pages/my/order/afterSale/afterSaleList/afterSaleList.vue
View file @
24e3e559
...
@@ -17,7 +17,7 @@ export default {
...
@@ -17,7 +17,7 @@ export default {
let
pdToken
=
uni
.
getStorageSync
(
'token'
)
||
''
let
pdToken
=
uni
.
getStorageSync
(
'token'
)
||
''
let
pdCreateUserId
=
uni
.
getStorageSync
(
'createUserId'
)
||
''
let
pdCreateUserId
=
uni
.
getStorageSync
(
'createUserId'
)
||
''
let
pdUserId
=
uni
.
getStorageSync
(
'userId'
)
||
''
let
pdUserId
=
uni
.
getStorageSync
(
'userId'
)
||
''
let
baseUrl
=
'https://wx.pangdly.com/#/
afterSalesList?companyId='
let
baseUrl
=
this
.
$wxurl
+
'
afterSalesList?companyId='
this
.
outUrl
=
baseUrl
+
companyId
+
'&pdOpenid='
+
pdOpenid
+
'&pdToken='
+
pdToken
+
'&pdCreateUserId='
+
pdCreateUserId
+
'&pdUserId='
+
pdUserId
this
.
outUrl
=
baseUrl
+
companyId
+
'&pdOpenid='
+
pdOpenid
+
'&pdToken='
+
pdToken
+
'&pdCreateUserId='
+
pdCreateUserId
+
'&pdUserId='
+
pdUserId
},
},
methods
:
{
methods
:
{
...
...
pages/my/order/afterSale/applyAfterSale/applyAfterSale - 副本.vue
View file @
24e3e559
...
@@ -12,13 +12,13 @@ export default {
...
@@ -12,13 +12,13 @@ export default {
}
}
},
},
onLoad
(
option
)
{
onLoad
(
option
)
{
let
orderId
=
option
.
orderId
||
''
let
orderId
=
option
.
orderId
||
''
let
pdOpenid
=
uni
.
getStorageSync
(
'openid'
)
//胖丁小程序openid,临时用,当公众号授权做好之后可以删除
let
pdOpenid
=
uni
.
getStorageSync
(
'openid'
)
//胖丁小程序openid,临时用,当公众号授权做好之后可以删除
let
pdToken
=
uni
.
getStorageSync
(
'token'
)
let
pdToken
=
uni
.
getStorageSync
(
'token'
)
let
pdCreateUserId
=
uni
.
getStorageSync
(
'createUserId'
)
let
pdCreateUserId
=
uni
.
getStorageSync
(
'createUserId'
)
let
pdUserId
=
uni
.
getStorageSync
(
'userId'
)
let
pdUserId
=
uni
.
getStorageSync
(
'userId'
)
let
ifyukuaiCode
=
option
.
ifyukuaiCode
||
''
//是否是渝快码跳入,渝快码跳入需要在H5端另外走流程
let
ifyukuaiCode
=
option
.
ifyukuaiCode
||
''
//是否是渝快码跳入,渝快码跳入需要在H5端另外走流程
this
.
outUrl
=
'https://wx.pangdly.com/#/
applyAfterSales?id='
+
orderId
+
'&pdOpenid='
+
pdOpenid
+
'&pdToken='
+
pdToken
+
'&pdCreateUserId='
+
pdCreateUserId
+
'&pdUserId='
+
pdUserId
+
'&ifyukuaiCode='
+
ifyukuaiCode
this
.
outUrl
=
this
.
$wxurl
+
'
applyAfterSales?id='
+
orderId
+
'&pdOpenid='
+
pdOpenid
+
'&pdToken='
+
pdToken
+
'&pdCreateUserId='
+
pdCreateUserId
+
'&pdUserId='
+
pdUserId
+
'&ifyukuaiCode='
+
ifyukuaiCode
},
},
methods
:
{
methods
:
{
}
}
...
...
pages/my/order/intelTicket/intelTicket.vue
View file @
24e3e559
...
@@ -6,58 +6,58 @@
...
@@ -6,58 +6,58 @@
</
template
>
</
template
>
<
script
>
<
script
>
export
default
{
export
default
{
data
()
{
data
()
{
return
{
return
{
outUrl
:
""
,
//跳出地址
outUrl
:
''
,
//跳出地址
Brightness
:
""
,
//屏幕亮度
Brightness
:
''
,
//屏幕亮度
}
}
},
},
onShow
()
{
onShow
()
{
let
_this
=
this
let
_this
=
this
uni
.
getScreenBrightness
({
uni
.
getScreenBrightness
({
success
:
function
(
res
){
success
:
function
(
res
){
// 这里是把获取到的手机屏幕亮度,存储到data里面,方便给到页面生命周期隐藏和卸载方法里面用
// 这里是把获取到的手机屏幕亮度,存储到data里面,方便给到页面生命周期隐藏和卸载方法里面用
_this
.
Brightness
=
res
.
value
;
_this
.
Brightness
=
res
.
value
if
(
res
.
value
!=
1
){
if
(
res
.
value
!=
1
){
uni
.
setScreenBrightness
({
uni
.
setScreenBrightness
({
value
:
1
value
:
1
});
})
}
}
}
}
})
})
},
},
onHide
:
function
()
{
onHide
:
function
()
{
uni
.
setScreenBrightness
({
// 恢复之前屏幕亮度
uni
.
setScreenBrightness
({
// 恢复之前屏幕亮度
value
:
this
.
Brightness
value
:
this
.
Brightness
})
})
},
},
onLoad
(
option
)
{
onLoad
(
option
)
{
//#ifdef MP-WEIXIN
//#ifdef MP-WEIXIN
this
.
enterUrl
=
option
.
q
this
.
enterUrl
=
option
.
q
//#endif
//#endif
//#ifdef MP-ALIPAY
//#ifdef MP-ALIPAY
this
.
enterUrl
=
uni
.
getStorageSync
(
"alipayQrCode"
)
this
.
enterUrl
=
uni
.
getStorageSync
(
'alipayQrCode'
)
//#endif
//#endif
if
(
this
.
enterUrl
){
//普通二维码扫码进入
if
(
this
.
enterUrl
){
//普通二维码扫码进入
let
pdOpenid
=
uni
.
getStorageSync
(
"openid"
)
//胖丁小程序openid,临时用,当公众号授权做好之后可以删除
let
pdOpenid
=
uni
.
getStorageSync
(
'openid'
)
//胖丁小程序openid,临时用,当公众号授权做好之后可以删除
let
pdToken
=
uni
.
getStorageSync
(
"token"
)
let
pdToken
=
uni
.
getStorageSync
(
'token'
)
let
pdCreateUserId
=
uni
.
getStorageSync
(
"createUserId"
)
let
pdCreateUserId
=
uni
.
getStorageSync
(
'createUserId'
)
let
pdUserId
=
uni
.
getStorageSync
(
"userId"
)
let
pdUserId
=
uni
.
getStorageSync
(
'userId'
)
let
orderId
=
this
.
getUrlKey
(
"orderId"
)
//订单Id
let
orderId
=
this
.
getUrlKey
(
'orderId'
)
//订单Id
let
ifNotice
=
this
.
getUrlKey
(
"ifNotice"
)
//是否已经扫码
let
ifNotice
=
this
.
getUrlKey
(
'ifNotice'
)
//是否已经扫码
this
.
outUrl
=
"https://wx.pangdly.com/#/intelDetail?orderId="
+
orderId
+
"&ifNotice="
+
ifNotice
+
"&pdOpenid="
+
pdOpenid
+
"&pdToken="
+
pdToken
+
"&pdCreateUserId="
+
pdCreateUserId
+
"&pdUserId="
+
pdUserId
this
.
outUrl
=
this
.
$wxurl
+
'intelDetail?orderId='
+
orderId
+
'&ifNotice='
+
ifNotice
+
'&pdOpenid='
+
pdOpenid
+
'&pdToken='
+
pdToken
+
'&pdCreateUserId='
+
pdCreateUserId
+
'&pdUserId='
+
pdUserId
}
}
},
},
methods
:
{
methods
:
{
getUrlKey
(
name
){
//---获取url
getUrlKey
(
name
){
//---获取url
return
(
new
RegExp
(
'[?|&]'
+
name
+
'='
+
'([^&;]+?)(&|#|;|$)'
).
exec
(
decodeURIComponent
(
this
.
enterUrl
))
||
[,
""
])[
1
].
replace
(
/
\+
/g
,
'%20'
)
||
""
;
return
(
new
RegExp
(
'[?|&]'
+
name
+
'='
+
'([^&;]+?)(&|#|;|$)'
).
exec
(
decodeURIComponent
(
this
.
enterUrl
))
||
[,
''
])[
1
].
replace
(
/
\+
/g
,
'%20'
)
||
''
},
},
}
}
}
}
</
script
>
</
script
>
<
style
>
<
style
>
...
...
pages/my/passCode/codeResult/codeResult.vue
View file @
24e3e559
...
@@ -17,7 +17,7 @@ export default {
...
@@ -17,7 +17,7 @@ export default {
let
pdToken
=
uni
.
getStorageSync
(
'token'
)
||
''
let
pdToken
=
uni
.
getStorageSync
(
'token'
)
||
''
let
pdCreateUserId
=
uni
.
getStorageSync
(
'createUserId'
)
||
''
let
pdCreateUserId
=
uni
.
getStorageSync
(
'createUserId'
)
||
''
let
pdUserId
=
uni
.
getStorageSync
(
'userId'
)
||
''
let
pdUserId
=
uni
.
getStorageSync
(
'userId'
)
||
''
let
baseUrl
=
'https://wx.pangdly.com/#/
codeResult?companyId='
let
baseUrl
=
this
.
$wxurl
+
'
codeResult?companyId='
this
.
outUrl
=
baseUrl
+
companyId
+
'&pdOpenid='
+
pdOpenid
+
'&pdToken='
+
pdToken
+
'&pdCreateUserId='
+
pdCreateUserId
+
'&pdUserId='
+
pdUserId
this
.
outUrl
=
baseUrl
+
companyId
+
'&pdOpenid='
+
pdOpenid
+
'&pdToken='
+
pdToken
+
'&pdCreateUserId='
+
pdCreateUserId
+
'&pdUserId='
+
pdUserId
},
},
methods
:
{
methods
:
{
...
...
pages/my/shopCart/shopCart.vue
View file @
24e3e559
...
@@ -17,7 +17,7 @@ export default {
...
@@ -17,7 +17,7 @@ export default {
let
pdToken
=
uni
.
getStorageSync
(
'token'
)
||
''
let
pdToken
=
uni
.
getStorageSync
(
'token'
)
||
''
let
pdCreateUserId
=
uni
.
getStorageSync
(
'createUserId'
)
||
''
let
pdCreateUserId
=
uni
.
getStorageSync
(
'createUserId'
)
||
''
let
pdUserId
=
uni
.
getStorageSync
(
'userId'
)
||
''
let
pdUserId
=
uni
.
getStorageSync
(
'userId'
)
||
''
let
baseUrl
=
'https://wx.pangdly.com/#/
shopCart?companyId='
let
baseUrl
=
this
.
$wxurl
+
'
shopCart?companyId='
this
.
outUrl
=
baseUrl
+
companyId
+
'&pdOpenid='
+
pdOpenid
+
'&pdToken='
+
pdToken
+
'&pdCreateUserId='
+
pdCreateUserId
+
'&pdUserId='
+
pdUserId
this
.
outUrl
=
baseUrl
+
companyId
+
'&pdOpenid='
+
pdOpenid
+
'&pdToken='
+
pdToken
+
'&pdCreateUserId='
+
pdCreateUserId
+
'&pdUserId='
+
pdUserId
},
},
methods
:
{
methods
:
{
...
...
pages/my/travelList/travelList/travelList.vue
View file @
24e3e559
...
@@ -17,7 +17,7 @@ export default {
...
@@ -17,7 +17,7 @@ export default {
let
pdToken
=
uni
.
getStorageSync
(
'token'
)
||
''
let
pdToken
=
uni
.
getStorageSync
(
'token'
)
||
''
let
pdCreateUserId
=
uni
.
getStorageSync
(
'createUserId'
)
||
''
let
pdCreateUserId
=
uni
.
getStorageSync
(
'createUserId'
)
||
''
let
pdUserId
=
uni
.
getStorageSync
(
'userId'
)
||
''
let
pdUserId
=
uni
.
getStorageSync
(
'userId'
)
||
''
let
baseUrl
=
'https://wx.pangdly.com/#/
travelList?companyId='
let
baseUrl
=
this
.
$wxurl
+
'
travelList?companyId='
this
.
outUrl
=
baseUrl
+
companyId
+
'&pdOpenid='
+
pdOpenid
+
'&pdToken='
+
pdToken
+
'&pdCreateUserId='
+
pdCreateUserId
+
'&pdUserId='
+
pdUserId
this
.
outUrl
=
baseUrl
+
companyId
+
'&pdOpenid='
+
pdOpenid
+
'&pdToken='
+
pdToken
+
'&pdCreateUserId='
+
pdCreateUserId
+
'&pdUserId='
+
pdUserId
},
},
methods
:
{
methods
:
{
...
...
pages/my/travelNotes/myTravelogue/myTravelogue.vue
View file @
24e3e559
...
@@ -17,7 +17,7 @@ export default {
...
@@ -17,7 +17,7 @@ export default {
let
pdToken
=
uni
.
getStorageSync
(
'token'
)
||
''
let
pdToken
=
uni
.
getStorageSync
(
'token'
)
||
''
let
pdCreateUserId
=
uni
.
getStorageSync
(
'createUserId'
)
||
''
let
pdCreateUserId
=
uni
.
getStorageSync
(
'createUserId'
)
||
''
let
pdUserId
=
uni
.
getStorageSync
(
'userId'
)
||
''
let
pdUserId
=
uni
.
getStorageSync
(
'userId'
)
||
''
let
baseUrl
=
'https://wx.pangdly.com/#/
myCenter?companyId='
let
baseUrl
=
this
.
$wxurl
+
'
myCenter?companyId='
this
.
outUrl
=
baseUrl
+
companyId
+
'&pdOpenid='
+
pdOpenid
+
'&pdToken='
+
pdToken
+
'&pdCreateUserId='
+
pdCreateUserId
+
'&pdUserId='
+
pdUserId
this
.
outUrl
=
baseUrl
+
companyId
+
'&pdOpenid='
+
pdOpenid
+
'&pdToken='
+
pdToken
+
'&pdCreateUserId='
+
pdCreateUserId
+
'&pdUserId='
+
pdUserId
},
},
methods
:
{
methods
:
{
...
...
pages/scenic/combinationProduct/combinationProduct.vue
View file @
24e3e559
...
@@ -312,6 +312,11 @@ export default {
...
@@ -312,6 +312,11 @@ export default {
this
.
companyId
=
this
.
$commonjs
.
getCompanyId
(
option
)
this
.
companyId
=
this
.
$commonjs
.
getCompanyId
(
option
)
this
.
channelType
=
option
.
channelType
||
0
this
.
channelType
=
option
.
channelType
||
0
this
.
merchantId
=
option
.
merchantId
||
''
this
.
merchantId
=
option
.
merchantId
||
''
},
onShow
()
{
//清空之前选中的数据
this
.
detailData
=
''
this
.
chooseProduct
=
[]
let
token
=
uni
.
getStorageSync
(
'token'
)
let
token
=
uni
.
getStorageSync
(
'token'
)
if
(
token
)
{
if
(
token
)
{
uni
.
getLocation
({
uni
.
getLocation
({
...
@@ -580,7 +585,7 @@ export default {
...
@@ -580,7 +585,7 @@ export default {
})
})
let
query
=
'?productIdList='
+
JSON
.
stringify
(
productIdList
)
+
'&groupId='
+
this
.
groupId
+
'&groupChannelId='
+
this
.
groupChannelId
+
'&orderSource=3'
let
query
=
'?productIdList='
+
JSON
.
stringify
(
productIdList
)
+
'&groupId='
+
this
.
groupId
+
'&groupChannelId='
+
this
.
groupChannelId
+
'&orderSource=3'
uni
.
navigateTo
({
uni
.
navigateTo
({
url
:
'/pages/scenic/scenic
Order/scenic
Order'
+
query
url
:
'/pages/scenic/scenic
CombiOrder/scenicCombi
Order'
+
query
})
})
}
}
},
},
...
...
pages/scenic/scenic
Order/scenicOrder-new
.vue
→
pages/scenic/scenic
CombiOrder/scenicCombiOrder
.vue
View file @
24e3e559
This diff is collapsed.
Click to expand it.
pages/scenic/scenicComponents/calendar.vue
View file @
24e3e559
<
template
>
<
template
>
<u-calendar
<u-calendar
:show=
"show"
:show=
"show
Pop
"
@
confirm=
"onConfirm"
@
confirm=
"onConfirm"
@
close=
"show=false"
@
close=
"show
Pop
=false"
:maxDate=
"maxDate"
:maxDate=
"maxDate"
:defaultDate=
"defaultDate"
:defaultDate=
"defaultDate"
:formatter=
'formatter'
:formatter=
'formatter'
...
@@ -29,7 +29,7 @@ export default {
...
@@ -29,7 +29,7 @@ export default {
},
},
data
()
{
data
()
{
return
{
return
{
show
:
false
,
//控制日历显示隐藏
show
Pop
:
false
,
//控制日历显示隐藏
defaultDate
:
''
,
//默认日期
defaultDate
:
''
,
//默认日期
maxDate
:
''
,
//最大日期
maxDate
:
''
,
//最大日期
}
}
...
@@ -40,7 +40,7 @@ export default {
...
@@ -40,7 +40,7 @@ export default {
methods
:
{
methods
:
{
//---日期确认事件
//---日期确认事件
onConfirm
(
date
)
{
onConfirm
(
date
)
{
this
.
show
=
false
this
.
show
Pop
=
false
this
.
$emit
(
'dateConfig'
,
date
[
0
])
this
.
$emit
(
'dateConfig'
,
date
[
0
])
},
},
//---时间格式转换
//---时间格式转换
...
@@ -67,7 +67,16 @@ export default {
...
@@ -67,7 +67,16 @@ export default {
// }
// }
return
day
return
day
}
},
//---设置默认日期
setDefaultDate
(
val
)
{
this
.
defaultDate
=
val
// let dates = val.split('-')
// let year = parseInt(dates[0])
// let month = parseInt(dates[1]) - 1
// let day = parseInt(dates[2])
// this.defaultDate = new Date(year, month, day)
},
}
}
}
}
</
script
>
</
script
>
...
...
pages/scenic/scenicIndex/scenicIndex.vue
View file @
24e3e559
...
@@ -17,7 +17,7 @@ export default {
...
@@ -17,7 +17,7 @@ export default {
let
pdToken
=
uni
.
getStorageSync
(
'token'
)
||
''
let
pdToken
=
uni
.
getStorageSync
(
'token'
)
||
''
let
pdCreateUserId
=
uni
.
getStorageSync
(
'createUserId'
)
||
''
let
pdCreateUserId
=
uni
.
getStorageSync
(
'createUserId'
)
||
''
let
pdUserId
=
uni
.
getStorageSync
(
'userId'
)
||
''
let
pdUserId
=
uni
.
getStorageSync
(
'userId'
)
||
''
let
baseUrl
=
'https://wx.pangdly.com/#/
scenicIndex?companyId='
let
baseUrl
=
this
.
$wxurl
+
'
scenicIndex?companyId='
this
.
outUrl
=
baseUrl
+
companyId
+
'&pdOpenid='
+
pdOpenid
+
'&pdToken='
+
pdToken
+
'&pdCreateUserId='
+
pdCreateUserId
+
'&pdUserId='
+
pdUserId
this
.
outUrl
=
baseUrl
+
companyId
+
'&pdOpenid='
+
pdOpenid
+
'&pdToken='
+
pdToken
+
'&pdCreateUserId='
+
pdCreateUserId
+
'&pdUserId='
+
pdUserId
},
},
methods
:
{
methods
:
{
...
...
pages/scenic/scenicJointOrder/scenicJointOrder.vue
View file @
24e3e559
...
@@ -22,7 +22,7 @@ export default {
...
@@ -22,7 +22,7 @@ export default {
let
pdToken
=
uni
.
getStorageSync
(
'token'
)
let
pdToken
=
uni
.
getStorageSync
(
'token'
)
let
pdCreateUserId
=
uni
.
getStorageSync
(
'createUserId'
)
let
pdCreateUserId
=
uni
.
getStorageSync
(
'createUserId'
)
let
pdUserId
=
uni
.
getStorageSync
(
'userId'
)
let
pdUserId
=
uni
.
getStorageSync
(
'userId'
)
let
baseUrl
=
'https://wx.pangdly.com/#/
scenicJointOrder?pdOpenid='
+
pdOpenid
+
'&pdToken='
+
pdToken
+
'&pdCreateUserId='
+
pdCreateUserId
+
'&pdUserId='
+
pdUserId
let
baseUrl
=
this
.
$wxurl
+
'
scenicJointOrder?pdOpenid='
+
pdOpenid
+
'&pdToken='
+
pdToken
+
'&pdCreateUserId='
+
pdCreateUserId
+
'&pdUserId='
+
pdUserId
let
url
=
'&merchantId='
+
merchantId
+
'&productId='
+
productId
+
'&orderSource='
+
orderSource
+
'&companyId='
+
companyId
+
'&ifyukuaiCode='
+
ifyukuaiCode
let
url
=
'&merchantId='
+
merchantId
+
'&productId='
+
productId
+
'&orderSource='
+
orderSource
+
'&companyId='
+
companyId
+
'&ifyukuaiCode='
+
ifyukuaiCode
this
.
outUrl
=
baseUrl
+
url
this
.
outUrl
=
baseUrl
+
url
},
},
...
...
pages/scenic/scenicOrder/scenicOrder.vue
View file @
24e3e559
...
@@ -562,7 +562,7 @@ export default {
...
@@ -562,7 +562,7 @@ export default {
},
},
//---展示日历
//---展示日历
showCalendar
()
{
showCalendar
()
{
this
.
$refs
.
calendar
.
show
=
true
this
.
$refs
.
calendar
.
show
Pop
=
true
},
},
//---日期选择
//---日期选择
dateChoose
(
index
)
{
dateChoose
(
index
)
{
...
...
pages/scenic/scenicProduct/scenicProduct.vue
View file @
24e3e559
...
@@ -29,7 +29,7 @@ export default {
...
@@ -29,7 +29,7 @@ export default {
let
pdToken
=
uni
.
getStorageSync
(
'token'
)
let
pdToken
=
uni
.
getStorageSync
(
'token'
)
let
pdCreateUserId
=
uni
.
getStorageSync
(
'createUserId'
)
let
pdCreateUserId
=
uni
.
getStorageSync
(
'createUserId'
)
let
pdUserId
=
uni
.
getStorageSync
(
'userId'
)
let
pdUserId
=
uni
.
getStorageSync
(
'userId'
)
let
baseUrl
=
'https://wx.pangdly.com/#/
scenicProduct?pdOpenid='
+
pdOpenid
+
'&pdToken='
+
pdToken
+
'&pdCreateUserId='
+
pdCreateUserId
+
'&pdUserId='
+
pdUserId
let
baseUrl
=
this
.
$wxurl
+
'
scenicProduct?pdOpenid='
+
pdOpenid
+
'&pdToken='
+
pdToken
+
'&pdCreateUserId='
+
pdCreateUserId
+
'&pdUserId='
+
pdUserId
let
url
=
'&merchantId='
+
merchantId
+
'&companyId='
+
companyId
+
'&channelType='
+
channelType
let
url
=
'&merchantId='
+
merchantId
+
'&companyId='
+
companyId
+
'&channelType='
+
channelType
this
.
outUrl
=
baseUrl
+
url
this
.
outUrl
=
baseUrl
+
url
...
@@ -42,7 +42,7 @@ export default {
...
@@ -42,7 +42,7 @@ export default {
let
pdToken
=
uni
.
getStorageSync
(
'token'
)
let
pdToken
=
uni
.
getStorageSync
(
'token'
)
let
pdCreateUserId
=
uni
.
getStorageSync
(
'createUserId'
)
let
pdCreateUserId
=
uni
.
getStorageSync
(
'createUserId'
)
let
pdUserId
=
uni
.
getStorageSync
(
'userId'
)
let
pdUserId
=
uni
.
getStorageSync
(
'userId'
)
let
baseUrl
=
'https://wx.pangdly.com/#/
scenicProduct?pdOpenid='
+
pdOpenid
+
'&pdToken='
+
pdToken
+
'&pdCreateUserId='
+
pdCreateUserId
+
'&pdUserId='
+
pdUserId
let
baseUrl
=
this
.
$wxurl
+
'
scenicProduct?pdOpenid='
+
pdOpenid
+
'&pdToken='
+
pdToken
+
'&pdCreateUserId='
+
pdCreateUserId
+
'&pdUserId='
+
pdUserId
let
url
=
'&merchantId='
+
merchantId
+
'&companyId='
+
companyId
+
'&ifyukuaiCode='
+
ifyukuaiCode
+
'&channelType='
+
channelType
let
url
=
'&merchantId='
+
merchantId
+
'&companyId='
+
companyId
+
'&ifyukuaiCode='
+
ifyukuaiCode
+
'&channelType='
+
channelType
this
.
outUrl
=
baseUrl
+
url
this
.
outUrl
=
baseUrl
+
url
}
}
...
...
pages/scenic/scenicSingleOrder/scenicSingleOrder.vue
View file @
24e3e559
...
@@ -30,7 +30,7 @@ export default {
...
@@ -30,7 +30,7 @@ export default {
let
pdToken
=
uni
.
getStorageSync
(
'token'
)
let
pdToken
=
uni
.
getStorageSync
(
'token'
)
let
pdCreateUserId
=
uni
.
getStorageSync
(
'createUserId'
)
let
pdCreateUserId
=
uni
.
getStorageSync
(
'createUserId'
)
let
pdUserId
=
uni
.
getStorageSync
(
'userId'
)
let
pdUserId
=
uni
.
getStorageSync
(
'userId'
)
let
baseUrl
=
'https://wx.pangdly.com/#/
scenicSingleOrder?pdOpenid='
+
pdOpenid
+
'&pdToken='
+
pdToken
+
'&pdCreateUserId='
+
pdCreateUserId
+
'&pdUserId='
+
pdUserId
let
baseUrl
=
this
.
$wxurl
+
'
scenicSingleOrder?pdOpenid='
+
pdOpenid
+
'&pdToken='
+
pdToken
+
'&pdCreateUserId='
+
pdCreateUserId
+
'&pdUserId='
+
pdUserId
let
url
=
'&merchantId='
+
merchantId
+
'&productId='
+
productId
+
'&orderSource='
+
orderSource
+
'&companyId='
+
companyId
let
url
=
'&merchantId='
+
merchantId
+
'&productId='
+
productId
+
'&orderSource='
+
orderSource
+
'&companyId='
+
companyId
this
.
outUrl
=
baseUrl
+
url
this
.
outUrl
=
baseUrl
+
url
...
@@ -44,7 +44,7 @@ export default {
...
@@ -44,7 +44,7 @@ export default {
let
pdToken
=
uni
.
getStorageSync
(
'token'
)
let
pdToken
=
uni
.
getStorageSync
(
'token'
)
let
pdCreateUserId
=
uni
.
getStorageSync
(
'createUserId'
)
let
pdCreateUserId
=
uni
.
getStorageSync
(
'createUserId'
)
let
pdUserId
=
uni
.
getStorageSync
(
'userId'
)
let
pdUserId
=
uni
.
getStorageSync
(
'userId'
)
let
baseUrl
=
'https://wx.pangdly.com/#/
scenicSingleOrder?pdOpenid='
+
pdOpenid
+
'&pdToken='
+
pdToken
+
'&pdCreateUserId='
+
pdCreateUserId
+
'&pdUserId='
+
pdUserId
let
baseUrl
=
this
.
$wxurl
+
'
scenicSingleOrder?pdOpenid='
+
pdOpenid
+
'&pdToken='
+
pdToken
+
'&pdCreateUserId='
+
pdCreateUserId
+
'&pdUserId='
+
pdUserId
let
url
=
'&merchantId='
+
merchantId
+
'&productId='
+
productId
+
'&orderSource='
+
orderSource
+
'&companyId='
+
companyId
+
'&ifyukuaiCode='
+
ifyukuaiCode
let
url
=
'&merchantId='
+
merchantId
+
'&productId='
+
productId
+
'&orderSource='
+
orderSource
+
'&companyId='
+
companyId
+
'&ifyukuaiCode='
+
ifyukuaiCode
this
.
outUrl
=
baseUrl
+
url
this
.
outUrl
=
baseUrl
+
url
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
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 comment