瀏覽代碼

订单列表

zhengwei 5 年之前
父節點
當前提交
016a1089cc

+ 4 - 0
WebContent/mnit/meta.jsp

@@ -12,6 +12,10 @@
 <script type="text/javascript">
     var base = '${base}';
     var imgUrl = "${imgUrl}";
+    var share={"title":"${share_title}",
+        "link":"${share_url}",
+        "imgUrl":"${share_img}",
+        "desc":"${share_desc}"};
 </script>
 <script type="text/javascript" src="http://res.wx.qq.com/open/js/jweixin-1.1.0.js"></script>
 <script src="${base}/static/web/frame/jquery/jquery-1.10.2.min.js"></script>

+ 3 - 0
WebContent/static/web/js/product/productCategoryList.js

@@ -13,6 +13,9 @@ layui.define(['layer', 'form'], function (exports) {
                 return '<input type="checkbox" lay-skin="primary" lay-filter="oneChoose" data-id="'+obj.id+'" />';
             }},
             {data: 'cat_name'},
+            {data: function(obj){
+                return siteUrl+'/mobile/productCategory.jsp?type='+obj.id;
+            }},
             {data: 'sort_order'},
             {data: function(obj){
 	    		if(obj.nav_show=="1"){

+ 6 - 0
WebContent/web/product/choiceProductForm.jsp

@@ -118,6 +118,12 @@
 							<layui:select id="is_hot" type="select" name="is_hot" key="yes_no"  val="0"/>
 						</div>
 					</div>
+                    <div class="layui-form-item layui-row">
+                        <label class="layui-form-label layui-col-xs3 layui-col-sm2">是否配送</label>
+                        <div class="layui-input-block layui-col-xs8 layui-col-sm9">
+                            <layui:select id="is_delivery" type="select" name="is_delivery" key="yes_no"  val="0"/>
+                        </div>
+                    </div>
 					<div class="layui-form-item">
 						<label class="layui-form-label layui-col-xs3 layui-col-sm2"><span
 								class="c-red">*</span>商品主图</label>

+ 2 - 1
WebContent/web/product/productCategoryList.jsp

@@ -29,7 +29,8 @@
 	       	<thead>
 		    	<tr>
 		        	<th width="10"><input type="checkbox" name="" lay-skin="primary" lay-filter="allChoose"></th>
-					<th>品牌名称</th>
+					<th>分类名称</th>
+					<th>分类链接</th>
 					<th>排序</th>
 					<th class="text-c">是否导航显示</th>
 					<th class="text-c">是否启用</th>