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
97f419a1
Commit
97f419a1
authored
Dec 26, 2018
by
wangwei
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
购买时如果系统中没有手机号 先去绑定手机号
parent
933cee7d
Changes
7
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
17 additions
and
8 deletions
+17
-8
index.html
dev/index.html
+1
-1
14.da3a460997d731c65432.js.map
dev/static/js/14.da3a460997d731c65432.js.map
+1
-1
15.efc5b92baeac5a717659.js.map
dev/static/js/15.efc5b92baeac5a717659.js.map
+1
-1
index.html
dist/index.html
+1
-1
8.3f2197ed58c77143c4cc.js.map
dist/static/js/8.3f2197ed58c77143c4cc.js.map
+1
-1
bindMobile.vue
src/components/bindMobile.vue
+5
-2
buy.vue
src/components/buy/buy.vue
+7
-1
No files found.
dev/index.html
View file @
97f419a1
<!DOCTYPE html>
<html><head><meta
charset=
utf-8
><meta
name=
viewport
content=
"width=device-width,initial-scale=1,maximum-scale=1,minimum-scale=1,user-scalable=no"
><meta
name=
screen-orientation
content=
portrait
><meta
name=
x5-orientation
content=
portrait
><title>
唱唱启蒙英语
</title><link
rel=
stylesheet
href=
https://at.alicdn.com/t/font_822651_g9r2j7kybxu.css
><style></style><link
href=
static/css/app.9f631d4069047acf4ee994f5d9f958c3.css
rel=
stylesheet
></head><body><div
id=
app
></div><script
src=
https://res.wx.qq.com/open/js/jweixin-1.3.2.js
></script><script
type=
text/javascript
src=
static/js/manifest.0facba418439a89f74b5.js
></script><script
type=
text/javascript
src=
static/js/vendor.2cd465c61090dbc6beb5.js
></script><script
type=
text/javascript
src=
static/js/app.c2441bf762fa038bd6c1.js
></script></body></html>
<!DOCTYPE html>
<html><head><meta
charset=
utf-8
><meta
name=
viewport
content=
"width=device-width,initial-scale=1,maximum-scale=1,minimum-scale=1,user-scalable=no"
><meta
name=
screen-orientation
content=
portrait
><meta
name=
x5-orientation
content=
portrait
><title>
唱唱启蒙英语
</title><link
rel=
stylesheet
href=
https://at.alicdn.com/t/font_822651_g9r2j7kybxu.css
><style></style><link
href=
static/css/app.9f631d4069047acf4ee994f5d9f958c3.css
rel=
stylesheet
></head><body><div
id=
app
></div><script
src=
https://res.wx.qq.com/open/js/jweixin-1.3.2.js
></script><script
type=
text/javascript
src=
static/js/manifest.9c4096a7a23ab4794351.js
></script><script
type=
text/javascript
src=
static/js/vendor.2cd465c61090dbc6beb5.js
></script><script
type=
text/javascript
src=
static/js/app.c2441bf762fa038bd6c1.js
></script></body></html>
\ No newline at end of file
\ No newline at end of file
dev/static/js/14.da3a460997d731c65432.js.map
View file @
97f419a1
This diff is collapsed.
Click to expand it.
dev/static/js/15.efc5b92baeac5a717659.js.map
View file @
97f419a1
This diff is collapsed.
Click to expand it.
dist/index.html
View file @
97f419a1
<!DOCTYPE html>
<html><head><meta
charset=
utf-8
><meta
name=
viewport
content=
"width=device-width,initial-scale=1,maximum-scale=1,minimum-scale=1,user-scalable=no"
><meta
name=
screen-orientation
content=
portrait
><meta
name=
x5-orientation
content=
portrait
><title>
唱唱启蒙英语
</title><link
rel=
stylesheet
href=
https://at.alicdn.com/t/font_822651_g9r2j7kybxu.css
><style>
*
{
<!DOCTYPE html>
<html><head><meta
charset=
utf-8
><meta
name=
viewport
content=
"width=device-width,initial-scale=1,maximum-scale=1,minimum-scale=1,user-scalable=no"
><meta
name=
screen-orientation
content=
portrait
><meta
name=
x5-orientation
content=
portrait
><title>
唱唱启蒙英语
</title><link
rel=
stylesheet
href=
https://at.alicdn.com/t/font_822651_g9r2j7kybxu.css
><style>
*
{
-webkit-overflow-scrolling
:
touch
;
-webkit-overflow-scrolling
:
touch
;
}
</style><link
href=
https://static-cdn.changchangenglish.com/new-sing/static/css/app.2344ae94e2f10b04ab62ba3d3b68dc98.css
rel=
stylesheet
></head><body><div
id=
app
></div><script
src=
https://res.wx.qq.com/open/js/jweixin-1.3.2.js
></script><script></script><script
type=
text/javascript
src=
https://static-cdn.changchangenglish.com/new-sing/static/js/manifest.0fe654d94b8ed7b56004.js
></script><script
type=
text/javascript
src=
https://static-cdn.changchangenglish.com/new-sing/static/js/vendor.47072c71fc786a97363f.js
></script><script
type=
text/javascript
src=
https://static-cdn.changchangenglish.com/new-sing/static/js/app.6bffc4f339f28278256a.js
></script></body></html>
}
</style><link
href=
https://static-cdn.changchangenglish.com/new-sing/static/css/app.9cdde1329cf9d3de1082bd51824435af.css
rel=
stylesheet
></head><body><div
id=
app
></div><script
src=
https://res.wx.qq.com/open/js/jweixin-1.3.2.js
></script><script></script><script
type=
text/javascript
src=
https://static-cdn.changchangenglish.com/new-sing/static/js/manifest.1cd53e57cc018c635f6f.js
></script><script
type=
text/javascript
src=
https://static-cdn.changchangenglish.com/new-sing/static/js/vendor.47072c71fc786a97363f.js
></script><script
type=
text/javascript
src=
https://static-cdn.changchangenglish.com/new-sing/static/js/app.49a28cc094272eb67ed9.js
></script></body></html>
\ No newline at end of file
\ No newline at end of file
dist/static/js/8.3f2197ed58c77143c4cc.js.map
View file @
97f419a1
This diff is collapsed.
Click to expand it.
src/components/bindMobile.vue
View file @
97f419a1
...
@@ -163,14 +163,17 @@
...
@@ -163,14 +163,17 @@
json
.
teacher_id
=
common
.
getUrlParam
().
teacher_id
||
this
.
$route
.
query
.
teacher_id
json
.
teacher_id
=
common
.
getUrlParam
().
teacher_id
||
this
.
$route
.
query
.
teacher_id
}
}
bindMobileApi
(
json
).
then
(
res
=>
{
bindMobileApi
(
json
).
then
(
res
=>
{
this
.
$router
.
push
({
name
:
'index'
})
if
(
this
.
$route
.
query
.
retUrl
){
this
.
$router
.
push
(
this
.
$route
.
query
.
retUrl
)
}
else
{
this
.
$router
.
push
({
name
:
'index'
});
}
this
.
flag
=
true
this
.
flag
=
true
}).
catch
(
res
=>
{
}).
catch
(
res
=>
{
this
.
refImgCode
();
this
.
refImgCode
();
this
.
flag
=
true
this
.
flag
=
true
})
})
}
}
}
}
}
}
}
}
...
...
src/components/buy/buy.vue
View file @
97f419a1
...
@@ -65,7 +65,7 @@
...
@@ -65,7 +65,7 @@
<
script
>
<
script
>
import
{
Toast
,
MessageBox
}
from
'mint-ui'
import
{
Toast
,
MessageBox
}
from
'mint-ui'
import
{
getUserAdressApi
,
getGoodsDetailApi
,
payApi
,
getwechatParam
,
getStatusWechatApi
,
getCouponListApi
}
from
"../../service/api"
;
import
{
getUserAdressApi
,
getGoodsDetailApi
,
payApi
,
getwechatParam
,
getStatusWechatApi
,
getCouponListApi
,
getUserDetailApi
}
from
"../../service/api"
;
import
addAddress
from
'./address'
import
addAddress
from
'./address'
import
youHuiUrl
from
'../../assets/shop/youHui.png'
import
youHuiUrl
from
'../../assets/shop/youHui.png'
import
saleDiv
from
'./sale'
import
saleDiv
from
'./sale'
...
@@ -211,6 +211,12 @@
...
@@ -211,6 +211,12 @@
this
.
addressPop
=
true
this
.
addressPop
=
true
},
},
initPage
(){
initPage
(){
getUserDetailApi
().
then
(
res
=>
{
console
.
log
(
this
.
$route
)
if
(
!
res
.
mobile
||
res
.
mobile
===
''
){
this
.
$router
.
push
({
name
:
'bindMobile'
,
query
:{
retUrl
:
this
.
$route
.
fullPath
}})
}
});
getwechatParam
({
api_list
:
'chooseWXPay'
}).
then
(
res
=>
{
getwechatParam
({
api_list
:
'chooseWXPay'
}).
then
(
res
=>
{
wx
.
config
({
wx
.
config
({
debug
:
false
,
debug
:
false
,
...
...
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