From 462782f4b2ce653e84260ca586a58c8627c4ac9c Mon Sep 17 00:00:00 2001 From: Surpriseplus <845948745@qq.com> Date: 星期五, 18 十一月 2022 13:55:22 +0800 Subject: [PATCH] 1 --- src/views/userManage/resourceManage.vue | 31 ++++++++++++++++++------------- 1 files changed, 18 insertions(+), 13 deletions(-) diff --git a/src/views/userManage/resourceManage.vue b/src/views/userManage/resourceManage.vue index e0d833b..8f4e35a 100644 --- a/src/views/userManage/resourceManage.vue +++ b/src/views/userManage/resourceManage.vue @@ -334,7 +334,7 @@ <el-button @click="insertFromDataClose">{{ $t('common.close') }}</el-button> - <el-button type="primary" @click="insertFromData">{{ + <el-button type="primary" style="background: #409eff; border: 1px solid #409eff; color: white" @click="insertFromData">{{ $t('common.confirm') }}</el-button> </div> @@ -434,7 +434,7 @@ <el-button @click="EditFromDataClose" >{{ $t('common.close') }}</el-button> - <el-button @click="EditFromData" type="primary" >{{ + <el-button @click="EditFromData" style="background: #409eff; border: 1px solid #409eff; color: white" >{{ $t('common.confirm') }}</el-button> </div> @@ -444,10 +444,10 @@ <style-dir-tree></style-dir-tree> </div> <div class="btnBox"> - <el-button type="primary" size="small" @click="selectDirCataName">{{ + <el-button style="background: #409eff; border: 1px solid #409eff; color: white" size="small" @click="selectDirCataName">{{ $t('common.confirm') }}</el-button> - <el-button type="primary" size="small" @click="showDirCata = false">{{ + <el-button type="info" size="small" @click="showDirCata = false">{{ $t('common.close') }}</el-button> </div> @@ -457,10 +457,10 @@ <style-dep-tree></style-dep-tree> </div> <div class="btnBox"> - <el-button type="primary" size="small" @click="selectDepCataName">{{ + <el-button style="background: #409eff; border: 1px solid #409eff; color: white" @click="selectDepCataName">{{ $t('common.confirm') }}</el-button> - <el-button type="primary" size="small" @click="showDepCata = false">{{ + <el-button size="small" @click="showDepCata = false">{{ $t('common.close') }}</el-button> </div> @@ -688,14 +688,16 @@ this.showinfoBox = true; var token = getToken(); this.itemdetail = row; + this.itemdetail.createTime = this.formomentTime( this.itemdetail.createTime ); this.itemdetail.updateTime = this.formomentTime( this.itemdetail.updateTime ); - this.itemdetail.imageFile = - BASE_URL + '/res/download?guid=' + row.img + '&token=' + token; + + this.itemdetail.imageFile = BASE_URL + '/res/download?guid=' + row.img + '&token=' + token; + console.log( this.itemdetail.imageFile) }, handleEdit(index, row) { this.EditFormdialog = true; @@ -755,11 +757,9 @@ } this.listData.name = this.ruleForm.name; const data = await select_Res_ByPageAndCount(this.listData); - if (data.code != 200) { this.$message.error('鍒楄〃璋冪敤澶辫触'); } - this.tableData = data.result; this.count = data.count; }, @@ -914,7 +914,7 @@ left: 800px; width: 400px; height: 600px; - background: #f0f2f5; + background: #303030; border: 1px solid #000; .treeBox { height: 550px; @@ -931,17 +931,21 @@ } .infoBox { width: 500px; - border: 1px solid #eee; + position: absolute; z-index: 100; top: 25%; right: 12%; - background-color: #fff; + .el-icon-close{ + color: white; + } + background-color: #303030; .el-card { background-color: transparent; span { font-size: 16px; font-weight: 600; + color: white; } } .contentBox { @@ -951,6 +955,7 @@ p { // background-color: #bfa; // margin-bottom: 10px; + color: white; font-size: 14px; } .boxlabel { -- Gitblit v1.9.3