dever 6 years ago
parent
commit
985facb1e3

+ 2 - 0
download/assets/mobile/css/download.css

@@ -0,0 +1,2 @@
+.dl-wrapper{width:10rem;margin:0 auto}.dl-wrapper .topcont{position:relative;height:12.58667rem;width:10rem;overflow:hidden}.dl-wrapper .topcont img{display:block;width:100%}.dl-wrapper .topcont:after{content:"";position:absolute;top:0;left:0;width:100%;height:100%;background:url(../images/dlbg.png) no-repeat;background-size:100% auto}.dl-wrapper .topcont .logo-wrap{position:absolute;top:0;left:0;width:100%;padding:2.86667rem 0 0;z-index:1;text-align:center}.dl-wrapper .topcont .logo-wrap img{display:block;margin:0 auto .26667rem;width:2.37333rem}.dl-wrapper .topcont .logo-wrap h3{font-size:.58667rem;color:#fff;margin-bottom:.26667rem}.dl-wrapper .topcont .logo-wrap p{font-size:.4rem;color:#fff}.dl-wrapper .btnlist{margin-top:-.13333rem;z-index:11;position:relative;background-color:#fff;padding-top:.13333rem}.dl-wrapper .btnlist a{display:block;width:8rem;height:1.33333rem;line-height:1.33333rem;background-color:#000;border-radius:1.33333rem;color:#fff;font-size:.45333rem;margin:0 auto .45333rem;text-align:center}.dl-wrapper .btnlist a.golden{background-color:#b59a6e}.dl-guide{position:fixed;top:0;left:0;bottom:0;right:0;background:url(../images/guide.png) no-repeat 5.36rem .73333rem rgba(0,0,0,.5);background-size:3.36rem 2.66667rem;z-index:20;display:none}
+/*# sourceMappingURL=download.css.map?v=ccea1eae*/

+ 1 - 0
download/assets/mobile/css/download.css.map

@@ -0,0 +1 @@
+{"version":3,"sources":[],"names":[],"mappings":"","file":"css/download.css?v=ccea1eae","sourceRoot":""}

+ 2 - 0
download/assets/mobile/css/global.css

@@ -0,0 +1,2 @@
+body{font-family:Roboto,Droid Sans,Helvetica,Helvetica Neue,Heiti SC,sans-serif}abbr,address,article,aside,audio,b,blockquote,body,canvas,caption,cite,code,dd,del,details,dfn,div,dl,dt,em,fieldset,figcaption,figure,footer,form,h1,h2,h3,h4,h5,h6,header,hgroup,html,i,iframe,img,ins,kbd,label,legend,li,mark,menu,nav,object,ol,p,pre,q,samp,section,small,span,strong,sub,summary,sup,table,tbody,td,tfoot,th,thead,time,tr,ul,var,video{margin:0;padding:0;border:none;outline:none}article,aside,details,figcaption,figure,footer,header,hgroup,menu,nav,section{display:block}address,caption,cite,code,dfn,td,th,var{font-weight:400;font-style:normal}nav,ol,ul{list-style:none}blockquote,q{quotes:none}blockquote:after,blockquote:before,q:after,q:before{content:"";content:none}a,ins{text-decoration:none}table{border-collapse:collapse;border-spacing:0}caption,td,th{text-align:left}a,div,img,input{-webkit-tap-highlight-color:transparent;-webkit-appearance:none}input:focus::-webkit-input-placeholder,textarea:focus::-webkit-input-placeholder{color:transparent}.clearfix:after{visibility:hidden;display:block;font-size:0;content:" ";clear:both;height:0}.fn-hide{display:none}.fn-nocallout{-webkit-touch-callout:none}.fn-noselect{-webkit-user-select:none}.fn-noadjust{-webkit-text-size-adjust:none}.fn-nodrag{-webkit-user-drag:none}
+/*# sourceMappingURL=global.css.map?v=ccea1eae*/

+ 1 - 0
download/assets/mobile/css/global.css.map

@@ -0,0 +1 @@
+{"version":3,"sources":[],"names":[],"mappings":"","file":"css/global.css?v=ccea1eae","sourceRoot":""}

BIN
download/assets/mobile/images/dlbg.png


BIN
download/assets/mobile/images/guide.png


BIN
download/assets/mobile/images/logo.png


BIN
download/assets/mobile/images/tmp.png


+ 41 - 0
download/assets/mobile/index.html

@@ -0,0 +1,41 @@
+<!DOCTYPE html>
+<html>
+
+<head>
+    <meta charset="utf-8">
+    <meta name="viewport"
+        content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no" />
+    <title>JSTYLE精美</title>
+<link href="css/global.css?v=ccea1eae" rel="stylesheet"><link href="css/download.css?v=ccea1eae" rel="stylesheet"></head>
+
+<body>
+    <div class="dl-wrapper">
+        <div class="topcont">
+            <img src="images/tmp.png" alt="">
+            <div class="logo-wrap">
+                <img src="images/logo.png" alt="">
+                <h3>JSTYLE精美</h3>
+                <p>JSTYLE精美——我的时尚指南</p>
+            </div>
+        </div>
+        <div class="btnlist">
+            <a href="#" class="dlbtn">苹果手机下载</a>
+            <a href="#" class="dlbtn">Android手机下载</a>
+            <a href="#" class="golden">应用宝下载</a>
+        </div>
+    </div>
+    <div class="dl-guide"></div>
+<script type="text/javascript" src="js/global.js?v=ccea1eae"></script><script type="text/javascript" src="js/download.js?v=ccea1eae"></script></body>
+<script>
+    var isWx = navigator.userAgent.toLocaleLowerCase().indexOf('micromessager') > -1;
+    if(isWx){
+        $('.dlbtn').on('click',function(){
+            $('.dl-guide').show();
+        })
+    }
+    $('.dl-guide').on('click', function () {
+        $(this).hide();
+    })
+</script>
+
+</html>

+ 2 - 0
download/assets/mobile/js/download.js

@@ -0,0 +1,2 @@
+webpackJsonp([5],{12:function(n,t){},19:function(n,t,c){n.exports=c(3)},3:function(n,t,c){"use strict";c(12)}},[19]);
+//# sourceMappingURL=download.js.map?v=ccea1eae

+ 1 - 0
download/assets/mobile/js/download.js.map

@@ -0,0 +1 @@
+{"version":3,"sources":["webpack:///js/download.js","webpack:///./mobile/src/router/download.js"],"names":["webpackJsonp","12","module","exports","19","__webpack_require__","3"],"mappings":"AAAAA,cAAc,IAERC,GACA,SAAUC,EAAQC,KAMlBC,GACA,SAAUF,EAAQC,EAASE,GAEjCH,EAAOC,QAAUE,EAAoB,IAK/BC,EACA,SAAUJ,EAAQC,EAASE,GAEjC,YCnBAA,GAAA,OD0BG","file":"js/download.js?v=ccea1eae","sourcesContent":["webpackJsonp([5],{\n\n/***/ 12:\n/***/ (function(module, exports) {\n\n// removed by extract-text-webpack-plugin\n\n/***/ }),\n\n/***/ 19:\n/***/ (function(module, exports, __webpack_require__) {\n\nmodule.exports = __webpack_require__(3);\n\n\n/***/ }),\n\n/***/ 3:\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\n\n__webpack_require__(12);\n\n/***/ })\n\n},[19]);\n\n\n// WEBPACK FOOTER //\n// js/download.js?v=ccea1eae","\r\nimport '../css/download.css';\n\n\n// WEBPACK FOOTER //\n// ./mobile/src/router/download.js"],"sourceRoot":""}

File diff suppressed because it is too large
+ 0 - 0
download/assets/mobile/js/global.js


File diff suppressed because it is too large
+ 0 - 0
download/assets/mobile/js/global.js.map


+ 8 - 0
download/index.php

@@ -0,0 +1,8 @@
+<?php
+
+define('DEVER_APP_NAME', 'download');
+define('DEVER_APP_LANG', '下载');
+define('DEVER_APP_PATH', dirname(__FILE__) . DIRECTORY_SEPARATOR);
+define('DEVER_MANAGE_ORDER', 1);
+define('DEVER_MANAGE_ICON', 'glyphicon glyphicon-tower layui-icon-component');
+include(DEVER_APP_PATH . '../boot.php');

+ 37 - 0
download/src/Data.php

@@ -0,0 +1,37 @@
+<?php
+
+namespace Download\Src;
+
+use Dever;
+
+class Data
+{
+	public function version()
+	{
+        $where['source_type'] = 'android';
+        $version = Dever::db('main/version')->getOne($where);
+
+        if ($version) {
+            if (isset($version['link'])) {
+                $version['link'] = str_replace('http://', 'https://', $version['link']);
+            }
+
+            if (isset($version['file'])) {
+                $version['link'] = str_replace('http://', 'https://', $version['file']);
+            }
+        } else {
+        	$version['link'] = '';
+        }
+
+        return $version['link'];
+	}
+
+	public function info()
+	{
+		$data['ios'] = 'https://itunes.apple.com/cn/app/jstyle%E7%B2%BE%E7%BE%8E-%E6%97%B6%E5%B0%9A%E5%A8%B1%E4%B9%90%E8%B5%84%E8%AE%AFapp/id1133390422?mt=8';
+		$data['android'] = $this->version();
+		$data['myapp'] = 'http://t.cn/ELf3Waq';
+
+		return $data;
+	}
+}

+ 11 - 0
download/template/mobile/home.php

@@ -0,0 +1,11 @@
+<?php
+
+
+$view
+
+->fetch(array('.dlbtn@href', 0),'download/data.info#ios')
+->fetch(array('.dlbtn@href', 1),'download/data.info#android')
+->fetch('.golden@href','download/data.info#myapp')
+
+# display
+->display();

Some files were not shown because too many files changed in this diff