add
0 parents
Showing
135 changed files
with
1233 additions
and
0 deletions
bootstrap/css/bootstrap-theme.css
0 → 100644
This diff is collapsed.
Click to expand it.
bootstrap/css/bootstrap-theme.css.map
0 → 100644
This diff is collapsed.
Click to expand it.
bootstrap/css/bootstrap-theme.min.css
0 → 100644
This diff is collapsed.
Click to expand it.
bootstrap/css/bootstrap-theme.min.css.map
0 → 100644
| 1 | {"version":3,"sources":["less/theme.less","less/mixins/vendor-prefixes.less","less/mixins/gradients.less","less/mixins/reset-filter.less"],"names":[],"mappings":";;;;AAmBA,YAAA,aAAA,UAAA,aAAA,aAAA,aAME,YAAA,EAAA,KAAA,EAAA,eC2CA,mBAAA,MAAA,EAAA,IAAA,EAAA,sBAAA,EAAA,IAAA,IAAA,iBACQ,WAAA,MAAA,EAAA,IAAA,EAAA,sBAAA,EAAA,IAAA,IAAA,iBDvCR,mBAAA,mBAAA,oBAAA,oBAAA,iBAAA,iBAAA,oBAAA,oBAAA,oBAAA,oBAAA,oBAAA,oBCsCA,mBAAA,MAAA,EAAA,IAAA,IAAA,iBACQ,WAAA,MAAA,EAAA,IAAA,IAAA,iBDlCR,qBAAA,sBAAA,sBAAA,uBAAA,mBAAA,oBAAA,sBAAA,uBAAA,sBAAA,uBAAA,sBAAA,uBAAA,+BAAA,gCAAA,6BAAA,gCAAA,gCAAA,gCCiCA,mBAAA,KACQ,WAAA,KDlDV,mBAAA,oBAAA,iBAAA,oBAAA,oBAAA,oBAuBI,YAAA,KAyCF,YAAA,YAEE,iBAAA,KAKJ,aErEI,YAAA,EAAA,IAAA,EAAA,KACA,iBAAA,iDACA,iBAAA,4CAAA,iBAAA,qEAEA,iBAAA,+CCnBF,OAAA,+GH4CA,OAAA,0DACA,kBAAA,SAuC2C,aAAA,QAA2B,aAAA,KArCtE,mBAAA,mBAEE,iBAAA,QACA,oBAAA,EAAA,MAGF,oBAAA,oBAEE,iBAAA,QACA,aAAA,QAMA,sBAAA,6BAAA,4BAAA,6BAAA,4BAAA,4BAAA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+CACA,iBAAA,wEAAA,iBAAA,kDACA,OAAA,+GACA,kBAAA,SF4PJ,8BEhQI,iBAAA,oDACA,iBAAA,+CACA,iBAAA,wEAAA,iBAAA,kDACA,OAAA,+GACA,kBAAA,SF6PJ,6BEjQI,iBAAA,oDACA,iBAAA,+CACA,iBAAA,wEAAA,iBAAA,kDACA,OAAA,+GACA,kBAAA,SFoQJ,MExQI,iBAAA,oDACA,iBAAA,+CACA,iBAAA,wEAAA,iBAAA,kDACA,OAAA,+GACA,kBAAA,SFsQF,aAAA,QC3NA,mBAAA,MAAA,EAAA,IAAA,IAAA,gBAAA,EAAA,IAAA,EAAA,qBACQ,WAAA,MAAA,EAAA,IAAA,IAAA,gBAAA,EAAA,IAAA,EAAA"} | ||
| ... | \ No newline at end of file | ... | \ No newline at end of file |
bootstrap/css/bootstrap.css
0 → 100644
This diff could not be displayed because it is too large.
bootstrap/css/bootstrap.css.map
0 → 100644
This diff could not be displayed because it is too large.
bootstrap/css/bootstrap.min.css
0 → 100644
This diff could not be displayed because it is too large.
bootstrap/css/bootstrap.min.css.map
0 → 100644
This diff is collapsed.
Click to expand it.
No preview for this file type
This diff could not be displayed because it is too large.
No preview for this file type
No preview for this file type
No preview for this file type
bootstrap/js/bootstrap.js
0 → 100644
This diff is collapsed.
Click to expand it.
bootstrap/js/bootstrap.min.js
0 → 100644
This diff is collapsed.
Click to expand it.
bootstrap/js/npm.js
0 → 100644
| 1 | // This file is autogenerated via the `commonjs` Grunt task. You can require() this file in a CommonJS environment. | ||
| 2 | require('../../js/transition.js') | ||
| 3 | require('../../js/alert.js') | ||
| 4 | require('../../js/button.js') | ||
| 5 | require('../../js/carousel.js') | ||
| 6 | require('../../js/collapse.js') | ||
| 7 | require('../../js/dropdown.js') | ||
| 8 | require('../../js/modal.js') | ||
| 9 | require('../../js/tooltip.js') | ||
| 10 | require('../../js/popover.js') | ||
| 11 | require('../../js/scrollspy.js') | ||
| 12 | require('../../js/tab.js') | ||
| 13 | require('../../js/affix.js') | ||
| ... | \ No newline at end of file | ... | \ No newline at end of file |
build.sh
0 → 100644
contactUs.html
0 → 100644
| 1 | <!DOCTYPE html> | ||
| 2 | <html lang="en"> | ||
| 3 | <head> | ||
| 4 | <meta charset="UTF-8"> | ||
| 5 | <meta name="format-detection" content="telephone=no"/> | ||
| 6 | <meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no,minimal-ui" /> | ||
| 7 | <title>联系我们</title> | ||
| 8 | <style type="text/css" > | ||
| 9 | body{ | ||
| 10 | font-family: 黑体; | ||
| 11 | overflow: hidden; | ||
| 12 | margin: 0px; | ||
| 13 | border: 0px; | ||
| 14 | padding: 0px; | ||
| 15 | background-color: #ffffff; | ||
| 16 | color: #333333; | ||
| 17 | font-size: 16px; | ||
| 18 | } | ||
| 19 | .div-center{ | ||
| 20 | margin-top: 25px; | ||
| 21 | margin-left: 20px; | ||
| 22 | } | ||
| 23 | .div-center div{ | ||
| 24 | margin-top: 36px; | ||
| 25 | } | ||
| 26 | .div-bottom div{ | ||
| 27 | margin-top: 20px; | ||
| 28 | } | ||
| 29 | .div-bottom{ | ||
| 30 | margin-top: 105px; | ||
| 31 | margin-left: 20px; | ||
| 32 | } | ||
| 33 | </style> | ||
| 34 | </head> | ||
| 35 | <body> | ||
| 36 | <div class="div-center"> | ||
| 37 | <div align="center" ><img src="./images/2.pic_hd.jpg" /></div> | ||
| 38 | <div align="center" style="margin-top: 0px;color: #999999;font-size: 18px;">东城行</div> | ||
| 39 | </div> | ||
| 40 | <div class="div-bottom"> | ||
| 41 | <div>微信:东城行</div> | ||
| 42 | <div>微博:东城行</div> | ||
| 43 | <div>客服电话:0579-86680123</div> | ||
| 44 | <!--<a href="tel:4009696556">拨号</a>--> | ||
| 45 | </div> | ||
| 46 | </body> | ||
| 47 | </html> |
css/app.css
0 → 100644
This diff is collapsed.
Click to expand it.
css/mui.css
0 → 100644
This diff is collapsed.
Click to expand it.
css/mui.min.css
0 → 100644
This diff is collapsed.
Click to expand it.
favicon.ico
0 → 100644
File mode changed
fonts/mui.ttf
0 → 100644
No preview for this file type
html/bond.html
0 → 100644
| 1 | <div class="bondBox" ng-controller="bondController" ng-init="init()"> | ||
| 2 | <div class="bondTop"> | ||
| 3 | ¥{{bondInfo.alreadyPaid?bondInfo.alreadyPaid:'0.00'}} | ||
| 4 | </div> | ||
| 5 | <div class="bondText"> | ||
| 6 | <div class="bondTitle"> | ||
| 7 | 保证金说明: | ||
| 8 | </div> | ||
| 9 | <ul> | ||
| 10 | <li> | ||
| 11 | 1.在缴纳保证金后,方可租车; | ||
| 12 | </li> | ||
| 13 | <li> | ||
| 14 | 2.在缴纳保证金后,是为保障公共自行车的正常有序使用; | ||
| 15 | </li> | ||
| 16 | <li> | ||
| 17 | 3.每个地区到的保证金金额不定相同,请以所租车城市为准; | ||
| 18 | </li> | ||
| 19 | <li> | ||
| 20 | 4.保证金可申请退换,申请后可7个工作日内退还; | ||
| 21 | </li> | ||
| 22 | </ul> | ||
| 23 | </div> | ||
| 24 | <div class="redBtnBox"> | ||
| 25 | <button class=" mui-btn mui-btn-block bigBtn blueBg" ng-click="drawback()" ng-if="bondInfo.isActive"> | ||
| 26 | 申请退款 | ||
| 27 | </button> | ||
| 28 | </div> | ||
| 29 | <div class="redBtnBox" ng-click="goPay()" ng-if="!bondInfo.isActive"> | ||
| 30 | <button class=" mui-btn mui-btn-block bigBtn redBigBtn" > | ||
| 31 | 立即支付 | ||
| 32 | </button> | ||
| 33 | </div> | ||
| 34 | |||
| 35 | </div> | ||
| ... | \ No newline at end of file | ... | \ No newline at end of file |
html/bondPay.html
0 → 100644
| 1 | <div ng-controller="bondPayController" class="payPanel"> | ||
| 2 | <div class="paywayMenu"> | ||
| 3 | <div class="paywayMenuItem"> | ||
| 4 | <img src="images/wechat.png" /> 微信支付 | ||
| 5 | </div> | ||
| 6 | </div> | ||
| 7 | |||
| 8 | <div class="paywayMenu"> | ||
| 9 | <div class="paywayMenuInputItem"> | ||
| 10 | <span>金额(元):</span> | ||
| 11 | <input type="text" value="{{ $root.toPaid}}" disabled> | ||
| 12 | </div> | ||
| 13 | </div> | ||
| 14 | |||
| 15 | <div class="redBtnBox btnPosition" > | ||
| 16 | <button class=" mui-btn mui-btn-block redBigBtn" ng-click="goPay()"> | ||
| 17 | 确认 | ||
| 18 | </button> | ||
| 19 | </div> | ||
| 20 | |||
| 21 | </div> | ||
| ... | \ No newline at end of file | ... | \ No newline at end of file |
html/bondSuccess.html
0 → 100644
| 1 | <div class="bondSuccess" ng-controller="bondSuccessController"> | ||
| 2 | <div class="bondSuccessContent"> | ||
| 3 | <div class="successLeft"> | ||
| 4 | <div> | ||
| 5 | 您已经支付成功 | ||
| 6 | <span style="color:red;margin-left:2px">请勿重复支付,如有疑问,请联系客服</span> | ||
| 7 | </div> | ||
| 8 | <div class="bottomText"> | ||
| 9 | 支付金额:<span> ¥{{$root.toPaid}}</span> | ||
| 10 | </div> | ||
| 11 | </div> | ||
| 12 | <div class="successRight" ng-click="goMap();"> | ||
| 13 | <div class="successBike"> | ||
| 14 | |||
| 15 | </div> | ||
| 16 | <div class="successBikeText"> | ||
| 17 | 去租车 | ||
| 18 | </div> | ||
| 19 | </div> | ||
| 20 | </div> | ||
| 21 | </div> |
html/bondSuccess1.html
0 → 100644
| 1 | <div class="bondSuccess" ng-controller="bondSuccessController"> | ||
| 2 | <div class="bondSuccessContent"> | ||
| 3 | <div class="successLeft"> | ||
| 4 | <div> | ||
| 5 | 您已经支付成功 | ||
| 6 | </div> | ||
| 7 | <div class="bottomText"> | ||
| 8 | 支付金额:<span> ¥{{$root.toPaid}}</span> | ||
| 9 | </div> | ||
| 10 | </div> | ||
| 11 | <div class="successRight" ng-click="goMap();"> | ||
| 12 | <div class="successBike"> | ||
| 13 | |||
| 14 | </div> | ||
| 15 | <div class="successBikeText"> | ||
| 16 | 去租车 | ||
| 17 | </div> | ||
| 18 | </div> | ||
| 19 | </div> | ||
| 20 | </div> | ||
| ... | \ No newline at end of file | ... | \ No newline at end of file |
html/contact.html
0 → 100644
| 1 | <div ng-controller="contactController" class="payPanel"> | ||
| 2 | <div class="phoneItem" ng-repeat="phoneItem in contactList"> | ||
| 3 | {{phoneItem.name}}:<a href="tel:{{phoneItem.phone}}"> | ||
| 4 | {{phoneItem.phone}} | ||
| 5 | </a> | ||
| 6 | </div> | ||
| 7 | <div class="phoneItem">客服邮箱:<a href="email:kefu@pniutong.com">kefu@pniutong.com</a></div> | ||
| 8 | <div class="phoneItem">官方微信:pniutong</div> | ||
| 9 | <div class="phoneItem">官方微博:<a href="email:kefu@weibo.com">kefu@weibo.com</a></div> | ||
| 10 | </div> | ||
| ... | \ No newline at end of file | ... | \ No newline at end of file |
html/earnestMoneys.html
0 → 100644
html/freeTimes.html
0 → 100644
File mode changed
html/login.html
0 → 100644
| 1 | <div class="loginBox" ng-controller="loginController"> | ||
| 2 | <div class="loginTopLeft floatLeft"> | ||
| 3 | <input type="number" placeholder="手机号" ng-model="phoneNumberVal" class="phoneNumber"/> | ||
| 4 | </div> | ||
| 5 | <div class="loginTopRight floatRight"> | ||
| 6 | <button class="btnBg smallBtn ValidationBtn" ng-click="Validation()"> | ||
| 7 | 验证 | ||
| 8 | </button> | ||
| 9 | </div> | ||
| 10 | <div class="loginCenter"> | ||
| 11 | <input type="number" placeholder="验证码" class="validationInput" ng-model="validationVal"> | ||
| 12 | </div> | ||
| 13 | <button class="loginBtn mui-btn mui-btn-block bigBtn " ng-click="login()"> | ||
| 14 | 登录 | ||
| 15 | </button> | ||
| 16 | </div> |
html/main.html
0 → 100644
| 1 | <div ng-controller="mainController"> | ||
| 2 | <div id="mapContainer" class="mapContainer" ng-controller="mapController"></div> | ||
| 3 | <div id="sliderMenu" class="sliderMenu" style="display: none;" | ||
| 4 | ng-class="{true: 'menuOpen', false: 'menuClose'}[$root.openMenu]"> | ||
| 5 | |||
| 6 | <img src="images/slideMenuBackground.png"/> | ||
| 7 | <div class="sliderContent"> | ||
| 8 | <div class="sliderMenuHeader" ng-click="checkLogin()"> | ||
| 9 | <img src="images/head.png"/> | ||
| 10 | <div class="sliderMenuHeaderHint">{{userinfo.userName}}</div> | ||
| 11 | </div> | ||
| 12 | <ul class="sliderMenuContent"> | ||
| 13 | <li class="sliderMenuItem" ng-click="doAction($index)" ng-repeat="module in moduleList" | ||
| 14 | ng-hide="module.state === 'wallet'"> | ||
| 15 | <img ng-src="{{module.icon}}"/> | ||
| 16 | <div class="sliderMenuItemHint">{{module.name}}</div> | ||
| 17 | </li> | ||
| 18 | <li class="sliderMenuItem" ng-click="logout()" ng-show="userinfo.loginState"> | ||
| 19 | <img src="images/out.png"/> | ||
| 20 | <div class="sliderMenuItemHint">退出登录</div> | ||
| 21 | </li> | ||
| 22 | </ul> | ||
| 23 | </div> | ||
| 24 | </div> | ||
| 25 | </div> |
html/opinion.html
0 → 100644
| 1 | <div ng-controller="opinionController"> | ||
| 2 | <div class="textBox"> | ||
| 3 | <textarea placeholder="请输入您的反馈,我们将为你改进(200字以内)" rows="" ng-model="opinion" style="color:black;"></textarea> | ||
| 4 | </div> | ||
| 5 | <div class="walletBtn" ng-click="submit()"> | ||
| 6 | <div class="walletBtnContent" ng-class="{true : 'walletBtnContentDisable' , false : ''}[opinion == '']">提交</div> | ||
| 7 | </div> | ||
| 8 | </div> | ||
| ... | \ No newline at end of file | ... | \ No newline at end of file |
html/pay.html
0 → 100644
html/prepay.html
0 → 100644
| 1 | <div ng-controller="prepayController" class="payPanel"> | ||
| 2 | |||
| 3 | <div class="paywayMenu" style="display: block;"> | ||
| 4 | <div class="mui-input-row mui-select"> | ||
| 5 | <label style="font-size: 16px;color: #333">支付方式</label> | ||
| 6 | <select ng-change="payway()" ng-model="way"> | ||
| 7 | <option value="101" selected>微信</option> | ||
| 8 | <option value="100">支付宝</option> | ||
| 9 | </select> | ||
| 10 | </div> | ||
| 11 | </div> | ||
| 12 | |||
| 13 | <div class="paywayMenu" id="wxpay"> | ||
| 14 | <div class="paywayMenuItem"> | ||
| 15 | <img src="images/wechat.png" /> 微信支付 | ||
| 16 | </div> | ||
| 17 | </div> | ||
| 18 | |||
| 19 | <div class="paywayMenu" id="alipay" style="display: none;"> | ||
| 20 | <div class="paywayMenuItem"> | ||
| 21 | <img src="images/alipay.png" /> 支付宝支付 | ||
| 22 | </div> | ||
| 23 | </div> | ||
| 24 | |||
| 25 | <div id="wxpayform"> | ||
| 26 | <div class="paywayMenu"> | ||
| 27 | <div class="paywayMenuInputItem"> | ||
| 28 | <span>金额(元):</span> | ||
| 29 | <input type="number" placeholder="请输入充值金额" ng-model="account" > | ||
| 30 | </div> | ||
| 31 | </div> | ||
| 32 | <div class="walletBtn" ng-click="prepay()"> | ||
| 33 | <div class="walletBtnContent" ng-class="{true : 'walletBtnContentDisable' , false : ''}[account == '']">充值</div> | ||
| 34 | </div> | ||
| 35 | </div> | ||
| 36 | |||
| 37 | <div id="alipayform" style="display: none"> | ||
| 38 | <form action="http://lsz1.28ms.com/service/balance/alipay/h5" method="post"> | ||
| 39 | <input type="hidden" name="type" value="100"> | ||
| 40 | <input type="hidden" name="body" value="钱包充值"> | ||
| 41 | <div class="paywayMenu"> | ||
| 42 | <div class="paywayMenuInputItem"> | ||
| 43 | <span>金额(元):</span> | ||
| 44 | <input type="number" placeholder="请输入充值金额" name="amount" > | ||
| 45 | </div> | ||
| 46 | </div> | ||
| 47 | <div class="walletBtn"> | ||
| 48 | <button type="submit" class="walletBtnContent">充值</button> | ||
| 49 | </div> | ||
| 50 | </form> | ||
| 51 | |||
| 52 | </div> | ||
| 53 | </div> |
html/rechargeList.html
0 → 100644
| 1 | <div class="rechargeList" ng-controller="rechargeListController"> | ||
| 2 | <ul> | ||
| 3 | <li ng-repeat="item in rechargeList"> | ||
| 4 | <div class="rechargeLeft"> | ||
| 5 | <div > | ||
| 6 | {{item.rechargeType}} | ||
| 7 | </div> | ||
| 8 | <div class="rechargeTime"> | ||
| 9 | {{item.rechargeTime}} | ||
| 10 | </div> | ||
| 11 | </div> | ||
| 12 | <div class="rechargeRight"> | ||
| 13 | + {{item.rechargeMoney}} | ||
| 14 | </div> | ||
| 15 | </li> | ||
| 16 | </ul> | ||
| 17 | </div> | ||
| ... | \ No newline at end of file | ... | \ No newline at end of file |
html/rentDetail.html
0 → 100644
| 1 | <div class="rentDetail" ng-controller="rentDetailController"> | ||
| 2 | <div class="circleBox"> | ||
| 3 | <div class="newCircles"> | ||
| 4 | <div class="bigCircles"> | ||
| 5 | <div class="circlesText"> | ||
| 6 | <div class="text1">免费倒计时</div> | ||
| 7 | <div class="freeTime">{{detail.freeCountdown}}</div> | ||
| 8 | </div> | ||
| 9 | </div> | ||
| 10 | </div> | ||
| 11 | </div> | ||
| 12 | |||
| 13 | <div class="viewStation" > | ||
| 14 | <div class="viewBorer"></div> | ||
| 15 | <div class="viewBtn" ng-click="backHome()"> | ||
| 16 | <div class="viewImg"></div> | ||
| 17 | <div class="viewText" >查看站点</div> | ||
| 18 | </div> | ||
| 19 | </div> | ||
| 20 | |||
| 21 | <div class="fenceBox"> | ||
| 22 | <div class="fenceLeft"> | ||
| 23 | <div class="fenceTitle">租车站点</div> | ||
| 24 | <div class="fenceText">{{datail.startStation}}</div> | ||
| 25 | </div> | ||
| 26 | <div class="fenceCenter"> | ||
| 27 | <div class="fenceTitle">租车时间</div> | ||
| 28 | <div class="fenceText">{{datail.startTime}}</div> | ||
| 29 | </div> | ||
| 30 | <div class="fenceRight"> | ||
| 31 | <div class="fenceTitle">已租时间</div> | ||
| 32 | <div class="fenceText">{{costTime}}</div> | ||
| 33 | </div> | ||
| 34 | </div> | ||
| 35 | |||
| 36 | <div class="alreadyBack" ng-click="alreadyBack()">我已还车</div> | ||
| 37 | </div> | ||
| 38 |
html/trip.html
0 → 100644
| 1 | <div class="tripBox" ng-controller="tripController"> | ||
| 2 | <ul style="background: #F0F0F0;"> | ||
| 3 | <li ng-repeat="item in tripList" ng-click="viewTripDetail($index)"> | ||
| 4 | <div class="tripLeft"> | ||
| 5 | <div class="bike"></div> | ||
| 6 | <div class="tripAddress"> | ||
| 7 | {{item.startStation}}-{{item.endStation}} | ||
| 8 | </div> | ||
| 9 | <div class="tripTime"> | ||
| 10 | {{item.startTime}} | ||
| 11 | </div> | ||
| 12 | </div> | ||
| 13 | <div class="tripRight"> | ||
| 14 | <span class="tripStatus">{{item.tripStatus}}</span><span class="goDetail"></span> | ||
| 15 | </div> | ||
| 16 | </li> | ||
| 17 | </ul> | ||
| 18 | <div class="loadMore" ng-click="getMoreOrders()"> | ||
| 19 | <span ng-if="!isLastPage">加载更多</span> | ||
| 20 | <span ng-if="isLastPage">没有更多</span> | ||
| 21 | </div> | ||
| 22 | </div> | ||
| ... | \ No newline at end of file | ... | \ No newline at end of file |
html/tripDetail.html
0 → 100644
| 1 | <div class="tripDetail" ng-controller="tripDetailController" ng-init="init()"> | ||
| 2 | <div class="tripDetailTop"> | ||
| 3 | <div class="tripTopLeft"> | ||
| 4 | |||
| 5 | </div> | ||
| 6 | <div class="tripTopRight"> | ||
| 7 | <p class="borderBottom firstAddress"> | ||
| 8 | <span class="size15"> {{tripDetail.startStation}}</span> <span class="getBike">取车点</span> | ||
| 9 | </p> | ||
| 10 | <p> | ||
| 11 | <span class="size15"> {{tripDetail.endStation}}</span> <span class="backBike">还车点</span> | ||
| 12 | </p> | ||
| 13 | </div> | ||
| 14 | </div> | ||
| 15 | |||
| 16 | <div class="payBox" ng-show="needPay"> | ||
| 17 | <div class="tripTitle"> | ||
| 18 | 支付方式 | ||
| 19 | </div> | ||
| 20 | <ul> | ||
| 21 | <!--<li> | ||
| 22 | <span class="leftText residual"></span> <span class="leftText"> 余额支付(¥{{balance}})</span> <span class="rightText checkboxS" ng-class="{true: 'checkboxTrue', false: 'checkboxFalse'}[!isActive]" ng-click="choosePay(0)"> </span> | ||
| 23 | </li>--> | ||
| 24 | <li> | ||
| 25 | <span class="leftText wechatPay"></span><span class="leftText "> 微信支付</span> <span | ||
| 26 | class="rightText checkboxS" ng-class="{true: 'checkboxTrue', false: 'checkboxFalse'}[isActive]" | ||
| 27 | ng-click="choosePay(1)"></span> | ||
| 28 | </li> | ||
| 29 | </ul> | ||
| 30 | </div> | ||
| 31 | |||
| 32 | <div class="tripContent"> | ||
| 33 | <div class="tripTitle"> | ||
| 34 | 租车详情: | ||
| 35 | </div> | ||
| 36 | <ul> | ||
| 37 | <li> | ||
| 38 | <span class="leftText"> 租车时间:</span> | ||
| 39 | <span class="rightText"> {{tripDetail.startTime}}</span> | ||
| 40 | </li> | ||
| 41 | <li> | ||
| 42 | <span class="leftText"> 还车时间:</span> | ||
| 43 | <span class="rightText"> {{tripDetail.endTime}}</span> | ||
| 44 | </li> | ||
| 45 | <li> | ||
| 46 | <span class="leftText"> 免费时间:</span> | ||
| 47 | <span class="rightText"> {{tripDetail.freeTime}}分钟</span> | ||
| 48 | </li> | ||
| 49 | <li> | ||
| 50 | <span class="leftText"> 超出时间:</span> | ||
| 51 | <span class="rightText"> {{tripDetail.outTime}}分钟</span> | ||
| 52 | </li> | ||
| 53 | </ul> | ||
| 54 | <div class="amount">合计:{{tripDetail.total_fee}}元</div> | ||
| 55 | </div> | ||
| 56 | <div class="redBtnBox btnPosition" ng-show="!needPay"> | ||
| 57 | <button class=" mui-btn mui-btn-block redBigBtn" ng-click="backHome()"> | ||
| 58 | 返回首页 | ||
| 59 | </button> | ||
| 60 | </div> | ||
| 61 | <div class="bottomPosition" ng-show="needPay"> | ||
| 62 | <span> 合计:{{tripDetail.total_fee}}元</span> | ||
| 63 | <div class="goPay" ng-click="goPay()"> | ||
| 64 | 立即支付 | ||
| 65 | </div> | ||
| 66 | </div> | ||
| 67 | |||
| 68 | |||
| 69 | </div> | ||
| ... | \ No newline at end of file | ... | \ No newline at end of file |
html/unusual.html
0 → 100644
| 1 | <div class="unusual" ng-controller="unusualController"> | ||
| 2 | |||
| 3 | <div class="unusualBox1"> | ||
| 4 | <div class="unusualTitle"> | ||
| 5 | 如果您已还车,但仍然是租车状态,可能是您还车时未还上,请点击"<span>我已经还车</span>" | ||
| 6 | </div> | ||
| 7 | <div class="unusualText1" ng-click="returnBike()"> | ||
| 8 | |||
| 9 | <div class="unusualBike"> | ||
| 10 | |||
| 11 | </div> | ||
| 12 | <div class="text2"> | ||
| 13 | 我已经还车 | ||
| 14 | </div> | ||
| 15 | </div> | ||
| 16 | |||
| 17 | </div> | ||
| 18 | <div class="unusualBox1"> | ||
| 19 | <div class="unusualTitle oneLine"> | ||
| 20 | 如果还是未还上,请联系客服. | ||
| 21 | </div> | ||
| 22 | <div class="unusualText1" ng-click="hint()"> | ||
| 23 | <div class="customerImg"> | ||
| 24 | |||
| 25 | </div> | ||
| 26 | <div class="text2"> | ||
| 27 | 联系客服 | ||
| 28 | </div> | ||
| 29 | </div> | ||
| 30 | </div> | ||
| 31 | </div> | ||
| ... | \ No newline at end of file | ... | \ No newline at end of file |
html/wallet.html
0 → 100644
| 1 | <div ng-controller="walletController"> | ||
| 2 | <div class="walletIconContainer"> | ||
| 3 | <img src="images/wallet_large.png"/> | ||
| 4 | </div> | ||
| 5 | <div class="walletInfoTitle">我的余额</div> | ||
| 6 | <div class="walletInfoCount">¥{{balance}}</div> | ||
| 7 | <div class="walletBtn" ng-click="prepay()"> | ||
| 8 | <div class="walletBtnContent">充值</div> | ||
| 9 | </div> | ||
| 10 | </div> | ||
| ... | \ No newline at end of file | ... | \ No newline at end of file |
images/2.pic_hd--1.jpg
0 → 100644
4.13 KB
images/2.pic_hd.jpg
0 → 100644
4.13 KB
images/LittleBackground2x.png
0 → 100644
65.5 KB
images/Selected2x.png
0 → 100644
1.43 KB
images/Unchecked2x.png
0 → 100644
1.2 KB
images/alipay.png
0 → 100644
1.33 KB
images/backgroundTop.png
0 → 100644
14.8 KB
images/backgroundsan2x.png
0 → 100644
14.8 KB
images/becareful2x.png
0 → 100644
999 Bytes
images/bike.png
0 → 100644
1.81 KB
images/bond.png
0 → 100644
2.39 KB
images/contact.png
0 → 100644
2.29 KB
images/customerImg.png
0 → 100644
21.2 KB
images/details.png
0 → 100644
458 Bytes
images/go.png
0 → 100644
11.2 KB
images/goDetail.png
0 → 100644
1.36 KB
images/head.png
0 → 100644
41.2 KB
images/look2x.png
0 → 100644
5.93 KB
images/me.png
0 → 100644
4.13 KB
images/mylogo.png
0 → 100644
5.36 KB
images/myposition.png
0 → 100644
5.21 KB
images/new.png
0 → 100644
3.99 KB
images/opinion.png
0 → 100644
2.02 KB
images/out.png
0 → 100644
1.92 KB
images/rent.png
0 → 100644
5.98 KB
images/rent2xt.png
0 → 100644
5.98 KB
images/scancode.png
0 → 100644
661 Bytes
images/selected.png
0 → 100644
1.43 KB
images/site.png
0 → 100644
3.59 KB
images/slide.png
0 → 100644
109 Bytes
images/slideMenuBackground.png
0 → 100644
1.08 MB
images/triangle.png
0 → 100644
877 Bytes
images/trip.png
0 → 100644
2.43 KB
images/tripLeft.png
0 → 100644
16.1 KB
images/unselected.png
0 → 100644
1.2 KB
images/unusualBike.png
0 → 100644
23.5 KB
images/wallet.png
0 → 100644
1.83 KB
images/wallet2x.png
0 → 100644
449 Bytes
images/wallet_large.png
0 → 100644
5.38 KB
images/wechat.png
0 → 100644
1.21 KB
index.html
0 → 100644
| 1 | <!DOCTYPE html> | ||
| 2 | <html> | ||
| 3 | <head> | ||
| 4 | <meta charset="utf-8"> | ||
| 5 | <meta name="viewport" | ||
| 6 | content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no"/> | ||
| 7 | <title>东城行</title> | ||
| 8 | <!--<script src="js/mui/mui.min.js"></script>--> | ||
| 9 | <!--<link href="css/mui.min.css" rel="stylesheet"/> | ||
| 10 | <link href="css/app.css" rel="stylesheet"/> | ||
| 11 | <link href="bootstrap/css/bootstrap.min.css" rel="stylesheet"> | ||
| 12 | <script type="text/javascript" src="js/jquery-1.9.1.js"></script> | ||
| 13 | <script type="text/javascript" src="js/angularjs/angular.min.js"></script> | ||
| 14 | <script type="text/javascript" src="js/angularjs/angular-local-storage.js"></script> | ||
| 15 | <script type="text/javascript" src="js/angularjs/angular-ui-router.js"></script>--> | ||
| 16 | <!--<script src="js/debug.js"></script>--> | ||
| 17 | <!--<script src="https://res.wx.qq.com/open/js/jweixin-1.1.0.js"></script>--> | ||
| 18 | <!--wetrack ak--> | ||
| 19 | <!--<script type="text/javascript" src="http://api.map.baidu.com/api?v=2.0&ak=0boKIhOAWCENnaZcxWlm0cmS3QcOkYNz"></script>--> | ||
| 20 | <!--npt ak--> | ||
| 21 | <!--<script type="text/javascript" src="http://api.map.baidu.com/api?v=2.0&ak=ykvgUlEv77wstKqmFovr56pl4cKRUUEz"></script>--> | ||
| 22 | <!--<script type="text/javascript" src="js/layer/layer.js"></script> | ||
| 23 | <script type="text/javascript" src="js/layer/layerMobile/layer.js"></script> | ||
| 24 | |||
| 25 | <script src="js/compress.min.js" type="text/javascript" charset="utf-8"></script>--> | ||
| 26 | |||
| 27 | <!--<script type="text/javascript" src="js/app.js"></script> | ||
| 28 | <script src="js/service/weixinConfig.js"></script> | ||
| 29 | <script src="js/service/globalService.js" type="text/javascript" charset="utf-8"></script> | ||
| 30 | <script src="js/service/dingdaService.js" type="text/javascript" charset="utf-8"></script> | ||
| 31 | <script src="js/service/wechatPaymentService.js" type="text/javascript" charset="utf-8"></script> | ||
| 32 | <script type="text/javascript" charset="utf-8" src="js/controller/mainController.js"></script> | ||
| 33 | <script type="text/javascript" charset="utf-8" src="js/controller/mapController.js"></script> | ||
| 34 | <script type="text/javascript" charset="utf-8" src="js/controller/loginController.js"></script> | ||
| 35 | <script type="text/javascript" charset="utf-8" src="js/controller/walletController.js"></script> | ||
| 36 | <script type="text/javascript" charset="utf-8" src="js/controller/prepayController.js"></script> | ||
| 37 | <script type="text/javascript" charset="utf-8" src="js/controller/payController.js"></script> | ||
| 38 | <script type="text/javascript" charset="utf-8" src="js/controller/tripController.js"></script> | ||
| 39 | <script type="text/javascript" charset="utf-8" src="js/controller/tripDetailController.js"></script> | ||
| 40 | <script type="text/javascript" charset="utf-8" src="js/controller/opinionController.js"></script> | ||
| 41 | <script type="text/javascript" charset="utf-8" src="js/controller/contactController.js"></script> | ||
| 42 | <script type="text/javascript" charset="utf-8" src="js/controller/bondController.js"></script> | ||
| 43 | <script type="text/javascript" charset="utf-8" src="js/controller/bondPayController.js"></script> | ||
| 44 | <script type="text/javascript" charset="utf-8" src="js/controller/bondSuccessController.js"></script> | ||
| 45 | <script type="text/javascript" charset="utf-8" src="js/controller/rentDetailController.js"></script> | ||
| 46 | <script type="text/javascript" charset="utf-8" src="js/controller/unusualController.js"></script> | ||
| 47 | <script type="text/javascript" charset="utf-8" src="js/controller/rechargeListController.js"></script>--> | ||
| 48 | |||
| 49 | <style type="text/css"> | ||
| 50 | #appLoadingIndicator { | ||
| 51 | position: absolute; | ||
| 52 | top: 20%; | ||
| 53 | margin-top: -15px; | ||
| 54 | text-align: center; | ||
| 55 | width: 100%; | ||
| 56 | height: 30px; | ||
| 57 | } | ||
| 58 | |||
| 59 | .loadingImg { | ||
| 60 | background-color: #36D1E7; | ||
| 61 | display: inline-block; | ||
| 62 | height: 30px; | ||
| 63 | -webkit-border-radius: 50px; | ||
| 64 | margin: 0 5px; | ||
| 65 | width: 30px; | ||
| 66 | opacity: 1; | ||
| 67 | -webkit-animation-name: loadingImg; | ||
| 68 | -webkit-animation-duration: 2s; | ||
| 69 | -webkit-animation-iteration-count: infinite; | ||
| 70 | -webkit-animation-direction: linear; | ||
| 71 | } | ||
| 72 | |||
| 73 | @-webkit-keyframes loadingImg { | ||
| 74 | 0% { | ||
| 75 | opacity: 1 | ||
| 76 | } | ||
| 77 | 50% { | ||
| 78 | opacity: 0 | ||
| 79 | } | ||
| 80 | 100% { | ||
| 81 | opacity: 1 | ||
| 82 | } | ||
| 83 | } | ||
| 84 | |||
| 85 | </style> | ||
| 86 | |||
| 87 | |||
| 88 | </head> | ||
| 89 | <body ng-app="myApp"> | ||
| 90 | <div id="appLoadingIndicator"> | ||
| 91 | <div class="loadingImg"></div> | ||
| 92 | <div class="loadingImg"></div> | ||
| 93 | <div class="loadingImg"></div> | ||
| 94 | </div> | ||
| 95 | <div ui-view class="main"></div> | ||
| 96 | |||
| 97 | <link href="css/mui.min.css" rel="stylesheet"/> | ||
| 98 | <link href="css/app.css" rel="stylesheet"/> | ||
| 99 | <link href="bootstrap/css/bootstrap.min.css" rel="stylesheet"> | ||
| 100 | <script type="text/javascript" src="js/jquery-1.9.1.js"></script> | ||
| 101 | <script type="text/javascript" src="js/angularjs/angular.min.js"></script> | ||
| 102 | <script type="text/javascript" src="js/angularjs/angular-local-storage.js"></script> | ||
| 103 | <script type="text/javascript" src="js/angularjs/angular-ui-router.js"></script> | ||
| 104 | <!--<script src="js/debug.js"></script>--> | ||
| 105 | <script src="https://res.wx.qq.com/open/js/jweixin-1.1.0.js"></script> | ||
| 106 | <!--wetrack ak--> | ||
| 107 | <!--<script type="text/javascript" src="http://api.map.baidu.com/api?v=2.0&ak=0boKIhOAWCENnaZcxWlm0cmS3QcOkYNz"></script>--> | ||
| 108 | <!--pnt test ak | ||
| 109 | <script type="text/javascript" src="http://api.map.baidu.com/api?v=2.0&ak=ykvgUlEv77wstKqmFovr56pl4cKRUUEz"></script>--> | ||
| 110 | <!--pnt prod ak--> | ||
| 111 | <script type="text/javascript" src="http://api.map.baidu.com/api?v=2.0&ak=QVYxRW2ZxRxLGHycLEcZUTtNfBK8rvwp"></script> | ||
| 112 | <script type="text/javascript" src="js/layer/layer.js"></script> | ||
| 113 | <script type="text/javascript" src="js/layer/layerMobile/layer.js"></script> | ||
| 114 | |||
| 115 | <!--<script src="js/compress.min.js" type="text/javascript" charset="utf-8"></script>--> | ||
| 116 | <script type="text/javascript" src="js/app.js"></script> | ||
| 117 | <script src="js/service/weixinConfig.js"></script> | ||
| 118 | <script src="js/service/globalService.js" type="text/javascript" charset="utf-8"></script> | ||
| 119 | <script src="js/service/dingdaService.js" type="text/javascript" charset="utf-8"></script> | ||
| 120 | <script src="js/service/wechatPaymentService.js" type="text/javascript" charset="utf-8"></script> | ||
| 121 | <script type="text/javascript" charset="utf-8" src="js/controller/mainController.js"></script> | ||
| 122 | <script type="text/javascript" charset="utf-8" src="js/controller/mapController.js"></script> | ||
| 123 | <script type="text/javascript" charset="utf-8" src="js/controller/loginController.js"></script> | ||
| 124 | <script type="text/javascript" charset="utf-8" src="js/controller/walletController.js"></script> | ||
| 125 | <script type="text/javascript" charset="utf-8" src="js/controller/prepayController.js"></script> | ||
| 126 | <script type="text/javascript" charset="utf-8" src="js/controller/payController.js"></script> | ||
| 127 | <script type="text/javascript" charset="utf-8" src="js/controller/tripController.js"></script> | ||
| 128 | <script type="text/javascript" charset="utf-8" src="js/controller/tripDetailController.js"></script> | ||
| 129 | <script type="text/javascript" charset="utf-8" src="js/controller/opinionController.js"></script> | ||
| 130 | <script type="text/javascript" charset="utf-8" src="js/controller/contactController.js"></script> | ||
| 131 | <script type="text/javascript" charset="utf-8" src="js/controller/bondController.js"></script> | ||
| 132 | <script type="text/javascript" charset="utf-8" src="js/controller/bondPayController.js"></script> | ||
| 133 | <script type="text/javascript" charset="utf-8" src="js/controller/bondSuccessController.js"></script> | ||
| 134 | <script type="text/javascript" charset="utf-8" src="js/controller/rentDetailController.js"></script> | ||
| 135 | <script type="text/javascript" charset="utf-8" src="js/controller/unusualController.js"></script> | ||
| 136 | <script type="text/javascript" charset="utf-8" src="js/controller/rechargeListController.js"></script> | ||
| 137 | <script type="text/javascript" src="bootstrap/js/bootstrap.min.js"></script> | ||
| 138 | </body> | ||
| 139 | </html> |
index.html.bak
0 → 100644
| 1 | <!DOCTYPE html> | ||
| 2 | <html> | ||
| 3 | <head> | ||
| 4 | <meta charset="utf-8"> | ||
| 5 | <meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no" /> | ||
| 6 | <title>叮嗒出行</title> | ||
| 7 | <!--<script src="js/mui/mui.min.js"></script>--> | ||
| 8 | <!--<link href="css/mui.min.css" rel="stylesheet"/> | ||
| 9 | <link href="css/app.css" rel="stylesheet"/> | ||
| 10 | <link href="bootstrap/css/bootstrap.min.css" rel="stylesheet"> | ||
| 11 | <script type="text/javascript" src="js/jquery-1.9.1.js"></script> | ||
| 12 | <script type="text/javascript" src="js/angularjs/angular.min.js"></script> | ||
| 13 | <script type="text/javascript" src="js/angularjs/angular-local-storage.js"></script> | ||
| 14 | <script type="text/javascript" src="js/angularjs/angular-ui-router.js"></script>--> | ||
| 15 | <!--<script src="js/debug.js"></script>--> | ||
| 16 | <!--<script src="https://res.wx.qq.com/open/js/jweixin-1.1.0.js"></script>--> | ||
| 17 | <!--wetrack ak--> | ||
| 18 | <!--<script type="text/javascript" src="http://api.map.baidu.com/api?v=2.0&ak=0boKIhOAWCENnaZcxWlm0cmS3QcOkYNz"></script>--> | ||
| 19 | <!--npt ak--> | ||
| 20 | <!--<script type="text/javascript" src="http://api.map.baidu.com/api?v=2.0&ak=ykvgUlEv77wstKqmFovr56pl4cKRUUEz"></script>--> | ||
| 21 | <!--<script type="text/javascript" src="js/layer/layer.js"></script> | ||
| 22 | <script type="text/javascript" src="js/layer/layerMobile/layer.js"></script> | ||
| 23 | |||
| 24 | <script src="js/compress.min.js" type="text/javascript" charset="utf-8"></script>--> | ||
| 25 | |||
| 26 | <!--<script type="text/javascript" src="js/app.js"></script> | ||
| 27 | <script src="js/service/weixinConfig.js"></script> | ||
| 28 | <script src="js/service/globalService.js" type="text/javascript" charset="utf-8"></script> | ||
| 29 | <script src="js/service/dingdaService.js" type="text/javascript" charset="utf-8"></script> | ||
| 30 | <script src="js/service/wechatPaymentService.js" type="text/javascript" charset="utf-8"></script> | ||
| 31 | <script type="text/javascript" charset="utf-8" src="js/controller/mainController.js"></script> | ||
| 32 | <script type="text/javascript" charset="utf-8" src="js/controller/mapController.js"></script> | ||
| 33 | <script type="text/javascript" charset="utf-8" src="js/controller/loginController.js"></script> | ||
| 34 | <script type="text/javascript" charset="utf-8" src="js/controller/walletController.js"></script> | ||
| 35 | <script type="text/javascript" charset="utf-8" src="js/controller/prepayController.js"></script> | ||
| 36 | <script type="text/javascript" charset="utf-8" src="js/controller/payController.js"></script> | ||
| 37 | <script type="text/javascript" charset="utf-8" src="js/controller/tripController.js"></script> | ||
| 38 | <script type="text/javascript" charset="utf-8" src="js/controller/tripDetailController.js"></script> | ||
| 39 | <script type="text/javascript" charset="utf-8" src="js/controller/opinionController.js"></script> | ||
| 40 | <script type="text/javascript" charset="utf-8" src="js/controller/contactController.js"></script> | ||
| 41 | <script type="text/javascript" charset="utf-8" src="js/controller/bondController.js"></script> | ||
| 42 | <script type="text/javascript" charset="utf-8" src="js/controller/bondPayController.js"></script> | ||
| 43 | <script type="text/javascript" charset="utf-8" src="js/controller/bondSuccessController.js"></script> | ||
| 44 | <script type="text/javascript" charset="utf-8" src="js/controller/rentDetailController.js"></script> | ||
| 45 | <script type="text/javascript" charset="utf-8" src="js/controller/unusualController.js"></script> | ||
| 46 | <script type="text/javascript" charset="utf-8" src="js/controller/rechargeListController.js"></script>--> | ||
| 47 | |||
| 48 | <style type="text/css"> | ||
| 49 | #appLoadingIndicator { | ||
| 50 | position: absolute; | ||
| 51 | top: 20%; | ||
| 52 | margin-top: -15px; | ||
| 53 | text-align: center; | ||
| 54 | width: 100%; | ||
| 55 | height: 30px; | ||
| 56 | } | ||
| 57 | |||
| 58 | .loadingImg{ | ||
| 59 | background-color: #36D1E7; | ||
| 60 | display: inline-block; | ||
| 61 | height: 30px; | ||
| 62 | -webkit-border-radius: 50px; | ||
| 63 | margin: 0 5px; | ||
| 64 | width: 30px; | ||
| 65 | opacity: 1; | ||
| 66 | -webkit-animation-name: loadingImg; | ||
| 67 | -webkit-animation-duration: 2s; | ||
| 68 | -webkit-animation-iteration-count: infinite; | ||
| 69 | -webkit-animation-direction: linear; | ||
| 70 | } | ||
| 71 | |||
| 72 | @-webkit-keyframes loadingImg{ | ||
| 73 | 0% { | ||
| 74 | opacity: 1 | ||
| 75 | } | ||
| 76 | 50% { | ||
| 77 | opacity: 0 | ||
| 78 | } | ||
| 79 | 100% { | ||
| 80 | opacity: 1 | ||
| 81 | } | ||
| 82 | } | ||
| 83 | |||
| 84 | </style> | ||
| 85 | |||
| 86 | |||
| 87 | </head> | ||
| 88 | <body ng-app="myApp"> | ||
| 89 | <div id="appLoadingIndicator"> | ||
| 90 | <div class="loadingImg"></div> | ||
| 91 | <div class="loadingImg"></div> | ||
| 92 | <div class="loadingImg"></div> | ||
| 93 | </div> | ||
| 94 | <div ui-view class="main"></div> | ||
| 95 | |||
| 96 | <link href="css/mui.min.css" rel="stylesheet"/> | ||
| 97 | <link href="css/app.css" rel="stylesheet"/> | ||
| 98 | <link href="bootstrap/css/bootstrap.min.css" rel="stylesheet"> | ||
| 99 | <script type="text/javascript" src="js/jquery-1.9.1.js"></script> | ||
| 100 | <script type="text/javascript" src="js/angularjs/angular.min.js"></script> | ||
| 101 | <script type="text/javascript" src="js/angularjs/angular-local-storage.js"></script> | ||
| 102 | <script type="text/javascript" src="js/angularjs/angular-ui-router.js"></script> | ||
| 103 | <!--<script src="js/debug.js"></script>--> | ||
| 104 | <script src="https://res.wx.qq.com/open/js/jweixin-1.1.0.js"></script> | ||
| 105 | <!--wetrack ak--> | ||
| 106 | <!--<script type="text/javascript" src="http://api.map.baidu.com/api?v=2.0&ak=0boKIhOAWCENnaZcxWlm0cmS3QcOkYNz"></script>--> | ||
| 107 | <!--pnt test ak | ||
| 108 | <script type="text/javascript" src="http://api.map.baidu.com/api?v=2.0&ak=ykvgUlEv77wstKqmFovr56pl4cKRUUEz"></script>--> | ||
| 109 | <!--pnt prod ak--> | ||
| 110 | <script type="text/javascript" src="http://api.map.baidu.com/api?v=2.0&ak=ykvgUlEv77wstKqmFovr56pl4cKRUUEz"></script> | ||
| 111 | <script type="text/javascript" src="js/layer/layer.js"></script> | ||
| 112 | <script type="text/javascript" src="js/layer/layerMobile/layer.js"></script> | ||
| 113 | |||
| 114 | <script src="js/compress.min.js" type="text/javascript" charset="utf-8"></script> | ||
| 115 | <script type="text/javascript" src="bootstrap/js/bootstrap.min.js"></script> | ||
| 116 | </body> | ||
| 117 | </html> | ||
| ... | \ No newline at end of file | ... | \ No newline at end of file |
js/.DS_Store
0 → 100644
No preview for this file type
js/angularjs/angular-local-storage.js
0 → 100644
This diff is collapsed.
Click to expand it.
js/angularjs/angular-ui-router.js
0 → 100644
This diff could not be displayed because it is too large.
js/angularjs/angular.min.js
0 → 100644
This diff could not be displayed because it is too large.
js/app.js
0 → 100644
| 1 | angular.module('myApp.services', ['LocalStorageModule']); | ||
| 2 | angular.module('myApp.directives', []); | ||
| 3 | var app = angular.module('myApp', [ "ui.router",'myApp.services', 'myApp.directives']); | ||
| 4 | |||
| 5 | app.config(['$stateProvider' , '$urlRouterProvider' , function($stateProvider, $urlRouterProvider){ | ||
| 6 | $urlRouterProvider.otherwise("/main"); | ||
| 7 | $stateProvider.state('main', { | ||
| 8 | url: "/main", | ||
| 9 | templateUrl: "html/main.html" | ||
| 10 | }) | ||
| 11 | .state('login',{ | ||
| 12 | url: "/login", | ||
| 13 | templateUrl: "html/login.html" | ||
| 14 | }) | ||
| 15 | .state('trip',{ | ||
| 16 | url: "/trip", | ||
| 17 | templateUrl: "html/trip.html", | ||
| 18 | controller: 'tripController' | ||
| 19 | }) | ||
| 20 | .state('wallet',{ | ||
| 21 | url: "/wallet", | ||
| 22 | templateUrl: "html/wallet.html" | ||
| 23 | }) | ||
| 24 | .state('bond',{ | ||
| 25 | url: "/bond/?longitude&latitude", | ||
| 26 | templateUrl: "html/bond.html" | ||
| 27 | }) | ||
| 28 | .state('contact',{ | ||
| 29 | url: "/contact", | ||
| 30 | templateUrl: "html/contact.html" | ||
| 31 | }) | ||
| 32 | .state('opinion',{ | ||
| 33 | url: "/opinion/?longitude&latitude", | ||
| 34 | templateUrl: "html/opinion.html" | ||
| 35 | }) | ||
| 36 | .state('tripDetail',{ | ||
| 37 | url: "/tripDetail/:orderId", | ||
| 38 | templateUrl: "html/tripDetail.html" , | ||
| 39 | controller: 'tripDetailController' | ||
| 40 | }) | ||
| 41 | |||
| 42 | .state('prepay',{ | ||
| 43 | url: "/prepay", | ||
| 44 | templateUrl: "html/prepay.html" | ||
| 45 | }) | ||
| 46 | .state('pay',{ | ||
| 47 | url: "/pay", | ||
| 48 | templateUrl: "html/pay.html" | ||
| 49 | }) | ||
| 50 | .state('bondPay',{ | ||
| 51 | url: "/bondPay", | ||
| 52 | templateUrl: "html/bondPay.html" | ||
| 53 | }) | ||
| 54 | .state('bondSuccess',{ | ||
| 55 | url: "/bondSuccess", | ||
| 56 | templateUrl: "html/bondSuccess.html" | ||
| 57 | }) | ||
| 58 | .state('rentDetail',{ | ||
| 59 | url: "/rentDetail", | ||
| 60 | templateUrl: "html/rentDetail.html" | ||
| 61 | }) | ||
| 62 | .state('unusual',{ | ||
| 63 | url: "/unusual/:id", | ||
| 64 | templateUrl: "html/unusual.html" | ||
| 65 | }) | ||
| 66 | .state('rechargeList',{ | ||
| 67 | url: "/rechargeList", | ||
| 68 | templateUrl: "html/rechargeList.html" | ||
| 69 | }) | ||
| 70 | |||
| 71 | |||
| 72 | |||
| 73 | }]) | ||
| 74 | app.run(['globalService', function(globalService) { | ||
| 75 | globalService.init(); | ||
| 76 | var loading = document.getElementById("appLoadingIndicator"); | ||
| 77 | loading.style.display = "none"; | ||
| 78 | }]) | ||
| 79 | //$(window).bind("load resize",function(){ | ||
| 80 | // $("body").css({zoom:$(window).width()/320,visibility:"visible"}); | ||
| 81 | //}); | ||
| ... | \ No newline at end of file | ... | \ No newline at end of file |
js/circle.js
0 → 100644
| 1 | (function($){function CircleProgress(config){this.init(config)}CircleProgress.prototype={value:0.0,size:200.0,startAngle:-Math.PI,thickness:'auto',fill:{gradient:['#3aeabb','#fdd250']},emptyFill:'rgba(0, 0, 0, .1)',animation:{duration:1200,easing:'circleProgressEasing'},animationStartValue:0.0,reverse:false,lineCap:'butt',constructor:CircleProgress,el:null,canvas:null,ctx:null,radius:0.0,arcFill:null,lastFrameValue:0.0,init:function(config){$.extend(this,config);this.radius=this.size/2;this.initWidget();this.initFill();this.draw()},initWidget:function(){var canvas=this.canvas=this.canvas||$('<canvas>').prependTo(this.el)[0];canvas.width=this.size;canvas.height=this.size;this.ctx=canvas.getContext('2d')},initFill:function(){var self=this,fill=this.fill,ctx=this.ctx,size=this.size;if(!fill)throw Error("The fill is not specified!");if(fill.color)this.arcFill=fill.color;if(fill.gradient){var gr=fill.gradient;if(gr.length==1){this.arcFill=gr[0]}else if(gr.length>1){var ga=fill.gradientAngle||0,gd=fill.gradientDirection||[size/2*(1-Math.cos(ga)),size/2*(1+Math.sin(ga)),size/2*(1+Math.cos(ga)),size/2*(1-Math.sin(ga))];var lg=ctx.createLinearGradient.apply(ctx,gd);for(var i=0;i<gr.length;i++){var color=gr[i],pos=i/(gr.length-1);if($.isArray(color)){pos=color[1];color=color[0]}lg.addColorStop(pos,color)}this.arcFill=lg}}if(fill.image){var img;if(fill.image instanceof Image){img=fill.image}else{img=new Image();img.src=fill.image}if(img.complete)setImageFill();else img.onload=setImageFill}function setImageFill(){var bg=$('<canvas>')[0];bg.width=self.size;bg.height=self.size;bg.getContext('2d').drawImage(img,0,0,size,size);self.arcFill=self.ctx.createPattern(bg,'no-repeat');self.drawFrame(self.lastFrameValue)}},draw:function(){if(this.animation)this.drawAnimated(this.value);else this.drawFrame(this.value)},drawFrame:function(v){this.lastFrameValue=v;this.ctx.clearRect(0,0,this.size,this.size);this.drawEmptyArc(v);this.drawArc(v)},drawArc:function(v){var ctx=this.ctx,r=this.radius,t=this.getThickness(),a=this.startAngle;ctx.save();ctx.beginPath();if(!this.reverse){ctx.arc(r,r,r-t/2,a,a+Math.PI*2*v)}else{ctx.arc(r,r,r-t/2,a-Math.PI*2*v,a)}ctx.lineWidth=t;ctx.lineCap=this.lineCap;ctx.strokeStyle=this.arcFill;ctx.stroke();ctx.restore()},drawEmptyArc:function(v){var ctx=this.ctx,r=this.radius,t=this.getThickness(),a=this.startAngle;if(v<1){ctx.save();ctx.beginPath();if(v<=0){ctx.arc(r,r,r-t/2,0,Math.PI*2)}else{if(!this.reverse){ctx.arc(r,r,r-t/2,a+Math.PI*2*v,a)}else{ctx.arc(r,r,r-t/2,a,a-Math.PI*2*v)}}ctx.lineWidth=t;ctx.strokeStyle=this.emptyFill;ctx.stroke();ctx.restore()}},drawAnimated:function(v){var self=this,el=this.el;el.trigger('circle-animation-start');$(this.canvas).stop(true,true).css({animationProgress:0}).animate({animationProgress:1},$.extend({},this.animation,{step:function(animationProgress){var stepValue=self.animationStartValue*(1-animationProgress)+v*animationProgress;self.drawFrame(stepValue);el.trigger('circle-animation-progress',[animationProgress,stepValue])},complete:function(){el.trigger('circle-animation-end')}}))},getThickness:function(){return $.isNumeric(this.thickness)?this.thickness:this.size/14}};$.circleProgress={defaults:CircleProgress.prototype};$.easing.circleProgressEasing=function(x,t,b,c,d){if((t/=d/2)<1)return c/2*t*t*t+b;return c/2*((t-=2)*t*t+2)+b};$.fn.circleProgress=function(config){var dataName='circle-progress';if(config=='widget'){var data=this.data(dataName);return data&&data.canvas}return this.each(function(){var el=$(this),instance=el.data(dataName),cfg=$.isPlainObject(config)?config:{};if(instance){instance.init(cfg)}else{cfg.el=el;instance=new CircleProgress(cfg);el.data(dataName,instance)}})}})(jQuery); |
js/compress.js
0 → 100644
This diff is collapsed.
Click to expand it.
js/compress.js.JSCompress
0 → 100644
| 1 | <jscompress public="http://www.jscompress.cn/" command="import-combineset"> | ||
| 2 | <combinefile path="compress.js"> | ||
| 3 | <sourcefile path=".\app.js" /> | ||
| 4 | <sourcefile path=".\service\weixinConfig.js" /> | ||
| 5 | <sourcefile path=".\service\globalService.js" /> | ||
| 6 | <sourcefile path=".\service\dingdaService.js" /> | ||
| 7 | <sourcefile path=".\service\wechatPaymentService.js" /> | ||
| 8 | <sourcefile path=".\controller\mapController.js" /> | ||
| 9 | <sourcefile path=".\controller\opinionController.js" /> | ||
| 10 | <sourcefile path=".\controller\payController.js" /> | ||
| 11 | <sourcefile path=".\controller\prepayController.js" /> | ||
| 12 | <sourcefile path=".\controller\rechargeListController.js" /> | ||
| 13 | <sourcefile path=".\controller\rentDetailController.js" /> | ||
| 14 | <sourcefile path=".\controller\tripController.js" /> | ||
| 15 | <sourcefile path=".\controller\tripDetailController.js" /> | ||
| 16 | <sourcefile path=".\controller\unusualController.js" /> | ||
| 17 | <sourcefile path=".\controller\walletController.js" /> | ||
| 18 | <sourcefile path=".\controller\bondController.js" /> | ||
| 19 | <sourcefile path=".\controller\bondPayController.js" /> | ||
| 20 | <sourcefile path=".\controller\bondSuccessController.js" /> | ||
| 21 | <sourcefile path=".\controller\contactController.js" /> | ||
| 22 | <sourcefile path=".\controller\loginController.js" /> | ||
| 23 | <sourcefile path=".\controller\mainController.js" /> | ||
| 24 | </combinefile> | ||
| 25 | </jscompress> | ||
| ... | \ No newline at end of file | ... | \ No newline at end of file |
js/compress.min.js
0 → 100644
This diff is collapsed.
Click to expand it.
js/compress.min.js.JSCompress
0 → 100644
| 1 | <jscompress public="http://www.jscompress.cn/" command="import-combineset"> | ||
| 2 | <combinefile path="compress.min.js"> | ||
| 3 | <auto value="1" /> | ||
| 4 | <sourcefile path="\\psf\Home\Desktop\aws\dongyangwebchat\wechat\js\app.js" /> | ||
| 5 | <sourcefile path="\\psf\Home\Desktop\aws\dongyangwebchat\wechat\js\service\wechatPaymentService.js" /> | ||
| 6 | <sourcefile path="\\psf\Home\Desktop\aws\dongyangwebchat\wechat\js\service\weixinConfig.js" /> | ||
| 7 | <sourcefile path="\\psf\Home\Desktop\aws\dongyangwebchat\wechat\js\service\dingdaService.js" /> | ||
| 8 | <sourcefile path="\\psf\Home\Desktop\aws\dongyangwebchat\wechat\js\service\globalService.js" /> | ||
| 9 | <sourcefile path="\\psf\Home\Desktop\aws\dongyangwebchat\wechat\js\controller\tripController.js" /> | ||
| 10 | <sourcefile path="\\psf\Home\Desktop\aws\dongyangwebchat\wechat\js\controller\tripDetailController.js" /> | ||
| 11 | <sourcefile path="\\psf\Home\Desktop\aws\dongyangwebchat\wechat\js\controller\unusualController.js" /> | ||
| 12 | <sourcefile path="\\psf\Home\Desktop\aws\dongyangwebchat\wechat\js\controller\walletController.js" /> | ||
| 13 | <sourcefile path="\\psf\Home\Desktop\aws\dongyangwebchat\wechat\js\controller\bondController.js" /> | ||
| 14 | <sourcefile path="\\psf\Home\Desktop\aws\dongyangwebchat\wechat\js\controller\bondPayController.js" /> | ||
| 15 | <sourcefile path="\\psf\Home\Desktop\aws\dongyangwebchat\wechat\js\controller\bondSuccessController.js" /> | ||
| 16 | <sourcefile path="\\psf\Home\Desktop\aws\dongyangwebchat\wechat\js\controller\contactController.js" /> | ||
| 17 | <sourcefile path="\\psf\Home\Desktop\aws\dongyangwebchat\wechat\js\controller\loginController.js" /> | ||
| 18 | <sourcefile path="\\psf\Home\Desktop\aws\dongyangwebchat\wechat\js\controller\mainController.js" /> | ||
| 19 | <sourcefile path="\\psf\Home\Desktop\aws\dongyangwebchat\wechat\js\controller\mapController.js" /> | ||
| 20 | <sourcefile path="\\psf\Home\Desktop\aws\dongyangwebchat\wechat\js\controller\opinionController.js" /> | ||
| 21 | <sourcefile path="\\psf\Home\Desktop\aws\dongyangwebchat\wechat\js\controller\payController.js" /> | ||
| 22 | <sourcefile path="\\psf\Home\Desktop\aws\dongyangwebchat\wechat\js\controller\prepayController.js" /> | ||
| 23 | <sourcefile path="\\psf\Home\Desktop\aws\dongyangwebchat\wechat\js\controller\rechargeListController.js" /> | ||
| 24 | <sourcefile path="\\psf\Home\Desktop\aws\dongyangwebchat\wechat\js\controller\rentDetailController.js" /> | ||
| 25 | </combinefile> | ||
| 26 | </jscompress> | ||
| ... | \ No newline at end of file | ... | \ No newline at end of file |
js/compress.min.min.js
0 → 100644
This diff is collapsed.
Click to expand it.
js/controller/bondController.js
0 → 100644
| 1 | angular.module('myApp') | ||
| 2 | .controller('bondController',['$scope' , '$rootScope', '$state' , 'dingdaService' , '$stateParams' , | ||
| 3 | function($scope,$rootScope,$state,dingdaService,$stateParams){ | ||
| 4 | $scope.goPay = function(){ | ||
| 5 | $state.go('bondPay'); | ||
| 6 | } | ||
| 7 | |||
| 8 | // function getUrl(name){ | ||
| 9 | // var reg = new RegExp("(^|&)"+ name +"=([^&]*)(&|$)"); | ||
| 10 | // var url = String(window.location); | ||
| 11 | // var arr = url.split('?'); | ||
| 12 | // var str = arr[arr.length-1]; | ||
| 13 | // var r = str.match(reg); | ||
| 14 | // if(r!=null)return unescape(r[2]); return null; | ||
| 15 | // } | ||
| 16 | |||
| 17 | $scope.init = function(){ | ||
| 18 | var latitude = $stateParams.latitude; | ||
| 19 | var longitude = $stateParams.longitude; | ||
| 20 | dingdaService.getBond(longitude,latitude) | ||
| 21 | .success(function(data){ | ||
| 22 | // alert(JSON.stringify(data)) | ||
| 23 | $scope.bondInfo = data.data; | ||
| 24 | $rootScope.toPaid = data.data.toPaid; | ||
| 25 | }).error(function(data){ | ||
| 26 | // alert(JSON.stringify(data)) | ||
| 27 | layer.open({ | ||
| 28 | content: '获取保证金失败,请刷新页面', | ||
| 29 | time:2 | ||
| 30 | }); | ||
| 31 | }) | ||
| 32 | } | ||
| 33 | |||
| 34 | $scope.drawback = function(){ | ||
| 35 | dingdaService.getUnfinishedOrder().success(function(data , status){ | ||
| 36 | if(data.data.unfinishedOrder.id) { | ||
| 37 | |||
| 38 | layer.open({ | ||
| 39 | content: '还有未完成的订单,无法退还保证金', | ||
| 40 | time:2 | ||
| 41 | }); | ||
| 42 | } else { | ||
| 43 | layer.open({ | ||
| 44 | content: '您确定要退还保证金吗?', | ||
| 45 | btn: ['确认', '取消'], | ||
| 46 | shadeClose: false, | ||
| 47 | yes: function(index){ | ||
| 48 | layer.close(index); | ||
| 49 | dingdaService.returnBond() | ||
| 50 | .success(function(data){ | ||
| 51 | console.log(window.localStorage.getItem("IswechatPayment")); | ||
| 52 | //alert(window.localStorage.getItem("IswechatPayment")); | ||
| 53 | window.localStorage.setItem("IswechatPayment","no"); | ||
| 54 | layer.open({ | ||
| 55 | content: '退还成功,保证金七个工作日内退还', | ||
| 56 | time:2 | ||
| 57 | }); | ||
| 58 | $scope.init(); | ||
| 59 | }) | ||
| 60 | .error(function(data){ | ||
| 61 | layer.open({ | ||
| 62 | content: '退还保证金失败', | ||
| 63 | time:2 | ||
| 64 | }); | ||
| 65 | }) | ||
| 66 | },no: function(index){ | ||
| 67 | layer.close(index); | ||
| 68 | } | ||
| 69 | }); | ||
| 70 | } | ||
| 71 | }) | ||
| 72 | } | ||
| 73 | |||
| 74 | }]) | ||
| ... | \ No newline at end of file | ... | \ No newline at end of file |
js/controller/bondPayController.js
0 → 100644
| 1 | angular.module('myApp') | ||
| 2 | .controller('bondPayController',['$scope', '$rootScope', '$state', 'wechatPayment', | ||
| 3 | function($scope,$rootScope,$state, wechatPayment){ | ||
| 4 | |||
| 5 | if(!$rootScope.toPaid){ | ||
| 6 | $state.go('bond'); | ||
| 7 | } | ||
| 8 | // 支付保证金 | ||
| 9 | var ispay = false; | ||
| 10 | $scope.goPay = function(){ | ||
| 11 | if(ispay) return; | ||
| 12 | ispay = true; | ||
| 13 | var IswechatPayment= window.localStorage.getItem("IswechatPayment"); | ||
| 14 | |||
| 15 | if (IswechatPayment== undefined || IswechatPayment == "no") { | ||
| 16 | |||
| 17 | wechatPayment.callDepositPay($rootScope.toPaid) | ||
| 18 | .then(function (result) { | ||
| 19 | ispay = false; | ||
| 20 | //支付成功 | ||
| 21 | // alert(window.localStorage.getItem("IswechatPayment")); | ||
| 22 | window.localStorage.setItem("IswechatPayment", "yes") | ||
| 23 | $state.go('bondSuccess'); | ||
| 24 | }, function (errMsg) { | ||
| 25 | ispay = false; | ||
| 26 | window.localStorage.setItem("IswechatPayment", "no") | ||
| 27 | //支付失败 | ||
| 28 | }) | ||
| 29 | } | ||
| 30 | } | ||
| 31 | |||
| 32 | |||
| 33 | |||
| 34 | }]) | ||
| ... | \ No newline at end of file | ... | \ No newline at end of file |
js/controller/bondSuccessController.js
0 → 100644
js/controller/contactController.js
0 → 100644
| 1 | angular.module('myApp') | ||
| 2 | .controller('contactController',['$scope','$rootScope','dingdaService','$state','globalService',function($scope,$rootScope,dingdaService,$state,globalService){ | ||
| 3 | |||
| 4 | $scope.contactList = []; | ||
| 5 | |||
| 6 | var init = function() { | ||
| 7 | // globalService.init(); | ||
| 8 | $scope.contactList.push({ | ||
| 9 | name : "浙江省" , | ||
| 10 | phone : "0571-8677567" | ||
| 11 | }) | ||
| 12 | $scope.contactList.push({ | ||
| 13 | name : "浙江省" , | ||
| 14 | phone : "0571-8677567" | ||
| 15 | }) | ||
| 16 | $scope.contactList.push({ | ||
| 17 | name : "浙江省" , | ||
| 18 | phone : "0571-8677567" | ||
| 19 | }) | ||
| 20 | $scope.contactList.push({ | ||
| 21 | name : "浙江省" , | ||
| 22 | phone : "0571-8677567" | ||
| 23 | }) | ||
| 24 | $scope.contactList.push({ | ||
| 25 | name : "浙江省" , | ||
| 26 | phone : "0571-8677567" | ||
| 27 | }) | ||
| 28 | $scope.contactList.push({ | ||
| 29 | name : "浙江省" , | ||
| 30 | phone : "0571-8677567" | ||
| 31 | }) | ||
| 32 | $scope.contactList.push({ | ||
| 33 | name : "浙江省" , | ||
| 34 | phone : "0571-8677567" | ||
| 35 | }) | ||
| 36 | $scope.contactList.push({ | ||
| 37 | name : "浙江省" , | ||
| 38 | phone : "0571-8677567" | ||
| 39 | }) | ||
| 40 | $scope.contactList.push({ | ||
| 41 | name : "浙江省" , | ||
| 42 | phone : "0571-8677567" | ||
| 43 | }) | ||
| 44 | $scope.contactList.push({ | ||
| 45 | name : "浙江省" , | ||
| 46 | phone : "0571-8677567" | ||
| 47 | }) | ||
| 48 | $scope.contactList.push({ | ||
| 49 | name : "浙江省" , | ||
| 50 | phone : "0571-8677567" | ||
| 51 | }) | ||
| 52 | } | ||
| 53 | |||
| 54 | // mui.init(); | ||
| 55 | init(); | ||
| 56 | }]); | ||
| ... | \ No newline at end of file | ... | \ No newline at end of file |
js/controller/loginController.js
0 → 100644
| 1 | angular.module('myApp') | ||
| 2 | .controller('loginController',[ '$scope','$rootScope','dingdaService','globalService' ,function($scope,$rootScope,dingdaService,globalService){ | ||
| 3 | var init = function(){ | ||
| 4 | $scope.phoneNumberVal=''; | ||
| 5 | $scope.validationVal= ''; | ||
| 6 | |||
| 7 | $(".phoneNumber").focus(function(){ | ||
| 8 | $(".phoneNumber").css('border','1px solid #36d1e7'); | ||
| 9 | }) | ||
| 10 | $(".phoneNumber").blur(function(){ | ||
| 11 | $(".phoneNumber").css('border','1px solid rgba(0,0,0,.2)'); | ||
| 12 | }) | ||
| 13 | $(".validationInput").focus(function(){ | ||
| 14 | $(".validationInput").css('border','1px solid #36d1e7'); | ||
| 15 | }) | ||
| 16 | $(".validationInput").blur(function(){ | ||
| 17 | $(".validationInput").css('border','1px solid rgba(0,0,0,.2)'); | ||
| 18 | }) | ||
| 19 | |||
| 20 | |||
| 21 | } | ||
| 22 | |||
| 23 | function getUrl(name){ | ||
| 24 | var reg = new RegExp("(^|&)"+ name +"=([^&]*)(&|$)"); | ||
| 25 | var r = window.location.search.substr(1).match(reg); | ||
| 26 | if(r!=null)return unescape(r[2]); return null; | ||
| 27 | } | ||
| 28 | init(); | ||
| 29 | var countdown = function(){ | ||
| 30 | var wait=60; | ||
| 31 | function time(o) { | ||
| 32 | if (wait == 0) { | ||
| 33 | o.removeAttribute("disabled"); | ||
| 34 | o.value="重发"; | ||
| 35 | wait = 60; | ||
| 36 | $('.ValidationBtn').html(o.value); | ||
| 37 | $('.ValidationBtn').css('background','#36d1e7'); | ||
| 38 | } else { | ||
| 39 | o.setAttribute("disabled", true); | ||
| 40 | o.value=wait + "秒"; | ||
| 41 | wait--; | ||
| 42 | $('.ValidationBtn').html(o.value); | ||
| 43 | if(wait!=0){ | ||
| 44 | $('.ValidationBtn').css('background','#ccc'); | ||
| 45 | } | ||
| 46 | setTimeout(function() { | ||
| 47 | time(o); | ||
| 48 | },1000) | ||
| 49 | } | ||
| 50 | } | ||
| 51 | time($('.ValidationBtn').get(0)); | ||
| 52 | } | ||
| 53 | |||
| 54 | $scope.Validation = function(){ | ||
| 55 | if($scope.phoneNumberVal==""){ | ||
| 56 | layer.open({ | ||
| 57 | content: '手机号码不能为空', | ||
| 58 | time:2 | ||
| 59 | }); | ||
| 60 | return | ||
| 61 | } | ||
| 62 | var reg = /^0?1[3|4|5|7|8][0-9]\d{8}$/; | ||
| 63 | if(!reg.test($scope.phoneNumberVal)){ | ||
| 64 | layer.open({ | ||
| 65 | content: '手机号码格式不对', | ||
| 66 | time:2 | ||
| 67 | }); | ||
| 68 | return | ||
| 69 | } | ||
| 70 | countdown(); | ||
| 71 | var res = dingdaService.sendPhoneCode($scope.phoneNumberVal , getUrl("openId")); | ||
| 72 | res.success(function(data){ | ||
| 73 | console.log(data); | ||
| 74 | }) | ||
| 75 | .error(function(){ | ||
| 76 | console.log('error'); | ||
| 77 | }) | ||
| 78 | |||
| 79 | } | ||
| 80 | |||
| 81 | $scope.login= function(){ | ||
| 82 | if($scope.phoneNumberVal==""){ | ||
| 83 | layer.open({ | ||
| 84 | content: '手机号码不能为空', | ||
| 85 | time:2 | ||
| 86 | }); | ||
| 87 | return | ||
| 88 | } | ||
| 89 | var reg = /^0?1[3|4|5|7|8][0-9]\d{8}$/; | ||
| 90 | if(!reg.test($scope.phoneNumberVal)){ | ||
| 91 | layer.open({ | ||
| 92 | content: '手机号码格式不对', | ||
| 93 | time:2 | ||
| 94 | }); | ||
| 95 | return | ||
| 96 | } | ||
| 97 | |||
| 98 | if($scope.validationVal==''){ | ||
| 99 | layer.open({ | ||
| 100 | content: '请输入验证码', | ||
| 101 | time:2 | ||
| 102 | }); | ||
| 103 | return | ||
| 104 | } | ||
| 105 | $scope.validationVal = "" + $scope.validationVal; | ||
| 106 | if($scope.validationVal.length != 4){ | ||
| 107 | layer.open({ | ||
| 108 | content: '验证码位数不对', | ||
| 109 | time:2 | ||
| 110 | }); | ||
| 111 | return | ||
| 112 | } | ||
| 113 | |||
| 114 | var res = dingdaService.verifyPhoneCode($scope.phoneNumberVal , $scope.validationVal).success(function(data){ | ||
| 115 | if (data.meta.code == 200) { | ||
| 116 | data.data.userName = $scope.phoneNumberVal; | ||
| 117 | globalService.saveData('user',data.data); | ||
| 118 | window.history.back(); | ||
| 119 | layer.open({ | ||
| 120 | content: '登录成功', | ||
| 121 | time:1 | ||
| 122 | }); | ||
| 123 | setTimeout(function() { | ||
| 124 | location.reload(); | ||
| 125 | } , 300); | ||
| 126 | } else if (data.meta.code == 401) { | ||
| 127 | layer.open({ | ||
| 128 | content: data.meta.message, | ||
| 129 | time:1 | ||
| 130 | }); | ||
| 131 | // alert(data.meta.message); | ||
| 132 | // layer.msg(data.data.error); | ||
| 133 | return; | ||
| 134 | } | ||
| 135 | }).error(function(){ | ||
| 136 | layer.open({ | ||
| 137 | content: '登录失败', | ||
| 138 | time:1 | ||
| 139 | }); | ||
| 140 | }) | ||
| 141 | |||
| 142 | } | ||
| 143 | |||
| 144 | $scope.$watch('validationVal',function(newVal,old){ | ||
| 145 | if(newVal){ | ||
| 146 | if($scope.validationVa!="" && !isNaN($scope.validationVal) && $scope.validationVal.toString().length==4){ | ||
| 147 | $('.loginBtn').addClass('btnBg'); | ||
| 148 | }else{ | ||
| 149 | $('.loginBtn').removeClass('btnBg'); | ||
| 150 | } | ||
| 151 | } | ||
| 152 | }) | ||
| 153 | |||
| 154 | // $(window).bind("load resize",function(){ | ||
| 155 | // $(".loginBox").css({zoom:$(window).width()/320,visibility:"visible"}); | ||
| 156 | // }); | ||
| 157 | }]) | ||
| 158 | |||
| 159 | |||
| 160 | |||
| 161 | |||
| 162 | |||
| 163 | |||
| 164 | |||
| 165 | |||
| 166 | |||
| 167 | |||
| 168 | |||
| 169 | |||
| 170 | |||
| 171 | |||
| 172 | |||
| 173 | |||
| 174 | |||
| 175 | |||
| 176 | |||
| 177 | |||
| 178 | |||
| 179 | |||
| 180 | |||
| 181 | |||
| 182 | |||
| 183 | |||
| 184 | |||
| 185 | |||
| 186 | |||
| 187 | |||
| 188 | |||
| 189 | |||
| 190 | |||
| 191 | |||
| 192 | |||
| 193 | |||
| 194 | |||
| 195 | |||
| 196 | |||
| 197 | |||
| 198 | |||
| 199 |
js/controller/mainController.js
0 → 100644
This diff is collapsed.
Click to expand it.
js/controller/mainController.min.js
0 → 100644
This diff is collapsed.
Click to expand it.
js/controller/mapController.js
0 → 100644
This diff is collapsed.
Click to expand it.
js/controller/opinionController.js
0 → 100644
This diff is collapsed.
Click to expand it.
js/controller/payController.js
0 → 100644
This diff is collapsed.
Click to expand it.
js/controller/prepayController.js
0 → 100644
This diff is collapsed.
Click to expand it.
js/controller/rechargeListController.js
0 → 100644
This diff is collapsed.
Click to expand it.
js/controller/rentDetailController.js
0 → 100644
This diff is collapsed.
Click to expand it.
js/controller/tripController.js
0 → 100644
This diff is collapsed.
Click to expand it.
js/controller/tripDetailController.js
0 → 100644
This diff is collapsed.
Click to expand it.
js/controller/unusualController.js
0 → 100644
This diff is collapsed.
Click to expand it.
js/controller/walletController.js
0 → 100644
This diff is collapsed.
Click to expand it.
js/debug.js
0 → 100644
This diff is collapsed.
Click to expand it.
js/jquery-1.9.1.js
0 → 100644
This diff could not be displayed because it is too large.
js/layer/extend/layer.ext.js
0 → 100644
This diff is collapsed.
Click to expand it.
js/layer/layer.js
0 → 100644
This diff is collapsed.
Click to expand it.
js/layer/layerMobile/layer.js
0 → 100644
This diff is collapsed.
Click to expand it.
js/layer/layerMobile/need/layer.css
0 → 100644
This diff is collapsed.
Click to expand it.
js/layer/skin/default/icon-ext.png
0 → 100644
5.77 KB
js/layer/skin/default/icon.png
0 → 100644
11.2 KB
js/layer/skin/default/loading-0.gif
0 → 100644
5.66 KB
js/layer/skin/default/loading-1.gif
0 → 100644
701 Bytes
js/layer/skin/default/loading-2.gif
0 → 100644
1.75 KB
js/layer/skin/layer.css
0 → 100644
This diff is collapsed.
Click to expand it.
js/layer/skin/layer.ext.css
0 → 100644
This diff is collapsed.
Click to expand it.
js/mui.js
0 → 100644
This diff could not be displayed because it is too large.
js/mui.min.js
0 → 100644
This diff could not be displayed because it is too large.
js/mui/mui.js
0 → 100644
This diff could not be displayed because it is too large.
js/mui/mui.min.js
0 → 100644
This diff could not be displayed because it is too large.
js/service/city.json
0 → 100644
This diff could not be displayed because it is too large.
js/service/dingdaService.js
0 → 100644
This diff is collapsed.
Click to expand it.
js/service/globalService.js
0 → 100644
This diff is collapsed.
Click to expand it.
js/service/wechatPaymentService.js
0 → 100644
This diff is collapsed.
Click to expand it.
js/service/weixinConfig.js
0 → 100644
This diff is collapsed.
Click to expand it.
wechat @ efa7b46b
This diff is collapsed.
Click to expand it.
-
Please register or sign in to post a comment