zhashaonan 6 gadi atpakaļ
vecāks
revīzija
164fb61311

+ 33 - 0
data/resource/mobile/festival/freeCollection/css/style.css

@@ -0,0 +1,33 @@
+body,
+html,
+img,
+div,
+a,
+p,
+form,
+input {
+    margin: 0;
+    padding: 0;
+    font-size: 100%;
+    font-family: "PingFang SC Light", 'Heiti SC';
+    -webkit-tap-highlight-color: rgba(255, 255, 255, 0);
+    cursor: pointer;
+    user-select: none;
+}
+html, body {
+    width: 100%;
+    overflow-x: hidden;
+    -webkit-overflow-scrolling: touch;
+}
+ul, ol, li {
+    list-style: none;
+    margin: 0;
+    padding: 0;
+}
+img {
+    border: none;
+}
+.container {
+    height: 100px;
+    background: #f00;
+}

+ 7 - 0
mobile/control/festval.php

@@ -58,6 +58,13 @@ class festvalControl extends mobileControl
         }
     }
 
+    public function freeCollectionOp()
+    {
+        return self::outsuccess(null,'festival/freeCollection/index');
+    }
+
+
+
     private function activity_validate($begin,$end)
     {
         $now = time();

+ 29 - 0
mobile/templates/default/festival/freeCollection/index.php

@@ -0,0 +1,29 @@
+<?php ?>
+<!DOCTYPE html>
+<html lang="en">
+
+<head>
+    <meta charset="UTF-8">
+    <meta name="viewport" content="width=750,user-scalable=no,target-densitydpi=device-dpi">
+    <meta name="format-detection" content="telephone=no">
+    <title>捐步排行榜</title>
+    <link rel="stylesheet" href="<?php echo RESOURCE_SITE_URL; ?>/mobile/festival/freeCollection/css/style.css?<?php echo bonus_version(); ?>">
+</head>
+
+<body>
+<div class="container">
+</div>
+
+<script src="<?php echo RESOURCE_SITE_URL; ?>/mobile/comm/new_bridge.js"></script>
+<script src="<?php echo RESOURCE_SITE_URL; ?>/mobile/comm/jquery-1.11.0.min.js?<?php echo bonus_version(); ?>"></script>
+<script>
+    $(function () {
+        var jsBridge = new Bridge();
+        console.log(jsBridge);
+        console.log(11);
+
+
+    });
+</script>
+</body>
+</html>