后台导航数据添加错误修复、地域分布图表优化,公共提示优化

feat/task1-c-wallet
gongfuxiang 2024-01-22 23:20:57 +08:00
parent ae6a9d0327
commit ba9bbaec85
3 changed files with 35 additions and 27 deletions

View File

@ -104,7 +104,6 @@ class Navigation extends Base
public function Save()
{
$params = $this->data_request;
$params['nav_type'] = $this->nav_type;
return ApiService::ApiDataReturn(NavigationService::NavSave($params));
}

View File

@ -485,6 +485,9 @@ function EchartsOrderMapWholeCountry (name_arr, data) {
},
xAxis: {
type: 'value',
splitArea: { //是否显示echarts背景分隔区域
show: false
},
axisLine: {
show: true, // 显示坐标线
lineStyle: { // 坐标颜色

View File

@ -5623,10 +5623,16 @@ $(function () {
var $parent = $(this).parent();
if ($parent.hasClass('am-close-tips')) {
$parent.removeClass('am-close-tips');
$parent.animate({ height: '100%', width: '100%' }, 500);
const tips = document.querySelector('.am-operate-stretch-tips');
tips.style.height = 'auto';
tips.style.width = '100%';
const { height } = tips.getBoundingClientRect();
tips.style.height = '35px';
tips.style.width = '90px';
$parent.animate({ height: height + 'px', width: '100%' }, 300);
} else {
$parent.addClass('am-close-tips');
$parent.animate({ height: '35px', width: '90px' }, 500);
$parent.animate({ height: '35px', width: '90px' }, 300);
}
});
});