Authored by 郭成尧

changeView-modal-css

@@ -15,7 +15,7 @@ new Vue({ @@ -15,7 +15,7 @@ new Vue({
15 logisticsCompany: LogisticsCompany 15 logisticsCompany: LogisticsCompany
16 }, 16 },
17 created() { 17 created() {
18 - bus.$on('changeView', function(obj) { 18 + bus.$on('changeView', obj => {
19 this.currentView = obj.view; 19 this.currentView = obj.view;
20 this.company_id = obj.company_id; 20 this.company_id = obj.company_id;
21 this.company_name = obj.company_name; 21 this.company_name = obj.company_name;
@@ -6,6 +6,7 @@ @@ -6,6 +6,7 @@
6 */ 6 */
7 7
8 'use strict'; 8 'use strict';
  9 +require('common/_vue-modal.css');
9 const $ = require('yoho-jquery'); 10 const $ = require('yoho-jquery');
10 const template = require('components/modal.hbs'); 11 const template = require('components/modal.hbs');
11 const Overlay = require('./overlay'); 12 const Overlay = require('./overlay');
@@ -136,8 +136,6 @@ @@ -136,8 +136,6 @@
136 }; 136 };
137 </script> 137 </script>
138 <style> 138 <style>
139 - @import "common/vue-modal.css";  
140 -  
141 $black: #000; 139 $black: #000;
142 $white: #fff; 140 $white: #fff;
143 141