Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in
Toggle navigation
H
h5-base
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
new-sing
h5-base
Commits
c198c9a6
Commit
c198c9a6
authored
Jan 09, 2019
by
wangwei
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
星星
parent
4d7e8f1a
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
4 deletions
+5
-4
dev.env.js
config/dev.env.js
+1
-1
buy.vue
src/components/buy/buy.vue
+2
-1
shareGoods.vue
src/components/newLesson/shareGoods.vue
+2
-2
No files found.
config/dev.env.js
View file @
c198c9a6
...
...
@@ -7,7 +7,7 @@ module.exports = merge(prodEnv, {
API_URL
:
'"http://192.168.31.242:8085/"'
,
MAX_FILESIZE
:
'1024*1024*10'
,
IMAGE_URL_HEAD
:
'"http://cdn.singsingenglish.com/"'
,
BUY_URL
:
'"http://wechat
.
test.changchangenglish.com/#/buyDetail?"'
,
BUY_URL
:
'"http://wechat
-
test.changchangenglish.com/#/buyDetail?"'
,
AUTHOR_UEL
:
'"http://wechat-test.changchangenglish.com/api/client/login?redirect_url=http://192.168.31.242:8085/#/"'
,
REDIRECT_URL
:
'"http://localhost:8085/"'
,
});
src/components/buy/buy.vue
View file @
c198c9a6
...
...
@@ -237,7 +237,8 @@
initPage
(){
if
(
!
JSON
.
parse
(
localStorage
.
getItem
(
'userDesc'
)).
mobile
||
JSON
.
parse
(
localStorage
.
getItem
(
'userDesc'
)).
mobile
===
''
){
this
.
$router
.
push
({
name
:
'bindMobile'
,
query
:{
retUrl
:
this
.
$route
.
fullPath
}})
}
else
{
}
else
{
getwechatParam
({
api_list
:
'chooseWXPay'
}).
then
(
res
=>
{
wx
.
config
({
debug
:
false
,
...
...
src/components/newLesson/shareGoods.vue
View file @
c198c9a6
...
...
@@ -20,7 +20,7 @@
</div>
<div
class=
"btn-block"
>
<div
class=
"btn"
@
click=
"toBuy"
>
了解一下
快去报名
</div>
</div>
</div>
...
...
@@ -57,7 +57,7 @@
})
},
toBuy
(){
window
.
location
.
href
=
process
.
env
.
BUY_URL
+
'shopId='
+
this
.
shopId
window
.
location
.
href
=
`
${
process
.
env
.
API_URL
}
#/buy?shopId=
${
this
.
shopId
}
&invite_code=CC-USER-
${
this
.
$route
.
query
.
userID
}
`
}
},
mounted
(){
...
...
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