Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
E
ElectricitySheep
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
黄媛媛
ElectricitySheep
Commits
ca402b39
Commit
ca402b39
authored
4 years ago
by
zhengke
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改
parent
b1212478
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
67 additions
and
17 deletions
+67
-17
Forgetpassword.vue
src/components/Forgetpassword.vue
+1
-1
Index.vue
src/components/Index.vue
+56
-6
Register.vue
src/components/Register.vue
+10
-10
No files found.
src/components/Forgetpassword.vue
View file @
ca402b39
...
...
@@ -52,7 +52,7 @@
.Forgetpassword
.regisLogin
{
color
:
rgb
(
125
,
125
,
125
);
text-align
:
center
;
margin-top
:
1
5px
;
margin-top
:
6
5px
;
}
.Forgetpassword
.regisMain
{
...
...
This diff is collapsed.
Click to expand it.
src/components/Index.vue
View file @
ca402b39
...
...
@@ -56,7 +56,7 @@
</el-col>
<el-col
class=
"userinfo"
:span=
"12"
>
<p
class=
"title"
>
账号有效期
</p>
<p
class=
"Spannumber"
>
{{
currentUserMsg
.
Account
Status
}}
</p>
<p
class=
"Spannumber"
>
{{
currentUserMsg
.
Account
ValidateStr
}}
</p>
<img
class=
"imgbg"
src=
"../assets/img/end_time.png"
alt=
""
>
</el-col>
</el-row>
...
...
@@ -106,7 +106,7 @@
<el-table-column
prop=
"address"
label=
"操作"
>
<
template
slot-scope=
"scope"
>
<el-button
size=
"mini"
type=
"info"
plain
@
click=
"EditMall(scope.row)"
>
编辑
</el-button>
<el-button
size=
"mini"
type=
"info"
plain
>
版权
</el-button>
<el-button
size=
"mini"
type=
"info"
plain
@
click=
"upCopyRight=true"
>
版权
</el-button>
<el-button
size=
"mini"
type=
"info"
plain
@
click=
"RemmoveMall(scope.row)"
>
禁用
</el-button>
</
template
>
</el-table-column>
...
...
@@ -248,6 +248,38 @@
</span>
</el-dialog>
<!-- 修改版权 -->
<el-dialog
title=
"修改版权"
:visible
.
sync=
"upCopyRight"
width=
"500px"
>
<el-form
:model=
"copyRightMsg"
ref=
"copyRightMsg"
label-width=
"150px"
>
<el-form-item
label=
"底部版权文字"
>
<el-input
type=
"text"
style=
"width:250px"
size=
"small"
maxlength=
"100"
v-model=
"copyRightMsg.Name"
>
</el-input>
</el-form-item>
<el-form-item
label=
"底部版权图标"
>
<div>
<el-tooltip
class=
"item"
effect=
"dark"
content=
"建议尺寸:160*50"
placement=
"top-start"
>
<el-upload
class=
"avatar-uploader"
action=
""
accept=
"image/jpeg,image/gif,image/png,image/bmp"
:show-file-list=
"false"
:http-request=
"UploadImage"
>
<el-button
size=
"small"
>
选择图片
</el-button>
</el-upload>
</el-tooltip>
</div>
<div
class=
"indexApp_image"
>
<img
v-if=
"copyRightMsg.img"
:src=
"copyRightMsg.img"
alt=
""
/>
</div>
</el-form-item>
<el-form-item
label=
"底部版权链接"
>
<el-input
type=
"password"
style=
"width:250px"
size=
"small"
maxlength=
"25"
v-model=
"copyRightMsg.Url"
>
</el-input>
</el-form-item>
</el-form>
<span
slot=
"footer"
class=
"dialog-footer"
>
<el-button
size=
"small"
@
click=
"upCopyRight = false"
>
取 消
</el-button>
<el-button
size=
"small"
type=
"primary"
@
click=
"upPassWord()"
>
确 定
</el-button>
</span>
</el-dialog>
<!-- 创建商城 -->
<el-dialog
title=
"创建商城"
:visible
.
sync=
"createMallDig"
width=
"440px"
>
<el-form
:model=
"creatMallMsg"
:rules=
"creatMallMsgrules"
ref=
"creatMallMsg"
label-width=
"100px"
>
...
...
@@ -378,6 +410,7 @@
val
:
''
,
dialogVisible
:
false
,
upDatePwd
:
false
,
upCopyRight
:
false
,
addMsg
:
{},
qMsg
:
{
pageIndex
:
1
,
...
...
@@ -399,6 +432,12 @@
Password
:
''
,
Password2
:
''
},
//修改版权MSG
copyRightMsg
:{
Name
:
''
,
img
:
''
,
Url
:
''
},
rules
:
{
name
:
[{
required
:
true
,
...
...
@@ -455,9 +494,6 @@
this
.
Info
(
res
.
data
.
message
);
}
})
},
UploadImage
()
{
},
addAdress
()
{
this
.
storageDig
=
true
;
...
...
@@ -623,6 +659,14 @@
this
.
Info
(
res
.
data
.
message
);
}
})
},
//选择图片
UploadImage
(
file
){
this
.
UploadFileToTencent
(
this
.
FileType
().
UserImg
,
file
.
file
,
res
=>
{
if
(
res
.
resultCode
==
1
)
{
this
.
copyRightMsg
.
img
=
res
.
FileUrl
;
}
})
}
},
mounted
()
{
...
...
@@ -806,5 +850,11 @@
display
:
flex
;
justify-content
:
space-between
;
}
.indexApp_image
{
width
:
160px
;
height
:
50px
;
}
.indexApp_image
img
{
width
:
100%
;
height
:
100%
;
}
</
style
>
This diff is collapsed.
Click to expand it.
src/components/Register.vue
View file @
ca402b39
...
...
@@ -52,7 +52,7 @@
.register
.regisLogin
{
color
:
rgb
(
125
,
125
,
125
);
text-align
:
center
;
margin-top
:
1
5px
;
margin-top
:
6
5px
;
}
.register
.regisMain
{
...
...
@@ -262,10 +262,10 @@
:show-file-list=
"false"
:http-request=
"UploadImage"
>
<img
v-if=
"msg2.IDCardPositiveImg"
:src=
"msg2.IDCardPositiveImg"
class=
"avatar"
>
<img
v-else
src=
"../assets/img/id-card.png"
alt=
""
/>
</el-upload>
<button
type=
"button"
class=
"el-button el-button--primary el-button--small is-circle"
>
<i
class=
"el-icon-plus"
></i>
</button>
</el-upload>
</div>
<div>
上传身份证正面
</div>
</div>
...
...
@@ -275,10 +275,10 @@
:show-file-list=
"false"
:http-request=
"UploadImage2"
>
<img
v-if=
"msg2.IDCardReverseImg"
:src=
"msg2.IDCardReverseImg"
class=
"avatar"
>
<img
v-else
src=
"../assets/img/id-card-off.png"
alt=
""
/>
</el-upload>
<button
type=
"button"
class=
"el-button el-button--primary el-button--small is-circle"
>
<i
class=
"el-icon-plus"
></i>
</button>
</el-upload>
</div>
<div>
上传身份证反面
</div>
</div>
...
...
@@ -289,10 +289,10 @@
:show-file-list=
"false"
:http-request=
"UploadImage3"
>
<img
v-if=
"msg2.BusinessLicenseImg"
:src=
"msg2.BusinessLicenseImg"
class=
"avatar"
>
<img
v-else
src=
"../assets/img/business.png"
alt=
""
/>
</el-upload>
<button
type=
"button"
class=
"el-button el-button--primary el-button--small is-circle"
>
<i
class=
"el-icon-plus"
></i>
</button>
</el-upload>
</div>
<div>
上传营业执照
</div>
</div>
...
...
This diff is collapsed.
Click to expand it.
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