Prechádzať zdrojové kódy

2023.10.31-1 - 优化体验,修改mark样式

GuYun-D 1 rok pred
rodič
commit
f24fb44670

+ 7 - 0
src/styles/element-ui.scss

@@ -54,3 +54,10 @@
     }
   }
 }
+
+.amap-marker {
+  img {
+    width: 19px !important;
+    height: 32px !important;
+  }
+}

+ 2 - 2
src/views/business/businessList/components/SelectAddressMap.vue

@@ -1,7 +1,7 @@
 <template>
-  <el-dialog title="选择位置" :visible.sync="selectAddressMapVisible" width="60%" :before-close="() => { }">
+  <el-dialog title="选择位置" :visible.sync="selectAddressMapVisible" width="60%">
     <div class="map-cpn-container">
-      <div class="search-conrainer" style="display: flex; align-items: center; margin: 0 0 20px 0;">
+      <div class="buiness-search-conrainer" style="display: flex; align-items: center; margin: 0 0 20px 0;">
         <el-select style="width: 100%;" @change="handleSelectChange" v-model="searchAddress" filterable remote
           reserve-keyword placeholder="请输入您的位置" :remote-method="handleSearchNearbyAddress" :loading="isLoading">
           <el-option v-for="(item, index) in addressList" :key="index" :label="item.name" :value="item.name + item.tel">

+ 2 - 2
src/views/business/businessList/index.vue

@@ -164,7 +164,7 @@
                   { required: true, message: '请选择营业开始时间', trigger: 'blur' }]">
 
                   <el-time-select :disabled="disabled" placeholder="起始时间" v-model="ruleForm.startTime" :picker-options="{
-                    start: '08:30',
+                    start: '00:00',
                     step: '00:05',
                   }">
                   </el-time-select>
@@ -176,7 +176,7 @@
 
                   <el-time-select :disabled="disabled" placeholder="营业结束时间" v-model="ruleForm.endTime" :picker-options="{
                     step: '00:05',
-                    end: '18:30',
+                    end: '24:00',
                     minTime: ruleForm.endTime
                   }">
                   </el-time-select>

+ 6 - 6
vue.config.js

@@ -41,8 +41,8 @@ module.exports = {
     // before: require('./mock/mock-server.js'),
     proxy: {
       '/api': {
-        // target: 'http://192.168.0.91:9003', // 测试
-        target: 'http://192.168.0.91:9103', // 平台端
+        target: 'https://nsadminapi.tuanfengkeji.cn', // 测试
+        // target: 'http://192.168.0.91:9103', // 平台端
         // target: 'http://192.168.0.91:9003', // 商家端
         changeOrigin: true,
         pathRewrite: {
@@ -50,8 +50,8 @@ module.exports = {
         }
       },
       '/adminapi': {
-        // target: 'http://192.168.0.91:9003', // 测试
-        target: 'http://192.168.0.91:9103', // 平台端
+        target: 'https://nsadminapi.tuanfengkeji.cn', // 测试
+        // target: 'http://192.168.0.91:9103', // 平台端
         // target: 'http://192.168.0.91:9003', // 商家端
         changeOrigin: true,
         pathRewrite: {
@@ -59,8 +59,8 @@ module.exports = {
         }
       },
       '/': {
-        // target: 'http://192.168.0.91:9003', // 测试
-        target: 'http://192.168.0.91:9103', // 平台端
+        target: 'https://nsadminapi.tuanfengkeji.cn', // 测试
+        // target: 'http://192.168.0.91:9103', // 平台端
         // target: 'http://192.168.0.91:9003', // 商家端
         changeOrigin: true
       }