Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
H
hls-rljj-wx
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
rl
hls-rljj-wx
Commits
2d651eab
Commit
2d651eab
authored
Jun 20, 2020
by
5359
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
历史注册用户调整
parent
fee526b6
Changes
3
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
1013 additions
and
996 deletions
+1013
-996
companyRegister.vue
src/pages/applications/userRegisters/companyRegister.vue
+746
-737
personalRegister.vue
src/pages/applications/userRegisters/personalRegister.vue
+16
-13
userRegister.vue
src/pages/applications/userRegisters/userRegister.vue
+251
-246
No files found.
src/pages/applications/userRegisters/companyRegister.vue
View file @
2d651eab
This diff is collapsed.
Click to expand it.
src/pages/applications/userRegisters/personalRegister.vue
View file @
2d651eab
...
...
@@ -492,6 +492,8 @@
if
(
res
.
rows
)
{
if
(
res
.
rows
.
length
>
0
)
{
var
data
=
res
.
rows
[
0
];
var
historyFlag
=
data
.
historyFlag
;
if
(
historyFlag
==
'N'
){
vm
.
cardUp
=
process
.
env
.
rootPath
+
"/app/fileViewSvc?attachment_id="
+
...
...
@@ -507,6 +509,7 @@
vm
.
showStatus
=
"1"
;
}
}
}
});
}
},
...
...
src/pages/applications/userRegisters/userRegister.vue
View file @
2d651eab
...
...
@@ -8,19 +8,19 @@
:class=
"['item-entry',
{'add-bg-color':isClick1}]"
@click="goPersonalPage()"
>
<img
src=
"../../../assets/userRegister/people.png"
v-show=
"isHighLight"
/>
<img
src=
"../../../assets/userRegister/people-light.png"
v-show=
"!isHighLight"
/>
<img
src=
"../../../assets/userRegister/people.png"
v-show=
"isHighLight"
/>
<img
src=
"../../../assets/userRegister/people-light.png"
v-show=
"!isHighLight"
/>
<span
class=
"text-entry"
>
个人
</span>
</div>
<div
:class=
"['item-entry',
{'add-bg-color':isClick2}]" @click="goCompanyPage()">
<img
src=
"../../../assets/userRegister/company.png"
v-show=
"isHighLight1"
/>
<img
src=
"../../../assets/userRegister/company-light.png"
v-show=
"!isHighLight1"
/>
<img
src=
"../../../assets/userRegister/company.png"
v-show=
"isHighLight1"
/>
<img
src=
"../../../assets/userRegister/company-light.png"
v-show=
"!isHighLight1"
/>
<span
class=
"text-entry"
>
企业
</span>
</div>
</div>
<div
class=
"tips"
>
<p
class=
"tips-item"
>
<img
src=
"../../../assets/userRegister/tips.png"
alt
/>
<img
src=
"../../../assets/userRegister/tips.png"
alt
/>
<span>
温馨提示:
</span>
</p>
<p
class=
"tips-item"
>
您可选择用户类型进行用户信息注册及实名认证。
</p>
...
...
@@ -32,8 +32,9 @@
</
template
>
<
script
>
import
{
getUrlParam
}
from
"@/scripts/utils"
;
export
default
{
import
{
getUrlParam
}
from
"@/scripts/utils"
;
export
default
{
data
()
{
return
{
isClick1
:
false
,
...
...
@@ -48,7 +49,7 @@ export default {
};
},
components
:
{},
activated
:
function
()
{
activated
:
function
()
{
// console.log(1111111111111111111111)
// if (window.localStorage.openId) {
// this.getUserInfo('1111');
...
...
@@ -60,7 +61,8 @@ export default {
this
.
getUserInfo
();
}
},
updated
:
function
()
{},
updated
:
function
()
{
},
methods
:
{
// 获取token
// getToken() {
...
...
@@ -174,12 +176,14 @@ export default {
"/sign/info/hclc/query/by/openid?openId="
+
window
.
localStorage
.
openId
;
vm
.
hlsPopup
.
showLoading
(
"请稍等"
);
vm
.
$post
(
url
).
then
(
function
(
res
)
{
vm
.
$post
(
url
).
then
(
function
(
res
)
{
vm
.
hlsPopup
.
hideLoading
();
if
(
res
.
rows
)
{
if
(
res
.
rows
.
length
>
0
)
{
console
.
log
(
res
.
rows
);
var
results
=
res
.
rows
[
0
];
var
historyFlag
=
data
.
historyFlag
;
if
(
historyFlag
==
'N'
)
{
vm
.
ctitype
=
results
.
ctitype
;
if
(
results
.
ctitype
==
1
)
{
vm
.
userInfo
=
results
;
...
...
@@ -199,6 +203,7 @@ export default {
}
}
}
}
});
},
// 调用微信接口的基础配置
...
...
@@ -223,7 +228,7 @@ export default {
apiKey
:
"handexinxi"
,
url
:
clientUrl
};
hlsHttp
.
post
(
url
,
param
).
then
(
function
(
res
)
{
hlsHttp
.
post
(
url
,
param
).
then
(
function
(
res
)
{
wx
.
config
({
beta
:
true
,
debug
:
false
,
// 开启调试模式,调用的所有api的返回值会在客户端alert出来,若要查看传入的参数,可以在pc端打开,参数信息会通过log打出,仅在pc端时才会打印。
...
...
@@ -240,18 +245,18 @@ export default {
"hideOptionMenu"
]
// 必填,需要使用的JS接口列表,所有JS接口列表见附录2
});
wx
.
ready
(
function
()
{
wx
.
ready
(
function
()
{
wx
.
hideOptionMenu
();
});
});
}
}
};
};
</
script
>
<
style
lang=
"less"
type=
"text/less"
>
@import "../../../styles/vue-1px.less";
@import "../../../styles/vue-1px.less";
.userRegister {
.userRegister {
.reg-content {
padding: 20px;
padding-top: 150px;
...
...
@@ -294,23 +299,23 @@ export default {
}
}
}
}
}
// iPhoneX适配
@media (device-width: 375px) and (device-height: 812px) and (-webkit-min-device-pixel-ratio: 3) {
// iPhoneX适配
@media (device-width: 375px) and (device-height: 812px) and (-webkit-min-device-pixel-ratio: 3) {
.platform-ios {
#home {
}
}
}
}
// iPhoneX Max适配
@media (device-width: 414px) and (device-height: 896px) {
// iPhoneX Max适配
@media (device-width: 414px) and (device-height: 896px) {
.platform-ios {
.platform-ios {
#home {
}
}
}
}
}
</
style
>
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