Преглед на файлове

修改吐司统一样式

zhengjinyi преди 4 години
родител
ревизия
e0f3113c2b

+ 1 - 1
src/main/resources/static/css/base/init.css

@@ -38,5 +38,5 @@ input[type=checkbox][disabled=disabled]{cursor:default;}
   to{opacity:1;-webkit-transform:none;transform:none;}
 }
 /*公共吐司文字居中*/
-.jconfirm-box.jconfirm-hilight-shake.jconfirm-type-default.jconfirm-type-animated{text-align: center !important;font-size: 16px !important;}
+.jconfirm-box.jconfirm-hilight-shake.jconfirm-type-default.jconfirm-type-animated .dialog{text-align: center !important;font-size: 16px !important;}
 .jconfirm .jconfirm-box div.jconfirm-title-c{text-align: left !important;}

+ 1 - 9
src/main/resources/static/js/supplier-center/dashboard.js

@@ -91,14 +91,6 @@ var dashboard = new Vue({
                              }
                          }
                      },
-                     toolbox: {
-                         feature: {
-                             dataView: {show: true, readOnly: false},
-                             magicType: {show: true, type: ['line', 'bar']},
-                             restore: {show: true},
-                             saveAsImage: {show: true}
-                         }
-                     },
                      legend: {
                          show: true,
                          top: 0,
@@ -121,7 +113,7 @@ var dashboard = new Vue({
                      yAxis: [
                          {
                              type: 'value',
-                             name: '金额',
+                             name: '',
                              axisTick: {
                                  show: true
                              }

+ 1 - 1
src/main/resources/static/js/utils.js

@@ -169,7 +169,7 @@ CAIMEI.Alert = function(content,confitmText,flg,callback){
 CAIMEI.dialog = function(content,flg,callback){
     $.confirm({
         title: false,
-        content: content,
+        content: '<div class="dialog">'+content+'</div>',
         boxWidth: (isPC?'300px':'70%'),
         autoClose: 'close|2000',
         useBootstrap:false,

+ 1 - 2
src/main/resources/templates/supplier-center/dashboard.html

@@ -14,14 +14,13 @@
 
 <!-- 我的采美 -->
 <div id="dashboard">
-    <div class="navLayout" v-cloak>
+    <div class="navLayout">
         <div v-if="isPC" class="crumbs">
             <span>我的采美</span>
         </div>
         <div class="wrap clear">
             <!--左侧导航-->
             <template th:replace="supplier-center/components/tableft"></template>
-
             <div class="right">
                 <div class="information">
                     <div class="head">