Commit fa963bb5 authored by wangxuelai's avatar wangxuelai

''

parent 9342bad7
......@@ -10,7 +10,7 @@ export default {
"production": {
define: {
'_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 {
defaultIcon: {
backgroundPosition: '-67px 0',
},
activeurl: 'http://wxloss.oss-cn-hangzhou.aliyuncs.com/qingxiaobiz/menu/indexstaicactive.png',
notactiveurl: 'http://wxloss.oss-cn-hangzhou.aliyuncs.com/qingxiaobiz/menu/indexstaicnotactive.png',
activeurl: `${__IMGCDN__}menu/indexstaicactive.png`,
notactiveurl: `${__IMGCDN__}menu/indexstaicnotactive.png`,
path: '/sjd/indexstaic',
relativePath: ['/sjd/indexstaic'],
},
......@@ -23,8 +23,8 @@ export default {
defaultIcon: {
backgroundPosition: '-67px -28px',
},
activeurl: 'http://wxloss.oss-cn-hangzhou.aliyuncs.com/qingxiaobiz/menu/officialwebactive.png',
notactiveurl: 'http://wxloss.oss-cn-hangzhou.aliyuncs.com/qingxiaobiz/menu/officialwebnotactive.png',
activeurl: `${__IMGCDN__}menu/officialwebactive.png`,
notactiveurl: `${__IMGCDN__}menu/officialwebnotactive.png`,
path: '/sjd/officialweb',
relativePath: ['/sjd/officialweb', '/sjd/officialwebeditor'],
},
......
@import '../less/variables.less';
@images: '@{imagesroot}/webapp/';
@images: '@{imagesroot}';
.uncollapsedlogo {
height: 45px;
width: 58px;
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%;
display: block;
}
......@@ -12,7 +12,7 @@
height: 45px;
width: 45px;
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%;
background-size: 100% 100%;
display: block;
......
......@@ -73,5 +73,5 @@
/*Image*/
/*@imagesroot: "//cdn.s.shangjiadao.cn/source/images";*/
// @imagesroot: "http://localhost:81/images";
@imagesroot: "http://biz.shangjiadao.com/images";
@imagesroot: "https://cdn.img.shangjiadao.cn/qingxiao/biz/image/";
/*@imagesroot: @{IMAGEPATH};*/
\ No newline at end of file
......@@ -9,7 +9,7 @@
}
.logincontainer {
height: 100vh;
background-image: url('http://wxloss.oss-cn-hangzhou.aliyuncs.com/qingxiaobiz/loginbg.png');
background-image: url('@{imagesroot}loginbg.png');
background-size: cover;
}
.loginformcontent{
......
......@@ -380,7 +380,7 @@
cursor: pointer;
}
.delicon {
background-image: url('http://wxloss.oss-cn-hangzhou.aliyuncs.com/qingxiaobiz/delicon.png');
background-image: url('@{imagesroot}delicon.png');
background-size: 100% 100%;
width: 27px;
height: 27px;
......
......@@ -31,13 +31,13 @@ class SchoolInfoEditorForm extends React.Component {
const anchor = new qq.maps.Point(0, 0);
const origin = new qq.maps.Point(0, 0);
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);
} else {
const anchor = new qq.maps.Point(0, 0);
const origin = new qq.maps.Point(0, 0);
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);
}
}
......
......@@ -99,7 +99,7 @@
.locationiconbox {
width: 25px;
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%;
text-align: center;
line-height: 26px;
......
......@@ -2,7 +2,7 @@
@images: '@{imagesroot}/webapp/';
.headerbox {
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%;
padding: 18px 0 0 12px;
}
......@@ -10,7 +10,7 @@
width: 61px;
height: 17px;
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;
font-weight: 700;
font-size: 14px;
......
......@@ -9,7 +9,7 @@
}
.logincontainer {
height: 100vh;
background-image: url('http://wxloss.oss-cn-hangzhou.aliyuncs.com/qingxiaobiz/loginbg.png');
background-image: url('@{imagesroot}loginbg.png');
background-size: cover;
}
.loginformcontent{
......
......@@ -9,7 +9,7 @@
}
.logincontainer {
height: 100vh;
background-image: url('http://wxloss.oss-cn-hangzhou.aliyuncs.com/qingxiaobiz/loginbg.png');
background-image: url('@{imagesroot}loginbg.png');
background-size: cover;
}
.loginformcontent{
......
......@@ -44,13 +44,13 @@ class SchoolAddForm extends React.Component {
const anchor = new qq.maps.Point(0, 0);
const origin = new qq.maps.Point(0, 0);
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);
} else {
const anchor = new qq.maps.Point(0, 0);
const origin = new qq.maps.Point(0, 0);
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);
}
}
......
......@@ -9,7 +9,7 @@
}
.logincontainer {
height: 100vh;
background-image: url('http://wxloss.oss-cn-hangzhou.aliyuncs.com/qingxiaobiz/loginbg.png');
background-image: url('@{imagesroot}loginbg.png');
background-size: cover;
}
.boxtitle {
......@@ -380,7 +380,7 @@
.locationiconbox {
width: 25px;
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%;
text-align: center;
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