Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
梁建民
/
h5
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
499ee8a5
authored
Feb 18, 2019
by
梁建民
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
js
parent
df1a8be2
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
123 additions
and
42 deletions
src/assets/css/supplier/index.min.css
src/assets/css/supplier/index.min.css.map
src/assets/css/supplier/index.scss
src/store/modules/smt/index.js
src/views/supplier/Index.vue
view/2.js
view/app.js
src/assets/css/supplier/index.min.css
View file @
499ee8a5
...
...
@@ -3,11 +3,14 @@
.supplier
.head
.banner
{
width
:
100%
;
height
:
6.187rem
;
background
:
url("../../images/supplier/banner.png")
no-repeat
center
;
background-size
:
cover
;
}
.supplier
.head
.head-form
{
margin
:
0
0.533rem
;
padding
:
0.333rem
0.4rem
0.547rem
0.4rem
;
border-radius
:
3px
;
background
:
rgba
(
255
,
255
,
255
,
0.2
);
box-shadow
:
0rem
-0.027rem
0.233rem
0.1rem
rgba
(
0
,
0
,
0
,
0.5
);
}
.supplier
.head
.head-form
.head-form-wrap
{
display
:
flex
;
flex-direction
:
column
;
background-color
:
#ffffff
;
border-radius
:
3px
;
align-items
:
center
;
}
.supplier
.head
.head-form
.head-form-wrap
dd
.inp-wrap
{
width
:
100%
;
border-bottom
:
1px
solid
#3a4455
;
height
:
1.333rem
;
padding-left
:
0.28rem
;
white-space
:
nowrap
;
}
.supplier
.head
.head-form
.head-form-wrap
dd
.inp-wrap
{
position
:
relative
;
width
:
100%
;
border-bottom
:
1px
solid
#3a4455
;
height
:
1.333rem
;
padding-left
:
0.28rem
;
white-space
:
nowrap
;
}
.supplier
.head
.head-form
.head-form-wrap
dd
.inp-wrap
>
label
{
width
:
77px
;
text-align
:
right
;
font-size
:
14px
;
color
:
#666666
;
}
.supplier
.head
.head-form
.head-form-wrap
dd
.inp-wrap
>
label
em
{
font-size
:
13px
;
color
:
#ffa200
;
}
.supplier
.head
.head-form
.head-form-wrap
dd
.inp-wrap
>
input
.inp
{
width
:
71
%
;
height
:
100%
;
font-size
:
14px
;
color
:
#333333
;
}
.supplier
.head
.head-form
.head-form-wrap
dd
.inp-wrap
>
input
.inp
{
width
:
65
%
;
height
:
100%
;
font-size
:
14px
;
color
:
#333333
;
}
.supplier
.head
.head-form
.head-form-wrap
dd
.inp-wrap
>
input
.inp.w1
{
width
:
43%
;
}
.supplier
.head
.head-form
.head-form-wrap
dd
.inp-wrap
.hint
{
position
:
absolute
;
right
:
10px
;
color
:
#999999
;
top
:
16px
;
font-size
:
14px
;
background
:
#fff
;
z-index
:
9
;
}
.supplier
.head
.head-form
.head-form-wrap
dd
.inp-wrap
.hint.f-orange
{
color
:
#ffa200
!important
;
}
.supplier
.head
.head-form
.head-form-wrap
dd
.inp-wrap
.hint.f-orange
span
{
color
:
#ffa200
!important
;
}
.supplier
.head
.head-form
.head-form-wrap
dd
.inp-wrap
.code-text
{
font-size
:
14px
;
background
:
none
;
color
:
#1080d0
;
}
.supplier
.head
.head-form
.head-form-wrap
dd
.inp-wrap
.code-text.code-text-disabled
{
color
:
#999999
;
}
.supplier
.head
.head-form
.head-form-wrap
dd
.inp-wrap
>
textarea
{
width
:
71%
;
height
:
100%
;
font-size
:
14px
;
color
:
#333333
;
padding-top
:
0.45rem
;
resize
:
none
;
}
...
...
@@ -18,7 +21,9 @@
.supplier
.head
.head-form
.head-form-wrap
dd
.inp-wrap
.inp-wrap-radio
.inp-wrap-radio-bb
.icn
{
width
:
13px
;
height
:
13px
;
background
:
url("../../images/supplier/c-1.png")
no-repeat
center
;
background-size
:
cover
;
display
:
inline-block
;
vertical-align
:
middle
;
}
.supplier
.head
.head-form
.head-form-wrap
dd
.inp-wrap
.inp-wrap-radio
.inp-wrap-radio-bb
.icn.icn-curr
{
background
:
url("../../images/supplier/c-2.png")
no-repeat
center
;
background-size
:
cover
;
}
.supplier
.head
.head-form
.head-form-wrap
dd
.inp-wrap
:last-child
{
border-bottom
:
none
;
}
.supplier
.head
.head-form
.submit
{
height
:
40px
;
line-height
:
40px
;
text-align
:
center
;
background-color
:
#ffffff
;
border-radius
:
3px
;
font-size
:
14px
;
color
:
#1080d0
;
display
:
block
;
margin
:
0.933rem
0.4rem
0
0.4rem
;
font-weight
:
bold
;
}
.supplier
.head
.head-form
.btn-wrap
{
position
:
relative
;
}
.supplier
.head
.head-form
.btn-wrap
.error
{
position
:
absolute
;
left
:
0
;
top
:
-25px
;
font-size
:
12px
;
color
:
#ffa200
!important
;
}
.supplier
.head
.head-form
.btn-wrap
.submit
{
height
:
40px
;
line-height
:
40px
;
text-align
:
center
;
background-color
:
#ffffff
;
border-radius
:
3px
;
font-size
:
14px
;
color
:
#1080d0
;
display
:
block
;
margin
:
0.933rem
0.4rem
0
0.4rem
;
font-weight
:
bold
;
}
.supplier
.content
{
padding-top
:
0.567rem
;
}
.supplier
.content
.wrap
{
padding
:
0
0.267rem
;
border-bottom
:
0.267rem
solid
#f6f6f6
;
background
:
#fff
;
}
.supplier
.content
.wrap
.tit
{
display
:
flex
;
align-items
:
center
;
padding
:
0.373rem
0
0.667rem
0
;
}
...
...
src/assets/css/supplier/index.min.css.map
View file @
499ee8a5
{
"version": 3,
"mappings": "AAAA,SAAU,GACR,KAAK,EAAE,IAAI;AACX,eAAM,GACJ,KAAK,EAAE,IAAI,EACX,UAAU,EAAE,OAAO,EACnB,cAAc,EAAE,QAAQ;AACxB,uBAAQ,GACN,KAAK,EAAE,IAAI,EACX,MAAM,EAAE,QAAQ,EAChB,UAAU,EAAE,wDAAwD,EACpE,eAAe,EAAE,KAAK;AAExB,0BAAW,GACT,MAAM,EAAE,UAAU,EAClB,OAAO,EAAE,+BAA+B,EACxC,aAAa,EAAE,GAAG,EAClB,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I;AACnB,0CAAW,GACT,QAAQ,EAAE,QAAQ,EAClB,UAAU,EAAE,MAAM,EAClB,KAAK,EAAE,IAAI,EACX,MAAM,EAAE,KAAK,EACb,UAAU,EAAE,0DAA0D,EACtE,eAAe,EAAE,KAAK;AACtB,oDAAU,GACR,KAAK,EAAE,KAAK,EACZ,OAAO,EAAE,GAAG,EACZ,MAAM,EAAE,iBAAiB,EACzB,gBAAgB,EAAE,OAAO,EACzB,QAAQ,EAAE,QAAQ,EAClB,IAAI,EAAE,CAAC,EACP,KAAK,EAAE,CAAC,EACR,GAAG,EAAE,KAAK,EACV,MAAM,EAAE,MAAM,EACd,UAAU,EAAE,MAAM;AAClB,yDAAK,GACH,KAAK,EAAE,KAAK,EACZ,MAAM,EAAE,IAAI,EACZ,gBAAgB,EAAE,OAAO,EACzB,UAAU,EAAE,kCAAkC,EAC9C,aAAa,EAAE,GAAG,EAClB,SAAS,EAAE,IAAI,EACf,KAAK,EAAE,OAAO,EACd,UAAU,EAAE,MAAM,EAClB,WAAW,EAAE,IAAI,EACjB,OAAO,EAAE,KAAK",
"sources": ["index.scss"],
"names": [],
"file": "index.min.css"
...
...
src/assets/css/supplier/index.scss
View file @
499ee8a5
...
...
@@ -23,6 +23,7 @@
border-radius
:
3px
;
align-items
:
center
;
dd
.inp-wrap
{
position
:
relative
;
width
:
100%
;
border-bottom
:
1px
solid
#3a4455
;
height
:
1
.333rem
;
...
...
@@ -39,7 +40,7 @@
}
}
>
input
.inp
{
width
:
71
%
;
width
:
65
%
;
height
:
100%
;
font-size
:
14px
;
color
:
#333333
;
...
...
@@ -47,6 +48,21 @@
width
:
43%
;
}
}
.hint
{
position
:
absolute
;
right
:
10px
;
color
:
#999999
;
top
:
16px
;
font-size
:
14px
;
background
:
#fff
;
z-index
:
9
;
&
.f-orange
{
color
:
#ffa200
!
important
;
span
{
color
:
#ffa200
!
important
;
}
}
}
.code-text
{
font-size
:
14px
;
background
:
none
;
...
...
@@ -96,17 +112,27 @@
}
}
}
.submit
{
height
:
40px
;
line-height
:
40px
;
text-align
:
center
;
background-color
:
#ffffff
;
border-radius
:
3px
;
font-size
:
14px
;
color
:
#1080d0
;
display
:
block
;
margin
:
0
.933rem
0
.4rem
0
0
.4rem
;
font-weight
:
bold
;
.btn-wrap
{
position
:
relative
;
.error
{
position
:
absolute
;
left
:
0
;
top
:
-25px
;
font-size
:
12px
;
color
:
#ffa200
!
important
;
}
.submit
{
height
:
40px
;
line-height
:
40px
;
text-align
:
center
;
background-color
:
#ffffff
;
border-radius
:
3px
;
font-size
:
14px
;
color
:
#1080d0
;
display
:
block
;
margin
:
0
.933rem
0
.4rem
0
0
.4rem
;
font-weight
:
bold
;
}
}
}
}
...
...
src/store/modules/smt/index.js
View file @
499ee8a5
...
...
@@ -82,7 +82,7 @@ const actions = {
state
.
loading
=
false
;
if
(
data
.
errcode
==
1
)
{
Toast
({
message
:
data
.
errmsg
,
message
:
data
.
err
_
msg
,
duration
:
3000
});
}
else
if
(
resp
.
errcode
==
2
)
{
...
...
@@ -95,6 +95,9 @@ const actions = {
message
:
'您已经提交成功,我们将会在2个工作日内联系您'
,
duration
:
3000
});
setTimeout
(
function
()
{
window
.
location
.
reload
();
},
5000
);
}
}).
catch
(
function
(
err
)
{
...
...
src/views/supplier/Index.vue
View file @
499ee8a5
...
...
@@ -7,6 +7,7 @@
<dd
class=
"inp-wrap boxsiz"
>
<label
class=
"lineBlock va-m"
><em>
*
</em>
公司名称:
</label>
<input
type=
"text"
placeholder=
"请输入公司名称"
class=
"va-m inp"
v-model=
"form.com_name"
>
<p
class=
"hint"
:class=
"
{'f-orange':firmNum>=50}">
<span>
{{
firmNum
}}
</span>
/50
</p>
</dd>
<dd
class=
"inp-wrap boxsiz"
>
<label
class=
"lineBlock va-m"
><em>
*
</em>
联
系
人:
</label>
...
...
@@ -14,7 +15,7 @@
</dd>
<dd
class=
"inp-wrap boxsiz"
>
<label
class=
"lineBlock va-m"
><em>
*
</em>
联系方式:
</label>
<input
type=
"text"
@
click=
"numberFlag=true"
placeholder=
"请输入手机或电话号码"
class=
"va-m inp"
v-model=
"form.mobile"
>
<input
type=
"text"
@
click=
"numberFlag=true"
placeholder=
"请输入手机或电话号码"
class=
"va-m inp"
v-model=
"form.mobile"
maxlength=
"11"
onkeyup=
"this.value=this.value.replace(/\D/g,'')"
>
</dd>
<dd
class=
"inp-wrap boxsiz"
v-if=
"verifyCodeFlag"
>
<label
class=
"lineBlock va-m"
><em>
*
</em>
短信验证:
</label>
...
...
@@ -34,9 +35,13 @@
<dd
class=
"inp-wrap boxsiz"
>
<label
class=
"lineBlock va-m"
><em>
*
</em>
主营产品:
</label>
<textarea
class=
"lineBlock va-m boxsiz"
placeholder=
"请输入"
v-model=
"form.main_brand"
></textarea>
<p
class=
"hint"
:class=
"
{'f-orange':secondNum>=50}">
<span>
{{
secondNum
}}
</span>
/50
</p>
</dd>
</dl>
<a
href=
"javascript:;"
class=
"submit"
@
click=
"submit()"
>
立即提交
</a>
<div
class=
"btn-wrap"
>
<em
class=
"error"
v-if=
"formError"
>
{{
formMsg
}}
</em>
<a
href=
"javascript:;"
class=
"submit"
@
click=
"submit()"
>
立即提交
</a>
</div>
</div>
</div>
<div
class=
"content"
>
...
...
@@ -204,9 +209,9 @@
import
Vue
from
'vue'
;
import
{
mapState
}
from
'vuex'
import
{
Toast
,
Swipe
,
SwipeItem
,
NumberKeyboard
,
Loading
}
from
'vant'
;
import
{
Swipe
,
SwipeItem
,
NumberKeyboard
,
Loading
}
from
'vant'
;
Vue
.
use
(
Toast
).
use
(
Swipe
).
use
(
SwipeItem
).
use
(
NumberKeyboard
).
use
(
Loading
);
Vue
.
use
(
Swipe
).
use
(
SwipeItem
).
use
(
NumberKeyboard
).
use
(
Loading
);
export
default
{
name
:
'supplier'
,
...
...
@@ -222,6 +227,11 @@
codetext
:
'获取验证码'
,
disabled
:
false
,
codeactive
:
false
,
firmNum
:
0
,
secondNum
:
0
,
max
:
50
,
formMsg
:
''
,
formError
:
false
,
form
:
{
com_name
:
''
,
linkName
:
''
,
...
...
@@ -236,14 +246,55 @@
...
mapState
({
loading
:
state
=>
state
.
smt
.
loading
}),
comName
()
{
return
this
.
form
.
com_name
;
},
linkName
()
{
return
this
.
form
.
linkName
;
},
mainBrand
()
{
return
this
.
form
.
main_brand
;
},
verifyCode
()
{
return
this
.
form
.
verifyCode
;
},
mobileVal
()
{
return
this
.
form
.
mobile
;
}
},
watch
:
{
mainBrand
(
val
)
{
if
(
val
.
length
>
this
.
max
)
{
this
.
secondNum
=
this
.
max
;
}
else
{
this
.
secondNum
=
val
.
length
;
}
},
linkName
(
val
)
{
if
(
val
)
{
this
.
formError
=
false
;
}
},
verifyCode
(
val
)
{
if
(
val
)
{
this
.
formError
=
false
;
}
},
comName
(
val
)
{
if
(
val
)
{
this
.
formError
=
false
;
if
(
val
.
length
>
this
.
max
)
{
this
.
firmNum
=
this
.
max
;
}
else
{
this
.
firmNum
=
val
.
length
;
}
}
},
mobileVal
(
val
)
{
if
(
val
.
length
>=
11
)
{
console
.
log
(
'aa'
)
this
.
verifyCodeFlag
=
true
;
this
.
formError
=
false
;
this
.
$store
.
dispatch
({
type
:
'checkAccountExists'
,
account
:
this
.
form
.
mobile
...
...
@@ -267,42 +318,38 @@
var
tel_reg
=
/^1
[
34578
]\d{9}
$/
;
if
(
!
this
.
form
.
com_name
)
{
Toast
({
message
:
'亲,请输入公司名称'
,
duration
:
3000
});
this
.
formError
=
true
;
this
.
formMsg
=
'亲,请输入公司名称'
;
return
;
}
if
(
!
this
.
form
.
linkName
)
{
Toast
({
message
:
'亲,请输入您的称呼'
,
duration
:
3000
});
this
.
formError
=
true
;
this
.
formMsg
=
'亲,请输入您的称呼'
;
return
;
}
if
(
!
character_reg
.
test
(
this
.
form
.
linkName
))
{
Toast
({
message
:
'亲,称呼只能为英文和中文'
,
duration
:
3000
});
this
.
formError
=
true
;
this
.
formMsg
=
'亲,称呼只能为英文和中文'
;
return
;
}
if
(
!
this
.
form
.
mobile
)
{
Toast
({
message
:
'亲,请输入手机'
,
duration
:
3000
});
this
.
formError
=
true
;
this
.
formMsg
=
'亲,请输入手机'
;
return
;
}
if
(
!
tel_reg
.
test
(
this
.
form
.
mobile
))
{
Toast
({
message
:
'亲,手机格式不正确'
,
duration
:
3000
});
this
.
formError
=
true
;
this
.
formMsg
=
'亲,手机格式不正确'
;
return
;
}
if
(
!
this
.
form
.
verifyCode
)
{
this
.
formError
=
true
;
this
.
formMsg
=
'亲,请输入验证码'
;
return
;
}
...
...
view/2.js
View file @
499ee8a5
This diff is collapsed.
Click to expand it.
view/app.js
View file @
499ee8a5
...
...
@@ -3993,7 +3993,7 @@ eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var vue_
/***/
(
function
(
module
,
__webpack_exports__
,
__webpack_require__
)
{
"use strict"
;
eval
(
"__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var core_js_modules_es6_promise__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es6.promise */ \"./node_modules/_core-js@2.6.3@core-js/modules/es6.promise.js\");\n/* harmony import */ var core_js_modules_es6_promise__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es6_promise__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var core_js_modules_es6_symbol__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/es6.symbol */ \"./node_modules/_core-js@2.6.3@core-js/modules/es6.symbol.js\");\n/* harmony import */ var core_js_modules_es6_symbol__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es6_symbol__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! vue */ \"./node_modules/_vue@2.5.22@vue/dist/vue.runtime.esm.js\");\n/* harmony import */ var vant__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! vant */ \"./node_modules/_vant@1.5.7@vant/es/index.js\");\n/* harmony import */ var _api_index__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../../api/index */ \"./src/api/index.js\");\n/* harmony import */ var _util_index__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../../../util/index */ \"./src/util/index.js\");\n\n\n\n\n\n\n\nvar qs = __webpack_require__(/*! qs */ \"./node_modules/_qs@6.6.0@qs/lib/index.js\");\n\nvue__WEBPACK_IMPORTED_MODULE_2__[\"default\"].use(vant__WEBPACK_IMPORTED_MODULE_3__[\"Toast\"]);\nvar state = {\n loading: false\n};\nvar mutations = {\n index: function index(state, payload) {\n state.index = payload.data;\n }\n};\nvar actions = {\n checkAccountExists: function checkAccountExists(_ref, payload) {\n var commit = _ref.commit;\n state.loading = true;\n var params = {\n pf: 2,\n type: 2,\n account: payload.account\n };\n _api_index__WEBPACK_IMPORTED_MODULE_4__[\"services\"].checkAccountExists(qs.stringify(params)).then(function (res) {\n var data = res.data;\n state.loading = false;\n\n if (data.err_code != 0) {\n Object(vant__WEBPACK_IMPORTED_MODULE_3__[\"Toast\"])({\n message: '该手机号尚未注册,我们将为您自动生成猎芯网帐号',\n duration: 3000\n });\n }\n }).catch(function (err) {\n state.loading = false;\n });\n },\n customSmsVerify: function customSmsVerify(_ref2, payload) {\n var commit = _ref2.commit;\n state.loading = true;\n var params = {\n pf: 2,\n verify: '',\n mobile: payload.mobile\n };\n _api_index__WEBPACK_IMPORTED_MODULE_4__[\"services\"].customSmsVerify(qs.stringify(params)).then(function (res) {\n var data = res.data;\n state.loading = false;\n\n if (data.err_code == 0) {\n Object(vant__WEBPACK_IMPORTED_MODULE_3__[\"Toast\"])({\n message: data.err_msg,\n duration: 2000\n });\n } else {\n Object(vant__WEBPACK_IMPORTED_MODULE_3__[\"Toast\"])({\n message: data.err_msg,\n duration: 3000\n });\n }\n }).catch(function (err) {\n state.loading = false;\n });\n },\n chainFind: function chainFind(_ref3, payload) {\n var commit = _ref3.commit;\n state.loading = true;\n var params = {\n type: 1,\n mobile: payload.mobile,\n linkName: payload.linkName,\n verifyCode: payload.verifyCode,\n com_name: payload.com_name,\n main_brand: payload.main_brand,\n supplier_type: payload.supplier_type\n };\n _api_index__WEBPACK_IMPORTED_MODULE_4__[\"services\"].chainFind(qs.stringify(params)).then(function (res) {\n var data = res.data;\n state.loading = false;\n\n if (data.errcode == 1) {\n Object(vant__WEBPACK_IMPORTED_MODULE_3__[\"Toast\"])({\n message: data.err
msg,\n duration: 3000\n });\n } else if (resp.errcode == 2) {\n Object(vant__WEBPACK_IMPORTED_MODULE_3__[\"Toast\"])({\n message: '已为您自动创建的猎芯网登录账号为' + payload.mobile + '请使用免密码登录',\n duration: 3000\n });\n } else {\n Object(vant__WEBPACK_IMPORTED_MODULE_3__[\"Toast\"])({\n message: '您已经提交成功,我们将会在2个工作日内联系您',\n duration: 3000\n }
);\n }\n }).catch(function (err) {\n state.loading = false;\n Object(vant__WEBPACK_IMPORTED_MODULE_3__[\"Toast\"])({\n message: '网络出现问题,请重试',\n duration: 3000\n });\n });\n }\n};\nvar getters = {};\n/* harmony default export */ __webpack_exports__[\"default\"] = ({\n state: state,\n mutations: mutations,\n actions: actions,\n getters: getters\n});\n\n//# sourceURL=webpack:///./src/store/modules/smt/index.js?"
);
eval
(
"__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var core_js_modules_es6_promise__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es6.promise */ \"./node_modules/_core-js@2.6.3@core-js/modules/es6.promise.js\");\n/* harmony import */ var core_js_modules_es6_promise__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es6_promise__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var core_js_modules_es6_symbol__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/es6.symbol */ \"./node_modules/_core-js@2.6.3@core-js/modules/es6.symbol.js\");\n/* harmony import */ var core_js_modules_es6_symbol__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es6_symbol__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! vue */ \"./node_modules/_vue@2.5.22@vue/dist/vue.runtime.esm.js\");\n/* harmony import */ var vant__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! vant */ \"./node_modules/_vant@1.5.7@vant/es/index.js\");\n/* harmony import */ var _api_index__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../../api/index */ \"./src/api/index.js\");\n/* harmony import */ var _util_index__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../../../util/index */ \"./src/util/index.js\");\n\n\n\n\n\n\n\nvar qs = __webpack_require__(/*! qs */ \"./node_modules/_qs@6.6.0@qs/lib/index.js\");\n\nvue__WEBPACK_IMPORTED_MODULE_2__[\"default\"].use(vant__WEBPACK_IMPORTED_MODULE_3__[\"Toast\"]);\nvar state = {\n loading: false\n};\nvar mutations = {\n index: function index(state, payload) {\n state.index = payload.data;\n }\n};\nvar actions = {\n checkAccountExists: function checkAccountExists(_ref, payload) {\n var commit = _ref.commit;\n state.loading = true;\n var params = {\n pf: 2,\n type: 2,\n account: payload.account\n };\n _api_index__WEBPACK_IMPORTED_MODULE_4__[\"services\"].checkAccountExists(qs.stringify(params)).then(function (res) {\n var data = res.data;\n state.loading = false;\n\n if (data.err_code != 0) {\n Object(vant__WEBPACK_IMPORTED_MODULE_3__[\"Toast\"])({\n message: '该手机号尚未注册,我们将为您自动生成猎芯网帐号',\n duration: 3000\n });\n }\n }).catch(function (err) {\n state.loading = false;\n });\n },\n customSmsVerify: function customSmsVerify(_ref2, payload) {\n var commit = _ref2.commit;\n state.loading = true;\n var params = {\n pf: 2,\n verify: '',\n mobile: payload.mobile\n };\n _api_index__WEBPACK_IMPORTED_MODULE_4__[\"services\"].customSmsVerify(qs.stringify(params)).then(function (res) {\n var data = res.data;\n state.loading = false;\n\n if (data.err_code == 0) {\n Object(vant__WEBPACK_IMPORTED_MODULE_3__[\"Toast\"])({\n message: data.err_msg,\n duration: 2000\n });\n } else {\n Object(vant__WEBPACK_IMPORTED_MODULE_3__[\"Toast\"])({\n message: data.err_msg,\n duration: 3000\n });\n }\n }).catch(function (err) {\n state.loading = false;\n });\n },\n chainFind: function chainFind(_ref3, payload) {\n var commit = _ref3.commit;\n state.loading = true;\n var params = {\n type: 1,\n mobile: payload.mobile,\n linkName: payload.linkName,\n verifyCode: payload.verifyCode,\n com_name: payload.com_name,\n main_brand: payload.main_brand,\n supplier_type: payload.supplier_type\n };\n _api_index__WEBPACK_IMPORTED_MODULE_4__[\"services\"].chainFind(qs.stringify(params)).then(function (res) {\n var data = res.data;\n state.loading = false;\n\n if (data.errcode == 1) {\n Object(vant__WEBPACK_IMPORTED_MODULE_3__[\"Toast\"])({\n message: data.err
_msg,\n duration: 3000\n });\n } else if (resp.errcode == 2) {\n Object(vant__WEBPACK_IMPORTED_MODULE_3__[\"Toast\"])({\n message: '已为您自动创建的猎芯网登录账号为' + payload.mobile + '请使用免密码登录',\n duration: 3000\n });\n } else {\n Object(vant__WEBPACK_IMPORTED_MODULE_3__[\"Toast\"])({\n message: '您已经提交成功,我们将会在2个工作日内联系您',\n duration: 3000\n });\n setTimeout(function () {\n window.location.reload();\n }, 5000
);\n }\n }).catch(function (err) {\n state.loading = false;\n Object(vant__WEBPACK_IMPORTED_MODULE_3__[\"Toast\"])({\n message: '网络出现问题,请重试',\n duration: 3000\n });\n });\n }\n};\nvar getters = {};\n/* harmony default export */ __webpack_exports__[\"default\"] = ({\n state: state,\n mutations: mutations,\n actions: actions,\n getters: getters\n});\n\n//# sourceURL=webpack:///./src/store/modules/smt/index.js?"
);
/***/
}),
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