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
d23b360d
Commit
d23b360d
authored
Dec 29, 2023
by
潘永坪
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
无用页面删除
parent
bb4e2e32
Changes
5
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
55 additions
and
222 deletions
+55
-222
pages.json
pages.json
+17
-17
combiChoose-备份.vue
pages/combination/combiChoose/combiChoose-备份.vue
+0
-71
distributionCombiChoose-备份.vue
...on/distributionCombiChoose/distributionCombiChoose-备份.vue
+0
-72
scenicCombiOrder-old.vue
pages/scenic/scenicCombiOrder/scenicCombiOrder-old.vue
+38
-0
scenicSingleOrder-备份.vue
pages/scenic/scenicSingleOrder/scenicSingleOrder-备份.vue
+0
-62
No files found.
pages.json
View file @
d23b360d
...
@@ -322,15 +322,15 @@
...
@@ -322,15 +322,15 @@
"navigationBarTextStyle"
:
"black"
"navigationBarTextStyle"
:
"black"
}
}
},
},
//
{
{
//
"path"
:
"vlogface/vlogface"
,
"path"
:
"vlogface/vlogface"
,
//
"style"
:
{
"style"
:
{
//
"navigationBarTitleText"
:
"扫脸获取视频"
,
"navigationBarTitleText"
:
"扫脸获取视频"
,
//
"enablePullDownRefresh"
:
false
,
"enablePullDownRefresh"
:
false
,
//
"navigationBarBackgroundColor"
:
"#ffffff"
,
"navigationBarBackgroundColor"
:
"#ffffff"
,
//
"navigationBarTextStyle"
:
"black"
"navigationBarTextStyle"
:
"black"
//
}
}
//
},
},
{
{
"path"
:
"scenicList/scenicList"
,
"path"
:
"scenicList/scenicList"
,
"style"
:
{
"style"
:
{
...
@@ -452,14 +452,14 @@
...
@@ -452,14 +452,14 @@
"navigationStyle"
:
"custom"
"navigationStyle"
:
"custom"
}
}
},
},
//
{
{
//
"path"
:
"getPortrait"
,
"path"
:
"getPortrait"
,
//
"style"
:
{
"style"
:
{
//
"navigationBarTitleText"
:
"获取人像"
,
"navigationBarTitleText"
:
"获取人像"
,
//
"enablePullDownRefresh"
:
false
,
"enablePullDownRefresh"
:
false
,
//
"navigationStyle"
:
"custom"
"navigationStyle"
:
"custom"
//
}
}
//
},
},
{
{
"path"
:
"myPhotoAlbum/myPhotoAlbum"
,
"path"
:
"myPhotoAlbum/myPhotoAlbum"
,
"style"
:
{
"style"
:
{
...
...
pages/combination/combiChoose/combiChoose-备份.vue
deleted
100644 → 0
View file @
bb4e2e32
<
template
>
<view>
<web-view
:src=
"outUrl"
></web-view>
</view>
</
template
>
<
script
>
export
default
{
data
()
{
return
{
enterUrl
:
''
,
//进入页面路由
outUrl
:
''
,
//跳出页面路由
}
},
onLoad
(
option
)
{
//#ifdef MP-WEIXIN
this
.
enterUrl
=
option
.
q
//#endif
//#ifdef MP-ALIPAY
this
.
enterUrl
=
uni
.
getStorageSync
(
'alipayQrCode'
)
//#endif
if
(
this
.
enterUrl
){
//普通二维码扫码进入
let
channelId
=
this
.
getUrlKey
(
'channelId'
)
let
companyId
=
this
.
getUrlKey
(
'companyId'
)
let
merchantId
=
this
.
getUrlKey
(
'merchantId'
)
let
groupId
=
this
.
getUrlKey
(
'groupId'
)
let
groupChannelId
=
this
.
getUrlKey
(
'groupChannelId'
)
let
pageType
=
this
.
getUrlKey
(
'pageType'
)
let
pdOpenid
=
uni
.
getStorageSync
(
'openid'
)
//胖丁小程序openid,临时用,当公众号授权做好之后可以删除
let
pdToken
=
uni
.
getStorageSync
(
'token'
)
let
pdCreateUserId
=
uni
.
getStorageSync
(
'createUserId'
)
let
pdUserId
=
uni
.
getStorageSync
(
'userId'
)
let
pageCode
=
this
.
getUrlKey
(
'pageCode'
)
//赠送优惠券接口参数
if
(
pageType
==
1
){
//组合
this
.
outUrl
=
this
.
$wxurl
+
'combiChoose?channelId='
+
channelId
+
'&merchantId='
+
merchantId
+
'&groupId='
+
groupId
+
'&groupChannelId='
+
groupChannelId
+
'&companyId='
+
companyId
+
'&pdOpenid='
+
pdOpenid
+
'&pdToken='
+
pdToken
+
'&pdCreateUserId='
+
pdCreateUserId
+
'&pdUserId='
+
pdUserId
}
else
{
//分销
uni
.
navigateTo
({
url
:
'../distributionCombiChoose/distributionCombiChoose?channelId='
+
channelId
+
'&merchantId='
+
merchantId
+
'&groupId='
+
groupId
+
'&groupChannelId='
+
groupChannelId
+
'&companyId='
+
companyId
+
'&pageCode'
+
pageCode
})
}
}
else
{
//小程序页面跳转进入
let
channelId
=
option
.
channelId
||
''
let
companyId
=
option
.
companyId
||
''
let
merchantId
=
option
.
merchantId
||
''
let
groupId
=
option
.
groupId
||
''
let
groupChannelId
=
option
.
groupChannelId
||
''
let
thirdOpenid
=
option
.
thirdOpenid
||
''
//第三方openid
let
touristType
=
option
.
touristType
||
''
//游客类型
let
pdOpenid
=
uni
.
getStorageSync
(
'openid'
)
||
''
//胖丁小程序openid,临时用,当公众号授权做好之后可以删除
let
pdToken
=
uni
.
getStorageSync
(
'token'
)
||
''
let
pdCreateUserId
=
uni
.
getStorageSync
(
'createUserId'
)
||
''
let
pdUserId
=
uni
.
getStorageSync
(
'userId'
)
||
''
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
}
},
methods
:
{
getUrlKey
(
name
){
//---------------------------------------------------------------获取url
return
(
new
RegExp
(
'[?|&]'
+
name
+
'='
+
'([^&;]+?)(&|#|;|$)'
).
exec
(
decodeURIComponent
(
this
.
enterUrl
))
||
[,
''
])[
1
].
replace
(
/
\+
/g
,
'%20'
)
||
''
},
}
}
</
script
>
<
style
>
</
style
>
pages/combination/distributionCombiChoose/distributionCombiChoose-备份.vue
deleted
100644 → 0
View file @
bb4e2e32
<
template
>
<view>
<web-view
:src=
"outUrl"
></web-view>
</view>
</
template
>
<
script
>
export
default
{
data
()
{
return
{
enterUrl
:
''
,
//进入页面路由
outUrl
:
''
,
//跳出页面路由
}
},
onLoad
(
option
)
{
//#ifdef MP-WEIXIN
this
.
enterUrl
=
option
.
q
//#endif
//#ifdef MP-ALIPAY
this
.
enterUrl
=
uni
.
getStorageSync
(
'alipayQrCode'
)
//#endif
if
(
this
.
enterUrl
){
//普通二维码扫码进入
let
channelId
=
this
.
getUrlKey
(
'channelId'
)
let
companyId
=
this
.
getUrlKey
(
'companyId'
)
let
merchantId
=
this
.
getUrlKey
(
'merchantId'
)
let
groupId
=
this
.
getUrlKey
(
'groupId'
)
let
groupChannelId
=
this
.
getUrlKey
(
'groupChannelId'
)
let
pageType
=
this
.
getUrlKey
(
'pageType'
)
let
pdOpenid
=
uni
.
getStorageSync
(
'openid'
)
//胖丁小程序openid,临时用,当公众号授权做好之后可以删除
let
pdToken
=
uni
.
getStorageSync
(
'token'
)
let
pdCreateUserId
=
uni
.
getStorageSync
(
'createUserId'
)
let
pdUserId
=
uni
.
getStorageSync
(
'userId'
)
let
pageCode
=
this
.
getUrlKey
(
'pageCode'
)
//赠送优惠券接口参数
if
(
pageType
==
1
){
//组合
uni
.
navigateTo
({
url
:
'../combiChoose/combiChoose?channelId='
+
channelId
+
'&merchantId='
+
merchantId
+
'&groupId='
+
groupId
+
'&groupChannelId='
+
groupChannelId
+
'&companyId='
+
companyId
})
}
else
{
//分销
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
{
//小程序页面跳转进入
let
channelId
=
option
.
channelId
||
''
let
companyId
=
option
.
companyId
||
''
let
merchantId
=
option
.
merchantId
||
''
let
groupId
=
option
.
groupId
||
''
let
groupChannelId
=
option
.
groupChannelId
||
''
let
thirdOpenid
=
option
.
thirdOpenid
||
''
//第三方openid
let
touristType
=
option
.
touristType
||
''
//游客类型
let
pageCode
=
option
.
pageCode
||
''
//赠送优惠券接口参数
let
pdOpenid
=
uni
.
getStorageSync
(
'openid'
)
||
''
//胖丁小程序openid,临时用,当公众号授权做好之后可以删除
let
pdToken
=
uni
.
getStorageSync
(
'token'
)
||
''
let
pdCreateUserId
=
uni
.
getStorageSync
(
'createUserId'
)
||
''
let
pdUserId
=
uni
.
getStorageSync
(
'userId'
)
||
''
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
}
},
methods
:
{
getUrlKey
(
name
){
//---------------------------------------------------------------获取url
return
(
new
RegExp
(
'[?|&]'
+
name
+
'='
+
'([^&;]+?)(&|#|;|$)'
).
exec
(
decodeURIComponent
(
this
.
enterUrl
))
||
[,
''
])[
1
].
replace
(
/
\+
/g
,
'%20'
)
||
''
}
}
}
</
script
>
<
style
>
</
style
>
pages/scenic/scenicCombiOrder/scenicCombiOrder-old.vue
0 → 100644
View file @
d23b360d
<
template
>
<view>
<web-view
:src=
"outUrl"
></web-view>
</view>
</
template
>
<
script
>
export
default
{
data
()
{
return
{
enterUrl
:
''
,
//进入页面路由
outUrl
:
''
,
//跳出页面路由
}
},
onLoad
(
option
){
let
groupId
=
option
.
groupId
||
''
let
groupChannelId
=
option
.
groupChannelId
||
''
let
companyId
=
option
.
companyId
||
''
let
productIdList
=
option
.
productIdList
||
''
let
orderSource
=
option
.
orderSource
||
''
let
ifyukuaiCode
=
option
.
ifyukuaiCode
||
''
//是否是渝快码跳入,渝快码跳入需要在H5端另外走流程
let
pdOpenid
=
uni
.
getStorageSync
(
'openid'
)
//胖丁小程序openid,临时用,当公众号授权做好之后可以删除
let
pdToken
=
uni
.
getStorageSync
(
'token'
)
let
pdCreateUserId
=
uni
.
getStorageSync
(
'createUserId'
)
let
pdUserId
=
uni
.
getStorageSync
(
'userId'
)
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
this
.
outUrl
=
baseUrl
+
url
},
methods
:
{
}
}
</
script
>
<
style
>
</
style
>
pages/scenic/scenicSingleOrder/scenicSingleOrder-备份.vue
deleted
100644 → 0
View file @
bb4e2e32
<
template
>
<view>
<web-view
:src=
"outUrl"
></web-view>
</view>
</
template
>
<
script
>
export
default
{
data
()
{
return
{
enterUrl
:
''
,
//进入页面路由
outUrl
:
''
,
//跳出页面路由
}
},
onLoad
(
option
)
{
//#ifdef MP-WEIXIN
this
.
enterUrl
=
option
.
q
//#endif
//#ifdef MP-ALIPAY
this
.
enterUrl
=
uni
.
getStorageSync
(
'alipayQrCode'
)
//#endif
if
(
this
.
enterUrl
){
//普通二维码扫码进入
let
merchantId
=
this
.
getUrlKey
(
'merchantId'
)
let
productId
=
this
.
getUrlKey
(
'productId'
)
let
orderSource
=
this
.
getUrlKey
(
'orderSource'
)
let
companyId
=
this
.
getUrlKey
(
'companyId'
)
let
pdOpenid
=
uni
.
getStorageSync
(
'openid'
)
//胖丁小程序openid,临时用,当公众号授权做好之后可以删除
let
pdToken
=
uni
.
getStorageSync
(
'token'
)
let
pdCreateUserId
=
uni
.
getStorageSync
(
'createUserId'
)
let
pdUserId
=
uni
.
getStorageSync
(
'userId'
)
let
baseUrl
=
this
.
$wxurl
+
'scenicSingleOrder?pdOpenid='
+
pdOpenid
+
'&pdToken='
+
pdToken
+
'&pdCreateUserId='
+
pdCreateUserId
+
'&pdUserId='
+
pdUserId
let
url
=
'&merchantId='
+
merchantId
+
'&productId='
+
productId
+
'&orderSource='
+
orderSource
+
'&companyId='
+
companyId
this
.
outUrl
=
baseUrl
+
url
}
else
{
//小程序页面跳转进入
let
merchantId
=
option
.
merchantId
||
''
let
productId
=
option
.
productId
||
''
let
orderSource
=
option
.
orderSource
||
''
let
companyId
=
option
.
companyId
||
''
let
ifyukuaiCode
=
option
.
ifyukuaiCode
||
''
//是否是渝快码跳入,渝快码跳入需要在H5端另外走流程
let
pdOpenid
=
uni
.
getStorageSync
(
'openid'
)
//胖丁小程序openid,临时用,当公众号授权做好之后可以删除
let
pdToken
=
uni
.
getStorageSync
(
'token'
)
let
pdCreateUserId
=
uni
.
getStorageSync
(
'createUserId'
)
let
pdUserId
=
uni
.
getStorageSync
(
'userId'
)
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
this
.
outUrl
=
baseUrl
+
url
}
},
methods
:
{
getUrlKey
(
name
){
//---------------------------------------------------------------获取url
return
(
new
RegExp
(
'[?|&]'
+
name
+
'='
+
'([^&;]+?)(&|#|;|$)'
).
exec
(
decodeURIComponent
(
this
.
enterUrl
))
||
[,
''
])[
1
].
replace
(
/
\+
/g
,
'%20'
)
||
''
},
}
}
</
script
>
<
style
>
</
style
>
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