Browse Source

不知道什么问题

git-svn-id: svn://svn7.apicloud.com/A6007457911931/%E5%9C%88%E5%A4%9A%E5%A4%9A@656 0e1a2743-8d03-4e5a-a60c-7e26af42b145
1149931599@qq.com 4 years ago
parent
commit
2d880c0cd8
1 changed files with 5 additions and 5 deletions
  1. 5 5
      html/frame0.html

+ 5 - 5
html/frame0.html

@@ -431,20 +431,20 @@
 							if (item.adv_enabled == 1) {
 								if (item.adv_target.type == 'store') {
 									$(".swiper-wrapper").append('<div class="swiper-slide" type="store" keyid="' + item.adv_target.store_id +
-										'"><img style="width:100%" src="' + siteurl + "uploads/home/adv/" + item.adv_code + '"/></div>');
+										'"><img src="' + siteurl + "uploads/home/adv/" + item.adv_code + '"/></div>');
 								} else if (item.adv_target.type == 'goods') {
 									$(".swiper-wrapper").append('<div class="swiper-slide" type="goods" keyid="' + item.adv_target.goods_id +
-										'" xkeyid="' + item.adv_target.store_id + '"><img style="width:100%" src="' + siteurl + "uploads/home/adv/" + item.adv_code +
+										'" xkeyid="' + item.adv_target.store_id + '"><img src="' + siteurl + "uploads/home/adv/" + item.adv_code +
 										'"/></div>');
 								} else if (item.adv_target.type == 'article') {
 									$(".swiper-wrapper").append('<div class="swiper-slide" type="article" keyid="' + item.adv_target.article_id +
-										'"><img style="width:100%" src="' + siteurl + "uploads/home/adv/" + item.adv_code + '"/></div>');
+										'"><img src="' + siteurl + "uploads/home/adv/" + item.adv_code + '"/></div>');
 								} else {
-									$(".swiper-wrapper").append('<div class="swiper-slide" type="0" keyid="0"><img style="width:100%" src="' + siteurl +
+									$(".swiper-wrapper").append('<div class="swiper-slide" type="0" keyid="0"><img src="' + siteurl +
 										"uploads/home/adv/" + item.adv_code + '"/></div>');
 								}
 							} else {
-								$(".swiper-wrapper").append('<div class="swiper-slide" type="0" keyid="0"><img style="width:100%" src="' + siteurl +
+								$(".swiper-wrapper").append('<div class="swiper-slide" type="0" keyid="0"><img src="' + siteurl +
 									"uploads/home/adv/" + item.adv_code + '"/></div>');
 							}
 						});