Commit fa963bb5 authored by wangxuelai's avatar wangxuelai

''

parent 9342bad7
...@@ -10,7 +10,7 @@ export default { ...@@ -10,7 +10,7 @@ export default {
"production": { "production": {
define: { define: {
'_CDN_': '', '_CDN_': '',
'__IMGCDN__': 'http://wxloss.oss-cn-hangzhou.aliyuncs.com/qingxiaobiz/' '__IMGCDN__': 'https://cdn.img.shangjiadao.cn/qingxiao/biz/image/'
} }
} }
}, },
......
...@@ -9,8 +9,8 @@ export default { ...@@ -9,8 +9,8 @@ export default {
defaultIcon: { defaultIcon: {
backgroundPosition: '-67px 0', backgroundPosition: '-67px 0',
}, },
activeurl: 'http://wxloss.oss-cn-hangzhou.aliyuncs.com/qingxiaobiz/menu/indexstaicactive.png', activeurl: `${__IMGCDN__}menu/indexstaicactive.png`,
notactiveurl: 'http://wxloss.oss-cn-hangzhou.aliyuncs.com/qingxiaobiz/menu/indexstaicnotactive.png', notactiveurl: `${__IMGCDN__}menu/indexstaicnotactive.png`,
path: '/sjd/indexstaic', path: '/sjd/indexstaic',
relativePath: ['/sjd/indexstaic'], relativePath: ['/sjd/indexstaic'],
}, },
...@@ -23,8 +23,8 @@ export default { ...@@ -23,8 +23,8 @@ export default {
defaultIcon: { defaultIcon: {
backgroundPosition: '-67px -28px', backgroundPosition: '-67px -28px',
}, },
activeurl: 'http://wxloss.oss-cn-hangzhou.aliyuncs.com/qingxiaobiz/menu/officialwebactive.png', activeurl: `${__IMGCDN__}menu/officialwebactive.png`,
notactiveurl: 'http://wxloss.oss-cn-hangzhou.aliyuncs.com/qingxiaobiz/menu/officialwebnotactive.png', notactiveurl: `${__IMGCDN__}menu/officialwebnotactive.png`,
path: '/sjd/officialweb', path: '/sjd/officialweb',
relativePath: ['/sjd/officialweb', '/sjd/officialwebeditor'], relativePath: ['/sjd/officialweb', '/sjd/officialwebeditor'],
}, },
......
@import '../less/variables.less'; @import '../less/variables.less';
@images: '@{imagesroot}/webapp/'; @images: '@{imagesroot}';
.uncollapsedlogo { .uncollapsedlogo {
height: 45px; height: 45px;
width: 58px; width: 58px;
margin: 16px auto 35px; margin: 16px auto 35px;
background: url('http://wxloss.oss-cn-hangzhou.aliyuncs.com/qingxiaobiz/qxlogo2.png') no-repeat; background: url('@{imagesroot}qxlogo2.png') no-repeat;
background-size: 100% 100%; background-size: 100% 100%;
display: block; display: block;
} }
...@@ -12,7 +12,7 @@ ...@@ -12,7 +12,7 @@
height: 45px; height: 45px;
width: 45px; width: 45px;
margin: 16px auto 35px; margin: 16px auto 35px;
background: url('http://wxloss.oss-cn-hangzhou.aliyuncs.com/qingxiaobiz/qxlogo4.png') no-repeat; background: url('@{imagesroot}qxlogo4.png') no-repeat;
border-radius: 50%; border-radius: 50%;
background-size: 100% 100%; background-size: 100% 100%;
display: block; display: block;
......
...@@ -73,5 +73,5 @@ ...@@ -73,5 +73,5 @@
/*Image*/ /*Image*/
/*@imagesroot: "//cdn.s.shangjiadao.cn/source/images";*/ /*@imagesroot: "//cdn.s.shangjiadao.cn/source/images";*/
// @imagesroot: "http://localhost:81/images"; // @imagesroot: "http://localhost:81/images";
@imagesroot: "http://biz.shangjiadao.com/images"; @imagesroot: "https://cdn.img.shangjiadao.cn/qingxiao/biz/image/";
/*@imagesroot: @{IMAGEPATH};*/ /*@imagesroot: @{IMAGEPATH};*/
\ No newline at end of file
...@@ -9,7 +9,7 @@ ...@@ -9,7 +9,7 @@
} }
.logincontainer { .logincontainer {
height: 100vh; height: 100vh;
background-image: url('http://wxloss.oss-cn-hangzhou.aliyuncs.com/qingxiaobiz/loginbg.png'); background-image: url('@{imagesroot}loginbg.png');
background-size: cover; background-size: cover;
} }
.loginformcontent{ .loginformcontent{
......
...@@ -380,7 +380,7 @@ ...@@ -380,7 +380,7 @@
cursor: pointer; cursor: pointer;
} }
.delicon { .delicon {
background-image: url('http://wxloss.oss-cn-hangzhou.aliyuncs.com/qingxiaobiz/delicon.png'); background-image: url('@{imagesroot}delicon.png');
background-size: 100% 100%; background-size: 100% 100%;
width: 27px; width: 27px;
height: 27px; height: 27px;
......
...@@ -31,13 +31,13 @@ class SchoolInfoEditorForm extends React.Component { ...@@ -31,13 +31,13 @@ class SchoolInfoEditorForm extends React.Component {
const anchor = new qq.maps.Point(0, 0); const anchor = new qq.maps.Point(0, 0);
const origin = new qq.maps.Point(0, 0); const origin = new qq.maps.Point(0, 0);
const size = new qq.maps.Size(25, 29); const size = new qq.maps.Size(25, 29);
const icon = new qq.maps.MarkerImage('http://wxloss.oss-cn-hangzhou.aliyuncs.com/qingxiaobiz/locationdefault.png?x-oss-process=image/resize,w_25,h_29', size, origin, anchor); const icon = new qq.maps.MarkerImage(`${__IMGCDN__}locationdefault.png?x-oss-process=image/resize,w_25,h_29`, size, origin, anchor);
marker.setIcon(icon); marker.setIcon(icon);
} else { } else {
const anchor = new qq.maps.Point(0, 0); const anchor = new qq.maps.Point(0, 0);
const origin = new qq.maps.Point(0, 0); const origin = new qq.maps.Point(0, 0);
const size = new qq.maps.Size(25, 29); const size = new qq.maps.Size(25, 29);
const icon = new qq.maps.MarkerImage('http://wxloss.oss-cn-hangzhou.aliyuncs.com/qingxiaobiz/locationselect.png?x-oss-process=image/resize,w_35,h_29', size, origin, anchor); const icon = new qq.maps.MarkerImage(`${__IMGCDN__}locationselect.png?x-oss-process=image/resize,w_35,h_29`, size, origin, anchor);
marker.setIcon(icon); marker.setIcon(icon);
} }
} }
......
...@@ -99,7 +99,7 @@ ...@@ -99,7 +99,7 @@
.locationiconbox { .locationiconbox {
width: 25px; width: 25px;
height: 30px; height: 30px;
background-image: url('http://wxloss.oss-cn-hangzhou.aliyuncs.com/qingxiaobiz/locationdefault.png?x-oss-process=image/resize,w_25,h_29'); background-image: url('@{imagesroot}locationdefault.png?x-oss-process=image/resize,w_25,h_29');
background-size: 100% 100%; background-size: 100% 100%;
text-align: center; text-align: center;
line-height: 26px; line-height: 26px;
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
@images: '@{imagesroot}/webapp/'; @images: '@{imagesroot}/webapp/';
.headerbox { .headerbox {
height: 57px; height: 57px;
background-image: url('http://wxloss.oss-cn-hangzhou.aliyuncs.com/qingxiaobiz/clocklistheadbg.png'); background-image: url('@{imagesroot}clocklistheadbg.png');
background-size: 100% 100%; background-size: 100% 100%;
padding: 18px 0 0 12px; padding: 18px 0 0 12px;
} }
...@@ -10,7 +10,7 @@ ...@@ -10,7 +10,7 @@
width: 61px; width: 61px;
height: 17px; height: 17px;
background-size: 100% 100%; background-size: 100% 100%;
background-image: url('http://wxloss.oss-cn-hangzhou.aliyuncs.com/qingxiaobiz/titlebg.png'); background-image: url('@{imagesroot}titlebg.png');
color: #010101; color: #010101;
font-weight: 700; font-weight: 700;
font-size: 14px; font-size: 14px;
......
...@@ -9,7 +9,7 @@ ...@@ -9,7 +9,7 @@
} }
.logincontainer { .logincontainer {
height: 100vh; height: 100vh;
background-image: url('http://wxloss.oss-cn-hangzhou.aliyuncs.com/qingxiaobiz/loginbg.png'); background-image: url('@{imagesroot}loginbg.png');
background-size: cover; background-size: cover;
} }
.loginformcontent{ .loginformcontent{
......
...@@ -9,7 +9,7 @@ ...@@ -9,7 +9,7 @@
} }
.logincontainer { .logincontainer {
height: 100vh; height: 100vh;
background-image: url('http://wxloss.oss-cn-hangzhou.aliyuncs.com/qingxiaobiz/loginbg.png'); background-image: url('@{imagesroot}loginbg.png');
background-size: cover; background-size: cover;
} }
.loginformcontent{ .loginformcontent{
......
...@@ -44,13 +44,13 @@ class SchoolAddForm extends React.Component { ...@@ -44,13 +44,13 @@ class SchoolAddForm extends React.Component {
const anchor = new qq.maps.Point(0, 0); const anchor = new qq.maps.Point(0, 0);
const origin = new qq.maps.Point(0, 0); const origin = new qq.maps.Point(0, 0);
const size = new qq.maps.Size(25, 29); const size = new qq.maps.Size(25, 29);
const icon = new qq.maps.MarkerImage('http://wxloss.oss-cn-hangzhou.aliyuncs.com/qingxiaobiz/locationdefault.png?x-oss-process=image/resize,w_25,h_29', size, origin, anchor); const icon = new qq.maps.MarkerImage(`${__IMGCDN__}locationdefault.png?x-oss-process=image/resize,w_35,h_29`, size, origin, anchor);
marker.setIcon(icon); marker.setIcon(icon);
} else { } else {
const anchor = new qq.maps.Point(0, 0); const anchor = new qq.maps.Point(0, 0);
const origin = new qq.maps.Point(0, 0); const origin = new qq.maps.Point(0, 0);
const size = new qq.maps.Size(25, 29); const size = new qq.maps.Size(25, 29);
const icon = new qq.maps.MarkerImage('http://wxloss.oss-cn-hangzhou.aliyuncs.com/qingxiaobiz/locationselect.png?x-oss-process=image/resize,w_35,h_29', size, origin, anchor); const icon = new qq.maps.MarkerImage(`${__IMGCDN__}locationselect.png?x-oss-process=image/resize,w_35,h_29`, size, origin, anchor);
marker.setIcon(icon); marker.setIcon(icon);
} }
} }
......
...@@ -9,7 +9,7 @@ ...@@ -9,7 +9,7 @@
} }
.logincontainer { .logincontainer {
height: 100vh; height: 100vh;
background-image: url('http://wxloss.oss-cn-hangzhou.aliyuncs.com/qingxiaobiz/loginbg.png'); background-image: url('@{imagesroot}loginbg.png');
background-size: cover; background-size: cover;
} }
.boxtitle { .boxtitle {
...@@ -380,7 +380,7 @@ ...@@ -380,7 +380,7 @@
.locationiconbox { .locationiconbox {
width: 25px; width: 25px;
height: 30px; height: 30px;
background-image: url('http://wxloss.oss-cn-hangzhou.aliyuncs.com/qingxiaobiz/locationdefault.png?x-oss-process=image/resize,w_25,h_29'); background-image: url('@{imagesroot}locationdefault.png?x-oss-process=image/resize,w_25,h_29');
background-size: 100% 100%; background-size: 100% 100%;
text-align: center; text-align: center;
line-height: 26px; line-height: 26px;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment