浏览代码

修改bug

Longlin 5 年之前
父节点
当前提交
32c47f8bbf
共有 2 个文件被更改,包括 5 次插入1 次删除
  1. 1 1
      whepi-ui/templates/yeweihui/tuangou.ftl
  2. 4 0
      whepi-ui/templates/yeweihui/tuangou.js

+ 1 - 1
whepi-ui/templates/yeweihui/tuangou.ftl

@@ -85,7 +85,7 @@
                         </div>
                     </div>
                     <div class="weui-btn-area">
-                        <a id="tg_publish" class="weui-btn weui-btn_primary">
+                        <a id="tg_publish2" class="weui-btn weui-btn_primary">
                             发布新团购
                         </a>
                     </div>

+ 4 - 0
whepi-ui/templates/yeweihui/tuangou.js

@@ -3,6 +3,10 @@ function tuangou_init(tt) {
         window.location.href = "/yeweihui/tgPublish.html?userId=" + $('#userId').val();
     });
 
+    $('#tg_publish2').on('click', function () {
+        window.location.href = "/yeweihui/tgPublish.html?userId=" + $('#userId').val();
+    });
+
     $('#tg_btnQZ1').on('click', function () {
         getListData();
     });