Browse Source

地图模块优化

230320a303 2 years ago
parent
commit
b281dc28cb

File diff suppressed because it is too large
+ 0 - 0
dist/index.html


File diff suppressed because it is too large
+ 0 - 0
dist/static/css/chunk-7b6171ad.b68b5e58.css


File diff suppressed because it is too large
+ 0 - 0
dist/static/js/app.c759bf5b.js


File diff suppressed because it is too large
+ 0 - 0
dist/static/js/chunk-1a35ef6e.e3edd16e.js


File diff suppressed because it is too large
+ 0 - 0
dist/static/js/chunk-7b6171ad.c0d10c44.js


+ 6 - 1
src/views/map/components/popup/MapTextEdit.vue

@@ -79,13 +79,18 @@ export default {
   methods: {
     getDef (str) {
       let params = { ...this.curObj.obj }
+      let remoteOptions = []
+      if (params.estateObj) {
+        const estateObj = JSON.parse(params.estateObj)
+        params.estate_id = estateObj.id
+        remoteOptions = [{ keyRO: estateObj.estate_name, valRO: estateObj.id }]
+      }
       if (str === 'color') {
         const oldform = this.$refs.ruleForm.baseForm
         params = {...oldform}
         params.fillColor = this.fillColor
         params.strokeColor = this.strokeColor
       }
-      let remoteOptions = []
       if (str === 'estate') {
         const oldform = this.$refs.ruleForm.baseForm
         params = {...oldform}

+ 1 - 1
src/views/map/dtl.vue

@@ -318,7 +318,7 @@ export default {
                 <div style="font-weight: bold;color:#fff;padding: 10px 10px;background:#409eff;user-select: none;margin-bottom: 10px;text-align: left;">${cObj.text}</div>
                 <div style="display: flex;padding-left: 10px;">
                   <div style="width: 100px;">
-                    <img style="width: 100px;height: auto;" src="${estateObj.pri_image}_plus" />
+                    <img style="width: 100px;height: auto;" src="${estateObj.pri_image}_xs" />
                   </div>
                   <div style="width: 160px;">
                     <div style="padding: 0 10px 6px;color: #999;font-size: 12px;color: #f00;font-weight: bold;">价格:¥${estateObj.price_range}</div>

Some files were not shown because too many files changed in this diff