浏览代码

轮播图图片宽度修复

git-svn-id: svn://svn7.apicloud.com/A6007457911931/%E5%9C%88%E5%A4%9A%E5%A4%9A@654 0e1a2743-8d03-4e5a-a60c-7e26af42b145
1149931599@qq.com 4 年之前
父节点
当前提交
ac8eb7ebda
共有 3 个文件被更改,包括 7 次插入7 次删除
  1. 4 4
      html/frame0.html
  2. 1 1
      html/frame2.html
  3. 2 2
      html/frame3.html

+ 4 - 4
html/frame0.html

@@ -431,16 +431,16 @@
 							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 src="' + siteurl + "uploads/home/adv/" + item.adv_code + '"/></div>');
+										'"><img style="width:100%" 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 src="' + siteurl + "uploads/home/adv/" + item.adv_code +
+										'" xkeyid="' + item.adv_target.store_id + '"><img style="width:100%" 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 src="' + siteurl + "uploads/home/adv/" + item.adv_code + '"/></div>');
+										'"><img style="width:100%" src="' + siteurl + "uploads/home/adv/" + item.adv_code + '"/></div>');
 								} else {
-									$(".swiper-wrapper").append('<div class="swiper-slide" type="0" keyid="0"><img src="' + siteurl +
+									$(".swiper-wrapper").append('<div class="swiper-slide" type="0" keyid="0"><img style="width:100%" src="' + siteurl +
 										"uploads/home/adv/" + item.adv_code + '"/></div>');
 								}
 							} else {

+ 1 - 1
html/frame2.html

@@ -149,7 +149,7 @@
                 <div class="swiper-slide" state="20,30" state_as="payed"><span>处理中</span></div>
                 <div class="swiper-slide" state="40" state_as="complete"><span>已收货</span></div>
                 <div class="swiper-slide" state="0" state_as="cancel"><span>已取消</span></div>
-                <div class="swiper-slide" state="50" state_as="refund"><span>退换/售后</span></div>
+                <!-- <div class="swiper-slide" state="50" state_as="refund"><span>退换/售后</span></div> -->
             </div>
         </div>
     </section>

+ 2 - 2
html/frame3.html

@@ -107,9 +107,9 @@
                 <li class="order-list-btn" tag="0" state_as="cancel" tagname="已取消"><img src="../image/order_cancel.png" />
                     <p>已取消</p>
                 </li>
-                <li class="order-list-btn" tag="50" state_as="refund" tagname="退换/售后"><img src="../image/order_wat_pay.png" />
+<!--                <li class="order-list-btn" tag="50" state_as="refund" tagname="退换/售后"><img src="../image/order_wat_pay.png" />
                     <p>退换/售后</p>
-                </li>
+                </li> -->
             </ul>
         </div>
     </section>