Commit 8c6719d270745e7e03cca9937dd089860206ee4d

Authored by 杨鑫
2 parents 72e22e26 db09e674

Merge branch 'master' of http://39.98.150.180/webapp/GreenwayWeb

admin-web-master/jest.config.js
... ... @@ -10,7 +10,7 @@ module.exports = {
10 10 '^@/(.*)$': '<rootDir>/src/$1'
11 11 },
12 12 snapshotSerializers: ['jest-serializer-vue'],
13   - testMatch: [
  13 + testMatch: [
14 14 '**/tests/unit/**/*.spec.(js|jsx|ts|tsx)|**/__tests__/*.(js|jsx|ts|tsx)'
15 15 ],
16 16 collectCoverageFrom: ['src/utils/**/*.{js,vue}', '!src/utils/auth.js', '!src/utils/request.js', 'src/components/**/*.{js,vue}'],
... ...
admin-web-master/public/index.html
... ... @@ -8,10 +8,10 @@
8 8 <!-- <title><%= htmlWebpackPlugin.options.title %></title> -->
9 9 <title>招商服务系统</title>
10 10 <!-- 删除: <script src="https://map.qq.com/api/js?v=2.exp&key=YOUR_API_KEY&callback=initMap"></script> -->
11   - <script src="https://map.qq.com/api/js?v=2.exp&key=PGRBZ-Z3FRJ-DTYFB-XNX4X-DC6HZ-MCFYU"></script>
12   - <script src="https://map.qq.com/api/gljs?v=1.exp&key=PGRBZ-Z3FRJ-DTYFB-XNX4X-DC6HZ-MCFYU"></script>
13   - <script charset="utf-8" src="https://map.qq.com/api/gljs?libraries=tools&v=1.exp&key=PGRBZ-Z3FRJ-DTYFB-XNX4X-DC6HZ-MCFYU"></script>
14   - <!-- <script charset="utf-8" src="https://map.qq.com/api/gljs?v=1.exp&key=PGRBZ-Z3FRJ-DTYFB-XNX4X-DC6HZ-MCFYU&libraries=geometry"></script> -->
  11 + <script src="https://map.qq.com/api/js?v=2.exp&key=7K5BZ-5MUCL-5Z4PX-ML3QG-YAGZE-TNBLG"></script>
  12 + <script src="https://map.qq.com/api/gljs?v=1.exp&key=7K5BZ-5MUCL-5Z4PX-ML3QG-YAGZE-TNBLG"></script>
  13 + <script charset="utf-8" src="https://map.qq.com/api/gljs?libraries=tools&v=1.exp&key=7K5BZ-5MUCL-5Z4PX-ML3QG-YAGZE-TNBLG"></script>
  14 + <!-- <script charset="utf-8" src="https://map.qq.com/api/gljs?v=1.exp&key=7K5BZ-5MUCL-5Z4PX-ML3QG-YAGZE-TNBLG&libraries=geometry"></script> -->
15 15 </head>
16 16 <body>
17 17 <noscript>
... ...
admin-web-master/src/components/newmap/index.vue
... ... @@ -3,7 +3,10 @@
3 3 <div id="mapContainer" class="map"></div>
4 4 <div class="search-box">
5 5 <input v-model="searchQuery" placeholder="输入地址进行搜索" />
6   - <button type="button" @click="searchLocation">搜索</button>
  6 + <div style="box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);display: flex;align-items: center;background: #fff;padding: 0 20px;border-radius: 5px;overflow: hidden;margin-left: 10px;">
  7 + <i class="el-icon-delete" style="margin-right: 10px;color: #3F9B6A;"></i>
  8 + <button type="button" @click="searchLocation">清除</button>
  9 + </div>
7 10 </div>
8 11 <div v-if="searchResults.length > 0" class="search-results">
9 12 <ul>
... ... @@ -109,7 +112,7 @@
109 112 this.map = new qq.maps.Map(document.getElementById('mapContainer'), {
110 113 center: centerLatLng,
111 114 zoom: 13,
112   - styles: 'dark'
  115 + mapStyleId: 'style1'
113 116 });
114 117  
115 118 // 创建标记
... ... @@ -203,29 +206,41 @@
203 206 top: 10px;
204 207 left: 10px;
205 208 z-index: 99;
206   - background: #fff;
207   - padding: 10px;
208   - border-radius: 5px;
209   - box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
210   - width: 280px;
  209 + /* background: #fff; */
  210 + /* padding: 10px; */
  211 + /* border-radius: 5px; */
  212 + /* box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1); */
  213 + /* width: 280px; */
  214 + display: flex;
  215 + justify-content: space-between;
211 216 }
212 217  
213 218 .search-box input {
214   - padding: 5px;
  219 + /* padding: 5px; */
  220 + padding: 15px 8px;
215 221 margin-right: 5px;
  222 + font-size: 10px;
  223 + box-sizing: border-box;
  224 + border-radius: 5px;
  225 + border: 1px solid #eee;
  226 + box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
216 227 }
217 228  
218 229 .search-box button {
219   - padding: 5px 10px;
220   - background-color: #007bff;
221   - color: #fff;
  230 + padding: 15px 0;
  231 + background-color: #fff;
  232 + /* color: #fff; */
222 233 border: none;
223 234 border-radius: 3px;
224 235 cursor: pointer;
  236 + height: 100%;
  237 + box-sizing: border-box;
  238 + font-size: 10px;
  239 + color: -internal-light-dark(black, white);
225 240 }
226 241  
227 242 .search-box button:hover {
228   - background-color: #0056b3;
  243 + background-color: #fff;
229 244 }
230 245  
231 246 .search-results {
... ...
admin-web-master/src/utils/request.js
... ... @@ -17,7 +17,7 @@ let baseURL = &#39;&#39;
17 17 if(host === 'localhost:8080' || host === 'localhost:8081' || host === 'localhost:9528'|| host === '192.168.31.45:9528'|| host === 'localhost:9529' ) {
18 18  
19 19 // baseURL = 'https://jy.scjysm.asia:18086/cdwlMall/meserver/admin-server';
20   - // baseURL = 'https://zhgw-uat.028wlkj.com/cdwlMall/meserver/admin-server';
  20 + baseURL = 'https://zhgw-uat.028wlkj.com/cdwlMall/meserver/admin-server';
21 21  
22 22 // baseURL = process.env.VUE_APP_DOMAIN_PREFIX_1;
23 23  
... ...