|
@@ -24,14 +24,14 @@ if (window.NETSALEDATA && window.NETSALEDATA.baseProductInfo && window.NETSALEDA |
|
@@ -24,14 +24,14 @@ if (window.NETSALEDATA && window.NETSALEDATA.baseProductInfo && window.NETSALEDA |
24
|
window.UMdescriptioner = UM.getEditor('edit-descriptioner');
|
24
|
window.UMdescriptioner = UM.getEditor('edit-descriptioner');
|
25
|
if (window.NETSALEDATA && window.NETSALEDATA.productExtBo.productDesc && window.NETSALEDATA.productExtBo.productDesc) {
|
25
|
if (window.NETSALEDATA && window.NETSALEDATA.productExtBo.productDesc && window.NETSALEDATA.productExtBo.productDesc) {
|
26
|
var reg1=new RegExp(".jpg","g");
|
26
|
var reg1=new RegExp(".jpg","g");
|
27
|
- window.NETSALEDATA.productExtBo.productDesc = window.NETSALEDATA.productExtBo.productDesc.replace(reg1,'.jpg?imageView2/0/q/65');
|
27
|
+ window.NETSALEDATA.productExtBo.productDesc = window.NETSALEDATA.productExtBo.productDesc.replace(reg1,'.jpg?imageView2/0/q/75');
|
28
|
UMdescriptioner.setContent(window.NETSALEDATA.productExtBo.productDesc)
|
28
|
UMdescriptioner.setContent(window.NETSALEDATA.productExtBo.productDesc)
|
29
|
};
|
29
|
};
|
30
|
|
30
|
|
31
|
/*保存描述*/
|
31
|
/*保存描述*/
|
32
|
$(document).on("click", "#btn-descriptioner", function () {
|
32
|
$(document).on("click", "#btn-descriptioner", function () {
|
33
|
var content = UMdescriptioner.getContent();
|
33
|
var content = UMdescriptioner.getContent();
|
34
|
- var reg2=new RegExp("\\?imageView2/0/q/65","g");
|
34
|
+ var reg2=new RegExp("\\?imageView2/0/q/75","g");
|
35
|
content = content.replace(reg2,'');
|
35
|
content = content.replace(reg2,'');
|
36
|
common.util.__ajax({
|
36
|
common.util.__ajax({
|
37
|
url:'/product/saveProductDesc',
|
37
|
url:'/product/saveProductDesc',
|
|
@@ -282,7 +282,7 @@ function changeImgQuality(flag){ |
|
@@ -282,7 +282,7 @@ function changeImgQuality(flag){ |
282
|
$.each(goodsList,function (index,item){
|
282
|
$.each(goodsList,function (index,item){
|
283
|
$.each(item.goodsImagesList, function (_index, _item) {
|
283
|
$.each(item.goodsImagesList, function (_index, _item) {
|
284
|
if(flag && _item.imageUrl.indexOf('?') == -1){
|
284
|
if(flag && _item.imageUrl.indexOf('?') == -1){
|
285
|
- _item.imageUrl = _item.imageUrl + '?imageView2/0/q/10';
|
285
|
+ _item.imageUrl = _item.imageUrl + '?imageView2/0/q/75';
|
286
|
}
|
286
|
}
|
287
|
if(!flag && _item.imageUrl.indexOf('?') > 0){
|
287
|
if(!flag && _item.imageUrl.indexOf('?') > 0){
|
288
|
_item.imageUrl = _item.imageUrl.substring(0,_item.imageUrl.indexOf('?'));
|
288
|
_item.imageUrl = _item.imageUrl.substring(0,_item.imageUrl.indexOf('?'));
|