├── E3-demo ├── .project ├── Home │ └── product-detail-needtem.html ├── barItem │ ├── cart.html │ ├── category.html │ ├── home.html │ ├── mine.html │ └── wishList.html ├── category │ └── category-detail-new-needtem.html ├── css │ ├── iconfont.css │ ├── mui.css │ ├── mui.min.css │ ├── mui.picker.min.css │ └── own.css ├── fonts │ ├── iconfont.ttf │ └── mui.ttf ├── img │ ├── 1.jpg │ ├── 2.jpg │ ├── 3.jpg │ ├── 50.jpg │ ├── bg.jpeg │ ├── bg.png │ ├── category.png │ ├── detail │ │ ├── 0.jpg │ │ ├── 1.jpg │ │ ├── 2.jpg │ │ ├── 3.jpg │ │ ├── 4.jpg │ │ ├── 5.jpg │ │ ├── 6.jpg │ │ ├── 7.jpg │ │ ├── 8.jpg │ │ └── 9.jpg │ ├── jump.gif │ ├── slider │ │ ├── slider1.jpg │ │ ├── slider2.jpg │ │ ├── slider3.jpg │ │ └── slider4.png │ └── touxiang.jpg ├── index.html ├── js │ ├── city.data-3.js │ ├── mui.js │ ├── mui.min.js │ ├── mui.picker.min.js │ └── own.js ├── manifest.json ├── mine │ ├── address-needtem.html │ ├── change-address-needtem.html │ ├── change-email-needtem.html │ ├── change-psd-needtem.html │ ├── feedback-needtem.html │ ├── forget-psd-needtem.html │ ├── login.html │ ├── my-order-needtem.html │ └── register-needtem.html ├── template-main-first.html ├── template-main-second.html ├── template-main-third.html ├── template.html └── unpackage │ ├── .confirmed_dependencies │ └── .dependencies ├── E3-server ├── .project ├── Home │ └── product-detail-needtem.html ├── Mine │ ├── address.html │ ├── change-address-needtem.html │ ├── changeEmail-needtem.html │ ├── changepsd-needtem.html │ ├── login.html │ ├── my-dingdan-needtem.html │ ├── register-needtem.html │ └── remenberpsd-needtem.html ├── baritemHtml │ ├── cart.html │ ├── category.html │ ├── home.html │ ├── mine.html │ └── xinyuandan.html ├── category │ └── category-detail-needtem.html ├── css │ ├── iconfont.css │ ├── mui.css │ ├── mui.min.css │ ├── mui.picker.all.css │ ├── mui.picker.css │ ├── mui.picker.min.css │ ├── mui.poppicker.css │ └── own.css ├── fonts │ ├── iconfont.ttf │ └── mui.ttf ├── img │ ├── 3.jpg │ ├── bg.jpeg │ ├── bg.png │ ├── jump.gif │ └── touxiang.jpg ├── index.html ├── js │ ├── ajax.js │ ├── city.data-3.js │ ├── load.js │ ├── md5.js │ ├── mui.js │ ├── mui.min.js │ ├── mui.picker.min.js │ ├── mui.pullToRefresh.js │ ├── mui.pullToRefresh.material.js │ ├── own.js │ └── wl_ajax.js ├── manifest.json ├── product-detail-tem.html └── template-main.html ├── LICENSE └── README.md /E3-demo/.project: -------------------------------------------------------------------------------- 1 | 2 | 3 | E3-demo 4 | Create By HBuilder 5 | 6 | 7 | 8 | 9 | com.pandora.projects.ui.MKeyBuilder 10 | 11 | 12 | 13 | 14 | com.aptana.ide.core.unifiedBuilder 15 | 16 | 17 | 18 | 19 | 20 | com.pandora.projects.ui.MKeyNature 21 | com.aptana.projects.webnature 22 | 23 | 24 | 25 | 1464747136290 26 | 27 | 10 28 | 29 | org.eclipse.ui.ide.orFilterMatcher 30 | 31 | 32 | org.eclipse.ui.ide.multiFilter 33 | 1.0-projectRelativePath-matches-false-false-bin 34 | 35 | 36 | org.eclipse.ui.ide.multiFilter 37 | 1.0-projectRelativePath-matches-false-false-setting 38 | 39 | 40 | 41 | 42 | 43 | 44 | -------------------------------------------------------------------------------- /E3-demo/barItem/category.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 55 | 56 | 57 | 58 |
59 |
60 |
61 |
62 |
63 |
64 |
65 | 66 |
67 |
68 |
69 | 70 | 71 | 72 | 221 | 222 | 223 | -------------------------------------------------------------------------------- /E3-demo/barItem/home.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | E3 8 | 9 | 10 | 11 | 12 | 69 | 70 | 71 | 72 |
73 |
74 |
75 |
76 |
77 | 78 |
79 |
80 |
81 | 82 | 83 | 84 | 85 | 206 | 207 | -------------------------------------------------------------------------------- /E3-demo/barItem/mine.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | Mine 8 | 9 | 10 | 11 | 34 | 35 | 36 | 37 |
38 | 39 |
40 |
41 |
42 | 43 | 44 |
45 | 请登录 46 |
47 |
48 | 49 | 61 | 73 | 80 | 81 | 86 | 87 |
88 | 89 | 90 | 196 | 197 | 198 | -------------------------------------------------------------------------------- /E3-demo/barItem/wishList.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | E3 7 | 8 | 9 | 10 | 11 | 35 | 36 | 37 | 38 |
39 |
40 | 45 | 46 | 49 |
50 | 51 |
52 | 53 | 54 | 55 | 56 | 57 | 235 | 236 | 237 | -------------------------------------------------------------------------------- /E3-demo/category/category-detail-new-needtem.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | category父子模版 8 | 9 | 10 | 11 | 12 | 13 | 70 | 71 | 72 | 73 | 74 |
75 | 89 |
90 | 91 | 92 | 93 | 94 | 95 | 158 | 159 | 160 | -------------------------------------------------------------------------------- /E3-demo/css/iconfont.css: -------------------------------------------------------------------------------- 1 | 2 | @font-face { 3 | font-family: "iconfont"; 4 | src:url('../fonts/iconfont.ttf') format('truetype'); /* chrome、firefox、opera、Safari, Android, iOS 4.2+*/ 5 | } 6 | 7 | .iconfont { 8 | font-family:"iconfont" !important; 9 | font-size:24px; 10 | font-style:normal; 11 | -webkit-font-smoothing: antialiased; 12 | -webkit-text-stroke-width: 0.2px; 13 | } 14 | .icon-fanhui:before { content: "\e612"; } 15 | .icon-xuanze:before { content: "\e610"; } 16 | .icon-add:before { content: "\e60c"; } 17 | .icon-home:before { content: "\e600"; } 18 | .icon-iconfont53:before { content: "\e60f"; } 19 | .icon-wodedingdan:before { content: "\e601"; } 20 | .icon-cart:before { content: "\e603"; } 21 | .icon-xiaolian:before { content: "\e602"; } 22 | .icon-wode:before { content: "\e604"; } 23 | .icon-mimaxiugai:before { content: "\e605"; } 24 | .icon-fenlei:before { content: "\e606"; } 25 | .icon-tianjia:before { content: "\e60e"; } 26 | .icon-tianjia1:before { content: "\e60d"; } 27 | .icon-jiumima:before { content: "\e607"; } 28 | .icon-queren:before { content: "\e60b"; } 29 | .icon-zhanghao:before { content: "\e608"; } 30 | .icon-dizhi:before { content: "\e609"; } 31 | .icon-xinyuandan:before { content: "\e60a"; } 32 | .icon-xuanze1:before { content: "\e611"; } 33 | -------------------------------------------------------------------------------- /E3-demo/css/mui.picker.min.css: -------------------------------------------------------------------------------- 1 | /** 2 | * 选择列表插件 3 | * varstion 2.0.0 4 | * by Houfeng 5 | * Houfeng@DCloud.io 6 | **/ 7 | .mui-pciker-list li,.mui-picker,.mui-picker-inner{box-sizing:border-box;overflow:hidden}.mui-picker{background-color:#ddd;position:relative;height:200px;border:1px solid rgba(0,0,0,.1);-webkit-user-select:none;user-select:none}.mui-dtpicker,.mui-poppicker{left:0;background-color:#eee;box-shadow:0 -5px 7px 0 rgba(0,0,0,.1);-webkit-transition:.3s;width:100%}.mui-picker-inner{position:relative;width:100%;height:100%;-webkit-mask-box-image:-webkit-linear-gradient(bottom,transparent,transparent 5%,#fff 20%,#fff 80%,transparent 95%,transparent);-webkit-mask-box-image:linear-gradient(top,transparent,transparent 5%,#fff 20%,#fff 80%,transparent 95%,transparent)}.mui-pciker-list,.mui-pciker-rule{box-sizing:border-box;padding:0;margin:-18px 0 0;width:100%;height:36px;line-height:36px;position:absolute;left:0;top:50%}.mui-pciker-rule-bg{z-index:0}.mui-pciker-rule-ft{z-index:2;border-top:solid 1px rgba(0,0,0,.1);border-bottom:solid 1px rgba(0,0,0,.1)}.mui-pciker-list{z-index:1;-webkit-transform-style:preserve-3d;transform-style:preserve-3d;-webkit-transform:perspective(750pt) rotateY(0) rotateX(0);transform:perspective(750pt) rotateY(0) rotateX(0)}.mui-pciker-list li{width:100%;height:100%;position:absolute;text-align:center;vertical-align:middle;-webkit-backface-visibility:hidden;backface-visibility:hidden;font-size:1pc;font-family:"Helvetica Neue",Helvetica,Arial,sans-serif;color:#888;padding:0 8px;white-space:nowrap;-webkit-text-overflow:ellipsis;text-overflow:ellipsis;cursor:default;visibility:hidden}.mui-pciker-list li.highlight,.mui-pciker-list li.visible{visibility:visible}.mui-pciker-list li.highlight{color:#222}.mui-poppicker{position:fixed;z-index:999;border-top:solid 1px #ccc;bottom:0;-webkit-transform:translateY(300px)}.mui-poppicker.mui-active{-webkit-transform:translateY(0)}.mui-android-5-1 .mui-poppicker{bottom:-300px;-webkit-transition-property:bottom;-webkit-transform:none}.mui-android-5-1 .mui-poppicker.mui-active{bottom:0;-webkit-transition-property:bottom;-webkit-transform:none}.mui-poppicker-header{padding:6px;font-size:14px;color:#888}.mui-poppicker-header .mui-btn{font-size:9pt;padding:5px 10px}.mui-poppicker-btn-cancel{float:left}.mui-poppicker-btn-ok{float:right}.mui-poppicker-clear{clear:both;height:0;line-height:0;font-size:0;overflow:hidden}.mui-poppicker-body{position:relative;width:100%;height:200px;border-top:solid 1px #ddd}.mui-poppicker-body .mui-picker{width:100%;height:100%;margin:0;border:none;float:left}.mui-dtpicker{position:fixed;z-index:999999;border-top:solid 1px #ccc;bottom:0;-webkit-transform:translateY(300px)}.mui-dtpicker.mui-active{-webkit-transform:translateY(0)}.mui-dtpicker-active-for-page{overflow:hidden!important}.mui-android-5-1 .mui-dtpicker{bottom:-300px;-webkit-transition-property:bottom;-webkit-transform:none}.mui-android-5-1 .mui-dtpicker.mui-active{bottom:0;-webkit-transition-property:bottom;-webkit-transform:none}.mui-dtpicker-header{padding:6px;font-size:14px;color:#888}.mui-dtpicker-header button{font-size:9pt;padding:5px 10px}.mui-dtpicker-header button:last-child{float:right}.mui-dtpicker-body{position:relative;width:100%;height:200px}.mui-ios .mui-dtpicker-body{-webkit-perspective:75pc;perspective:75pc;-webkit-transform-style:preserve-3d;transform-style:preserve-3d}.mui-dtpicker-title h5{display:inline-block;width:20%;margin:0;padding:8px;text-align:center;border-top:solid 1px #ddd;background-color:#f0f0f0;border-bottom:solid 1px #ccc}[data-type=hour] [data-id=title-i],[data-type=hour] [data-id=picker-i],[data-type=month] [data-id=title-i],[data-type=month] [data-id=picker-d],[data-type=month] [data-id=title-d],[data-type=month] [data-id=picker-h],[data-type=month] [data-id=title-h],[data-type=month] [data-id=picker-i],[data-type=time] [data-id=picker-y],[data-type=time] [data-id=picker-m],[data-type=time] [data-id=picker-d],[data-type=time] [data-id=title-y],[data-type=time] [data-id=title-m],[data-type=time] [data-id=title-d],[data-type=date] [data-id=title-i],[data-type=date] [data-id=picker-h],[data-type=date] [data-id=title-h],[data-type=date] [data-id=picker-i]{display:none}.mui-dtpicker .mui-picker{width:20%;height:100%;margin:0;float:left;border:none}[data-type=hour] [data-id=picker-h],[data-type=hour] [data-id=title-h],[data-type=datetime] [data-id=picker-h],[data-type=datetime] [data-id=title-h]{border-left:dotted 1px #ccc}[data-type=datetime] .mui-picker,[data-type=time] .mui-dtpicker-title h5{width:20%}[data-type=date] .mui-dtpicker-title h5,[data-type=date] .mui-picker{width:33.3%}[data-type=hour] .mui-dtpicker-title h5,[data-type=hour] .mui-picker{width:25%}[data-type=month] .mui-dtpicker-title h5,[data-type=month] .mui-picker,[data-type=time] .mui-dtpicker-title h5,[data-type=time] .mui-picker{width:50%} -------------------------------------------------------------------------------- /E3-demo/css/own.css: -------------------------------------------------------------------------------- 1 | .own-left-nav-color { 2 | color: white; 3 | } 4 | 5 | .own-main-color { 6 | color: #41cea9; 7 | } 8 | /*设置背景色*/ 9 | 10 | .own-gray-color { 11 | background-color: #f8f8f8; 12 | } 13 | 14 | body { 15 | background-color: #F8F8F8; 16 | } 17 | /*将返回按钮和导航条标题设置为白色*/ 18 | 19 | .mui-icon-back:before, 20 | .mui-icon-left-nav:before, 21 | .mui-bar-nav .mui-title, 22 | #rightBar:before { 23 | color: white; 24 | } 25 | 26 | .own-black-color { 27 | color: black; 28 | } 29 | 30 | .own-text-through { 31 | text-decoration: line-through; 32 | } 33 | 34 | .own-main-background-color { 35 | background-color: #41cea9; 36 | } 37 | 38 | .own-header-hidden { 39 | display: none!important; 40 | } 41 | 42 | .own-content-padding { 43 | padding-top: 0 !important; 44 | } 45 | 46 | .own-btn-green { 47 | color: #fff; 48 | border: 1px solid #41cea9; 49 | background-color: #41cea9; 50 | } 51 | 52 | .own-btn-green.mui-active:enabled, 53 | .own-btn-green:enabled:active { 54 | color: #fff; 55 | border: 1px solid #41dfa9; 56 | background-color: #41dfa9; 57 | } 58 | 59 | .own-font-size { 60 | font-size: 1em; 61 | } 62 | /*父子页面的loader*/ 63 | 64 | .mui-bar .mui-action-back { 65 | color: gray; 66 | } 67 | 68 | .loader { 69 | position: absolute; 70 | top: 25%; 71 | width: 100%; 72 | height: 60%; 73 | color: #888; 74 | font-size: 14px; 75 | text-align: center; 76 | } 77 | 78 | .mui-content { 79 | background-color: #F8F8F8; 80 | } -------------------------------------------------------------------------------- /E3-demo/fonts/iconfont.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huihoo/e3-h5/332f109219e852155f448a2594c3c5a94f8d3fd7/E3-demo/fonts/iconfont.ttf -------------------------------------------------------------------------------- /E3-demo/fonts/mui.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huihoo/e3-h5/332f109219e852155f448a2594c3c5a94f8d3fd7/E3-demo/fonts/mui.ttf -------------------------------------------------------------------------------- /E3-demo/img/1.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huihoo/e3-h5/332f109219e852155f448a2594c3c5a94f8d3fd7/E3-demo/img/1.jpg -------------------------------------------------------------------------------- /E3-demo/img/2.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huihoo/e3-h5/332f109219e852155f448a2594c3c5a94f8d3fd7/E3-demo/img/2.jpg -------------------------------------------------------------------------------- /E3-demo/img/3.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huihoo/e3-h5/332f109219e852155f448a2594c3c5a94f8d3fd7/E3-demo/img/3.jpg -------------------------------------------------------------------------------- /E3-demo/img/50.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huihoo/e3-h5/332f109219e852155f448a2594c3c5a94f8d3fd7/E3-demo/img/50.jpg -------------------------------------------------------------------------------- /E3-demo/img/bg.jpeg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huihoo/e3-h5/332f109219e852155f448a2594c3c5a94f8d3fd7/E3-demo/img/bg.jpeg -------------------------------------------------------------------------------- /E3-demo/img/bg.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huihoo/e3-h5/332f109219e852155f448a2594c3c5a94f8d3fd7/E3-demo/img/bg.png -------------------------------------------------------------------------------- /E3-demo/img/category.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huihoo/e3-h5/332f109219e852155f448a2594c3c5a94f8d3fd7/E3-demo/img/category.png -------------------------------------------------------------------------------- /E3-demo/img/detail/0.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huihoo/e3-h5/332f109219e852155f448a2594c3c5a94f8d3fd7/E3-demo/img/detail/0.jpg -------------------------------------------------------------------------------- /E3-demo/img/detail/1.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huihoo/e3-h5/332f109219e852155f448a2594c3c5a94f8d3fd7/E3-demo/img/detail/1.jpg -------------------------------------------------------------------------------- /E3-demo/img/detail/2.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huihoo/e3-h5/332f109219e852155f448a2594c3c5a94f8d3fd7/E3-demo/img/detail/2.jpg -------------------------------------------------------------------------------- /E3-demo/img/detail/3.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huihoo/e3-h5/332f109219e852155f448a2594c3c5a94f8d3fd7/E3-demo/img/detail/3.jpg -------------------------------------------------------------------------------- /E3-demo/img/detail/4.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huihoo/e3-h5/332f109219e852155f448a2594c3c5a94f8d3fd7/E3-demo/img/detail/4.jpg -------------------------------------------------------------------------------- /E3-demo/img/detail/5.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huihoo/e3-h5/332f109219e852155f448a2594c3c5a94f8d3fd7/E3-demo/img/detail/5.jpg -------------------------------------------------------------------------------- /E3-demo/img/detail/6.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huihoo/e3-h5/332f109219e852155f448a2594c3c5a94f8d3fd7/E3-demo/img/detail/6.jpg -------------------------------------------------------------------------------- /E3-demo/img/detail/7.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huihoo/e3-h5/332f109219e852155f448a2594c3c5a94f8d3fd7/E3-demo/img/detail/7.jpg -------------------------------------------------------------------------------- /E3-demo/img/detail/8.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huihoo/e3-h5/332f109219e852155f448a2594c3c5a94f8d3fd7/E3-demo/img/detail/8.jpg -------------------------------------------------------------------------------- /E3-demo/img/detail/9.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huihoo/e3-h5/332f109219e852155f448a2594c3c5a94f8d3fd7/E3-demo/img/detail/9.jpg -------------------------------------------------------------------------------- /E3-demo/img/jump.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huihoo/e3-h5/332f109219e852155f448a2594c3c5a94f8d3fd7/E3-demo/img/jump.gif -------------------------------------------------------------------------------- /E3-demo/img/slider/slider1.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huihoo/e3-h5/332f109219e852155f448a2594c3c5a94f8d3fd7/E3-demo/img/slider/slider1.jpg -------------------------------------------------------------------------------- /E3-demo/img/slider/slider2.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huihoo/e3-h5/332f109219e852155f448a2594c3c5a94f8d3fd7/E3-demo/img/slider/slider2.jpg -------------------------------------------------------------------------------- /E3-demo/img/slider/slider3.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huihoo/e3-h5/332f109219e852155f448a2594c3c5a94f8d3fd7/E3-demo/img/slider/slider3.jpg -------------------------------------------------------------------------------- /E3-demo/img/slider/slider4.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huihoo/e3-h5/332f109219e852155f448a2594c3c5a94f8d3fd7/E3-demo/img/slider/slider4.png -------------------------------------------------------------------------------- /E3-demo/img/touxiang.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huihoo/e3-h5/332f109219e852155f448a2594c3c5a94f8d3fd7/E3-demo/img/touxiang.jpg -------------------------------------------------------------------------------- /E3-demo/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | E3-demo 7 | 8 | 9 | 10 | 16 | 17 | 18 |
19 |

首页

20 |
21 | 43 | 44 | 45 | 164 | 165 | -------------------------------------------------------------------------------- /E3-demo/js/own.js: -------------------------------------------------------------------------------- 1 | (function(own) { 2 | 3 | //当页面hide的时候将其中的页面close掉 4 | own.closeChildWebviewOfhide = function(currentWebview, closedWebviewId) { 5 | currentWebview.addEventListener('hide', function() { 6 | 7 | var closeWeb = plus.webview.getWebviewById(closedWebviewId); 8 | 9 | if (!currentWebview.getURL() || !closeWeb) { 10 | return; 11 | } 12 | closeWeb.close(); 13 | closeWeb = null; 14 | }, false); 15 | } 16 | //当页面close的时候将其中的页面close掉 17 | own.closeChildWebviewOfclose = function(currentWebview, closedWebviewId) { 18 | currentWebview.addEventListener('close', function() { 19 | var closeWeb = plus.webview.getWebviewById(closedWebviewId); 20 | if (!currentWebview.getURL() || !closeWeb) { 21 | return; 22 | } 23 | closeWeb.close(); 24 | closeWeb = null; 25 | }, false); 26 | } 27 | 28 | //一般情况下设置anishow 29 | own.getaniShow = function() { 30 | var aniShow = 'slide-in-right'; 31 | if (mui.os.android) { 32 | var androidlist = document.querySelectorAll('ios-only'); 33 | if (androidlist) { 34 | mui.each(androidlist, function(num, obj) { 35 | obj.style.display = 'none'; 36 | }); 37 | } 38 | 39 | if (parseFloat(mui.os.version) < 4.4) { 40 | aniShow = 'slide-in-right'; 41 | } 42 | } 43 | 44 | return aniShow; 45 | } 46 | 47 | own.pushWebView = function(options) { 48 | var webview = plus.webview.getWebviewById('template'); 49 | mui.fire(webview, options.webType, { 50 | id: options.id, 51 | href: options.href, 52 | aniShow: options.aniShow, 53 | title: options.title, 54 | isBars: options.isBars, 55 | barsIcon: options.barsIcon, 56 | extendOptions: options.extendOptions 57 | }); 58 | } 59 | 60 | //设置是否需要bounce,一般有scroll的地方会将bounce取消掉 61 | own.setSubWebviewBounce = function(bounce) { 62 | var curSubWebview = plus.webview.currentWebview(); 63 | curSubWebview.setStyle({ 64 | bounce: bounce 65 | }); 66 | } 67 | 68 | own.setMask = function(options) { 69 | 70 | var menu = null; 71 | 72 | var mask = null; 73 | var maskBool = true; 74 | var main = plus.webview.getWebviewById('HBuilder'); 75 | mui.fire(main, 'showMask', { 76 | 'id': plus.webview.currentWebview().id 77 | }); 78 | 79 | if (mask == null) { 80 | 81 | mask = mui.createMask(function() { 82 | 83 | 84 | console.log(maskBool); 85 | if (maskBool == true) { 86 | 87 | // menu.close(); 88 | mui.fire(main, 'hiddeMask', {}); 89 | 90 | } 91 | }); 92 | } else { 93 | 94 | maskBool = true; 95 | } 96 | mask.show(); 97 | 98 | 99 | document.addEventListener('hiddeMask', function() { 100 | 101 | maskBool = false; 102 | mask.close(); 103 | // menu.close(); 104 | }); 105 | 106 | 107 | menu = mui.preload({ 108 | id: 'offcanvas-drag-left-plus-menu', 109 | url: '../event/webview_Alert.html', 110 | styles: { 111 | left: "30%", 112 | height:'200px', 113 | width:'200px', 114 | zindex: 99999 115 | } 116 | }); 117 | 118 | var main = plus.webview.currentWebview(); 119 | menu.show(); 120 | 121 | } 122 | 123 | })(window); -------------------------------------------------------------------------------- /E3-demo/manifest.json: -------------------------------------------------------------------------------- 1 | { 2 | "@platforms": ["android", "iPhone", "iPad"], 3 | "id": "H56F64C4A",/*应用的标识,创建应用时自动生成,勿手动修改*/ 4 | "name": "E3-demo",/*应用名称,程序桌面图标名称*/ 5 | "version": { 6 | "name": "1.0.0",/*应用版本名称*/ 7 | "code": "83" 8 | }, 9 | "description": "",/*应用描述信息*/ 10 | "icons": { 11 | "72": "icon.png" 12 | }, 13 | "launch_path": "index.html",/*应用的入口页面,默认为根目录下的index.html;支持网络地址,必须以http://或https://开头*/ 14 | "developer": { 15 | "name": "",/*开发者名称*/ 16 | "email": "",/*开发者邮箱地址*/ 17 | "url": "http://www.dcloud.io" 18 | }, 19 | "permissions": { 20 | "Accelerometer": { 21 | "description": "访问加速度感应器" 22 | }, 23 | "Audio": { 24 | "description": "访问麦克风" 25 | }, 26 | "Cache": { 27 | "description": "管理应用缓存" 28 | }, 29 | "Camera": { 30 | "description": "访问摄像头" 31 | }, 32 | "Console": { 33 | "description": "跟踪调试输出日志" 34 | }, 35 | "Contacts": { 36 | "description": "访问系统联系人信息" 37 | }, 38 | "Device": { 39 | "description": "访问设备信息" 40 | }, 41 | "Downloader": { 42 | "description": "文件下载管理" 43 | }, 44 | "Events": { 45 | "description": "应用扩展事件" 46 | }, 47 | "File": { 48 | "description": "访问本地文件系统" 49 | }, 50 | "Gallery": { 51 | "description": "访问系统相册" 52 | }, 53 | "Geolocation": { 54 | "description": "访问位置信息" 55 | }, 56 | "Invocation": { 57 | "description": "使用Native.js能力" 58 | }, 59 | "Messaging": { 60 | "description": "访问通讯能力" 61 | }, 62 | "Orientation": { 63 | "description": "访问方向感应器" 64 | }, 65 | "Proximity": { 66 | "description": "访问距离感应器" 67 | }, 68 | "Storage": { 69 | "description": "管理应用本地数据" 70 | }, 71 | 72 | "Uploader": { 73 | "description": "管理文件上传任务" 74 | }, 75 | "Runtime": { 76 | "description": "访问运行期环境" 77 | }, 78 | "XMLHttpRequest": { 79 | "description": "跨域网络访问" 80 | }, 81 | "Zip": { 82 | "description": "文件压缩与解压缩" 83 | }, 84 | "Barcode": { 85 | "description": "管理二维码扫描插件" 86 | }, 87 | "Maps": { 88 | "description": "管理地图插件" 89 | }, 90 | "Speech": { 91 | "description": "管理语音识别插件" 92 | }, 93 | "Webview":{ 94 | "description": "窗口管理" 95 | }, 96 | "NativeUI":{ 97 | "description": "原生UI控件" 98 | }, 99 | "Navigator":{ 100 | "description": "浏览器信息" 101 | }, 102 | "NativeObj":{ 103 | "description": "原生对象" 104 | } 105 | }, 106 | "plus": { 107 | "splashscreen": { 108 | //将自动关闭设置为false,因为在加载完成index页面的时候,我们还需要加载模版页面。加载完成后手动关闭 109 | "autoclose": true,/*是否自动关闭程序启动界面,true表示应用加载应用入口页面后自动关闭;false则需调plus.navigator.closeSplashscreen()关闭*/ 110 | "waiting": true 111 | }, 112 | "runmode": "liberate",/*应用的首次启动运行模式,可取liberate或normal,liberate模式在第一次启动时将解压应用资源(Android平台File API才可正常访问_www目录)*/ 113 | "signature": "Sk9JTiBVUyBtYWlsdG86aHIyMDEzQGRjbG91ZC5pbw==",/*可选,保留给应用签名,暂不使用*/ 114 | "distribute": { 115 | "apple": { 116 | "appid": "",/*iOS应用标识,苹果开发网站申请的appid,如io.dcloud.HelloH5*/ 117 | "mobileprovision": "",/*iOS应用打包配置文件*/ 118 | "password": "",/*iOS应用打包个人证书导入密码*/ 119 | "p12": "",/*iOS应用打包个人证书,打包配置文件关联的个人证书*/ 120 | "devices": "universal",/*iOS应用支持的设备类型,可取值iphone/ipad/universal*/ 121 | "frameworks": [] 122 | }, 123 | "google": { 124 | "packagename": "",/*Android应用包名,如io.dcloud.HelloH5*/ 125 | "keystore": "",/*Android应用打包使用的密钥库文件*/ 126 | "password": "",/*Android应用打包使用密钥库中证书的密码*/ 127 | "aliasname": "",/*Android应用打包使用密钥库中证书的别名*/ 128 | "permissions": ["","","","","","","","","","","","","","","","","","","","","","","",""] 129 | }, 130 | "orientation": ["portrait-primary", "portrait-secondary"],/*应用支持的方向,portrait-primary:竖屏正方向;portrait-secondary:竖屏反方向;landscape-primary:横屏正方向;landscape-secondary:横屏反方向*/ 131 | "icons": { 132 | "ios": { 133 | "prerendered": true, /*应用图标是否已经高亮处理,在iOS6及以下设备上有效*/ 134 | "auto": "", /*应用图标,分辨率:512x512,用于自动生成各种尺寸程序图标*/ 135 | "iphone": { 136 | "normal": "",/*iPhone普通屏幕程序图标,分辨率:57x57*/ 137 | "retina": "",/*iPhone高分屏程序图标,分辨率:114x114*/ 138 | "retina7": "",/*iPhone iOS7高分屏程序图标,分辨率:120x120*/ 139 | "spotlight-normal": "", /*iPhone Spotlight搜索程序图标,分辨率:29x29*/ 140 | "spotlight-retina": "", /*iPhone高分屏Spotlight搜索程序图标,分辨率:58x58*/ 141 | "spotlight-retina7": "",/*iPhone iOS7高分屏Spotlight搜索程序图标,分辨率:80x80*/ 142 | "settings-normal": "", /*iPhone设置页面程序图标,分辨率:29x29*/ 143 | "settings-retina": "" 144 | }, 145 | "ipad": { 146 | "normal": "", /*iPad普通屏幕程序图标,分辨率:72x72*/ 147 | "retina": "", /*iPad高分屏程序图标,分辨率:144x144*/ 148 | "normal7": "", /*iPad iOS7程序图标,分辨率:76x76*/ 149 | "retina7": "", /*iPad iOS7高分屏程序图标,分辨率:152x152*/ 150 | "spotlight-normal": "", /*iPad Spotlight搜索程序图标,分辨率:50x50*/ 151 | "spotlight-retina": "", /*iPad高分屏Spotlight搜索程序图标,分辨率:100x100*/ 152 | "spotlight-normal7": "",/*iPad iOS7 Spotlight搜索程序图标,分辨率:40x40*/ 153 | "spotlight-retina7": "",/*iPad iOS7高分屏Spotlight搜索程序图标,分辨率:80x80*/ 154 | "settings-normal": "",/*iPad设置页面程序图标,分辨率:29x29*/ 155 | "settings-retina": "" 156 | } 157 | }, 158 | "android": { 159 | "mdpi": "", /*普通屏程序图标,分辨率:48x48*/ 160 | "ldpi": "", /*大屏程序图标,分辨率:48x48*/ 161 | "hdpi": "", /*高分屏程序图标,分辨率:72x72*/ 162 | "xhdpi": "",/*720P高分屏程序图标,分辨率:96x96*/ 163 | "xxhdpi": "" 164 | } 165 | }, 166 | "splashscreen": { 167 | "ios": { 168 | "iphone": { 169 | "default": "", /*iPhone3启动图片选,分辨率:320x480*/ 170 | "retina35": "",/*3.5英寸设备(iPhone4)启动图片,分辨率:640x960*/ 171 | "retina40": "" 172 | }, 173 | "ipad": { 174 | "portrait": "", /*iPad竖屏启动图片,分辨率:768x1004*/ 175 | "portrait-retina": "",/*iPad高分屏竖屏图片,分辨率:1536x2008*/ 176 | "landscape": "", /*iPad横屏启动图片,分辨率:1024x748*/ 177 | "landscape-retina": "", /*iPad高分屏横屏启动图片,分辨率:2048x1496*/ 178 | "portrait7": "", /*iPad iOS7竖屏启动图片,分辨率:768x1024*/ 179 | "portrait-retina7": "",/*iPad iOS7高分屏竖屏图片,分辨率:1536x2048*/ 180 | "landscape7": "", /*iPad iOS7横屏启动图片,分辨率:1024x768*/ 181 | "landscape-retina7": "" 182 | } 183 | }, 184 | "android": { 185 | "mdpi": "", /*普通屏启动图片,分辨率:240x282*/ 186 | "ldpi": "", /*大屏启动图片,分辨率:320x442*/ 187 | "hdpi": "", /*高分屏启动图片,分辨率:480x762*/ 188 | "xhdpi": "", /*720P高分屏启动图片,分辨率:720x1242*/ 189 | "xxhdpi": "" 190 | } 191 | } 192 | } 193 | } 194 | } -------------------------------------------------------------------------------- /E3-demo/mine/address-needtem.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | E3 7 | 8 | 9 | 10 | 11 | 12 | 13 | 18 | 19 | 20 |
21 |
22 |
23 | 24 |
25 |
26 | 27 |
28 |
29 | 30 |
31 |
32 | 33 |
34 |
35 |
36 | 37 | 38 | 39 | 40 | 41 | 71 | 72 | 73 | -------------------------------------------------------------------------------- /E3-demo/mine/change-address-needtem.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | E3父子模版 8 | 9 | 10 | 11 | 12 | 36 | 37 | 38 | 39 | 40 |
41 |
42 | 空空如也 43 |
44 | 先添加一个收货地址吧 45 |
46 | 49 |
50 |
    51 |
  • 52 |
    colin
    53 |
    158xxxx7353
    54 |

    中国四川省成都市高新区大源村南华路双祥社区25号院n栋n单元n楼n号电梯n号门n栋n单元n楼n号电梯n号门

    55 |
  • 56 |
  • 57 |
    colin
    58 |
    158xxxx7353
    59 |

    四川成都高新区

    60 |
  • 61 |
  • 62 |
    colin
    63 |
    158xxxx7353
    64 |

    中国四川省成都市高新区大源村南华路双祥社区25号院n栋n单元n楼n号电梯n号门n栋n单元n楼n号电梯n号门

    65 |
  • 66 |
  • 67 |
    colin
    68 |
    158xxxx7353
    69 |

    中国四川省成都市高新区大源村南华路双祥社区25号院n栋n单元n楼n号电梯n号门n栋n单元n楼n号电梯n号门

    70 |
  • 71 |
72 |
73 | 74 | 75 | 76 | 121 | 122 | 123 | 124 | -------------------------------------------------------------------------------- /E3-demo/mine/change-email-needtem.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | E3父子模版,可直接用index的父子模版 7 | 8 | 9 | 12 | 13 | 14 | 15 | 16 | -------------------------------------------------------------------------------- /E3-demo/mine/change-psd-needtem.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | E3为父子模版可直接用index的父子模版 7 | 8 | 9 | 10 | 11 | 19 | 20 | 21 | 22 |
23 | 24 |

修改密码

25 |
26 | 27 |
28 |
29 |
30 |
31 | 32 | 33 |
34 |
35 | 36 | 37 |
38 |
39 | 40 | 41 |
42 |
43 |
44 |
45 | 46 |
47 |
48 | 49 | 50 | 51 | 52 | 118 | 119 | 120 | -------------------------------------------------------------------------------- /E3-demo/mine/feedback-needtem.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 12 | 13 | 14 | 15 | 16 | -------------------------------------------------------------------------------- /E3-demo/mine/forget-psd-needtem.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | E3 父子模版 7 | 8 | 9 | 10 | 11 | 20 | 21 | 22 | 23 |
24 | 25 |

注册

26 |
27 | 28 |
29 |
30 |
31 |
32 | 33 | 34 |
35 |
36 |
37 |
38 | 39 |
40 |
41 | 42 | 43 | 65 | 66 | -------------------------------------------------------------------------------- /E3-demo/mine/login.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | E3不是父子模版,考虑其为模态视图 8 | 9 | 10 | 11 | 12 | 23 | 24 | 25 | 26 | 27 |
28 | 32 |

登录

33 |
34 | 35 |
36 |
37 | 38 |
39 |
40 |
41 |
42 | 43 | 44 |
45 |
46 | 47 | 48 |
49 |
50 |
51 |
52 | 53 |
54 |
55 | 56 | 57 |
58 | 59 |
60 | 61 | 62 | 63 | 64 | 134 | 135 | 136 | -------------------------------------------------------------------------------- /E3-demo/mine/my-order-needtem.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | E3父子模版 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 |
16 | 17 |
18 | 19 | 20 | 21 | 26 | 27 | 28 | -------------------------------------------------------------------------------- /E3-demo/mine/register-needtem.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | E3父子模版 7 | 8 | 9 | 10 | 19 | 20 | 21 | 22 |
23 | 24 |

注册

25 |
26 | 27 |
28 |
29 |
30 |
31 | 32 | 33 |
34 |
35 | 36 | 37 |
38 |
39 | 40 | 41 |
42 |
43 |
44 |
45 | 46 |
47 |
48 | 49 | 50 | 51 | 52 | 98 | 99 | 100 | -------------------------------------------------------------------------------- /E3-demo/template-main-first.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 通用父子模版父页面 8 | 9 | 10 | 11 | 12 | 13 | 14 |
15 | 16 |

17 | 18 |
19 | 20 |
21 | 22 | 23 | 24 |
25 | 加载中... 26 |
27 | 28 | 29 | 97 | 98 | 99 | -------------------------------------------------------------------------------- /E3-demo/template-main-second.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 |
15 | 16 |

首页

17 | 18 |
19 | 20 |
21 | 22 | 23 | 24 |
25 | 加载中... 26 |
27 | 28 | 29 | 96 | 97 | 98 | 99 | -------------------------------------------------------------------------------- /E3-demo/template-main-third.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 |
15 | 16 |

首页

17 | 18 |
19 | 20 |
21 | 22 | 23 | 24 |
25 | 加载中... 26 |
27 | 28 | 29 | 90 | 91 | 92 | 93 | -------------------------------------------------------------------------------- /E3-demo/template.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 父子页面的承载页面 7 | 8 | 9 | 10 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 284 | 285 | -------------------------------------------------------------------------------- /E3-demo/unpackage/.confirmed_dependencies: -------------------------------------------------------------------------------- 1 | null -------------------------------------------------------------------------------- /E3-demo/unpackage/.dependencies: -------------------------------------------------------------------------------- 1 | null -------------------------------------------------------------------------------- /E3-server/.project: -------------------------------------------------------------------------------- 1 | 2 | 3 | E3 4 | Create By HBuilder 5 | 6 | 7 | 8 | 9 | com.pandora.projects.ui.MKeyBuilder 10 | 11 | 12 | 13 | 14 | com.aptana.ide.core.unifiedBuilder 15 | 16 | 17 | 18 | 19 | 20 | com.pandora.projects.ui.MKeyNature 21 | com.aptana.projects.webnature 22 | 23 | 24 | 25 | 1442455787088 26 | 27 | 10 28 | 29 | org.eclipse.ui.ide.orFilterMatcher 30 | 31 | 32 | org.eclipse.ui.ide.multiFilter 33 | 1.0-projectRelativePath-matches-false-false-bin 34 | 35 | 36 | org.eclipse.ui.ide.multiFilter 37 | 1.0-projectRelativePath-matches-false-false-setting 38 | 39 | 40 | 41 | 42 | 43 | 44 | -------------------------------------------------------------------------------- /E3-server/Mine/address.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | E3 7 | 8 | 9 | 10 | 11 | 12 | 13 | 18 | 19 | 20 |
21 | 22 |

地址

23 | 24 |
25 | 26 |
27 |
28 |
29 | 30 |
31 |
32 | 33 |
34 |
35 | 36 |
37 |
38 | 39 |
40 |
41 |
42 | 43 | 44 | 45 | 46 | 47 | 87 | 88 | 89 | -------------------------------------------------------------------------------- /E3-server/Mine/change-address-needtem.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | E3父子模版 7 | 8 | 9 | 10 | 11 | 36 | 37 | 38 |
39 | 40 |

地址管理

41 |
42 | 43 |
44 |
45 | 空空如也 46 |
47 | 先添加一个收货地址吧 48 |
49 | 52 |
53 |
    54 |
  • 55 |
    colin
    56 |
    15882017353
    57 |

    中国四川省成都市高新区大源村南华路双祥社区25号院n栋n单元n楼n号电梯n号门n栋n单元n楼n号电梯n号门

    58 |
  • 59 |
  • 60 |
    colin
    61 |
    15882017353
    62 |

    四川成都高新区

    63 |
  • 64 |
  • 65 |
    colin
    66 |
    15882017353
    67 |

    中国四川省成都市高新区大源村南华路双祥社区25号院n栋n单元n楼n号电梯n号门n栋n单元n楼n号电梯n号门

    68 |
  • 69 |
  • 70 |
    colin
    71 |
    15882017353
    72 |

    中国四川省成都市高新区大源村南华路双祥社区25号院n栋n单元n楼n号电梯n号门n栋n单元n楼n号电梯n号门

    73 |
  • 74 |
75 |
76 | 77 |
78 |
79 | 80 | 81 | 82 | 156 | 157 | 158 | -------------------------------------------------------------------------------- /E3-server/Mine/changeEmail-needtem.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | E3父子模版,可直接用index的父子模版 7 | 8 | 9 | 12 | 13 | 14 | 15 | 16 | -------------------------------------------------------------------------------- /E3-server/Mine/changepsd-needtem.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | E3为父子模版可直接用index的父子模版 7 | 8 | 9 | 10 | 11 | 19 | 20 | 21 | 22 |
23 | 24 |

修改密码

25 |
26 | 27 |
28 |
29 |
30 |
31 | 32 | 33 |
34 |
35 | 36 | 37 |
38 |
39 | 40 | 41 |
42 |
43 |
44 |
45 | 46 |
47 |
48 | 49 | 50 | 51 | 52 | 118 | 119 | 120 | -------------------------------------------------------------------------------- /E3-server/Mine/login.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | E3不是父子模版,考虑其为模态视图 7 | 8 | 9 | 10 | 11 | 21 | 22 | 23 | 24 |
25 | 29 |

登录

30 |
31 | 32 |
33 |
34 | 35 |
36 |
37 |
38 |
39 | 40 | 41 |
42 |
43 | 44 | 45 |
46 |
47 |
48 |
49 | 50 |
51 |
52 | 53 | 54 |
55 | 56 | 57 |
58 | 59 | 60 | 61 | 62 | 189 | 190 | -------------------------------------------------------------------------------- /E3-server/Mine/my-dingdan-needtem.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | E3父子模版 7 | 8 | 9 | 10 | 11 | 12 |
13 | 14 |

我的订单

15 |
16 | 17 |
18 | 19 |
20 | 21 | 22 | 23 | 28 | 29 | 30 | -------------------------------------------------------------------------------- /E3-server/Mine/register-needtem.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | E3父子模版 7 | 8 | 9 | 10 | 19 | 20 | 21 | 22 |
23 | 24 |

注册

25 |
26 | 27 |
28 |
29 |
30 |
31 | 32 | 33 |
34 |
35 | 36 | 37 |
38 |
39 | 40 | 41 |
42 |
43 |
44 |
45 | 46 |
47 |
48 | 49 | 50 | 51 | 52 | 98 | 99 | 100 | -------------------------------------------------------------------------------- /E3-server/Mine/remenberpsd-needtem.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | E3 父子模版 7 | 8 | 9 | 10 | 11 | 20 | 21 | 22 | 23 |
24 | 25 |

注册

26 |
27 | 28 |
29 |
30 |
31 |
32 | 33 | 34 |
35 |
36 |
37 |
38 | 39 |
40 |
41 | 42 | 43 | 65 | 66 | -------------------------------------------------------------------------------- /E3-server/baritemHtml/category.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | E3 7 | 8 | 51 | 52 | 53 | 54 |
55 |
56 |
57 |
58 |
59 |
60 | 85 |
86 |
87 | 88 | 89 | 90 | 91 | 267 | 268 | -------------------------------------------------------------------------------- /E3-server/baritemHtml/home.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | E3 7 | 8 | 9 | 10 | 66 | 67 | 68 | 69 |
70 |
71 | 72 |
73 |
74 | 75 |
76 |
77 | 78 | 79 | 80 | 81 | 231 | 232 | 233 | -------------------------------------------------------------------------------- /E3-server/baritemHtml/mine.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | E3 7 | 8 | 9 | 10 | 11 | 34 | 35 | 36 | 37 |
38 | 39 |
40 | 41 |
42 |
43 | 44 | 45 |
46 | 请登录 47 |
48 |
49 | 50 | 64 | 78 | 86 | 87 |
    88 |
  • 89 | 退出登录 90 |
  • 91 |
92 | 93 |
94 | 95 | 96 | 97 | 98 | 221 | 222 | -------------------------------------------------------------------------------- /E3-server/baritemHtml/xinyuandan.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | E3 7 | 8 | 9 | 10 | 11 | 35 | 36 | 37 | 38 |
39 |
40 | 45 | 46 |
    47 | 64 |
65 |
66 | 67 |
68 | 69 | 70 | 71 | 72 | 73 | 256 | 257 | 258 | -------------------------------------------------------------------------------- /E3-server/category/category-detail-needtem.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | category父子模版 7 | 8 | 9 | 10 | 11 | 12 | 68 | 69 | 70 | 71 |
72 | 73 |

分类

74 |
75 | 76 |
77 |
    78 | 90 |
91 |
92 | 93 | 94 | 95 | 96 | 97 | 174 | 175 | -------------------------------------------------------------------------------- /E3-server/css/iconfont.css: -------------------------------------------------------------------------------- 1 | 2 | @font-face { 3 | font-family: "iconfont"; 4 | src:url('../fonts/iconfont.ttf') format('truetype'); /* chrome、firefox、opera、Safari, Android, iOS 4.2+*/ 5 | } 6 | 7 | .iconfont { 8 | font-family:"iconfont" !important; 9 | font-size:24px; 10 | font-style:normal; 11 | -webkit-font-smoothing: antialiased; 12 | -webkit-text-stroke-width: 0.2px; 13 | } 14 | .icon-xuanze:before { content: "\e610"; } 15 | .icon-add:before { content: "\e60c"; } 16 | .icon-home:before { content: "\e600"; } 17 | .icon-iconfont53:before { content: "\e60f"; } 18 | .icon-wodedingdan:before { content: "\e601"; } 19 | .icon-cart:before { content: "\e603"; } 20 | .icon-xiaolian:before { content: "\e602"; } 21 | .icon-wode:before { content: "\e604"; } 22 | .icon-mimaxiugai:before { content: "\e605"; } 23 | .icon-fenlei:before { content: "\e606"; } 24 | .icon-tianjia:before { content: "\e60e"; } 25 | .icon-tianjia1:before { content: "\e60d"; } 26 | .icon-jiumima:before { content: "\e607"; } 27 | .icon-queren:before { content: "\e60b"; } 28 | .icon-zhanghao:before { content: "\e608"; } 29 | .icon-dizhi:before { content: "\e609"; } 30 | .icon-xinyuandan:before { content: "\e60a"; } 31 | .icon-xuanze1:before { content: "\e611"; } 32 | -------------------------------------------------------------------------------- /E3-server/css/mui.picker.all.css: -------------------------------------------------------------------------------- 1 | /** 2 | * 选择列表插件 3 | * varstion 2.0.0 4 | * by Houfeng 5 | * Houfeng@DCloud.io 6 | */ 7 | 8 | .mui-picker { 9 | background-color: #ddd; 10 | position: relative; 11 | height: 200px; 12 | overflow: hidden; 13 | border: solid 1px rgba(0, 0, 0, 0.1); 14 | -webkit-user-select: none; 15 | user-select: none; 16 | box-sizing: border-box; 17 | } 18 | .mui-picker-inner { 19 | box-sizing: border-box; 20 | position: relative; 21 | width: 100%; 22 | height: 100%; 23 | overflow: hidden; 24 | -webkit-mask-box-image: -webkit-linear-gradient(bottom, transparent, transparent 5%, #fff 20%, #fff 80%, transparent 95%, transparent); 25 | -webkit-mask-box-image: linear-gradient(top, transparent, transparent 5%, #fff 20%, #fff 80%, transparent 95%, transparent); 26 | } 27 | .mui-pciker-list, 28 | .mui-pciker-rule { 29 | box-sizing: border-box; 30 | padding: 0px; 31 | margin: 0px; 32 | width: 100%; 33 | height: 36px; 34 | line-height: 36px; 35 | position: absolute; 36 | left: 0px; 37 | top: 50%; 38 | margin-top: -18px; 39 | } 40 | .mui-pciker-rule-bg { 41 | z-index: 0; 42 | /*background-color: #cfd5da;*/ 43 | } 44 | .mui-pciker-rule-ft { 45 | z-index: 2; 46 | border-top: solid 1px rgba(0, 0, 0, 0.1); 47 | border-bottom: solid 1px rgba(0, 0, 0, 0.1); 48 | /*-webkit-box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.1);*/ 49 | /*box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.1);*/ 50 | } 51 | .mui-pciker-list { 52 | z-index: 1; 53 | -webkit-transform-style: preserve-3d; 54 | transform-style: preserve-3d; 55 | -webkit-transform: perspective(1000px) rotateY(0deg) rotateX(0deg); 56 | transform: perspective(1000px) rotateY(0deg) rotateX(0deg); 57 | } 58 | .mui-pciker-list li { 59 | width: 100%; 60 | height: 100%; 61 | position: absolute; 62 | text-align: center; 63 | vertical-align: middle; 64 | -webkit-backface-visibility: hidden; 65 | backface-visibility: hidden; 66 | overflow: hidden; 67 | box-sizing: border-box; 68 | font-size: 16px; 69 | font-family: "Helvetica Neue", "Helvetica", "Arial", "sans-serif"; 70 | color: #888; 71 | padding: 0px 8px; 72 | white-space: nowrap; 73 | -webkit-text-overflow: ellipsis; 74 | text-overflow: ellipsis; 75 | overflow: hidden; 76 | cursor: default; 77 | visibility: hidden; 78 | } 79 | .mui-pciker-list li.highlight, 80 | .mui-pciker-list li.visible { 81 | visibility: visible; 82 | } 83 | .mui-pciker-list li.highlight { 84 | color: #222; 85 | } 86 | .mui-poppicker { 87 | position: fixed; 88 | left: 0px; 89 | width: 100%; 90 | z-index: 999; 91 | background-color: #eee; 92 | border-top: solid 1px #ccc; 93 | box-shadow: 0px -5px 7px 0px rgba(0, 0, 0, 0.1); 94 | -webkit-transition: .3s; 95 | bottom: 0px; 96 | -webkit-transform: translateY(300px); 97 | } 98 | .mui-poppicker.mui-active { 99 | -webkit-transform: translateY(0px); 100 | } 101 | .mui-android-5-1 .mui-poppicker { 102 | bottom: -300px; 103 | -webkit-transition-property: bottom; 104 | -webkit-transform: none; 105 | } 106 | .mui-android-5-1 .mui-poppicker.mui-active { 107 | bottom: 0px; 108 | -webkit-transition-property: bottom; 109 | -webkit-transform: none; 110 | } 111 | .mui-poppicker-header { 112 | padding: 6px; 113 | font-size: 14px; 114 | color: #888; 115 | } 116 | .mui-poppicker-header .mui-btn { 117 | font-size: 12px; 118 | padding: 5px 10px; 119 | } 120 | .mui-poppicker-btn-cancel { 121 | float: left; 122 | } 123 | .mui-poppicker-btn-ok { 124 | float: right; 125 | } 126 | .mui-poppicker-clear { 127 | clear: both; 128 | height: 0px; 129 | line-height: 0px; 130 | font-size: 0px; 131 | overflow: hidden; 132 | } 133 | .mui-poppicker-body { 134 | position: relative; 135 | width: 100%; 136 | height: 200px; 137 | border-top: solid 1px #ddd; 138 | /*-webkit-perspective: 1200px; 139 | perspective: 1200px; 140 | -webkit-transform-style: preserve-3d; 141 | transform-style: preserve-3d;*/ 142 | } 143 | .mui-poppicker-body .mui-picker { 144 | width: 100%; 145 | height: 100%; 146 | margin: 0px; 147 | border: none; 148 | float: left; 149 | } 150 | .mui-dtpicker { 151 | position: fixed; 152 | left: 0px; 153 | width: 100%; 154 | z-index: 999999; 155 | background-color: #eee; 156 | border-top: solid 1px #ccc; 157 | box-shadow: 0px -5px 7px 0px rgba(0, 0, 0, 0.1); 158 | -webkit-transition: .3s; 159 | bottom: 0px; 160 | -webkit-transform: translateY(300px); 161 | } 162 | .mui-dtpicker.mui-active { 163 | -webkit-transform: translateY(0px); 164 | } 165 | /*用于将 html body 禁止滚动条*/ 166 | 167 | .mui-dtpicker-active-for-page { 168 | overflow: hidden !important; 169 | } 170 | .mui-android-5-1 .mui-dtpicker { 171 | bottom: -300px; 172 | -webkit-transition-property: bottom; 173 | -webkit-transform: none; 174 | } 175 | .mui-android-5-1 .mui-dtpicker.mui-active { 176 | bottom: 0px; 177 | -webkit-transition-property: bottom; 178 | -webkit-transform: none; 179 | } 180 | .mui-dtpicker-header { 181 | padding: 6px; 182 | font-size: 14px; 183 | color: #888; 184 | } 185 | .mui-dtpicker-header button { 186 | font-size: 12px; 187 | padding: 5px 10px; 188 | } 189 | .mui-dtpicker-header button:last-child { 190 | float: right; 191 | } 192 | .mui-dtpicker-body { 193 | position: relative; 194 | width: 100%; 195 | height: 200px; 196 | /*border-top: solid 1px #eee; 197 | background-color: #fff;*/ 198 | } 199 | .mui-ios .mui-dtpicker-body { 200 | -webkit-perspective: 1200px; 201 | perspective: 1200px; 202 | -webkit-transform-style: preserve-3d; 203 | transform-style: preserve-3d; 204 | } 205 | .mui-dtpicker-title h5 { 206 | display: inline-block; 207 | width: 20%; 208 | margin: 0px; 209 | padding: 8px; 210 | text-align: center; 211 | border-top: solid 1px #ddd; 212 | background-color: #f0f0f0; 213 | border-bottom: solid 1px #ccc; 214 | } 215 | .mui-dtpicker .mui-picker { 216 | width: 20%; 217 | height: 100%; 218 | margin: 0px; 219 | float: left; 220 | border: none; 221 | } 222 | /*年月日时分*/ 223 | 224 | [data-type="datetime"] .mui-picker, 225 | [data-type="time"] .mui-dtpicker-title h5 { 226 | width: 20%; 227 | } 228 | [data-type="datetime"] [data-id="picker-h"], 229 | [data-type="datetime"] [data-id="title-h"] { 230 | border-left: dotted 1px #ccc; 231 | } 232 | /*年月日*/ 233 | 234 | [data-type="date"] .mui-picker, 235 | [data-type="date"] .mui-dtpicker-title h5 { 236 | width: 33.3%; 237 | } 238 | [data-type="date"] [data-id="picker-h"], 239 | [data-type="date"] [data-id="picker-i"], 240 | [data-type="date"] [data-id="title-h"], 241 | [data-type="date"] [data-id="title-i"] { 242 | display: none; 243 | } 244 | /*年月日时*/ 245 | 246 | [data-type="hour"] .mui-picker, 247 | [data-type="hour"] .mui-dtpicker-title h5 { 248 | width: 25%; 249 | } 250 | [data-type="hour"] [data-id="picker-i"], 251 | [data-type="hour"] [data-id="title-i"] { 252 | display: none; 253 | } 254 | [data-type="hour"] [data-id="picker-h"], 255 | [data-type="hour"] [data-id="title-h"] { 256 | border-left: dotted 1px #ccc; 257 | } 258 | /*时分*/ 259 | 260 | [data-type="time"] .mui-picker, 261 | [data-type="time"] .mui-dtpicker-title h5 { 262 | width: 50%; 263 | } 264 | [data-type="time"] [data-id="picker-y"], 265 | [data-type="time"] [data-id="picker-m"], 266 | [data-type="time"] [data-id="picker-d"], 267 | [data-type="time"] [data-id="title-y"], 268 | [data-type="time"] [data-id="title-m"], 269 | [data-type="time"] [data-id="title-d"] { 270 | display: none; 271 | } 272 | /*年月*/ 273 | 274 | [data-type="month"] .mui-picker, 275 | [data-type="month"] .mui-dtpicker-title h5 { 276 | width: 50%; 277 | } 278 | [data-type="month"] [data-id="picker-d"], 279 | [data-type="month"] [data-id="picker-h"], 280 | [data-type="month"] [data-id="picker-i"], 281 | [data-type="month"] [data-id="title-d"], 282 | [data-type="month"] [data-id="title-h"], 283 | [data-type="month"] [data-id="title-i"] { 284 | display: none; 285 | } -------------------------------------------------------------------------------- /E3-server/css/mui.picker.css: -------------------------------------------------------------------------------- 1 | /** 2 | * 选择列表插件 3 | * varstion 2.0.0 4 | * by Houfeng 5 | * Houfeng@DCloud.io 6 | */ 7 | 8 | .mui-picker { 9 | background-color: #ddd; 10 | position: relative; 11 | height: 200px; 12 | overflow: hidden; 13 | border: solid 1px rgba(0, 0, 0, 0.1); 14 | -webkit-user-select: none; 15 | user-select: none; 16 | box-sizing: border-box; 17 | } 18 | .mui-picker-inner { 19 | box-sizing: border-box; 20 | position: relative; 21 | width: 100%; 22 | height: 100%; 23 | overflow: hidden; 24 | -webkit-mask-box-image: -webkit-linear-gradient(bottom, transparent, transparent 5%, #fff 20%, #fff 80%, transparent 95%, transparent); 25 | -webkit-mask-box-image: linear-gradient(top, transparent, transparent 5%, #fff 20%, #fff 80%, transparent 95%, transparent); 26 | } 27 | .mui-pciker-list, 28 | .mui-pciker-rule { 29 | box-sizing: border-box; 30 | padding: 0px; 31 | margin: 0px; 32 | width: 100%; 33 | height: 36px; 34 | line-height: 36px; 35 | position: absolute; 36 | left: 0px; 37 | top: 50%; 38 | margin-top: -18px; 39 | } 40 | .mui-pciker-rule-bg { 41 | z-index: 0; 42 | /*background-color: #cfd5da;*/ 43 | } 44 | .mui-pciker-rule-ft { 45 | z-index: 2; 46 | border-top: solid 1px rgba(0, 0, 0, 0.1); 47 | border-bottom: solid 1px rgba(0, 0, 0, 0.1); 48 | /*-webkit-box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.1);*/ 49 | /*box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.1);*/ 50 | } 51 | .mui-pciker-list { 52 | z-index: 1; 53 | -webkit-transform-style: preserve-3d; 54 | transform-style: preserve-3d; 55 | -webkit-transform: perspective(1000px) rotateY(0deg) rotateX(0deg); 56 | transform: perspective(1000px) rotateY(0deg) rotateX(0deg); 57 | } 58 | .mui-pciker-list li { 59 | width: 100%; 60 | height: 100%; 61 | position: absolute; 62 | text-align: center; 63 | vertical-align: middle; 64 | -webkit-backface-visibility: hidden; 65 | backface-visibility: hidden; 66 | overflow: hidden; 67 | box-sizing: border-box; 68 | font-size: 16px; 69 | font-family: "Helvetica Neue", "Helvetica", "Arial", "sans-serif"; 70 | color: #888; 71 | padding: 0px 8px; 72 | white-space: nowrap; 73 | -webkit-text-overflow: ellipsis; 74 | text-overflow: ellipsis; 75 | overflow: hidden; 76 | cursor: default; 77 | visibility: hidden; 78 | } 79 | .mui-pciker-list li.highlight, 80 | .mui-pciker-list li.visible { 81 | visibility: visible; 82 | } 83 | .mui-pciker-list li.highlight { 84 | color: #222; 85 | } -------------------------------------------------------------------------------- /E3-server/css/mui.picker.min.css: -------------------------------------------------------------------------------- 1 | /** 2 | * 选择列表插件 3 | * varstion 2.0.0 4 | * by Houfeng 5 | * Houfeng@DCloud.io 6 | **/ 7 | .mui-pciker-list li,.mui-picker,.mui-picker-inner{box-sizing:border-box;overflow:hidden}.mui-picker{background-color:#ddd;position:relative;height:200px;border:1px solid rgba(0,0,0,.1);-webkit-user-select:none;user-select:none}.mui-dtpicker,.mui-poppicker{left:0;background-color:#eee;box-shadow:0 -5px 7px 0 rgba(0,0,0,.1);-webkit-transition:.3s;width:100%}.mui-picker-inner{position:relative;width:100%;height:100%;-webkit-mask-box-image:-webkit-linear-gradient(bottom,transparent,transparent 5%,#fff 20%,#fff 80%,transparent 95%,transparent);-webkit-mask-box-image:linear-gradient(top,transparent,transparent 5%,#fff 20%,#fff 80%,transparent 95%,transparent)}.mui-pciker-list,.mui-pciker-rule{box-sizing:border-box;padding:0;margin:-18px 0 0;width:100%;height:36px;line-height:36px;position:absolute;left:0;top:50%}.mui-pciker-rule-bg{z-index:0}.mui-pciker-rule-ft{z-index:2;border-top:solid 1px rgba(0,0,0,.1);border-bottom:solid 1px rgba(0,0,0,.1)}.mui-pciker-list{z-index:1;-webkit-transform-style:preserve-3d;transform-style:preserve-3d;-webkit-transform:perspective(750pt) rotateY(0) rotateX(0);transform:perspective(750pt) rotateY(0) rotateX(0)}.mui-pciker-list li{width:100%;height:100%;position:absolute;text-align:center;vertical-align:middle;-webkit-backface-visibility:hidden;backface-visibility:hidden;font-size:1pc;font-family:"Helvetica Neue",Helvetica,Arial,sans-serif;color:#888;padding:0 8px;white-space:nowrap;-webkit-text-overflow:ellipsis;text-overflow:ellipsis;cursor:default;visibility:hidden}.mui-pciker-list li.highlight,.mui-pciker-list li.visible{visibility:visible}.mui-pciker-list li.highlight{color:#222}.mui-poppicker{position:fixed;z-index:999;border-top:solid 1px #ccc;bottom:0;-webkit-transform:translateY(300px)}.mui-poppicker.mui-active{-webkit-transform:translateY(0)}.mui-android-5-1 .mui-poppicker{bottom:-300px;-webkit-transition-property:bottom;-webkit-transform:none}.mui-android-5-1 .mui-poppicker.mui-active{bottom:0;-webkit-transition-property:bottom;-webkit-transform:none}.mui-poppicker-header{padding:6px;font-size:14px;color:#888}.mui-poppicker-header .mui-btn{font-size:9pt;padding:5px 10px}.mui-poppicker-btn-cancel{float:left}.mui-poppicker-btn-ok{float:right}.mui-poppicker-clear{clear:both;height:0;line-height:0;font-size:0;overflow:hidden}.mui-poppicker-body{position:relative;width:100%;height:200px;border-top:solid 1px #ddd}.mui-poppicker-body .mui-picker{width:100%;height:100%;margin:0;border:none;float:left}.mui-dtpicker{position:fixed;z-index:999999;border-top:solid 1px #ccc;bottom:0;-webkit-transform:translateY(300px)}.mui-dtpicker.mui-active{-webkit-transform:translateY(0)}.mui-dtpicker-active-for-page{overflow:hidden!important}.mui-android-5-1 .mui-dtpicker{bottom:-300px;-webkit-transition-property:bottom;-webkit-transform:none}.mui-android-5-1 .mui-dtpicker.mui-active{bottom:0;-webkit-transition-property:bottom;-webkit-transform:none}.mui-dtpicker-header{padding:6px;font-size:14px;color:#888}.mui-dtpicker-header button{font-size:9pt;padding:5px 10px}.mui-dtpicker-header button:last-child{float:right}.mui-dtpicker-body{position:relative;width:100%;height:200px}.mui-ios .mui-dtpicker-body{-webkit-perspective:75pc;perspective:75pc;-webkit-transform-style:preserve-3d;transform-style:preserve-3d}.mui-dtpicker-title h5{display:inline-block;width:20%;margin:0;padding:8px;text-align:center;border-top:solid 1px #ddd;background-color:#f0f0f0;border-bottom:solid 1px #ccc}[data-type=hour] [data-id=title-i],[data-type=hour] [data-id=picker-i],[data-type=month] [data-id=title-i],[data-type=month] [data-id=picker-d],[data-type=month] [data-id=title-d],[data-type=month] [data-id=picker-h],[data-type=month] [data-id=title-h],[data-type=month] [data-id=picker-i],[data-type=time] [data-id=picker-y],[data-type=time] [data-id=picker-m],[data-type=time] [data-id=picker-d],[data-type=time] [data-id=title-y],[data-type=time] [data-id=title-m],[data-type=time] [data-id=title-d],[data-type=date] [data-id=title-i],[data-type=date] [data-id=picker-h],[data-type=date] [data-id=title-h],[data-type=date] [data-id=picker-i]{display:none}.mui-dtpicker .mui-picker{width:20%;height:100%;margin:0;float:left;border:none}[data-type=hour] [data-id=picker-h],[data-type=hour] [data-id=title-h],[data-type=datetime] [data-id=picker-h],[data-type=datetime] [data-id=title-h]{border-left:dotted 1px #ccc}[data-type=datetime] .mui-picker,[data-type=time] .mui-dtpicker-title h5{width:20%}[data-type=date] .mui-dtpicker-title h5,[data-type=date] .mui-picker{width:33.3%}[data-type=hour] .mui-dtpicker-title h5,[data-type=hour] .mui-picker{width:25%}[data-type=month] .mui-dtpicker-title h5,[data-type=month] .mui-picker,[data-type=time] .mui-dtpicker-title h5,[data-type=time] .mui-picker{width:50%} -------------------------------------------------------------------------------- /E3-server/css/mui.poppicker.css: -------------------------------------------------------------------------------- 1 | .mui-poppicker { 2 | position: fixed; 3 | left: 0px; 4 | width: 100%; 5 | z-index: 999; 6 | background-color: #eee; 7 | border-top: solid 1px #ccc; 8 | box-shadow: 0px -5px 7px 0px rgba(0, 0, 0, 0.1); 9 | -webkit-transition: .3s; 10 | bottom: 0px; 11 | -webkit-transform: translateY(300px); 12 | } 13 | .mui-poppicker.mui-active { 14 | -webkit-transform: translateY(0px); 15 | } 16 | .mui-android-5-1 .mui-poppicker { 17 | bottom: -300px; 18 | -webkit-transition-property: bottom; 19 | -webkit-transform: none; 20 | } 21 | .mui-android-5-1 .mui-poppicker.mui-active { 22 | bottom: 0px; 23 | -webkit-transition-property: bottom; 24 | -webkit-transform: none; 25 | } 26 | .mui-poppicker-header { 27 | padding: 6px; 28 | font-size: 14px; 29 | color: #888; 30 | } 31 | .mui-poppicker-header .mui-btn { 32 | font-size: 12px; 33 | padding: 5px 10px; 34 | } 35 | .mui-poppicker-btn-cancel { 36 | float: left; 37 | } 38 | .mui-poppicker-btn-ok { 39 | float: right; 40 | } 41 | .mui-poppicker-clear { 42 | clear: both; 43 | height: 0px; 44 | line-height: 0px; 45 | font-size: 0px; 46 | overflow: hidden; 47 | } 48 | .mui-poppicker-body { 49 | position: relative; 50 | width: 100%; 51 | height: 200px; 52 | border-top: solid 1px #ddd; 53 | /*-webkit-perspective: 1200px; 54 | perspective: 1200px; 55 | -webkit-transform-style: preserve-3d; 56 | transform-style: preserve-3d;*/ 57 | } 58 | .mui-poppicker-body .mui-picker { 59 | width: 100%; 60 | height: 100%; 61 | margin: 0px; 62 | border: none; 63 | float: left; 64 | } -------------------------------------------------------------------------------- /E3-server/css/own.css: -------------------------------------------------------------------------------- 1 | 2 | .own-left-nav-color { 3 | color: gray; 4 | } 5 | 6 | .own-main-color { 7 | color: #41cea9; 8 | } 9 | 10 | .own-gray-color { 11 | background-color: #EBEBF1; 12 | } 13 | 14 | .own-black-color { 15 | color: black; 16 | } 17 | .own-text-through { 18 | text-decoration: line-through; 19 | } 20 | 21 | .own-main-background-color { 22 | background-color: #41cea9; 23 | } 24 | 25 | .own-header-hidden { 26 | display: none!important; 27 | } 28 | 29 | .own-content-padding { 30 | padding-top: 0 !important; 31 | } 32 | 33 | .own-btn-green { 34 | color: #fff; 35 | border: 1px solid #41cea9; 36 | background-color: #41cea9; 37 | } 38 | 39 | .own-btn-green.mui-active:enabled, 40 | .own-btn-green:enabled:active { 41 | color: #fff; 42 | border: 1px solid #41dfa9; 43 | background-color: #41dfa9; 44 | } 45 | 46 | .own-font-size { 47 | font-size: 1em; 48 | } 49 | 50 | -------------------------------------------------------------------------------- /E3-server/fonts/iconfont.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huihoo/e3-h5/332f109219e852155f448a2594c3c5a94f8d3fd7/E3-server/fonts/iconfont.ttf -------------------------------------------------------------------------------- /E3-server/fonts/mui.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huihoo/e3-h5/332f109219e852155f448a2594c3c5a94f8d3fd7/E3-server/fonts/mui.ttf -------------------------------------------------------------------------------- /E3-server/img/3.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huihoo/e3-h5/332f109219e852155f448a2594c3c5a94f8d3fd7/E3-server/img/3.jpg -------------------------------------------------------------------------------- /E3-server/img/bg.jpeg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huihoo/e3-h5/332f109219e852155f448a2594c3c5a94f8d3fd7/E3-server/img/bg.jpeg -------------------------------------------------------------------------------- /E3-server/img/bg.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huihoo/e3-h5/332f109219e852155f448a2594c3c5a94f8d3fd7/E3-server/img/bg.png -------------------------------------------------------------------------------- /E3-server/img/jump.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huihoo/e3-h5/332f109219e852155f448a2594c3c5a94f8d3fd7/E3-server/img/jump.gif -------------------------------------------------------------------------------- /E3-server/img/touxiang.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huihoo/e3-h5/332f109219e852155f448a2594c3c5a94f8d3fd7/E3-server/img/touxiang.jpg -------------------------------------------------------------------------------- /E3-server/js/ajax.js: -------------------------------------------------------------------------------- 1 | 2 | var new_element=document.createElement("script"); 3 | new_element.setAttribute("type","text/javascript"); 4 | new_element.setAttribute("src","../js/md5.js");// 在这里引入了a.js 5 | document.body.appendChild(new_element); 6 | 7 | var load_element=document.createElement("script"); 8 | load_element.setAttribute("type","text/javascript"); 9 | load_element.setAttribute("src","../js/load.js");// 在这里引入了a.js 10 | document.body.appendChild(load_element); 11 | 12 | 13 | var httpUrl = "http://182.140.244.73:91/gateway/router?"; 14 | var app_key = "9e304d4e8df1b74cfa009913198428ab"; 15 | var v = "v1.0"; 16 | var sign_method = "md5"; 17 | var signConstant = "4f4f8dd219bbdde0ae6bbe02be217c3a"; 18 | session_key = localStorage.getItem('session_key'); 19 | 20 | //获取当前时间戳 21 | function getTimestamp(){ 22 | return (Date.parse(new Date())/1000).toString(); 23 | } 24 | //获取sign签名 25 | function getSign(keyOptions){ 26 | var sign = signConstant; 27 | var isFirst = false; 28 | for (var key in keyOptions) { 29 | if (!isFirst) { 30 | sign = sign +key+'='+keyOptions[key]; 31 | isFirst = true; 32 | }else { 33 | sign = sign + '&'; 34 | sign = sign +key+'='+ keyOptions[key]; 35 | } 36 | } 37 | sign = sign + signConstant; 38 | return sign; 39 | } 40 | //获取发送数据的 41 | function getdata(options,apiName){ 42 | var timestamp = getTimestamp(); 43 | var sign = hex_md5(getSign(options)); 44 | var data = { 45 | app_key:app_key, 46 | method:apiName, 47 | timestamp:timestamp, 48 | v:'v1.0', 49 | sign_method:'md5', 50 | session_key:session_key, 51 | sign:sign, 52 | }; 53 | 54 | for (var key in options) { 55 | data[key] = options[key]; 56 | } 57 | return data; 58 | } 59 | 60 | function logData(data){ 61 | console.log(JSON.stringify(data)); 62 | } 63 | 64 | 65 | (function(w){ 66 | //获取sessionKey 67 | w.ajax_get_SessionKey = function(){ 68 | mui.ajax('http://182.140.244.73:91/sessionkey',{ 69 | dataType:'json',//服务器返回json格式数据 70 | type:'get',//HTTP请求类型 71 | timeout:10000,//超时时间设置为10秒; 72 | success:function(data){ 73 | logData(data); 74 | localStorage.setItem('session_key',data.session_key); 75 | //关闭启动页面 76 | closeStartScreent(); 77 | }, 78 | error:function(xhr,type,errorThrown){ 79 | 80 | } 81 | }); 82 | }; 83 | 84 | //用户注册 85 | w.ajax_register = function(options){ 86 | var data = getdata(options,'com.huihoo.user.register'); 87 | mui.ajax(httpUrl,{ 88 | data:data, 89 | dataType:'json',//服务器返回json格式数据 90 | type:'post',//HTTP请求类型 91 | timeout:10000,//超时时间设置为10秒; 92 | success:function(data){ 93 | logData(data); 94 | registerSeccess(data); 95 | }, 96 | error:function(xhr,type,errorThrown){ 97 | 98 | } 99 | }); 100 | } 101 | 102 | 103 | //用户登陆 104 | w.ajax_login = function(options){ 105 | var data = getdata(options,'com.huihoo.user.login'); 106 | mui.ajax(httpUrl,{ 107 | data:data, 108 | dataType:'json',//服务器返回json格式数据 109 | type:'post',//HTTP请求类型 110 | timeout:10000,//超时时间设置为10秒; 111 | success:function(data){ 112 | logData(data); 113 | data.account = options.user_name; 114 | loginSuccess(data); 115 | }, 116 | error:function(xhr,type,errorThrown){ 117 | 118 | } 119 | }); 120 | } 121 | 122 | 123 | //修改密码 124 | w.ajax_change_pwd = function(options){ 125 | var data = getdata(options,'com.huihoo.user.change_pwd'); 126 | mui.ajax(httpUrl,{ 127 | data:data, 128 | dataType:'json',//服务器返回json格式数据 129 | type:'post',//HTTP请求类型 130 | timeout:10000,//超时时间设置为10秒; 131 | success:function(data){ 132 | logData(data); 133 | changePwdSuccess(data); 134 | }, 135 | error:function(xhr,type,errorThrown){ 136 | 137 | } 138 | }); 139 | } 140 | 141 | //退出登录 142 | w.ajax_logout = function(options){ 143 | var data = getdata(options,'com.huihoo.user.loginout'); 144 | mui.ajax(httpUrl,{ 145 | data:data, 146 | dataType:'json',//服务器返回json格式数据 147 | type:'get',//HTTP请求类型 148 | timeout:10000,//超时时间设置为10秒; 149 | success:function(data){ 150 | logData(data); 151 | logoutSuccess(data); 152 | }, 153 | error:function(xhr,type,errorThrown){ 154 | 155 | } 156 | }); 157 | } 158 | 159 | //获取分类第一级 160 | w.ajax_get_first_category = function(options) { 161 | startLoad(); 162 | var data = getdata(options,'com.huihoo.category.first_category'); 163 | mui.ajax(httpUrl,{ 164 | data:data, 165 | dataType:'json',//服务器返回json格式数据 166 | type:'get',//HTTP请求类型 167 | timeout:10000,//超时时间设置为10秒; 168 | success:function(data){ 169 | 170 | logData(data); 171 | setTimeout(function(){ 172 | endLoad(); 173 | categoryStairSuccess(data); 174 | },500); 175 | }, 176 | error:function(xhr,type,errorThrown){ 177 | 178 | } 179 | }); 180 | } 181 | 182 | //获取分类第二级 183 | w.ajax_get_sub_category = function(options){ 184 | startLoad(); 185 | var data = getdata(options,'com.huihoo.category.sub_category'); 186 | mui.ajax(httpUrl,{ 187 | data:data, 188 | dataType:'json',//服务器返回json格式数据 189 | type:'get',//HTTP请求类型 190 | timeout:10000,//超时时间设置为10秒; 191 | success:function(data){ 192 | logData(data); 193 | setTimeout(function(){ 194 | endLoad(); 195 | categoryMoversSuccess(options.parent_category_id,data); 196 | },500); 197 | 198 | }, 199 | error:function(xhr,type,errorThrown){ 200 | 201 | } 202 | }); 203 | } 204 | 205 | //获取分类产品 206 | w.ajax_get_product_list = function(options){ 207 | startLoad(); 208 | var data = getdata(options,'com.huihoo.product.product_list'); 209 | mui.ajax(httpUrl,{ 210 | data:data, 211 | dataType:'json',//服务器返回json格式数据 212 | type:'get',//HTTP请求类型 213 | timeout:10000,//超时时间设置为10秒; 214 | success:function(data){ 215 | logData(data); 216 | setTimeout(function(){ 217 | endLoad(); 218 | productlistSuccess(data); 219 | },500); 220 | 221 | 222 | }, 223 | error:function(xhr,type,errorThrown){ 224 | 225 | } 226 | }); 227 | } 228 | 229 | //查询用户喜欢的商品 230 | w.ajax_get_likelist = function(options){ 231 | startLoad(); 232 | var data = getdata(options,'com.huihoo.user.collect_list'); 233 | mui.ajax(httpUrl,{ 234 | data:data, 235 | dataType:'json',//服务器返回json格式数据 236 | type:'get',//HTTP请求类型 237 | timeout:10000,//超时时间设置为10秒; 238 | success:function(data){ 239 | logData(data); 240 | setTimeout(function(){ 241 | endLoad(); 242 | likelistSuccess(data); 243 | },500); 244 | 245 | 246 | }, 247 | error:function(xhr,type,errorThrown){ 248 | 249 | } 250 | }); 251 | } 252 | 253 | //删除喜欢的商品 254 | w.ajax_delete_likeItem = function(options){ 255 | startLoad(); 256 | var data = getdata(options,'com.huihoo.user.delete_collect'); 257 | mui.ajax(httpUrl,{ 258 | data:data, 259 | dataType:'json',//服务器返回json格式数据 260 | type:'get',//HTTP请求类型 261 | timeout:10000,//超时时间设置为10秒; 262 | success:function(data){ 263 | logData(data); 264 | data.id = options.product_id; 265 | setTimeout(function(){ 266 | endLoad(); 267 | deleteItemSuccess(data); 268 | },500); 269 | 270 | }, 271 | error:function(xhr,type,errorThrown){ 272 | 273 | } 274 | }); 275 | 276 | } 277 | 278 | //商品详情 279 | w.ajax_get_product_detail = function(options){ 280 | startLoad(); 281 | var data = getdata(options,'com.huihoo.product.product_detail'); 282 | mui.ajax(httpUrl,{ 283 | data:data, 284 | dataType:'json',//服务器返回json格式数据 285 | type:'get',//HTTP请求类型 286 | timeout:10000,//超时时间设置为10秒; 287 | success:function(data){ 288 | logData(data); 289 | data.id = options.product_id; 290 | setTimeout(function(){ 291 | endLoad(); 292 | productDetailSuccess(data); 293 | },500); 294 | 295 | 296 | }, 297 | error:function(xhr,type,errorThrown){ 298 | 299 | } 300 | }); 301 | } 302 | 303 | //获取首页跑马灯 304 | w.ajax_get_Marquee = function(options){ 305 | var data = getdata(options,'com.huihoo.content.paomadeng'); 306 | mui.ajax(httpUrl,{ 307 | data:data, 308 | dataType:'json', 309 | type:'get', 310 | timeout:10000, 311 | success:function(data){ 312 | logData(data); 313 | setTimeout(function(){ 314 | endLoad(); 315 | getMarqueeSuccess(data); 316 | },500); 317 | 318 | }, 319 | error:function(xhr,type,errorThrown){ 320 | 321 | } 322 | }); 323 | } 324 | //获取推荐商品 325 | w.ajax_get_Recommend = function(options){ 326 | startLoad(); 327 | var data = getdata(options,'com.huihoo.product.get_hot_products'); 328 | mui.ajax(httpUrl,{ 329 | data:data, 330 | dataType:'json', 331 | type:'get', 332 | timeout:10000, 333 | success:function(data){ 334 | logData(data); 335 | setTimeout(function(){ 336 | endLoad(); 337 | getRecommendSuccess(data); 338 | },500); 339 | 340 | 341 | }, 342 | error:function(xhr,type,errorThrown){ 343 | 344 | } 345 | }); 346 | } 347 | 348 | 349 | })(window); 350 | -------------------------------------------------------------------------------- /E3-server/js/load.js: -------------------------------------------------------------------------------- 1 | //添加数据加载时候的动画 2 | var dataload = null; 3 | var body = document.getElementsByTagName('body')[0]; 4 | //开始加载 5 | function startLoad(){ 6 | if (!dataload) { 7 | dataload = document.createElement('div'); 8 | dataload.style.position = 'absolute'; 9 | dataload.style.width = '100%'; 10 | dataload.style.textAlign = 'center'; 11 | dataload.style.top = '70px'; 12 | dataload 13 | 14 | dataload.style.zIndex = 1000000; 15 | body.appendChild(dataload); 16 | 17 | 18 | var span = document.createElement('span'); 19 | span.innerHTML = '\ 20 | \ 21 | \ 22 |
\ 23 | 加载中...'; 24 | span.style.fontSize = '0.8em'; 25 | span.style.textAlign = 'center'; 26 | span.style.color = 'gray'; 27 | dataload.appendChild(span); 28 | 29 | }else { 30 | dataload.style.display = 'block'; 31 | } 32 | } 33 | //结束加载 34 | function endLoad(){ 35 | dataload.style.display = 'none'; 36 | } -------------------------------------------------------------------------------- /E3-server/js/own.js: -------------------------------------------------------------------------------- 1 | 2 | 3 | (function(own){ 4 | 5 | //当页面hide的时候将其中的页面close掉 6 | own.closeChildWebviewOfhide = function(currentWebview,closedWebviewId){ 7 | currentWebview.addEventListener('hide',function(){ 8 | 9 | var closeWeb = plus.webview.getWebviewById(closedWebviewId); 10 | 11 | if (!currentWebview.getURL() ||!closeWeb ) { 12 | return; 13 | } 14 | closeWeb.close(); 15 | closeWeb = null; 16 | },false); 17 | } 18 | //当页面close的时候将其中的页面close掉 19 | own.closeChildWebviewOfclose = function(currentWebview,closedWebviewId){ 20 | currentWebview.addEventListener('close',function(){ 21 | var closeWeb = plus.webview.getWebviewById(closedWebviewId); 22 | if (!currentWebview.getURL() ||!closeWeb ) { 23 | return; 24 | } 25 | closeWeb.close(); 26 | closeWeb = null; 27 | },false); 28 | } 29 | 30 | //一般情况下设置anishow 31 | own.getaniShow = function(){ 32 | var aniShow = 'pop-in'; 33 | if (mui.os.android) { 34 | var androidlist = document.querySelectorAll('ios-only'); 35 | if (androidlist) { 36 | mui.each(androidlist,function(num,obj){ 37 | obj.style.display = 'none'; 38 | }); 39 | } 40 | 41 | if (parseFloat(mui.os.version) < 4.4) { 42 | aniShow = 'slide-in-right'; 43 | } 44 | } 45 | 46 | return aniShow; 47 | } 48 | })(window); 49 | -------------------------------------------------------------------------------- /E3-server/js/wl_ajax.js: -------------------------------------------------------------------------------- 1 | 2 | 3 | var new_element=document.createElement("script"); 4 | new_element.setAttribute("type","text/javascript"); 5 | new_element.setAttribute("src","../js/ajax.js");// 在这里引入了a.js 6 | document.body.appendChild(new_element); 7 | 8 | (function(w){ 9 | 10 | //获取购物车信息 11 | w.ajax_get_cart = function(options) { 12 | startLoad(); 13 | var data = getdata(options,'com.huihoo.shopping.get_cart_items'); 14 | mui.ajax(httpUrl,{ 15 | 16 | data:data, 17 | dataType:'json', 18 | type:'get', 19 | timeout:1000, 20 | success:function(data) { 21 | logData(); 22 | setTimeout(function(){ 23 | endLoad(); 24 | getCartItem(data); 25 | }); 26 | }, 27 | error:function(xhr,type,errorThrown) { 28 | 29 | } 30 | }); 31 | } 32 | })(window); 33 | -------------------------------------------------------------------------------- /E3-server/manifest.json: -------------------------------------------------------------------------------- 1 | { 2 | "@platforms": ["android", "iPhone", "iPad"], 3 | "id": "H5AA14495",/*应用的标识,创建应用时自动生成,勿手动修改*/ 4 | "name": "E3",/*应用名称,程序桌面图标名称*/ 5 | "version": { 6 | "name": "1.0.0",/*应用版本名称*/ 7 | "code": "83" 8 | }, 9 | "description": "",/*应用描述信息*/ 10 | "icons": { 11 | "72": "icon.png" 12 | }, 13 | "launch_path": "index.html",/*应用的入口页面,默认为根目录下的index.html;支持网络地址,必须以http://或https://开头*/ 14 | "developer": { 15 | "name": "",/*开发者名称*/ 16 | "email": "",/*开发者邮箱地址*/ 17 | "url": "http://www.dcloud.io" 18 | }, 19 | "permissions": { 20 | "Accelerometer": { 21 | "description": "访问加速度感应器" 22 | }, 23 | "Audio": { 24 | "description": "访问麦克风" 25 | }, 26 | "Cache": { 27 | "description": "管理应用缓存" 28 | }, 29 | "Camera": { 30 | "description": "访问摄像头" 31 | }, 32 | "Console": { 33 | "description": "跟踪调试输出日志" 34 | }, 35 | "Contacts": { 36 | "description": "访问系统联系人信息" 37 | }, 38 | "Device": { 39 | "description": "访问设备信息" 40 | }, 41 | "Downloader": { 42 | "description": "文件下载管理" 43 | }, 44 | "Events": { 45 | "description": "应用扩展事件" 46 | }, 47 | "File": { 48 | "description": "访问本地文件系统" 49 | }, 50 | "Gallery": { 51 | "description": "访问系统相册" 52 | }, 53 | "Geolocation": { 54 | "description": "访问位置信息" 55 | }, 56 | "Invocation": { 57 | "description": "使用Native.js能力" 58 | }, 59 | "Messaging": { 60 | "description": "访问通讯能力" 61 | }, 62 | "Orientation": { 63 | "description": "访问方向感应器" 64 | }, 65 | "Proximity": { 66 | "description": "访问距离感应器" 67 | }, 68 | "Storage": { 69 | "description": "管理应用本地数据" 70 | }, 71 | 72 | "Uploader": { 73 | "description": "管理文件上传任务" 74 | }, 75 | "Runtime": { 76 | "description": "访问运行期环境" 77 | }, 78 | "XMLHttpRequest": { 79 | "description": "跨域网络访问" 80 | }, 81 | "Zip": { 82 | "description": "文件压缩与解压缩" 83 | }, 84 | "Barcode": { 85 | "description": "管理二维码扫描插件" 86 | }, 87 | "Maps": { 88 | "description": "管理地图插件" 89 | }, 90 | "Speech": { 91 | "description": "管理语音识别插件" 92 | }, 93 | "Webview":{ 94 | "description": "窗口管理" 95 | }, 96 | "NativeUI":{ 97 | "description": "原生UI控件" 98 | }, 99 | "Navigator":{ 100 | "description": "浏览器信息" 101 | }, 102 | "NativeObj":{ 103 | "description": "原生对象" 104 | } 105 | }, 106 | "plus": { 107 | "splashscreen": { 108 | "autoclose": false,/*是否自动关闭程序启动界面,true表示应用加载应用入口页面后自动关闭;false则需调plus.navigator.closeSplashscreen()关闭*/ 109 | "waiting": true 110 | }, 111 | "runmode": "liberate",/*应用的首次启动运行模式,可取liberate或normal,liberate模式在第一次启动时将解压应用资源(Android平台File API才可正常访问_www目录)*/ 112 | "signature": "Sk9JTiBVUyBtYWlsdG86aHIyMDEzQGRjbG91ZC5pbw==",/*可选,保留给应用签名,暂不使用*/ 113 | "distribute": { 114 | "apple": { 115 | "appid": "",/*iOS应用标识,苹果开发网站申请的appid,如io.dcloud.HelloH5*/ 116 | "mobileprovision": "",/*iOS应用打包配置文件*/ 117 | "password": "",/*iOS应用打包个人证书导入密码*/ 118 | "p12": "",/*iOS应用打包个人证书,打包配置文件关联的个人证书*/ 119 | "devices": "universal",/*iOS应用支持的设备类型,可取值iphone/ipad/universal*/ 120 | "frameworks": [] 121 | }, 122 | "google": { 123 | "packagename": "",/*Android应用包名,如io.dcloud.HelloH5*/ 124 | "keystore": "",/*Android应用打包使用的密钥库文件*/ 125 | "password": "",/*Android应用打包使用密钥库中证书的密码*/ 126 | "aliasname": "",/*Android应用打包使用密钥库中证书的别名*/ 127 | "permissions": ["","","","","","","","","","","","","","","","","","","","","","","",""] 128 | }, 129 | "orientation": ["portrait-primary", "portrait-secondary"],/*应用支持的方向,portrait-primary:竖屏正方向;portrait-secondary:竖屏反方向;landscape-primary:横屏正方向;landscape-secondary:横屏反方向*/ 130 | "icons": { 131 | "ios": { 132 | "prerendered": true, /*应用图标是否已经高亮处理,在iOS6及以下设备上有效*/ 133 | "auto": "", /*应用图标,分辨率:512x512,用于自动生成各种尺寸程序图标*/ 134 | "iphone": { 135 | "normal": "",/*iPhone普通屏幕程序图标,分辨率:57x57*/ 136 | "retina": "",/*iPhone高分屏程序图标,分辨率:114x114*/ 137 | "retina7": "",/*iPhone iOS7高分屏程序图标,分辨率:120x120*/ 138 | "spotlight-normal": "", /*iPhone Spotlight搜索程序图标,分辨率:29x29*/ 139 | "spotlight-retina": "", /*iPhone高分屏Spotlight搜索程序图标,分辨率:58x58*/ 140 | "spotlight-retina7": "",/*iPhone iOS7高分屏Spotlight搜索程序图标,分辨率:80x80*/ 141 | "settings-normal": "", /*iPhone设置页面程序图标,分辨率:29x29*/ 142 | "settings-retina": "" 143 | }, 144 | "ipad": { 145 | "normal": "", /*iPad普通屏幕程序图标,分辨率:72x72*/ 146 | "retina": "", /*iPad高分屏程序图标,分辨率:144x144*/ 147 | "normal7": "", /*iPad iOS7程序图标,分辨率:76x76*/ 148 | "retina7": "", /*iPad iOS7高分屏程序图标,分辨率:152x152*/ 149 | "spotlight-normal": "", /*iPad Spotlight搜索程序图标,分辨率:50x50*/ 150 | "spotlight-retina": "", /*iPad高分屏Spotlight搜索程序图标,分辨率:100x100*/ 151 | "spotlight-normal7": "",/*iPad iOS7 Spotlight搜索程序图标,分辨率:40x40*/ 152 | "spotlight-retina7": "",/*iPad iOS7高分屏Spotlight搜索程序图标,分辨率:80x80*/ 153 | "settings-normal": "",/*iPad设置页面程序图标,分辨率:29x29*/ 154 | "settings-retina": "" 155 | } 156 | }, 157 | "android": { 158 | "mdpi": "", /*普通屏程序图标,分辨率:48x48*/ 159 | "ldpi": "", /*大屏程序图标,分辨率:48x48*/ 160 | "hdpi": "", /*高分屏程序图标,分辨率:72x72*/ 161 | "xhdpi": "",/*720P高分屏程序图标,分辨率:96x96*/ 162 | "xxhdpi": "" 163 | } 164 | }, 165 | "splashscreen": { 166 | "ios": { 167 | "iphone": { 168 | "default": "", /*iPhone3启动图片选,分辨率:320x480*/ 169 | "retina35": "",/*3.5英寸设备(iPhone4)启动图片,分辨率:640x960*/ 170 | "retina40": "" 171 | }, 172 | "ipad": { 173 | "portrait": "", /*iPad竖屏启动图片,分辨率:768x1004*/ 174 | "portrait-retina": "",/*iPad高分屏竖屏图片,分辨率:1536x2008*/ 175 | "landscape": "", /*iPad横屏启动图片,分辨率:1024x748*/ 176 | "landscape-retina": "", /*iPad高分屏横屏启动图片,分辨率:2048x1496*/ 177 | "portrait7": "", /*iPad iOS7竖屏启动图片,分辨率:768x1024*/ 178 | "portrait-retina7": "",/*iPad iOS7高分屏竖屏图片,分辨率:1536x2048*/ 179 | "landscape7": "", /*iPad iOS7横屏启动图片,分辨率:1024x768*/ 180 | "landscape-retina7": "" 181 | } 182 | }, 183 | "android": { 184 | "mdpi": "", /*普通屏启动图片,分辨率:240x282*/ 185 | "ldpi": "", /*大屏启动图片,分辨率:320x442*/ 186 | "hdpi": "", /*高分屏启动图片,分辨率:480x762*/ 187 | "xhdpi": "", /*720P高分屏启动图片,分辨率:720x1242*/ 188 | "xxhdpi": "" 189 | } 190 | } 191 | } 192 | } 193 | } -------------------------------------------------------------------------------- /E3-server/product-detail-tem.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 模版界面 7 | 8 | 9 | 10 | 11 | 23 | 24 | 25 | 26 |
27 | 28 |

商品详情

29 |
30 | 31 | 32 |
33 |
34 | 35 | 36 | 37 |
38 | 加载中... 39 |
40 |
41 | 42 | 43 | 44 | 45 | 79 | 80 | -------------------------------------------------------------------------------- /E3-server/template-main.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | E3 7 | 8 | 9 | 10 | 22 | 23 | 24 |
25 | 26 |

模版界面

27 | 30 | 31 |
32 | 33 |
34 |
35 | 36 | 37 | 38 |
39 | 加载中... 40 |
41 |
42 | 43 | 44 | 122 | 123 | 124 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | BSD License 2 | 3 | For E3 HTML5 App 4 | 5 | Copyright (c) 2015, Huihoo, Inc. All rights reserved. 6 | 7 | Redistribution and use in source and binary forms, with or without modification, 8 | are permitted provided that the following conditions are met: 9 | 10 | * Redistributions of source code must retain the above copyright notice, this 11 | list of conditions and the following disclaimer. 12 | 13 | * Redistributions in binary form must reproduce the above copyright notice, 14 | this list of conditions and the following disclaimer in the documentation 15 | and/or other materials provided with the distribution. 16 | 17 | * Neither the name Facebook nor the names of its contributors may be used to 18 | endorse or promote products derived from this software without specific 19 | prior written permission. 20 | 21 | THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND 22 | ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED 23 | WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE 24 | DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR 25 | ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES 26 | (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; 27 | LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON 28 | ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 29 | (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS 30 | SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 31 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | 灰狐E3 HTML5 App 2 | 3 | #### 简介 4 | 5 | 一款基于HTML5,HTML5+的移动电商App 6 | 7 | 灰狐E3 http://e3.huihoo.com 8 | 9 | #### 版本 10 | * 单机版(E3-demo):用于评估和测试 (2016.06-) 11 | * 服务器版(E3-server):用于生产部署 (2016.07-) 12 | 注:目前版本,因为缺少后端服务器支持,暂无法正常演示,仅供参考。 13 | 14 | #### 编译运行 15 | * [下载安装HBuilder](http://www.dcloud.io) 16 | * git clone https://github.com/huihoo/e3-h5 17 | * 将clone的包内容拖到HBuilder中,可运行调试 18 | * 打包.apk或.ipa直接部署到真机,只有几M大小 19 | * 现在就下载安装[Android App](http://download.huihoo.com/huihoo/e3/e3-html5.apk)或[iOS App](http://download.huihoo.com/huihoo/e3/e3-html5.ipa) 20 | 21 | ![发行App](http://wiki.huihoo.com/images/a/a7/Hbuilder-distribution-app.png) 22 | 23 | #### 技术特色 24 | * 预加载的使用,让页面的切换变的流畅,解决浏览器的天生白屏。 25 | * 父子模版解决页面拖动回弹的效果。 26 | * 多处配合一般webview页面的使用,可以在ios和android上平滑运行,体验度在接受范围内。 27 | 28 | #### [为什么选择h5+? 为什么选择mui?](https://github.com/dcloudio/mui) 29 | * 跨平台,一套代码两个平台,也是在现在跨平台方法中开发过程中出问题最少的一种方式。 30 | * 由[html中国产业开发者联盟](http://www.html5plus.org/doc/h5p.html)h5+规范提供了很好的原生调用的api。 31 | * mui解决了h5在移动开发中存在的性能和体验的硬伤。 32 | 33 | #### 功能 34 | * 用户注册、登录、忘记密码 35 | * 商品分类、搜索、心愿单 36 | * 商品详情 37 | * 商品评价、供货商、商品推荐 38 | * 购物车、商品会按卖家分组显示 39 | * 用户中心 40 | 41 | #### HBuilder 42 | ![hbuilder](http://wiki.huihoo.com/images/7/70/HBuilder-Huihoo-E3-HTML5-04.png) 43 | 44 | #### App Screen 45 | 46 | iPhone 47 | 48 | ![e3](http://wiki.huihoo.com/images/d/d3/E3-html5-ios-01.png) 49 | 50 | ![e3](http://wiki.huihoo.com/images/d/d6/E3-html5-ios-03.png) 51 | 52 | Android手机 53 | 54 | ![e3](http://wiki.huihoo.com/images/b/bc/E3-html5-android-05.jpg) 55 | 56 | ![e3](http://wiki.huihoo.com/images/b/b0/E3-html5-android-07.jpg) 57 | 58 | 许可协议:BSD License. 59 | --------------------------------------------------------------------------------