Просмотр исходного кода

Merge remote-tracking branch 'origin/master'

xurongyao 7 лет назад
Родитель
Сommit
6e45d31744
2 измененных файлов с 13 добавлено и 1 удалено
  1. 0 1
      application/wap/view/first/store/detail.html
  2. 13 0
      web.config

+ 0 - 1
application/wap/view/first/store/detail.html

@@ -13,7 +13,6 @@
         </div>
         <div class="product-info">
             <div class="title">{$storeInfo.store_name}</div>
-            <div class="price">¥{$minprice|floatval}</div>
             <div class="oldprice">原价:¥{$storeInfo.ot_price|floatval}</div>
             <div class="info-amount flex"><span class="current">商品编号:{$storeInfo.id}</span> <span class="">库存:{$storeInfo.stock}{$storeInfo.unit_name}</span>
                 <span class="fr">销量:{$storeInfo.sales}{$storeInfo.unit_name}</span></div>

+ 13 - 0
web.config

@@ -0,0 +1,13 @@
+<rewrite> 
+<rules> 
+<rule name="OrgPage" stopProcessing="true"> 
+<match url="^(.*)$" /> 
+<conditions logicalGrouping="MatchAll"> 
+<add input="{HTTP_HOST}" pattern="^(.*)$" /> 
+<add input="{REQUEST_FILENAME}" matchType="IsFile" negate="true" /> 
+<add input="{REQUEST_FILENAME}" matchType="IsDirectory" negate="true" /> 
+</conditions> 
+<action type="Rewrite" url="index.php/{R:1}" /> 
+</rule> 
+</rules> 
+</rewrite>