nswe
管理员
管理员
  • UID1
  • 粉丝36
  • 关注0
  • 发帖数796
阅读:1591回复:1

cdn报错样式丢失解决方案

楼主#
更多 发布于:2019-03-22 13:49
近期国内最大的cdn服务商bootcdn频繁挂机,导致我们引用的大量资源丢失,目前提供如下解决方案:
需要对部分引入文件的路径做修改,进行如下替换操作即可完成:
1, 把:  //cdn.bootcss.com  替换为   //libs.cdnjs.net
2, 把 : //libs.cdnjs.net/bootstrap   替换为  //libs.cdnjs.net/twitter-bootstrap  (此步骤是基于上一部替换后结果的)


即可。
目前需要改动的文件如下:
UI模板类(按照当前所使用的模板进行修改即可):


bubugao模板:

/bubugao/site/pic_show.html
/bubugao/skin/default/style/base/_font.scss
/bubugao/skin/default/style/style.css


default模板:
/default/simple/bind_user.html
/default/site/pic_show.html


huawei模板:
/huawei/site/pic_show.html
/huawei/skin/default/style/base/_font.scss
/huawei/skin/default/style/style.css


iwebmall模板:
/iwebmall/simple/bind_user.html
/iwebmall/site/pic_show.html


jd模板:
/jd/site/pic_show.html
/jd/skin/default/style/base/_font.scss
/jd/skin/default/style/style.css


maijiu模板:
/maijiu/simple/bind_user.html
/maijiu/site/pic_show.html


mobile模板:
/mobile/simple/bind_user.html
/mobile/skin/default/style/base/_font.scss
/mobile/skin/default/style/style.css


mobile_dm模板:
/mobile_dm/simple/bind_user.html
/mobile_dm/skin/default/css/style.css


mobile_fun模板:
/mobile_fun/simple/bind_user.html
/mobile_fun/skin/default/css/base/_font.scss
/mobile_fun/skin/default/css/style.css


mobile_gome模板:
/mobile_gome/simple/bind_user.html
/mobile_gome/skin/default/style/base/_font.scss
/mobile_gome/skin/default/style/style.css


mobile_red模板:
/mobile_red/simple/bind_user.html
/mobile_red/skin/default/style/base/_font.scss
/mobile_red/skin/default/style/style.css


myprint模板:
/myprint/simple/bind_user.html
/myprint/site/pic_show.html


nongrj模板:
/nongrj/simple/bind_user.html
/nongrj/site/pic_show.html


qinqin模板:
/qinqin/site/pic_show.html
/qinqin/skin/default/style/base/_font.scss
/qinqin/skin/default/style/style.css


shangjiele模板:
/shangjiele/simple/bind_user.html
/shangjiele/site/pic_show.html
/shangjiele/skin/default/style/base/_font.scss
/shangjiele/skin/default/style/style.css
/shangjiele/skin/green/style/base/_font.scss
/shangjiele/skin/green/style/style.css


suning模板:
/suning/site/pic_show.html
/suning/skin/default/style/base/_font.scss
/suning/skin/default/style/style.css


sysdm模板:
/sysdm/block/freight.html
/sysdm/block/products_list.html
/sysdm/block/takeself.html
/sysdm/comment/message_send.html
/sysdm/comment/seller_message_send.html
/sysdm/errors_admin/error.html
/sysdm/goods/goods_setting.html
/sysdm/goods/member_price.html
/sysdm/goods/search.html
/sysdm/goods/search_result.html
/sysdm/goods/spec_edit.html
/sysdm/layouts/admin.html
/sysdm/layouts/print.html
/sysdm/market/order_goods_servicefee_list.html
/sysdm/member/member_balance.html
/sysdm/member/search_seller.html
/sysdm/member/search_user.html
/sysdm/message/marketing_sms_send.html
/sysdm/order/expresswaybill_template.html
/sysdm/order/order_code_check.html
/sysdm/order/order_collection.html
/sysdm/order/order_deliver.html
/sysdm/order/order_refundment.html
/sysdm/order/search.html
/sysdm/skin/default/css/admin.css
/sysdm/tools/upload_sql.html


sysseller模板:
/sysseller/errors_seller/error.html
/sysseller/skin/blue/css/admin.css
/sysseller/skin/default/css/admin.css
/sysseller/skin/green/css/admin.css
/sysseller/skin/red/css/admin.css
/sysseller/systemseller/index.html


sysseller_mobile模板:
/sysseller_mobile/errors_seller/error.html
/sysseller_mobile/skin/default/style/base/_font.scss
/sysseller_mobile/skin/default/style/style.css


tuotuo模板:
/tuotuo/simple/bind_user.html
/tuotuo/site/pic_show.html


xiaomi模板:
/xiaomi/site/pic_show.html
/xiaomi/skin/default/style/base/_font.scss
/xiaomi/skin/default/style/style.css
+++++++++++++++++++++++++++++++++++++++++++++++++++++
插件类:
三级分销插件:

/plugins/commission/commission_goods_edit.html
/plugins/commission/commission_goods_list.html
/plugins/commission/commission_member_list.html
/plugins/commission/commission_order_list.html
/plugins/commission/commission_order_user.html
/plugins/commission/commission_user_list.html
/plugins/commission/commission_withdraw_detail.html
/plugins/commission/commission_withdraw_list.html
/plugins/commission/recommend.html
/plugins/commission/recommend_commission.html
/plugins/commission/recommend_user.html
/plugins/commission/recommend_withdraw.html


csv导入插件:
/plugins/csvPacketHelper/csv.html


快商通插件:
/plugins/kuaishangtong/kuaishangtong_edit.html


微信扫码支付:
/plugins/payments/pay_scan_wechat/template/pay.php


seo插件:
/plugins/seo/seo_edit.html
/plugins/seo/seo_list.html


qq客服:
/plugins/sonline/qq_edit.html


微信插件:
/plugins/wechat/bindSeller.html
踏踏实实做好份内工作,一步一个脚印比什么都强!
nswe
管理员
管理员
  • UID1
  • 粉丝36
  • 关注0
  • 发帖数796
沙发#
发布于:2019-06-13 08:04
自从5.5版本之后,所有第三方前端库都本地化了,不依赖外部第三方了,不存在上述问题
踏踏实实做好份内工作,一步一个脚印比什么都强!
游客

返回顶部