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
ba0aee49
Commit
ba0aee49
authored
Oct 23, 2020
by
zhengke
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改
parent
c22fd96c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
22 additions
and
7 deletions
+22
-7
uploadSettings.vue
src/components/setup/uploadSettings.vue
+22
-7
No files found.
src/components/setup/uploadSettings.vue
View file @
ba0aee49
...
...
@@ -8,16 +8,19 @@
</div>
<div
class=
'table-body'
>
<el-table
:data=
"tableData"
v-loading=
"loading"
border
style=
"width: 100%"
>
<el-table-column
fixed
prop=
"Bucket"
label=
"存储位置"
width=
"519
"
>
<el-table-column
label=
"类型
"
>
<template
slot-scope=
"scope"
>
<img
v-if=
"scope.row.StoreType==1"
style=
"width:60px;"
src=
"../../assets/img/tcent.jpg"
alt=
""
/>
<img
v-if=
"scope.row.StoreType==2"
style=
"width:115px;"
src=
"../../assets/img/aliyun.png"
alt=
""
>
<div
style=
"position:relative"
>
{{
scope
.
row
.
Bucket
}}
<img
v-if=
"scope.row.IsDefault==1"
style=
"position:absolute;left:-10px;top:-58px;width:60px;"
src=
"../../assets/img/userman/select.png"
/>
<img
v-if=
"scope.row.IsDefault==1"
:class=
"
{'uploadTencent':scope.row.StoreType==1,'uploadAli':scope.row.StoreType==2}"
src="../../assets/img/userman/select.png"/>
</div>
</
template
>
</el-table-column>
<el-table-column
fixed
label=
"使用中"
width=
"568"
>
<el-table-column
prop=
"Bucket"
label=
"存储位置"
width=
"400"
>
</el-table-column>
<el-table-column
label=
"使用中"
width=
"568"
>
<
template
slot-scope=
"scope"
>
<div
v-if=
"scope.row.StoreType==1"
>
<div>
空间名称(Bucket):
{{
scope
.
row
.
Bucket
}}
</div>
...
...
@@ -26,14 +29,14 @@
<div>
SecretId:
{{
scope
.
row
.
SecretId
}}
</div>
<div>
SecretKey:
{{
scope
.
row
.
SecretKey
}}
</div>
</div>
<div
v-if=
"scope.row.StoreType==
2
"
>
<div
v-if=
"scope.row.StoreType==
3
"
>
<div>
存储空间名称(Bucket):
{{
scope
.
row
.
Bucket
}}
</div>
<div>
绑定域名:
{{
scope
.
row
.
Region
}}
</div>
<div>
AccessKey(AK):
{{
scope
.
row
.
SecretId
}}
</div>
<div>
SecretKey(SK):
{{
scope
.
row
.
SecretKey
}}
</div>
<div>
图片样式接口:
{{
scope
.
row
.
ImgStyle
}}
</div>
</div>
<div
v-if=
"scope.row.StoreType==
3
"
>
<div
v-if=
"scope.row.StoreType==
2
"
>
<div>
空间名称(Bucket):
{{
scope
.
row
.
Bucket
}}
</div>
<div>
所属地域:
{{
scope
.
row
.
Region
}}
</div>
<div>
自定义域名:
{{
scope
.
row
.
CustomDomain
}}
</div>
...
...
@@ -342,4 +345,16 @@
.uploadSettings
.el-table
.cell
{
overflow
:
visible
;
}
.uploadSettings
.uploadTencent
{
position
:
absolute
;
left
:
-10px
;
top
:
-103px
;
width
:
60px
;
}
.uploadSettings
.uploadAli
{
position
:
absolute
;
left
:
-10px
;
top
:
-86px
;
width
:
60px
;
}
</
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