路由-样式修改

prod
吕天方 9 months ago
parent 7620456586
commit 632d12efa7

@ -5,7 +5,7 @@ VUE_APP_TITLE = 金鸡湖现代服务业品牌管理系统
ENV = 'development'
# 金鸡湖现代服务业品牌管理系统/开发环境
VUE_APP_BASE_API = 'http://192.168.0.107:9040'
VUE_APP_BASE_API = 'http://192.168.0.109:9040'
# VUE_APP_BASE_API = 'http://39.101.188.84:9040'
# 路由懒加载

@ -505,13 +505,13 @@
<!-- 场景开放模版 -->
<div v-if="templateId == 6" class="form_item"></div>
<el-upload
class="upload-demo"
:show-file-list="false"
action=""
accept=".xlsx,.XLSX,.XSL,.doc,.xls,.ppt,.pdf,.png,.jpg,.jpeg,.rar,.zip,.docx"
:http-request="handleFileUpload"
:file-list="fileList"
:on-remove="handleRemove">
class="upload-demo"
:show-file-list="false"
action=""
accept=".xlsx,.XLSX,.XSL,.doc,.xls,.ppt,.pdf,.png,.jpg,.jpeg,.rar,.zip,.docx"
:http-request="handleFileUpload"
:file-list="fileList"
:on-remove="handleRemove">
<el-button slot="trigger" size="small" type="primary">上传文件</el-button>
<div slot="tip" class="el-upload__tip">请上传格式为<span style="color: red;">doc/xls/ppt/pdf/png/jpg/jpeg/rar/zip/docx/xlsx</span>的文件</div>
</el-upload>
@ -1132,6 +1132,11 @@
</el-row>
</div>
</el-form>
<div class="operate_btn">
<el-button @click="goBack"></el-button>
<el-button @click="submitForm" >暂存</el-button>
<el-button type="success" @click="submitForm" class="btn">提交</el-button>
</div>
</div>
<div class="right_content">
<div class="left_main">
@ -1159,11 +1164,11 @@
</div>
</div>
</div>
<div class="operate_btn">
<!-- <div class="operate_btn">
<el-button @click="goBack"></el-button>
<el-button @click="submitForm" >暂存</el-button>
<el-button type="success" @click="submitForm" class="btn">提交</el-button>
</div>
</div> -->
</div>
</template>
@ -1792,8 +1797,13 @@ export default {
form.append('file', file)
uploadFile(form).then(response => {
// this.fileList = []
// console.log(response,"response");
// console.log(file,"file");
this.fileList.push(file)
this.uploadList.push(response.data)
let data = {};
data.name = response.originalFilename;
data.url = response.url;
this.uploadList.push(data)
this.form.fileList = this.fileList
console.log('this.fileList: ', this.fileList);
})
@ -2122,6 +2132,7 @@ list-style: none; /* 清除列表项前的标记 */
.operate_btn {
text-align: center;
background-color: #fff;
padding-bottom: 20px;
}
.form {
@ -2172,19 +2183,19 @@ list-style: none; /* 清除列表项前的标记 */
color: #000;
}
/* 悬浮 */
::v-deep .el-button:hover {
/* background: linear-gradient(#0165eb, #018ff2, #00b7f9) !important; */
background: linear-gradient(100deg, #f1d78c, #f1c19d) !important;
font-weight: bold;
color: #606266;
}
// ::v-deep .el-button:hover {
// /* background: linear-gradient(#0165eb, #018ff2, #00b7f9) !important; */
// background: linear-gradient(100deg, #f1d78c, #f1c19d) !important;
// font-weight: bold;
// color: #606266;
// }
/*按钮点击*/
::v-deep .el-button:focus {
background: linear-gradient(100deg, #f1d78c, #f1c19d) !important;
/* background: linear-gradient(#0165eb, #018ff2, #00b7f9) !important; */
font-weight: bold;
color: #606266;
}
// ::v-deep .el-button:focus {
// background: linear-gradient(100deg, #f1d78c, #f1c19d) !important;
// /* background: linear-gradient(#0165eb, #018ff2, #00b7f9) !important; */
// font-weight: bold;
// color: #606266;
// }
.form_item {
position: absolute;
width: 300px;

@ -1578,6 +1578,12 @@
</div>
</div>
</el-form>
<div class="operate_btn">
<el-button @click="goBack"></el-button>
<el-button v-if="pageType == 'edit'" @click="submitForm"></el-button>
<el-button v-if="pageType == 'edit'" type="success" @click="submitForm"></el-button>
<el-button v-if="pageType == 'detail'" @click="printOutpdf" class="btn"></el-button>
</div>
</div>
<div class="right_content">
<div class="left_title">
@ -1654,12 +1660,12 @@
</div>
</div>
</div>
<div class="operate_btn">
<!-- <div class="operate_btn">
<el-button @click="goBack"></el-button>
<el-button v-if="pageType == 'edit'" @click="submitForm"></el-button>
<el-button v-if="pageType == 'edit'" type="success" @click="submitForm"></el-button>
<el-button v-if="pageType == 'detail'" @click="printOutpdf" class="btn"></el-button>
</div>
</div> -->
</div>
</template>
@ -3100,6 +3106,7 @@ list-style: none; /* 清除列表项前的标记 */
.operate_btn {
text-align: center;
background-color: #fff;
padding-bottom: 20px;
}
.form {

@ -1144,6 +1144,9 @@
</el-row>
</div>
</el-form>
<div class="operate_btn">
<el-button type="success" @click="submitForm" class="btn">提交</el-button>
</div>
</div>
<div class="right_content">
<div class="left_main">
@ -2176,6 +2179,7 @@ list-style: none; /* 清除列表项前的标记 */
.operate_btn {
text-align: center;
background-color: #fff;
padding-bottom: 20px;
}
.form {

Loading…
Cancel
Save