Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
M
million
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
viitto
million
Commits
ff91f781
Commit
ff91f781
authored
Mar 17, 2023
by
沈良进
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改用户问题修改
parent
f6f15765
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
544 additions
and
24 deletions
+544
-24
search-top.vue
src/components/search_sf/search-top.vue
+2
-3
loginInfo.vue
src/pages/usercenter/loginInfo.vue
+4
-1
yarn.lock
yarn.lock
+538
-20
No files found.
src/components/search_sf/search-top.vue
View file @
ff91f781
...
@@ -60,8 +60,7 @@
...
@@ -60,8 +60,7 @@
label=
"搜尋目的地、景點、行程觀光或酒店名稱..."
label=
"搜尋目的地、景點、行程觀光或酒店名稱..."
@
focus=
"searchFocusHandler"
@
focus=
"searchFocusHandler"
@
blur=
"searchBlurHandler"
@
blur=
"searchBlurHandler"
@
keyup=
"searchChangeHandler"
@
keyup
.
enter=
"goSearchHandler"
@
keypress
.
enter
.
native=
"goSearchHandler"
/>
/>
<q-btn
<q-btn
dark-percentage
dark-percentage
...
@@ -497,7 +496,7 @@ export default {
...
@@ -497,7 +496,7 @@ export default {
},
},
//跳转到搜索页面
//跳转到搜索页面
goSearchHandler
(
val
=
''
)
{
goSearchHandler
(
val
=
''
)
{
console
.
log
(
val
)
console
.
log
(
'跳转到搜索页面'
,
val
)
if
(
val
!=
''
&&
typeof
val
==
'string'
){
if
(
val
!=
''
&&
typeof
val
==
'string'
){
this
.
searchKey
=
val
this
.
searchKey
=
val
this
.
historys
=
Array
.
from
(
new
Set
([
this
.
searchKey
].
concat
(
this
.
historys
)))
this
.
historys
=
Array
.
from
(
new
Set
([
this
.
searchKey
].
concat
(
this
.
historys
)))
...
...
src/pages/usercenter/loginInfo.vue
View file @
ff91f781
...
@@ -147,7 +147,10 @@ export default {
...
@@ -147,7 +147,10 @@ export default {
changeWechat
()
{
changeWechat
()
{
const
{
AppID
,
State
,
OpenRedirectUri
}
=
this
.
openInfo
;
const
{
AppID
,
State
,
OpenRedirectUri
}
=
this
.
openInfo
;
let
redirect_uri
=
OpenRedirectUri
;
let
redirect_uri
=
OpenRedirectUri
;
const
url
=
`https://open.weixin.qq.com/connect/qrconnect?appid=
${
AppID
}
&redirect_uri=
${
encodeURIComponent
(
`
${
redirect_uri
}
/#/loginInfo`
)}
&response_type=code&scope=snsapi_login&state=
${
State
}
&wechat_redirect=
${
redirect_uri
}
`
;
console
.
log
(
'${redirect_uri}/#/loginInfo'
,
`
${
redirect_uri
}
/#/loginInfo`
)
const
url
=
`https://open.weixin.qq.com/connect/qrconnect?appid=
${
AppID
}
&redirect_uri=
${
encodeURIComponent
(
`http://www.oytour.com/#/loginInfo`
)}
&response_type=code&scope=snsapi_login&state=
${
State
}
&wechat_redirect=
${
redirect_uri
}
`
;
console
.
log
(
'${redirect_uri}/#/loginInfo'
,
`
${
redirect_uri
}
/#/loginInfo`
,
url
)
window
.
location
.
href
=
url
;
window
.
location
.
href
=
url
;
},
},
changeEmail
()
{
changeEmail
()
{
...
...
yarn.lock
View file @
ff91f781
This diff is collapsed.
Click to expand it.
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