浏览代码

联系我们

linwu 8 月之前
父节点
当前提交
e96c3e462d
共有 2 个文件被更改,包括 6 次插入7 次删除
  1. 1 1
      app/mobile/controller/Human.php
  2. 5 6
      app/mobile/view/human/center.html

+ 1 - 1
app/mobile/controller/Human.php

@@ -187,7 +187,7 @@ class Human extends MobileBaseController
 
     public function center()
     {
-        $this->_listValidate();
+//        $this->_listValidate();
 
         return view();
     }

+ 5 - 6
app/mobile/view/human/center.html

@@ -21,6 +21,7 @@
     <van-cell title="大会介绍" is-link url="{:url('human/describe')}"></van-cell>
     <van-cell title="活动指南" is-link url="{:url('human/guide')}"></van-cell>
     <van-cell title="晋江介绍" is-link url="{:url('human/jinjiang')}"></van-cell>
+    <van-cell title="联系我们" is-link @click="showImage"></van-cell>
 </van-cell-group>
 
 <van-tabbar v-model="active">
@@ -36,12 +37,10 @@
 
         base.active = Vue.ref(2);
 
-        base.toInstitution = () => {
-            location.href = "{:url('human/institutionList')}";
-        };
-
-        base.toEnterprise = () => {
-            location.href = "{:url('human/enterpriseList')}";
+        base.showImage = () => {
+            vant.showImagePreview([
+                '/static/mobile/images/wechat_qrcode.jpg'
+            ]);
         };
 
         return base;