王饶冀 2 лет назад
Родитель
Сommit
ae5461f018

+ 1
- 1
digital-park-web/digital-park/src/views/investment-service/InvestmentServiceList/components/PropertyManage.vue Просмотреть файл

@@ -18,7 +18,7 @@
<span>支付方式:{{ item.payment.housingArea }}</span>|
<span>{{ item.type }}</span>
</div>
<div class="main-advantageList">
<div class="main-advantageList" :title="item.advantageList.join('、')">
<span
class="item-span"
v-for="(advantage,advantageInx) of item.advantageList"

+ 9
- 28
digital-park-web/digital-park/src/views/investment-service/property-detail/PropertyDetail.vue Просмотреть файл

@@ -41,13 +41,13 @@
<span class="img-icon">
<el-image
v-if="checkFile(scope.row.housingImg, 'image')"
:src="scope.row.housingImg"
:preview-src-list="[scope.row.housingImg]"
:src="formatTableImg(scope.row.housingImg)"
:preview-src-list="[formatTableImg(scope.row.housingImg)]"
></el-image>
<video
v-if="checkFile(scope.row.housingImg, 'video')"
:src="scope.row.housingImg"
@click="playVideo(scope.row.housingImg)"
:src="formatTableImg(scope.row.housingImg)"
@click="playVideo(formatTableImg(scope.row.housingImg))"
></video>
</span>
</div>
@@ -215,30 +215,6 @@ export default {
},
],
serverDetailList: [{}],
// // 房源优势
// housingAdvantage: [
// {
// label: "精装修",
// style: {
// "background-image":
// "linear-gradient(135deg, #01d8ba 0%, #0086e7 100%)",
// },
// },
// {
// label: "面积大",
// style: {
// "background-image":
// "linear-gradient(135deg, #afd801 0%, #00b4e7 100%)",
// },
// },
// {
// label: "享受税收优惠",
// style: {
// "background-image":
// "linear-gradient(135deg, #8d6dff 0%, #5f24eb 100%)",
// },
// },
// ],

// 视频预览
videoPreview: {
@@ -294,6 +270,10 @@ export default {
parseMarkdown(str) {
return str ? parseMarkdown(str) : "";
},
formatTableImg(imgList) {
let housingImg = imgList ? JSON.parse(imgList)[0] : "";
return formatImg(housingImg);
},
formatImg(url) {
return formatImg(url);
},
@@ -307,6 +287,7 @@ export default {
if (!fileValue) {
return "";
}
fileValue = JSON.parse(fileValue)[0];
let index = fileValue.indexOf(".");
let fileValueSuffix = fileValue.substring(index); //截断"."之前的,得到后缀
if (type == "video") {

Загрузка…
Отмена
Сохранить