liujq 2 年之前
父节点
当前提交
1d4861c53c

文件差异内容过多而无法显示
+ 0 - 0
dist/index.html


文件差异内容过多而无法显示
+ 0 - 0
dist/static/css/chunk-9cca4f6c.28c699df.css


文件差异内容过多而无法显示
+ 0 - 0
dist/static/js/app.582ba500.js


文件差异内容过多而无法显示
+ 0 - 0
dist/static/js/chunk-07fc91a6.d71a51e4.js


文件差异内容过多而无法显示
+ 0 - 0
dist/static/js/chunk-69a6a27f.5283b1d8.js


文件差异内容过多而无法显示
+ 0 - 0
dist/static/js/chunk-69a6a27f.fc93b17a.js


文件差异内容过多而无法显示
+ 0 - 0
dist/static/js/chunk-7441b538.37fcdce8.js


文件差异内容过多而无法显示
+ 0 - 0
dist/static/js/chunk-7441b538.3d0bfd00.js


文件差异内容过多而无法显示
+ 0 - 0
dist/static/js/chunk-9cca4f6c.3419a2aa.js


文件差异内容过多而无法显示
+ 0 - 0
dist/static/js/chunk-ced55fc0.99d59865.js


+ 2 - 0
src/views/map/components/popup/MapImgEdit.vue

@@ -46,6 +46,8 @@ export default {
       imgArr: [
         {url: 'https://img2.honglounews.com/20221205054341-4368.png'},
         {url: 'https://img2.honglounews.com/20221205054412-6635.png'},
+        {url: 'https://img2.honglounews.com/20221213101325-1438.png'},
+        {url: 'https://img2.honglounews.com/20221213101403-5390.png'},
       ],
       cObj: {},
     }

+ 7 - 5
src/views/map/dtl.vue

@@ -57,7 +57,8 @@
         </div>
       </div>
       <div class="sdb-list" v-if="markerData.length > 0">
-        <div class="label t2">文字列表(选中:{{curMarkersIndex + 1}})</div>
+        <div class="label t2" v-if="markerData[0].icon">图标列表(选中:{{curMarkersIndex + 1}})</div>
+        <div class="label t2" v-else>文字列表(选中:{{curMarkersIndex + 1}})</div>
         <div class="ul">
           <div class="op" v-for="(t, index) in markerData" :key="index">
             <p class="p1" v-if="t.icon" @click="openImg({obj: t, index})">({{index + 1}}){{t.text}}</p>
@@ -82,7 +83,7 @@
       :events="mapEvents"
       :plugin="plugin"
     >
-      <template v-if="mapDiyObj.zoom > 13">
+      <template v-if="mapDiyObj.zoom > 12">
         <template v-if="mapDiyObj.isSchoolShow === '1'">
           <el-amap-marker class="scoped-m-box" v-for="(marker, index) in schoolList" :key="3000 + index"
             icon="https://img2.honglounews.com/20220110041435-6276.png"
@@ -270,6 +271,8 @@ export default {
       },
       markersEvents: {
         dragend(e) {
+          const eData = e.target.getExtData()
+          that.curMarkersIndex = eData.index
           const { lng, lat } = e.lnglat
           let markerData = JSON.parse(JSON.stringify(that.markerData))
           markerData[that.curMarkersIndex].position = [lng, lat]
@@ -861,13 +864,12 @@ export default {
         if (bcStr && bcStr === 'edit') {
           const index = this.mteObj.index || 0
           let tempData = [...this.markerData]
-          tempData[index].content = obj.text
+          tempData[index].icon = obj.icon
           tempData[index].text = obj.text
           tempData[index].color = obj.color
           this.markerData = [...tempData]
           this.$storage(`map_markerData`, JSON.stringify(tempData))
         } else {
-          console.log(obj)
           this.imgAdd(obj)
           this.isDbShow = false
           this.$msgs('请在地图上操作')
@@ -960,7 +962,7 @@ export default {
           draggable: true,
           animation: 'AMAP_ANIMATION_DROP',
           content: obj.text,
-          offset: [0, -10],
+          offset: [-10, -10],
           text: obj.text,
           color: obj.color,
         })

+ 1 - 0
src/views/user/app.vue

@@ -75,6 +75,7 @@ export default {
   mounted() {
     this.listConfig = {
       rows: [
+        { label: 'id', prop: 'id' },
         { label: '头像', prop: 'avatar', type: 'img' },
         { label: '昵称', prop: 'nickname' },
         { label: '成长值', prop: 'integral', sortable: 'custom' },

+ 1 - 0
src/views/user/index.vue

@@ -62,6 +62,7 @@ export default {
   mounted() {
     this.listConfig = {
       rows: [
+        { label: 'id', prop: 'id' },
         { label: '昵称', prop: 'nickname' },
         { label: '账号', prop: 'username' },
         // { label: '头像', prop: 'avatar', type: 'img' },

部分文件因为文件数量过多而无法显示