爱尚家接口合并到cms-api.websoft.top

This commit is contained in:
2025-03-05 17:21:00 +08:00
parent 5a030d5a30
commit 2c77a45e5d
23 changed files with 202 additions and 94 deletions

View File

@@ -72,7 +72,7 @@
</u-cell>
</u-form-item>
<u-form-item prop="propertyFees">
<u-cell title="物业费" :isLink="false">
<u-cell title="物业费(元/m²)" :isLink="false">
<u-input type="digit" slot="value" class="input" v-model="form.propertyFees"
inputAlign="right" maxlength="30" :border="false" placeholder="请输入物业费" />
</u-cell>
@@ -114,7 +114,7 @@
</u-cell>
</u-form-item>
<u-form-item prop="password">
<u-cell title="密码" :isLink="false">
<u-cell title="如何看房" :isLink="false">
<u-input slot="value" class="input" v-model="form.password" inputAlign="right"
maxlength="30" :border="false" placeholder="请输入房屋密码" />
</u-cell>
@@ -173,9 +173,17 @@
<text class="title">房源视频</text>
</view>
<view class="form-wrapper">
<view class="images">
<view class="video-box" style="position: relative;" v-if="form.videoUrl">
<view class="colse" style="position: absolute; top: 0; right: 30px; width: 26px; height: 26px;color: #000000; z-index: 88; font-size: 24px; background-color: #cccccc; display: flex;justify-content: center; align-items: center;" @click="closeVideo">
X
</view>
<video loop class="swiper-video" muted :autoplay="false" :src="form.videoUrl"></video>
</view>
<view v-else class="images" style="display: flex; flex-direction: column; justify-content: center; ">
<u-upload :fileList="fileList2" :maxSize="31457280" :width="72" :height="72" accept="video"
@afterRead="afterRead" @delete="deleteVideo" name="2" multiple :maxCount="1"></u-upload>
<text style="padding-left: 8px;">上传视频</text>
</view>
</view>
</u-form-item>
@@ -192,6 +200,18 @@
</view>
</u-form-item>
<u-form-item prop="introduction">
<view class="his-head">
<text class="title">管理员备注</text>
</view>
<view class="form-wrapper">
<view class="textarea">
<u--textarea v-model="form.comments" placeholder="请输备注"
:customStyle="{backgroundColor: '#f3f3f3'}" maxlength="200"></u--textarea>
</view>
</view>
</u-form-item>
<block v-if="dict">
<u-action-sheet :show="showSex" :actions="actions" title="请选择性别" description="请选择男或女"
@@ -653,6 +673,13 @@
closeToward() {
this.showToward = false
},
closeVideo(){
this.form.videoUrl = ''
updateHouseInfo(this.form).then(res => {
this.$toast('删除成功')
})
},
confirmRegion(e) {