Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
T
techbook
Project
Project
Details
Activity
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
front-end-dev
techbook
Commits
7d78ef9c
Commit
7d78ef9c
authored
Aug 19, 2019
by
zhangyanni
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
完善资料国旗
parent
95bd3a24
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
23 additions
and
24 deletions
+23
-24
common.scss
public/css/common.scss
+7
-10
api.js
src/views/loginregister/api/api.js
+2
-2
completeInfoCmpt.vue
src/views/loginregister/pages/completeInfoCmpt.vue
+12
-11
modifyPasswordCmpt.vue
src/views/loginregister/pages/modifyPasswordCmpt.vue
+1
-0
vue.config.js
vue.config.js
+1
-1
No files found.
public/css/common.scss
View file @
7d78ef9c
...
...
@@ -332,7 +332,7 @@ h4{
top
:
0
;
z-index
:
1
;
}
&
.el-select
.el-input__inner
,
&
.el-select.china
Flag
.el-input__inner
{
&
.el-select
.el-input__inner
,
&
.el-select.china
.el-input__inner
{
height
:
15px
;
background-image
:
url("../../src/assets/img/login/flags@2x.png")
;
background-position
:
-1049px
0
;
...
...
@@ -344,9 +344,6 @@ h4{
color
:
transparent
;
border-radius
:
unset
;
}
&
.el-select.germanyFlag
.el-input__inner
{
background-position
:
-1269px
0
;
}
&
.el-select
.el-input--suffix
{
width
:
60px
!
important
;
&
.el-input__inner
{
...
...
@@ -371,25 +368,25 @@ h4{
margin-right
:
8px
;
vertical-align
:
middle
;
}
.el-select-dropdown__item
.deguo
{
.el-select-dropdown__item
.deguo
,
.el-select.deguo
.el-input__inner
{
background-position
:
-1269px
0
;
}
.el-select-dropdown__item
.china
{
background-position
:
-1049px
0
;
}
.el-select-dropdown__item
.korea
{
.el-select-dropdown__item
.korea
,
.el-select.korea
.el-input__inner
{
background-position
:
-2787px
0
;
}
.el-select-dropdown__item
.america
{
.el-select-dropdown__item
.america
,
.el-select.america
.el-input__inner
{
background-position
:
-5241px
0
;
}
.el-select-dropdown__item
.israel
{
.el-select-dropdown__item
.israel
,
.el-select.israel
.el-input__inner
{
background-position
:
-2369px
0
;
}
.el-select-dropdown__item
.finland
{
.el-select-dropdown__item
.finland
,
.el-select.finland
.el-input__inner
{
background-position
:
-1621px
0
;
}
.el-select-dropdown__item
.russia
{
.el-select-dropdown__item
.russia
,
.el-select.russia
.el-input__inner
{
background-position
:
-4295px
0
;
}
//隐藏的input
...
...
src/views/loginregister/api/api.js
View file @
7d78ef9c
...
...
@@ -12,9 +12,9 @@ export default {
return
api
.
fetchLogin
(
"/base/code/sendPhone"
,
Qs
.
stringify
(
params
));
},
//验证
修改
密码验证码
//验证
找回
密码验证码
getModifyCodeAxios
(
params
){
return
api
.
fetchLogin
(
"/base/
code
/checkNewPwdCode"
,
Qs
.
stringify
(
params
));
return
api
.
fetchLogin
(
"/base/
emp
/checkNewPwdCode"
,
Qs
.
stringify
(
params
));
},
//获取修改密码验证码
...
...
src/views/loginregister/pages/completeInfoCmpt.vue
View file @
7d78ef9c
...
...
@@ -21,7 +21,7 @@
</el-form-item>
<p
class=
"labelItem"
v-if=
"lang==2"
>
您的手机号
</p>
<el-form-item
prop=
"phone"
class=
"flagItem"
v-if=
"lang==2"
>
<el-select
v-model
.
trim=
"flag"
@
change=
"handleChange"
:class=
"flag
==1?'chinaFlag':'germanyFlag'
"
>
<el-select
v-model
.
trim=
"flag"
@
change=
"handleChange"
:class=
"flag
ClassName
"
>
<el-option
v-for=
"item in cities"
:key=
"item.value"
...
...
@@ -39,11 +39,11 @@
<el-select
v-model
.
trim=
"infoForm.channel"
placeholder=
"请选择您注册的来源渠道"
>
<el-option
:key=
"item.id"
:label=
"item.name"
:value=
"item.
id
"
v-for=
"item in channelList"
></el-option>
:value=
"item.
code
"
v-for=
"item in channelList"
></el-option>
</el-select>
</el-form-item>
<p
class=
"labelItem"
v-if=
"infoForm.channel==
1
"
>
推荐人姓名
<i
class=
"requiredstar"
>
*
</i></p>
<el-form-item
prop=
"name"
v-if=
"infoForm.channel==
1
"
style=
"height: auto !important;"
>
<p
class=
"labelItem"
v-if=
"infoForm.channel==
'C001'
"
>
推荐人姓名
<i
class=
"requiredstar"
>
*
</i></p>
<el-form-item
prop=
"name"
v-if=
"infoForm.channel==
'C001'
"
style=
"height: auto !important;"
>
<vue-select
:options=
"options"
maxHeight=
"200px"
v-model
.
trim=
"infoForm.name"
placeholder=
"请填写推荐人姓名"
></vue-select>
</el-form-item>
<el-form-item>
...
...
@@ -82,11 +82,11 @@
{
id
:
1
,
name
:
"找项目"
}
],
channelList
:[
{
id
:
1
,
name
:
"太库业务人员"
},
{
id
:
2
,
name
:
"同事/好友介绍"
},
{
id
:
3
,
name
:
"网络宣传"
},
{
id
:
4
,
name
:
"线下活动推广"
},
{
id
:
5
,
name
:
"其他"
}
{
id
:
1
,
name
:
"太库业务人员"
,
code
:
"C001"
},
{
id
:
2
,
name
:
"同事/好友介绍"
,
code
:
"C002"
},
{
id
:
3
,
name
:
"网络宣传"
,
code
:
"C003"
},
{
id
:
4
,
name
:
"线下活动推广"
,
code
:
"C004"
},
{
id
:
5
,
name
:
"其他"
,
code
:
"C005"
}
],
flag
:
"1"
,
rules
:
{
...
...
@@ -139,7 +139,8 @@
value
:
"7"
,
city
:
"russia"
}],
disabledFlag
:
0
disabledFlag
:
0
,
flagClassName
:
"china"
,
}
},
methods
:{
...
...
@@ -156,7 +157,6 @@
type
:
that
.
infoForm
.
type
,
email
:
that
.
infoForm
.
email
,
phone
:
that
.
infoForm
.
phone
?
publicFunc
.
getLabelByIdPublic
(
that
.
flag
,
that
.
cities
,
"cityNo"
,
"value"
)
+
that
.
infoForm
.
phone
:
""
,
name
:
that
.
infoForm
.
name
,
refereesId
:
that
.
infoForm
.
refereesId
//推荐人姓名
};
that
.
submitCompleteInfo
(
params
);
...
...
@@ -214,6 +214,7 @@
//切换国旗
handleChange
(
data
){
this
.
flagClassName
=
publicFunc
.
getLabelByIdPublic
(
data
,
this
.
cities
,
"city"
,
"cityNo"
);
},
getNameFunc
(
data
){
...
...
src/views/loginregister/pages/modifyPasswordCmpt.vue
View file @
7d78ef9c
...
...
@@ -89,6 +89,7 @@
},
that
=
this
;
api
.
modifyPassAxios
(
params
).
then
((
res
)
=>
{
if
(
res
.
code
==
0
){
window
.
localStorage
.
setItem
(
"userInfo"
,
this
.
Base64
.
encode
(
JSON
.
stringify
(
res
,
result
)));
that
.
$router
.
replace
(
"/passSuccessCmpt"
);
setTimeout
(
function
(){
that
.
flag
=
0
;
...
...
vue.config.js
View file @
7d78ef9c
...
...
@@ -46,7 +46,7 @@ module.exports = {
open
:
true
,
//配置自动启动浏览器
proxy
:
{
'/'
:
{
target
:
'http://101.201.78.24:8673'
,
target
:
'http://101.201.78.24:8673'
,
// http://172.11.20.75:8673
ws
:
false
,
changeOrigin
:
true
,
pathRewrite
:
{
...
...
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