Commit ba0aee49 authored by zhengke's avatar zhengke

修改

parent c22fd96c
...@@ -8,16 +8,19 @@ ...@@ -8,16 +8,19 @@
</div> </div>
<div class='table-body'> <div class='table-body'>
<el-table :data="tableData" v-loading="loading" border style="width: 100%"> <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"> <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"> <div style="position:relative">
{{scope.row.Bucket}} <img v-if="scope.row.IsDefault==1" :class="{'uploadTencent':scope.row.StoreType==1,'uploadAli':scope.row.StoreType==2}"
<img v-if="scope.row.IsDefault==1" style="position:absolute;left:-10px;top:-58px;width:60px;" src="../../assets/img/userman/select.png"/> src="../../assets/img/userman/select.png"/>
</div> </div>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column prop="Bucket" label="存储位置" width="400">
<el-table-column fixed label="使用中" width="568"> </el-table-column>
<el-table-column label="使用中" width="568">
<template slot-scope="scope"> <template slot-scope="scope">
<div v-if="scope.row.StoreType==1"> <div v-if="scope.row.StoreType==1">
<div>空间名称(Bucket):{{scope.row.Bucket}}</div> <div>空间名称(Bucket):{{scope.row.Bucket}}</div>
...@@ -26,14 +29,14 @@ ...@@ -26,14 +29,14 @@
<div>SecretId:{{scope.row.SecretId}}</div> <div>SecretId:{{scope.row.SecretId}}</div>
<div>SecretKey:{{scope.row.SecretKey}}</div> <div>SecretKey:{{scope.row.SecretKey}}</div>
</div> </div>
<div v-if="scope.row.StoreType==2"> <div v-if="scope.row.StoreType==3">
<div>存储空间名称(Bucket):{{scope.row.Bucket}}</div> <div>存储空间名称(Bucket):{{scope.row.Bucket}}</div>
<div>绑定域名:{{scope.row.Region}}</div> <div>绑定域名:{{scope.row.Region}}</div>
<div>AccessKey(AK):{{scope.row.SecretId}}</div> <div>AccessKey(AK):{{scope.row.SecretId}}</div>
<div>SecretKey(SK):{{scope.row.SecretKey}}</div> <div>SecretKey(SK):{{scope.row.SecretKey}}</div>
<div>图片样式接口:{{scope.row.ImgStyle}}</div> <div>图片样式接口:{{scope.row.ImgStyle}}</div>
</div> </div>
<div v-if="scope.row.StoreType==3"> <div v-if="scope.row.StoreType==2">
<div>空间名称(Bucket):{{scope.row.Bucket}}</div> <div>空间名称(Bucket):{{scope.row.Bucket}}</div>
<div>所属地域:{{scope.row.Region}}</div> <div>所属地域:{{scope.row.Region}}</div>
<div>自定义域名:{{scope.row.CustomDomain}}</div> <div>自定义域名:{{scope.row.CustomDomain}}</div>
...@@ -342,4 +345,16 @@ ...@@ -342,4 +345,16 @@
.uploadSettings .el-table .cell{ .uploadSettings .el-table .cell{
overflow: visible; overflow: visible;
} }
.uploadSettings .uploadTencent{
position:absolute;
left:-10px;
top:-103px;
width:60px;
}
.uploadSettings .uploadAli{
position:absolute;
left:-10px;
top:-86px;
width:60px;
}
</style> </style>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment