From 090bce038b881a55f6453f49a8ae93c5697cf718 Mon Sep 17 00:00:00 2001
From: feige <feige@qq.com>
Date: 星期日, 19 十一月 2023 18:39:02 +0800
Subject: [PATCH] 魅宠图像
---
ruoyi-ui/src/views/selfeconomy/selfeconomyInfo.vue | 4
ruoyi-ui/src/views/collection/collectionInfo.vue | 4
ruoyi-ui/src/views/self/memoInfo.vue | 2
ruoyi-ui/src/views/contacts/index.vue | 2
ruoyi-ui/src/views/bignote/familyeventInfo.vue | 8 +
ruoyi-ui/src/views/doctor/doctorInfo.vue | 4
ruoyi-ui/src/views/clean/cleanInfo.vue | 8
ruoyi-ui/src/views/contacts/contactsInfo.vue | 6
ruoyi-ui/src/views/self/edit.vue | 4
ruoyi-ui/src/views/pet/noteInfo.vue | 2
ruoyi-ui/src/views/genealogy/index.vue | 2
ruoyi-ui/src/views/pet/petInfo.vue | 138 +++++++++++++++++++++-----
ruoyi-ui/src/views/healthy/healthyInfo.vue | 6
ruoyi-ui/src/views/honor/honorInfo.vue | 6
ruoyi-ui/src/views/travel/travelInfo.vue | 4
ruoyi-ui/src/views/economy/economyInfo.vue | 6
ruoyi-ui/src/views/bignote/index.vue | 2
ruoyi-ui/src/views/secret/secretInfo.vue | 6
ruoyi-ui/src/views/collection/index.vue | 2
ruoyi-ui/src/views/wish/wishInfo.vue | 4
ruoyi-ui/src/views/device/equipmentInfo.vue | 6
ruoyi-ui/src/views/note/propertyInfo.vue | 35 +++---
ruoyi-ui/src/views/clean/index.vue | 2
ruoyi-ui/src/views/healthy/ExaminationInfo.vue | 6
ruoyi-ui/src/views/note/index.vue | 2
25 files changed, 177 insertions(+), 94 deletions(-)
diff --git a/ruoyi-ui/src/views/bignote/familyeventInfo.vue b/ruoyi-ui/src/views/bignote/familyeventInfo.vue
index 73eb76f..8063655 100644
--- a/ruoyi-ui/src/views/bignote/familyeventInfo.vue
+++ b/ruoyi-ui/src/views/bignote/familyeventInfo.vue
@@ -155,7 +155,7 @@
</el-form>
<el-dialog :visible.sync="dialogVisible">
- <img w-full :src="dialogImageUrl" style="width: 700px; height: 700px" alt="Preview Image" />
+ <img w-full :src="dialogImageUrl" style="width: 100%; height: 100%" alt="Preview Image" />
</el-dialog>
</div>
</template>
@@ -245,7 +245,7 @@
this.$route.meta.title = "瀹跺ぇ浜嬭璇︾粏淇℃伅";//鍒楄〃鐨勫悕绉�
this.btn = false;
this.isShow=false
- alert(this.btn)
+ // alert(this.btn)
}
let _this = this
@@ -291,9 +291,11 @@
console.log(this.formData)
if (valid) {
if (this.formData.id != undefined) {
+ // alert(234)
updateFamilyevent(this.formData).then(response => {
this.$modal.msgSuccess("淇敼鎴愬姛");
// this.open = false;
+ // alert(98)
this.btn=false
});
} else {
@@ -493,7 +495,7 @@
display: block;
}
-.hide .el-upload--picture-card {
+.hide /deep/ .el-upload--picture-card {
display: none;
}
.pt{
diff --git a/ruoyi-ui/src/views/bignote/index.vue b/ruoyi-ui/src/views/bignote/index.vue
index 0a09509..226ca48 100644
--- a/ruoyi-ui/src/views/bignote/index.vue
+++ b/ruoyi-ui/src/views/bignote/index.vue
@@ -724,7 +724,7 @@
}
};
</script>
-<style>
+<style scoped="">
.el-table__row.statistics-warning-row {
background: #E0EEFE;
diff --git a/ruoyi-ui/src/views/clean/cleanInfo.vue b/ruoyi-ui/src/views/clean/cleanInfo.vue
index 3da5c5f..2ceabbe 100644
--- a/ruoyi-ui/src/views/clean/cleanInfo.vue
+++ b/ruoyi-ui/src/views/clean/cleanInfo.vue
@@ -72,7 +72,7 @@
class="el-upload-list__item-thumbnail"
:src="file.url"
alt=""
- style="width: 100%; height: 100%; object-fit: cover;"
+ style="width: 147px; height: 147px; object-fit: cover;"
fit="cover"
:preview-src-list="[file.url]"
>
@@ -134,7 +134,7 @@
class="el-upload-list__item-thumbnail"
src="../../assets/401_images/401.gif"
alt=""
- style="width: 100%; height: 100%"
+ style="width: 147px; height: 147px"
fit="cover">
<span class="el-upload-list__item-actions">
@@ -528,7 +528,7 @@
}
</script>
-<style scoped lang="scss">
+<style scoped>
.mt
{
position: relative;
@@ -543,7 +543,7 @@
display: block;
position: absolute;
}
-.hide .el-upload--picture-card {
+.hide /deep/ .el-upload--picture-card {
display: none;
}
.form{
diff --git a/ruoyi-ui/src/views/clean/index.vue b/ruoyi-ui/src/views/clean/index.vue
index 2852fe3..3d86bc6 100644
--- a/ruoyi-ui/src/views/clean/index.vue
+++ b/ruoyi-ui/src/views/clean/index.vue
@@ -738,7 +738,7 @@
}
};
</script>
- <style>
+<style scoped>
.el-table__row.statistics-warning-row {
background: #E0EEFE;
diff --git a/ruoyi-ui/src/views/collection/collectionInfo.vue b/ruoyi-ui/src/views/collection/collectionInfo.vue
index 0a2d36b..aa0e416 100644
--- a/ruoyi-ui/src/views/collection/collectionInfo.vue
+++ b/ruoyi-ui/src/views/collection/collectionInfo.vue
@@ -158,7 +158,7 @@
class="el-upload-list__item-thumbnail"
src="../../assets/401_images/401.gif"
alt=""
- style="width: 100%; height: 100%"
+ style="width: 147px; height: 147px"
fit="cover">
<span class="el-upload-list__item-actions">
@@ -605,7 +605,7 @@
display: block;
position: absolute;
}
-.hide .el-upload--picture-card {
+.hide /deep/ .el-upload--picture-card {
display: none;
}
.form{
diff --git a/ruoyi-ui/src/views/collection/index.vue b/ruoyi-ui/src/views/collection/index.vue
index f25e43e..a2188af 100644
--- a/ruoyi-ui/src/views/collection/index.vue
+++ b/ruoyi-ui/src/views/collection/index.vue
@@ -859,7 +859,7 @@
}
};
</script>
-<style>
+<style scoped>
.app-container{
background-color: #FEF7FC;
}
diff --git a/ruoyi-ui/src/views/contacts/contactsInfo.vue b/ruoyi-ui/src/views/contacts/contactsInfo.vue
index fdef2ce..5df5f6b 100644
--- a/ruoyi-ui/src/views/contacts/contactsInfo.vue
+++ b/ruoyi-ui/src/views/contacts/contactsInfo.vue
@@ -95,7 +95,7 @@
class="el-upload-list__item-thumbnail"
:src="file.url"
alt=""
- style="width: 100%; height: 100%; object-fit: cover;"
+ style="width: 147px; height: 147px; object-fit: cover;"
fit="cover"
:preview-src-list="[file.url]"
>
@@ -156,7 +156,7 @@
class="el-upload-list__item-thumbnail"
src="../../assets/401_images/401.gif"
alt=""
- style="width: 100%; height: 100%"
+ style="width: 147px; height: 147px"
fit="cover">
<span class="el-upload-list__item-actions">
@@ -541,7 +541,7 @@
display: block;
position: absolute;
}
-.hide .el-upload--picture-card {
+.hide /deep/ .el-upload--picture-card {
display: none;
}
.form{
diff --git a/ruoyi-ui/src/views/contacts/index.vue b/ruoyi-ui/src/views/contacts/index.vue
index fb4a268..fe9ea72 100644
--- a/ruoyi-ui/src/views/contacts/index.vue
+++ b/ruoyi-ui/src/views/contacts/index.vue
@@ -801,7 +801,7 @@
};
</script>
-<style >
+<style scoped>
.app-container{
background-color: #FEF7FC;
}
diff --git a/ruoyi-ui/src/views/device/equipmentInfo.vue b/ruoyi-ui/src/views/device/equipmentInfo.vue
index 4f102bf..0ea9816 100644
--- a/ruoyi-ui/src/views/device/equipmentInfo.vue
+++ b/ruoyi-ui/src/views/device/equipmentInfo.vue
@@ -134,7 +134,7 @@
class="el-upload-list__item-thumbnail"
src="../../assets/401_images/401.gif"
alt=""
- style="width: 100%; height: 100%"
+ style="width: 147px; height: 147px"
fit="cover">
<span class="el-upload-list__item-actions">
@@ -452,7 +452,7 @@
}
</script>
-<style>
+<style scoped>
.mt
{
position: relative;
@@ -461,7 +461,7 @@
display: block;
}
-.hide .el-upload--picture-card {
+.hide /deep/ .el-upload--picture-card {
display: none;
}
.form{
diff --git a/ruoyi-ui/src/views/doctor/doctorInfo.vue b/ruoyi-ui/src/views/doctor/doctorInfo.vue
index 0198d4c..92e5df0 100644
--- a/ruoyi-ui/src/views/doctor/doctorInfo.vue
+++ b/ruoyi-ui/src/views/doctor/doctorInfo.vue
@@ -160,7 +160,7 @@
class="el-upload-list__item-thumbnail"
src="../../assets/401_images/401.gif"
alt=""
- style="width: 100%; height: 100%"
+ style="width: 147px; height: 147px"
fit="cover">
<span class="el-upload-list__item-actions">
@@ -586,7 +586,7 @@
display: block;
position: absolute;
}
-.hide .el-upload--picture-card {
+.hide /deep/ .el-upload--picture-card {
display: none;
}
.form{
diff --git a/ruoyi-ui/src/views/economy/economyInfo.vue b/ruoyi-ui/src/views/economy/economyInfo.vue
index 751fd63..f8f6d3f 100644
--- a/ruoyi-ui/src/views/economy/economyInfo.vue
+++ b/ruoyi-ui/src/views/economy/economyInfo.vue
@@ -126,7 +126,7 @@
class="el-upload-list__item-thumbnail"
src="../../assets/401_images/401.gif"
alt=""
- style="width: 100%; height: 100%"
+ style="width: 147px; height: 147px"
fit="cover">
<span class="el-upload-list__item-actions">
@@ -440,7 +440,7 @@
}
</script>
-<style scoped lang="scss">
+<style scoped>
.mt
{
position: relative;
@@ -455,7 +455,7 @@
display: block;
position: absolute;
}
-.hide .el-upload--picture-card {
+.hide /deep/ .el-upload--picture-card {
display: none;
}
.form{
diff --git a/ruoyi-ui/src/views/genealogy/index.vue b/ruoyi-ui/src/views/genealogy/index.vue
index 472a3b0..d9e8387 100644
--- a/ruoyi-ui/src/views/genealogy/index.vue
+++ b/ruoyi-ui/src/views/genealogy/index.vue
@@ -504,7 +504,7 @@
};
</script>
-<style >
+<style scoped>
.app-container{
background-color: #FEF7FC;
}
diff --git a/ruoyi-ui/src/views/healthy/ExaminationInfo.vue b/ruoyi-ui/src/views/healthy/ExaminationInfo.vue
index 2bcc991..98c8246 100644
--- a/ruoyi-ui/src/views/healthy/ExaminationInfo.vue
+++ b/ruoyi-ui/src/views/healthy/ExaminationInfo.vue
@@ -102,7 +102,7 @@
class="el-upload-list__item-thumbnail"
src="../../assets/401_images/401.gif"
alt=""
- style="width: 100%; height: 100%"
+ style="width: 147px; height: 147px"
fit="cover">
<span class="el-upload-list__item-actions">
@@ -401,7 +401,7 @@
}
</script>
-<style scoped lang="scss">
+<style scoped>
.mt
{
position: relative;
@@ -416,7 +416,7 @@
display: block;
position: absolute;
}
-.hide .el-upload--picture-card {
+.hide /deep/ .el-upload--picture-card {
display: none;
}
.form{
diff --git a/ruoyi-ui/src/views/healthy/healthyInfo.vue b/ruoyi-ui/src/views/healthy/healthyInfo.vue
index d0ed905..155e626 100644
--- a/ruoyi-ui/src/views/healthy/healthyInfo.vue
+++ b/ruoyi-ui/src/views/healthy/healthyInfo.vue
@@ -120,7 +120,7 @@
class="el-upload-list__item-thumbnail"
src="../../assets/401_images/401.gif"
alt=""
- style="width: 100%; height: 100%"
+ style="width: 147px; height: 147px"
fit="cover">
<span class="el-upload-list__item-actions">
@@ -429,7 +429,7 @@
}
</script>
-<style scoped lang="scss">
+<style scoped>
.mt
{
position: relative;
@@ -444,7 +444,7 @@
display: block;
position: absolute;
}
-.hide .el-upload--picture-card {
+.hide /deep/ .el-upload--picture-card {
display: none;
}
.form{
diff --git a/ruoyi-ui/src/views/honor/honorInfo.vue b/ruoyi-ui/src/views/honor/honorInfo.vue
index 9c47e4d..79d5644 100644
--- a/ruoyi-ui/src/views/honor/honorInfo.vue
+++ b/ruoyi-ui/src/views/honor/honorInfo.vue
@@ -104,7 +104,7 @@
class="el-upload-list__item-thumbnail"
:src="file.url"
alt=""
- style="width: 100%; height: 100%; object-fit: cover;"
+ style="width: 147px; height: 147px; object-fit: cover;"
fit="cover"
:preview-src-list="[file.url]"
>
@@ -163,7 +163,7 @@
class="el-upload-list__item-thumbnail"
src="../../assets/401_images/401.gif"
alt=""
- style="width: 100%; height: 100%"
+ style="width: 147px; height: 147px"
fit="cover">
<span class="el-upload-list__item-actions">
@@ -655,7 +655,7 @@
display: block;
position: absolute;
}
-.hide .el-upload--picture-card {
+.hide /deep/ .el-upload--picture-card {
display: none;
}
.form{
diff --git a/ruoyi-ui/src/views/note/index.vue b/ruoyi-ui/src/views/note/index.vue
index 2966c9e..682b7b3 100644
--- a/ruoyi-ui/src/views/note/index.vue
+++ b/ruoyi-ui/src/views/note/index.vue
@@ -711,7 +711,7 @@
};
</script>
-<style>
+<style scoped="">
.el-table__row.statistics-warning-row {
background: #E0EEFE;
diff --git a/ruoyi-ui/src/views/note/propertyInfo.vue b/ruoyi-ui/src/views/note/propertyInfo.vue
index ddf9d41..87369b8 100644
--- a/ruoyi-ui/src/views/note/propertyInfo.vue
+++ b/ruoyi-ui/src/views/note/propertyInfo.vue
@@ -18,7 +18,7 @@
</h1>
</div>
- <el-form ref="elForm" :model="formData" :rules="rules" size="medium" label-width="100px">
+ <el-form ref="elForm" :model="formData" :rules="rules" size="medium" label-width="100px">
<el-form-item label="绫诲瀷" prop="type">
<el-select v-model="formData.type" placeholder="璇烽�夋嫨绫诲埆" clearable :style="{width: '100%'}" :disabled="dsb" >
@@ -55,13 +55,14 @@
<h4 class="form-header">鐩稿叧鍥剧墖 </h4>
<el-upload
+
action="#"
list-type="picture-card"
multiple
:http-request="requestUpload"
:file-list="fileList"
:disabled="!btn"
- :class="{ hide: !btn }"
+ :class="{hide:!btn}"
>
<div v-if="uploading" class="upload-status">姝e湪涓婁紶...</div>
<i v-if="!uploading" slot="default" class="el-icon-plus"></i>
@@ -106,15 +107,16 @@
<el-upload
action=""
:file-list="fileListOther"
- class="upload-demo"
+
multiple
list-type="picture-card"
:on-preview="handleFileCardPreview"
:on-remove="handleRemoveFile"
:http-request="requestUpload"
- :show-file-list="true"
- :disabled="!btn"
- :class="{ hide: !btn }"
+ :disabled="!btn"
+ :class="{hide:!btn}"
+
+
>
<div v-if="uploading" class="upload-status">姝e湪涓婁紶...</div>
<i v-if="!uploading" slot="default" class="el-icon-plus"></i>
@@ -131,7 +133,7 @@
class="el-upload-list__item-thumbnail"
:src="file.url"
alt=""
- style="width: 100%; height: 100%"
+ style="width: 147px; height: 147px"
>
<span class="el-upload-list__item-actions">
@@ -260,7 +262,7 @@
document.title = "瀹跺涵璧勪骇璇︾粏淇℃伅";
this.$route.meta.title = "瀹跺涵璧勪骇璇︾粏淇℃伅";//鍒楄〃鐨勫悕绉�
this.btn = false;
- alert(this.btn)
+ // alert(this.btn)
this.isShow=false
}
@@ -430,25 +432,22 @@
}
</script>
-<style>
+<style scoped>
.mt
{
position: relative;
}
.dt{
- display: block;
+ /* display: block; */
}
-.hide .el-upload--picture-card {
- display: none;
+
+.hide /deep/ .el-upload--picture-card {
+
+ display: none;
}
.form{
background:center/11% no-repeat url('../../assets/icons/form.png') ;
}
-.pt{
- right: 10px;
- top:-3px;
- display: block;
- position: absolute;
-}
+
</style>
diff --git a/ruoyi-ui/src/views/pet/noteInfo.vue b/ruoyi-ui/src/views/pet/noteInfo.vue
index 3e98271..47102e2 100644
--- a/ruoyi-ui/src/views/pet/noteInfo.vue
+++ b/ruoyi-ui/src/views/pet/noteInfo.vue
@@ -100,7 +100,7 @@
class="el-upload-list__item-thumbnail"
src="../../assets/401_images/401.gif"
alt=""
- style="width: 100%; height: 100%"
+ style="width: 147px; height: 147px"
fit="cover">
<span class="el-upload-list__item-actions">
diff --git a/ruoyi-ui/src/views/pet/petInfo.vue b/ruoyi-ui/src/views/pet/petInfo.vue
index 4b1ca0a..0cb0c76 100644
--- a/ruoyi-ui/src/views/pet/petInfo.vue
+++ b/ruoyi-ui/src/views/pet/petInfo.vue
@@ -139,15 +139,34 @@
<el-col :span="6" :data="petList">
<div class="block" :model="petList" >
<el-col v-model="petList.headPicture" prop="headPicture">
- <el-avatar shape="square" :size=200 >
+ <!-- <el-avatar shape="square" :size=200 >
<el-image
- :src="'http://47.93.189.255:8080/'+ petList.headPicture"
+ :src="'https://www.bendudu.com:8080/'+ petList.headPicture"
:fit="fit" style="width: 100%;height: 100%;border-radius: 0px 0px 0px 0px;opacity: 1;border: 1px solid rgba(0,0,0,0.5);"
></el-image>
- </el-avatar>
+ </el-avatar> -->
+ <el-upload ref="upload1"
+ action=""
+ :file-list="fileListOther"
+ list-type="picture-card"
+ accept="image/*"
+ :multiple="false"
+ :http-request="requestUpload1"
+ :on-success="handleSucess"
+ :limit="1">
+
+ <el-avatar shape="square" style="width: 200px;;height: 200px;" >
+ <el-image
+ :src="'https://www.bendudu.com:8080/'+ petList.headPicture"
+ :fit="fit" style="width: 100%;height: 100%;border-radius: 0px 0px 0px 0px;opacity: 1;border: 1px solid rgba(0,0,0,0.5);"
+ ></el-image>
+
+
+ </el-avatar>
+ </el-upload>
</el-col>
</div>
- <el-button v-if="isShow" type="primary" @click="submitForm" :disabled="dsb">淇敼榄呭疇淇℃伅</el-button>
+<!-- <el-button v-if="isShow" type="primary" @click="submitForm" :disabled="dsb">淇敼榄呭疇淇℃伅</el-button> -->
</el-col>
</div>
</el-container>
@@ -212,19 +231,33 @@
<el-col :span="6" :data="petList">
<div class="block" :model="petList" >
<el-col v-model="petList.fullPicture" prop="fullPicture">
- <el-avatar shape="square" style="width: 1000px;;height: 500px;" >
- <el-image
- :src="'http://47.93.189.255:8080/'+ petList.fullPicture"
- :fit="fit" style="width: 100%;height: 100%;border-radius: 0px 0px 0px 0px;opacity: 1;border: 1px solid rgba(0,0,0,0.5);"
- ></el-image>
- <el-upload class="upload-demo" action="/uploadImage" :on-success="handleUploadSuccess">
- <el-button slot="trigger">鐐瑰嚮涓婁紶鏂板浘鐗�</el-button>
+
+ <el-upload ref="upload"
+ action=""
+ :file-list="fileList"
+ list-type="picture-card"
+ accept="image/*"
+ :multiple="false"
+ :http-request="requestUpload"
+ :on-success="handleSucess"
+ :limit="1">
+
+ <el-avatar shape="square" style="width: 1000px;;height: 500px;" >
+ <el-image
+ :src="'https://www.bendudu.com:8080/'+ petList.fullPicture"
+ :fit="fit" style="width: 100%;height: 100%;border-radius: 0px 0px 0px 0px;opacity: 1;border: 1px solid rgba(0,0,0,0.5);"
+ ></el-image>
+
+
+ </el-avatar>
</el-upload>
- </el-avatar>
+
+
+
</el-col>
</div>
- <el-button>淇敼</el-button>
+
</el-col>
</div>
@@ -416,6 +449,7 @@
dialogImageUrl: '',
dialogVisible: false,
disabled: false,
+ btn: false,
// 琛ㄥ崟鏍¢獙
rules: {
animal: [{
@@ -536,6 +570,7 @@
getPetList(id).then((response) => {
this.petList = response.data;
console.log(this.petList)
+ alert(this.petList.headPicture)
this.loading = false;
});
// getPetowner(id).then((response) => {
@@ -561,26 +596,13 @@
// alert(123)
// console.log(response.data)
this.PetNoteList = response.data.data;
+
this.total = response.data.total;
this.loading = false;
}
);
},
- requestUpload(params)
- {
- var file = params.file;
- var formData = new FormData();
- formData.append('uploadFile', file);
- let _this = this
-
- uploadPic(formData).then(response => {
- let pth = response.data.originalFilename.substr(response.data.originalFilename.length-4, response.data.originalFilename.length)
- _this.fileList1.push({name:response.data.fileName, url:response.data.url})
- console("ok")
- })
-
- },
requestUpload2(params)
{
var file = params.file;
@@ -708,13 +730,71 @@
this.dsb = false
this.btn = true
},
+ handleSucess()
+ {
+ // alert(15)
+ this.$refs.upload.clearFiles();
+ },
+ requestUpload(params)
+ {
+ var file = params.file;
+ var formData = new FormData();
+ formData.append('uploadFile', file);
+ let _this = this
+ this.$refs.upload.clearFiles();
+ // this.uploading1 = true;
+ //alert(100)
+ uploadPic(formData).then(response => {
+ // alert(18)
+ // let pth = response.data.originalFilename.substr(response.data.originalFilename.length-4, response.data.originalFilename.length)
+ // _this.fileList1.push({name:response.data.fileName, url:response.data.url})
+ // console("ok")
+ // alert(90)
+ // alert(response.data.url)
+ _this.petList.fullPicture = response.data.url.replace(process.env.VUE_APP_BASE_TRUE_API,"")
+ updatePet(_this.petList).then(response => {
+ _this.$modal.msgSuccess("鍥惧儚淇敼鎴愬姛");
+ // this.open = false;
+ _this.btn=false
+ });
+ // alert(100)
+ })
+ //alert(90)
+ },
+requestUpload1(params)
+ {
+ var file = params.file;
+ var formData = new FormData();
+ formData.append('uploadFile', file);
+ let _this = this
+
+ this.$refs.upload1.clearFiles();
+ // this.uploading1 = true;
+ //alert(100)
+ uploadPic(formData).then(response => {
+ // alert(18)
+ // let pth = response.data.originalFilename.substr(response.data.originalFilename.length-4, response.data.originalFilename.length)
+ // _this.fileList1.push({name:response.data.fileName, url:response.data.url})
+ // console("ok")
+ // alert(90)
+ // alert(response.data.url)
+ _this.petList.headPicture = response.data.url.replace(process.env.VUE_APP_BASE_TRUE_API,"")
+ updatePet(_this.petList).then(response => {
+ _this.$modal.msgSuccess("淇敼鎴愬姛");
+ // this.open = false;
+ _this.btn=false
+ });
+ // alert(100)
+ })
+ //alert(90)
+ },
}
}
</script>
-<style scoped lang="scss">
+<style scoped>
.mt
{
position: relative;
@@ -723,7 +803,7 @@
display: block;
}
-.hide .el-upload--picture-card {
+.hide /deep/ .el-upload--picture-card {
display: none;
}
.form{
diff --git a/ruoyi-ui/src/views/secret/secretInfo.vue b/ruoyi-ui/src/views/secret/secretInfo.vue
index 90b9d3d..cae9dbb 100644
--- a/ruoyi-ui/src/views/secret/secretInfo.vue
+++ b/ruoyi-ui/src/views/secret/secretInfo.vue
@@ -131,7 +131,7 @@
class="el-upload-list__item-thumbnail"
src="../../assets/401_images/401.gif"
alt=""
- style="width: 100%; height: 100%"
+ style="width: 147px; height: 147px"
fit="cover">
<span class="el-upload-list__item-actions">
@@ -470,7 +470,7 @@
}
</script>
- <style scoped lang="scss">
+ <style scoped>
.mt
{
position: relative;
@@ -485,7 +485,7 @@
display: block;
position: absolute;
}
- .hide .el-upload--picture-card {
+ .hide /deep/ .el-upload--picture-card {
display: none;
}
.form{
diff --git a/ruoyi-ui/src/views/self/edit.vue b/ruoyi-ui/src/views/self/edit.vue
index a0eae15..bcad2bf 100644
--- a/ruoyi-ui/src/views/self/edit.vue
+++ b/ruoyi-ui/src/views/self/edit.vue
@@ -88,7 +88,9 @@
accept="image/*"
:auto-upload="false"
:multiple="false"
- :limit="1">
+ :limit="1"
+ :class="{ hide: !btn }"
+ >
<i class="el-icon-plus"></i>
</el-upload>
</el-row>
diff --git a/ruoyi-ui/src/views/self/memoInfo.vue b/ruoyi-ui/src/views/self/memoInfo.vue
index e4017f0..3721f4c 100644
--- a/ruoyi-ui/src/views/self/memoInfo.vue
+++ b/ruoyi-ui/src/views/self/memoInfo.vue
@@ -134,7 +134,7 @@
class="el-upload-list__item-thumbnail"
src="../../assets/401_images/401.gif"
alt=""
- style="width: 100%; height: 100%"
+ style="width: 147px; height: 147px"
fit="cover">
<span class="el-upload-list__item-actions">
diff --git a/ruoyi-ui/src/views/selfeconomy/selfeconomyInfo.vue b/ruoyi-ui/src/views/selfeconomy/selfeconomyInfo.vue
index e1560ed..d6d21c0 100644
--- a/ruoyi-ui/src/views/selfeconomy/selfeconomyInfo.vue
+++ b/ruoyi-ui/src/views/selfeconomy/selfeconomyInfo.vue
@@ -165,7 +165,7 @@
class="el-upload-list__item-thumbnail"
src="../../assets/401_images/401.gif"
alt=""
- style="width: 100%; height: 100%"
+ style="width: 147px; height: 147px"
fit="cover">
<span class="el-upload-list__item-actions">
@@ -547,7 +547,7 @@
.form{
background:center/11% no-repeat url('../../assets/icons/form.png') ;
}
-.hide .el-upload--picture-card {
+.hide /deep/ .el-upload--picture-card {
display: none;
}
.form_item{
diff --git a/ruoyi-ui/src/views/travel/travelInfo.vue b/ruoyi-ui/src/views/travel/travelInfo.vue
index a8908ae..19fbbda 100644
--- a/ruoyi-ui/src/views/travel/travelInfo.vue
+++ b/ruoyi-ui/src/views/travel/travelInfo.vue
@@ -148,7 +148,7 @@
class="el-upload-list__item-thumbnail"
src="../../assets/401_images/401.gif"
alt=""
- style="width: 100%; height: 100%"
+ style="width: 147px; height: 147px"
fit="cover">
<span class="el-upload-list__item-actions">
@@ -465,7 +465,7 @@
display: block;
position: absolute;
}
-.hide .el-upload--picture-card {
+.hide /deep/ .el-upload--picture-card {
display: none;
}
.form{
diff --git a/ruoyi-ui/src/views/wish/wishInfo.vue b/ruoyi-ui/src/views/wish/wishInfo.vue
index ace4b42..078c91c 100644
--- a/ruoyi-ui/src/views/wish/wishInfo.vue
+++ b/ruoyi-ui/src/views/wish/wishInfo.vue
@@ -155,7 +155,7 @@
class="el-upload-list__item-thumbnail"
src="../../assets/401_images/401.gif"
alt=""
- style="width: 100%; height: 100%"
+ style="width: 147px; height: 147px"
fit="cover">
<span class="el-upload-list__item-actions">
@@ -551,7 +551,7 @@
display: block;
position: absolute;
}
-.hide .el-upload--picture-card {
+.hide /deep/ .el-upload--picture-card {
display: none;
}
.form{
--
Gitblit v1.9.1