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
e02534a2
Commit
e02534a2
authored
Jul 01, 2019
by
chenyishuai@singsingenglish.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
71
parent
f1d1fa33
Changes
16
Hide whitespace changes
Inline
Side-by-side
Showing
16 changed files
with
59 additions
and
19 deletions
+59
-19
activityInvite.vue
src/components/buy/activityInvite.vue
+2
-0
address.vue
src/components/buy/address.vue
+6
-1
buySuccess.vue
src/components/buy/buySuccess.vue
+4
-0
index.vue
src/components/buy/index.vue
+3
-1
login.vue
src/components/buy/login.vue
+5
-9
mpShop.vue
src/components/buy/mpShop.vue
+2
-0
success.vue
src/components/buy/success.vue
+4
-0
audio.vue
src/components/collection/audio.vue
+4
-2
inspectorList.vue
src/components/inspector/inspectorList.vue
+4
-0
addressModify.vue
src/components/mine/addressModify.vue
+4
-2
audio.vue
src/components/newLesson/audio.vue
+3
-1
star.vue
src/components/newLesson/star.vue
+4
-0
video.vue
src/components/newLesson/video.vue
+2
-0
shareConfig.vue
src/components/shareConfig.vue
+6
-0
index.vue
src/components/star/index.vue
+4
-0
main.js
src/main.js
+2
-3
No files found.
src/components/buy/activityInvite.vue
View file @
e02534a2
...
...
@@ -61,11 +61,13 @@
import
switchUrl
from
'../../assets/activity/switch.png'
import
html2canvas
from
'html2canvas'
import
{
Toast
}
from
'vant'
;
import
{
Popup
}
from
'mint-ui'
export
default
{
name
:
"index"
,
components
:
{
swiper
,
swiperSlide
,
[
Popup
.
name
]:
Popup
},
data
(){
return
{
...
...
src/components/buy/address.vue
View file @
e02534a2
...
...
@@ -19,10 +19,15 @@
import
MyAddress
from
'@/components/address-picker/Address.vue'
import
{
saveAddressApi
,
getUserAdressApi
}
from
"../../service/api"
;
import
{
Toast
}
from
'vant'
;
import
{
Field
,
Cell
,
Header
,
Button
}
from
'mint-ui'
import
axios
from
'axios'
;
export
default
{
components
:
{
MyAddress
MyAddress
,
[
Field
.
name
]:
Field
,
[
Cell
.
name
]:
Cell
,
[
Header
.
name
]:
Header
,
[
Button
.
name
]:
Button
},
data
()
{
return
{
...
...
src/components/buy/buySuccess.vue
View file @
e02534a2
...
...
@@ -52,8 +52,12 @@
import
{
shopSuccess
}
from
"../../util/imgUrl"
;
import
{
getOrderDetailApi
,
getGoodsDetailApi
,
getUserDetailApi
}
from
"../../service/api"
;
import
{
Toast
}
from
'vant'
import
{
Button
}
from
'mint-ui'
export
default
{
name
:
"buySuccess"
,
components
:
{
[
Button
.
name
]:
Button
},
data
(){
return
{
img
:
shopSuccess
,
...
...
src/components/buy/index.vue
View file @
e02534a2
...
...
@@ -184,6 +184,7 @@
<
script
>
import
"swiper/dist/css/swiper.css"
;
import
{
swiper
,
swiperSlide
}
from
"vue-awesome-swiper"
;
import
{
Popup
}
from
'mint-ui'
import
comment
from
"../../util/common"
;
import
{
getwechatParam
,
...
...
@@ -209,7 +210,8 @@ export default {
components
:
{
swiper
,
swiperSlide
,
loginPage
loginPage
,
[
Popup
.
name
]:
Popup
},
data
()
{
return
{
...
...
src/components/buy/login.vue
View file @
e02534a2
...
...
@@ -30,14 +30,6 @@
<button
class=
"codeMsg right-btn"
@
click=
"sendMobileCode"
v-if=
"time===0"
>
发送验证码
</button>
<button
class=
"codeMsg disabled right-btn"
v-if=
"time>0"
>
{{
time
}}
s后重新发送
</button>
</div>
<!--
<mt-field
style=
"font-size: 14px"
label=
"手机号"
type=
"number"
autofocus=
"autofocus"
pattern=
"[0-9]*"
placeholder=
"请输入手机号"
v-model=
"bindMobile.mobile"
></mt-field>
<mt-field
label=
"图片验证"
placeholder=
"请输入验证码"
:attr=
"
{ maxlength: 4 }" type="number" maxlength="4" pattern="[0-9]*" v-model="bindMobile.img_code">
<img
src=
"/api/public/img/verify"
style=
"width: 35vw;margin-left: 5px"
class=
"right-btn"
ref=
"imgCode"
@
click=
"refImgCode"
/>
</mt-field>
<mt-field
label=
"短信验证"
placeholder=
"短信验证码"
oninput=
"if(value.length>4)value=value.slice(0,4)"
type=
"number"
v-model=
"bindMobile.verify_code"
>
<button
class=
"codeMsg right-btn"
@
click=
"sendMobileCode"
v-if=
"time===0"
>
发送验证码
</button>
<button
class=
"codeMsg disabled right-btn"
v-if=
"time>0"
>
{{
time
}}
s后重新发送
</button>
</mt-field>
-->
</div>
<mt-button
type=
"danger"
style=
"width: 100%;margin-top: 10px"
@
click=
"onBindMobile"
>
下一步
</mt-button>
</div>
...
...
@@ -46,12 +38,16 @@
<
script
>
import
{
Toast
}
from
'vant'
;
// import { Toast } from 'vant';
import
{
Popup
,
Button
}
from
'mint-ui'
import
{
sendMobileCodeApi
,
bindMobileApi
,
getUserDetailApi
}
from
"../../service/api"
;
export
default
{
name
:
"login"
,
props
:[
"bindMobile"
,
"groupDetail"
],
components
:
{
[
Popup
.
name
]:
Popup
,
[
Button
.
name
]:
Button
,
},
data
(){
return
{
time
:
0
,
...
...
src/components/buy/mpShop.vue
View file @
e02534a2
...
...
@@ -119,11 +119,13 @@
import
closeUrl
from
'../../assets/closemy.png'
import
qr1
from
'../../assets/shop/qr1.png'
import
qr2
from
'../../assets/shop/qr2.png'
import
{
Popup
}
from
'mint-ui'
export
default
{
name
:
"index"
,
components
:
{
swiper
,
swiperSlide
,
[
Popup
.
name
]:
Popup
},
data
(){
return
{
...
...
src/components/buy/success.vue
View file @
e02534a2
...
...
@@ -83,8 +83,12 @@
import
{
Toast
}
from
'vant'
import
{
getwechatParam
,
getOrderDetailApi
,
getGoodsDetailApi
,
getUserDetailApi
}
from
"../../service/api"
;
import
shareUrl
from
'../../assets/Bitmap@2x.png'
import
{
Popup
}
from
'mint-ui'
export
default
{
name
:
"success"
,
components
:
{
[
Popup
.
name
]:
Popup
},
data
(){
return
{
img
:
shopSuccess
,
...
...
src/components/collection/audio.vue
View file @
e02534a2
...
...
@@ -82,7 +82,7 @@
<
script
>
import
{
Toast
}
from
"vant"
;
import
{
Popup
}
from
'mint-ui'
import
tapToVideo
from
"../../assets/tapToVideo.png"
;
import
closeUrl
from
"../../assets/newLesson/audio-close.png"
;
import
{
...
...
@@ -93,7 +93,9 @@ import {
export
default
{
name
:
"fun"
,
props
:
[
"showObj"
,
"sc"
],
components
:
{},
components
:
{
[
Popup
.
name
]:
Popup
},
data
()
{
return
{
popupVisible
:
false
,
...
...
src/components/inspector/inspectorList.vue
View file @
e02534a2
...
...
@@ -80,9 +80,13 @@
import
closeUrl
from
'../../assets/newLesson/audio-close.png'
import
fullUrl
from
'../../assets/full.png'
import
{
Toast
}
from
'vant'
;
import
{
Popup
}
from
'mint-ui'
import
common
from
'../../util/common'
export
default
{
name
:
"inspectorList"
,
components
:
{
[
Popup
.
name
]:
Popup
},
mounted
(){
this
.
$sa
.
track
(
'ViewSelectdatepage'
,{
});
...
...
src/components/mine/addressModify.vue
View file @
e02534a2
...
...
@@ -48,12 +48,14 @@ import {
modifyAddressApi
}
from
"../../service/api"
;
import
addressList
from
"../address-picker/addr"
;
import
{
Cell
,
Toast
}
from
"vant"
;
import
{
Toast
}
from
"vant"
;
import
{
Field
,
Cell
}
from
'mint-ui'
export
default
{
name
:
""
,
components
:
{
MyAddress
,
[
Cell
.
name
]:
Cell
[
Cell
.
name
]:
Cell
,
[
Field
.
name
]:
Field
},
data
()
{
return
{
...
...
src/components/newLesson/audio.vue
View file @
e02534a2
...
...
@@ -122,6 +122,7 @@
<
script
>
import
{
Toast
}
from
'vant'
;
import
{
Popup
}
from
'mint-ui'
import
tapToVideo
from
'../../assets/tapToVideo.png'
import
{
getUserCollectApi
,
addUserCollectApi
,
delUserCollectApi
,
subUserLessonApi
,
getUserWatchApi
}
from
"../../service/api"
;
import
finishStuat
from
'../../assets/newLesson/finishStudy.png'
...
...
@@ -136,7 +137,8 @@
components
:{
noFinishDia
,
starBlock
,
sharePage
sharePage
,
[
Popup
.
name
]:
Popup
},
data
(){
return
{
...
...
src/components/newLesson/star.vue
View file @
e02534a2
...
...
@@ -37,8 +37,12 @@
import
star3
from
'../../assets/star/star3.png'
import
star_default
from
'../../assets/star/star_default.png'
import
star_active
from
'../../assets/star/star_active.png'
import
{
Popup
}
from
'mint-ui'
export
default
{
name
:
"star"
,
components
:{
[
Popup
.
name
]:
Popup
},
data
(){
return
{
star_btn
:
star_btn
,
...
...
src/components/newLesson/video.vue
View file @
e02534a2
...
...
@@ -73,12 +73,14 @@
import
noFinishDia
from
'./nofinishdia'
import
sharePage
from
'./share'
import
starBlock
from
'./star'
import
{
Popup
}
from
'mint-ui'
export
default
{
name
:
"play"
,
components
:{
noFinishDia
,
sharePage
,
starBlock
,
[
Popup
.
name
]:
Popup
},
data
(){
return
{
...
...
src/components/shareConfig.vue
View file @
e02534a2
...
...
@@ -21,8 +21,14 @@
<
script
>
import
{
getwechatParam
}
from
"../service/api"
;
import
shareUrl
from
'../assets/Bitmap@2x.png'
import
{
Popup
,
Field
,
Button
}
from
'mint-ui'
export
default
{
name
:
"shareConfig"
,
components
:{
[
Popup
.
name
]:
Popup
,
[
Field
.
name
]:
Field
,
[
Button
.
name
]:
Button
},
data
(){
return
{
desc
:
'赠你1元领取价值398元课程特权,和我一起快乐启蒙英语吧'
,
...
...
src/components/star/index.vue
View file @
e02534a2
...
...
@@ -80,8 +80,12 @@
import
QRCode
from
'qrcodejs2'
import
html2canvas
from
'html2canvas'
import
{
Toast
}
from
'vant'
import
{
Popup
}
from
'mint-ui'
export
default
{
name
:
"index"
,
components
:{
[
Popup
.
name
]:
Popup
},
data
(){
return
{
starbg_1
:
starbg_1
,
...
...
src/main.js
View file @
e02534a2
...
...
@@ -4,13 +4,12 @@ import Vue from 'vue'
import
App
from
'./App'
import
router
from
'./router'
import
store
from
'./store'
import
MintUI
from
'mint-ui'
//
import MintUI from 'mint-ui'
import
VueClipboard
from
'vue-clipboard2'
import
sa
from
'sa-sdk-javascript'
;
import
'mint-ui/lib/style.css'
import
scroll
from
"./base/scroll/scroll"
import
{
Popup
,
Lazyload
,
Button
,
Dialog
,
Toast
}
from
'vant'
;
// import VConsole from "VConsole"
// import Vant from 'vant';
Vue
.
config
.
productionTip
=
false
;
...
...
@@ -27,7 +26,7 @@ Vue.prototype.$sa.init({
is_track_single_page
:
true
});
Vue
.
prototype
.
$sa
.
quick
(
'autoTrack'
)
Vue
.
use
(
MintUI
);
//
Vue.use(MintUI);
Vue
.
use
(
VueClipboard
);
// Vue.use(Vant);
Vue
.
use
(
Popup
).
use
(
Lazyload
).
use
(
Button
).
use
(
Dialog
).
use
(
Toast
);
...
...
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