Authored by 沈志敏

修改关于我们的样式

@@ -29,11 +29,14 @@ const component = { @@ -29,11 +29,14 @@ const component = {
29 const result = { 29 const result = {
30 module: 'home', 30 module: 'home',
31 page: 'index', 31 page: 'index',
  32 + noLocalJS: true,
  33 + noLocalCSS: true,
32 head_ico: proData && proData.head_ico ? helpers.image(proData.head_ico, 200, 200) : '', 34 head_ico: proData && proData.head_ico ? helpers.image(proData.head_ico, 200, 200) : '',
33 profile_name: proData ? proData.profile_name : '登录/注册', 35 profile_name: proData ? proData.profile_name : '登录/注册',
34 userinfourl: proData ? '/home/mydetails' : helpers.urlFormat('/signin.html', { 36 userinfourl: proData ? '/home/mydetails' : helpers.urlFormat('/signin.html', {
35 refer: req.originalUrl 37 refer: req.originalUrl
36 }), 38 }),
  39 + serviceUrl: 'http://chat8.live800.com/live800/chatClient/chatbox.jsp?companyID=620092&configID=149091&jid=8732423409&'
37 }; 40 };
38 41
39 res.render('index', _.merge(result, data[1])); 42 res.render('index', _.merge(result, data[1]));
@@ -60,6 +63,8 @@ const component = { @@ -60,6 +63,8 @@ const component = {
60 res.render('help', { 63 res.render('help', {
61 module: 'home', 64 module: 'home',
62 page: 'help', 65 page: 'help',
  66 + noLocalJS: true,
  67 + noLocalCSS: true,
63 helpList: helpList 68 helpList: helpList
64 }); 69 });
65 }).catch(next); 70 }).catch(next);
@@ -74,16 +79,19 @@ const component = { @@ -74,16 +79,19 @@ const component = {
74 res.render('help-detail', { 79 res.render('help-detail', {
75 module: 'home', 80 module: 'home',
76 page: 'help', 81 page: 'help',
  82 + noLocalJS: true,
  83 + noLocalCSS: true,
77 helpDetail: helpDetail 84 helpDetail: helpDetail
78 }); 85 });
79 }).catch(next); 86 }).catch(next);
80 }, 87 },
81 - feedback: (req, res, next) => { 88 + feedback: (req, res) => {
82 res.render('feedback', { 89 res.render('feedback', {
83 module: 'home', 90 module: 'home',
84 page: 'feedback', 91 page: 'feedback',
85 suggestSub: true, 92 suggestSub: true,
86 - }).catch(next); 93 + noLocalCSS: true
  94 + })
87 }, 95 },
88 saveFeedback: (req, res, next) => { 96 saveFeedback: (req, res, next) => {
89 let saveFeedbackPara = { 97 let saveFeedbackPara = {
@@ -123,7 +131,9 @@ const component = { @@ -123,7 +131,9 @@ const component = {
123 about: (req, res) => { 131 about: (req, res) => {
124 res.render('about', { 132 res.render('about', {
125 module: 'home', 133 module: 'home',
126 - page: 'index' 134 + page: 'index',
  135 + noLocalJS: true,
  136 + noLocalCSS: true
127 }); 137 });
128 } 138 }
129 }; 139 };
@@ -70,7 +70,7 @@ @@ -70,7 +70,7 @@
70 帮助中心 70 帮助中心
71 <span class="num"><span class="icon icon-right"></span></span> 71 <span class="num"><span class="icon icon-right"></span></span>
72 </a> 72 </a>
73 - <a class="list-item" href="/home/online-service"> 73 + <a class="list-item" href="{{serviceUrl}}">
74 在线客服 74 在线客服
75 <span class="num"><span class="icon icon-right"></span></span> 75 <span class="num"><span class="icon icon-right"></span></span>
76 </a> 76 </a>
@@ -4,7 +4,7 @@ @@ -4,7 +4,7 @@
4 background: #fff; 4 background: #fff;
5 5
6 .description { 6 .description {
7 - position: absolute; 7 + position: fixed;
8 top: 30%; 8 top: 30%;
9 width: 411px; 9 width: 411px;
10 height: 75px; 10 height: 75px;
@@ -17,7 +17,7 @@ @@ -17,7 +17,7 @@
17 } 17 }
18 18
19 .icon-container { 19 .icon-container {
20 - position: absolute; 20 + position: fixed;
21 top: 43%; 21 top: 43%;
22 left: 0; 22 left: 0;
23 right: 0; 23 right: 0;