zhashaonan 6 年之前
父節點
當前提交
e76a6de83c

+ 34 - 0
data/resource/mobile/festival/newYear/css/style.css

@@ -0,0 +1,34 @@
+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 {
+    position: relative;
+    max-width: 750px;
+    margin: auto;
+}

+ 5 - 0
mobile/control/festval.php

@@ -382,6 +382,11 @@ class festvalControl extends mobileControl
         ],'festival/double11/steps');
     }
 
+    public function new_yearOp()
+    {
+        return self::outsuccess(null,'festival/newYear/index');
+    }
+
     private function mine_steps_info($userSteps)
     {
         $member_id = session_helper::memberid();

+ 38 - 0
mobile/templates/default/festival/newYear/index.php

@@ -0,0 +1,38 @@
+<?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/newYear/css/style.css?<?php echo bonus_version(); ?>">
+</head>
+
+<body>
+<div class="container">
+123
+</div>
+
+
+<script src="<?php echo RESOURCE_SITE_URL; ?>/mobile/comm/jquery-1.11.0.min.js?<?php echo bonus_version(); ?>"></script>
+<script src="<?php echo RESOURCE_SITE_URL; ?>/mobile/comm/new_bridge.js"></script>
+<script src="<?php echo RESOURCE_SITE_URL; ?>/mobile/festival/freeCollection/js/freeCollection.js?<?php echo bonus_version(); ?>"></script>
+<script>
+    $(function () {
+        var bridge = new Bridge();
+//        var member_id = <?php //echo session_helper::memberid(); ?>//;
+        var session_id = '<?php echo session_helper::session_id(); ?>';
+        var url = "<?php echo BASE_SITE_URL; ?>/mobile/index.php";
+        if (url.indexOf('a.lrlz.com') != -1) {
+            url = "http://a.lrlz.com/mobile/index.php";
+        }
+
+
+
+
+    });
+</script>
+</body>
+</html>