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
5fa51d88
Commit
5fa51d88
authored
Aug 09, 2021
by
潘永坪
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
三峡博物馆bug处理
parent
a22ecb8d
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
11 additions
and
17 deletions
+11
-17
App.vue
App.vue
+5
-5
common.js
common/common.js
+1
-3
combiChoose.vue
pages/combination/combiChoose/combiChoose.vue
+1
-3
index.vue
pages/index/index.vue
+4
-6
No files found.
App.vue
View file @
5fa51d88
...
@@ -9,11 +9,11 @@
...
@@ -9,11 +9,11 @@
let
path
=
options
.
path
let
path
=
options
.
path
let
openid
=
uni
.
getStorageSync
(
"openid"
)
let
openid
=
uni
.
getStorageSync
(
"openid"
)
if
(
!
openid
&&
path
.
indexOf
(
"pages/ourPayment/ourPayment"
)
==-
1
){
//扫码支付页面不需要在此登录
if
(
!
openid
&&
path
.
indexOf
(
"pages/ourPayment/ourPayment"
)
==-
1
){
//扫码支付页面不需要在此登录
//
setTimeout(()=>{//解决关联普通二维码扫码首次进入时一直显示登录中
setTimeout
(()
=>
{
//解决关联普通二维码扫码首次进入时一直显示登录中
//
uni.navigateTo({
uni
.
navigateTo
({
//
url: "/pages/login/login"
url
:
"/pages/login/login"
//
})
})
//
},300)
},
300
)
}
}
//#ifdef MP-ALIPAY
//#ifdef MP-ALIPAY
...
...
common/common.js
View file @
5fa51d88
export
default
{
export
default
{
//调用方法时--this.$commonjs.aaa()
//调用方法时--this.$commonjs.aaa()
aaa
(){
console
.
log
(
123456
)
}
}
}
\ No newline at end of file
pages/combination/combiChoose/combiChoose.vue
View file @
5fa51d88
...
@@ -4,8 +4,6 @@
...
@@ -4,8 +4,6 @@
<!--#ifdef MP-WEIXIN -->
<!--#ifdef MP-WEIXIN -->
<web-view
:src=
"outUrl"
></web-view>
<web-view
:src=
"outUrl"
></web-view>
<!--#endif-->
<!--#endif-->
</view>
</view>
</
template
>
</
template
>
...
@@ -49,7 +47,7 @@
...
@@ -49,7 +47,7 @@
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
=
option
.
pdOpenid
//胖丁小程序openid
let
pdOpenid
=
uni
.
getStorageSync
(
"openid"
)
//胖丁小程序openid
let
baseUrl
=
"https://wx.pangdly.com/#/combiChoose?pdOpenid="
+
pdOpenid
let
baseUrl
=
"https://wx.pangdly.com/#/combiChoose?pdOpenid="
+
pdOpenid
this
.
outUrl
=
baseUrl
+
"&thirdOpenid="
+
thirdOpenid
+
"&touristType="
+
touristType
+
"&channelId="
+
channelId
+
"&merchantId="
+
merchantId
+
"&groupId="
+
groupId
+
"&groupChannelId="
+
groupChannelId
+
"&companyId="
+
companyId
this
.
outUrl
=
baseUrl
+
"&thirdOpenid="
+
thirdOpenid
+
"&touristType="
+
touristType
+
"&channelId="
+
channelId
+
"&merchantId="
+
merchantId
+
"&groupId="
+
groupId
+
"&groupChannelId="
+
groupChannelId
+
"&companyId="
+
companyId
}
}
...
...
pages/index/index.vue
View file @
5fa51d88
<
template
>
<
template
>
<view
>
<view
>
<!--#ifdef MP-ALIPAY -->
<!--#ifdef MP-ALIPAY -->
<view
class=
"top"
>
<
!--
<
view
class=
"top"
>
<view
class=
"top-search"
>
<view
class=
"top-search"
>
</view>
</view>
<view
class=
"top-content"
>
<view
class=
"top-content"
>
...
@@ -65,13 +65,11 @@
...
@@ -65,13 +65,11 @@
</view>
</view>
</view>
</view>
-->
<!--#endif-->
<!--#endif-->
<
button
@
click=
"getUserInfo()"
>
授权获取头像昵称
</button
>
<
!--
<button
@
click=
"getUserInfo()"
>
授权获取头像昵称
</button>
--
>
<view
class=
"bottom"
>
<view
class=
"bottom"
>
<!--#ifdef MP-WEIXIN-->
<web-view
src=
"https://wx.pangdly.com"
></web-view>
<!--
<web-view
src=
"https://wx.pangdly.com"
></web-view>
-->
<!--#endif-->
</view>
</view>
</view>
</view>
</
template
>
</
template
>
...
...
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