mirror of
https://github.com/kuaifan/dootask.git
synced 2025-12-11 18:42:54 +00:00
perf: 优化一些样式
This commit is contained in:
parent
05a754f446
commit
d75c22114c
2
public/tools/map/main.js
vendored
2
public/tools/map/main.js
vendored
@ -506,7 +506,7 @@ class BaiduMapPicker {
|
||||
*/
|
||||
updatePoiList(pois) {
|
||||
const addressList = document.getElementById('address-list');
|
||||
addressList.style.display = 'block';
|
||||
addressList.style.display = 'flex';
|
||||
|
||||
const poiList = document.getElementById('poi-list');
|
||||
poiList.innerHTML = '';
|
||||
|
||||
9
public/tools/map/style.css
vendored
9
public/tools/map/style.css
vendored
@ -105,23 +105,24 @@ body {
|
||||
|
||||
.address-list {
|
||||
display: none;
|
||||
flex-direction: column;
|
||||
min-height: 300px;
|
||||
overflow-y: auto;
|
||||
overflow: hidden;
|
||||
background: #fff;
|
||||
}
|
||||
|
||||
.address-list h3 {
|
||||
flex-shrink: 0;
|
||||
font-size: 18px;
|
||||
font-weight: bold;
|
||||
padding: 12px 14px 10px;
|
||||
position: sticky;
|
||||
top: 0;
|
||||
z-index: 1;
|
||||
background-color: #ffffff;
|
||||
word-break: break-all;
|
||||
}
|
||||
|
||||
#poi-list {
|
||||
flex: 1;
|
||||
overflow: auto;
|
||||
list-style: none;
|
||||
padding-bottom: 10px;
|
||||
}
|
||||
|
||||
2
resources/assets/js/store/actions.js
vendored
2
resources/assets/js/store/actions.js
vendored
@ -1277,7 +1277,7 @@ export default {
|
||||
channel,
|
||||
}
|
||||
$A.eeuiAppSetVariate(`location::${channel}`, "");
|
||||
const url = $A.urlAddParams($A.eeuiAppRewriteUrl('../public/tools/map/index.html'), Object.assign(params, objects || {}))
|
||||
const url = $A.urlAddParams(window.location.origin + '/tools/map/index.html', Object.assign(params, objects || {}))
|
||||
dispatch('openAppChildPage', {
|
||||
pageType: 'app',
|
||||
pageTitle: title,
|
||||
|
||||
@ -506,7 +506,7 @@ class BaiduMapPicker {
|
||||
*/
|
||||
updatePoiList(pois) {
|
||||
const addressList = document.getElementById('address-list');
|
||||
addressList.style.display = 'block';
|
||||
addressList.style.display = 'flex';
|
||||
|
||||
const poiList = document.getElementById('poi-list');
|
||||
poiList.innerHTML = '';
|
||||
|
||||
@ -105,23 +105,24 @@ body {
|
||||
|
||||
.address-list {
|
||||
display: none;
|
||||
flex-direction: column;
|
||||
min-height: 300px;
|
||||
overflow-y: auto;
|
||||
overflow: hidden;
|
||||
background: #fff;
|
||||
}
|
||||
|
||||
.address-list h3 {
|
||||
flex-shrink: 0;
|
||||
font-size: 18px;
|
||||
font-weight: bold;
|
||||
padding: 12px 14px 10px;
|
||||
position: sticky;
|
||||
top: 0;
|
||||
z-index: 1;
|
||||
background-color: #ffffff;
|
||||
word-break: break-all;
|
||||
}
|
||||
|
||||
#poi-list {
|
||||
flex: 1;
|
||||
overflow: auto;
|
||||
list-style: none;
|
||||
padding-bottom: 10px;
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user