├── .Archive └── donate.md │ ├── 2017-09-28 13-29-42.md │ ├── 2017-09-28 13-31-02.md │ ├── 2017-09-28 13-32-42.md │ ├── 2017-09-28 13-33-42.md │ ├── 2017-09-28 13-34-42.md │ ├── 2017-09-28 13-35-52.md │ ├── 2017-09-28 13-37-02.md │ ├── 2017-09-28 13-38-52.md │ ├── 2017-09-28 13-39-52.md │ ├── 2017-09-28 13-40-52.md │ └── 2017-09-28 13-43-12.md ├── .gitignore ├── LICENSE ├── README.md ├── app.js ├── app.json ├── app.wxss ├── img ├── 1.png ├── 2.png ├── Human Footprints.png ├── Taxi.png ├── Tourist.png ├── account.png ├── account1.png ├── add.png ├── adddy.png ├── app0.png ├── app1.png ├── app2.png ├── app3.png ├── appointment.png ├── auto.png ├── auto1.png ├── back.png ├── business-color_signature.png ├── c.png ├── cle.png ├── cle1.png ├── comments.png ├── comments1.png ├── date.png ├── date1.png ├── day.png ├── driver.png ├── dy.png ├── edit.png ├── email.png ├── fav.png ├── fav1.png ├── favorite.png ├── favorite1.png ├── goods.png ├── me.png ├── msg.png ├── msg1.png ├── msg_1.png ├── msg_2.png ├── msg_3.png ├── people.png ├── see.png ├── shoucang.png ├── shoucang1.png ├── surplus.png ├── tel.png ├── tel1.png ├── to.png ├── vehicle.png ├── wechat.png ├── zan.png └── zan1.png ├── libs └── bmap-wx.min.js ├── pages ├── appointment │ ├── index.js │ ├── index.json │ ├── index.wxml │ └── index.wxss ├── comment │ ├── index.js │ ├── index.json │ ├── index.wxml │ └── index.wxss ├── driver │ ├── authentication.js │ ├── authentication.json │ ├── authentication.wxml │ └── authentication.wxss ├── dynamic │ ├── add.js │ ├── add.json │ ├── add.wxml │ ├── add.wxss │ ├── index.js │ ├── index.json │ ├── index.wxml │ └── index.wxss ├── index │ ├── ad.js │ ├── ad.json │ ├── ad.wxml │ ├── ad.wxss │ ├── index.js │ ├── index.json │ ├── index.wxml │ └── index.wxss ├── info │ ├── add.js │ ├── add.json │ ├── add.wxml │ ├── add.wxss │ ├── edit.js │ ├── edit.json │ ├── edit.wxml │ ├── edit.wxss │ ├── index.js │ ├── index.json │ ├── index.wxml │ └── index.wxss ├── msg │ ├── index.js │ ├── index.json │ ├── index.wxml │ ├── index.wxss │ ├── list.js │ ├── list.json │ ├── list.wxml │ └── list.wxss ├── my │ ├── appointment.js │ ├── appointment.json │ ├── appointment.wxml │ ├── appointment.wxss │ ├── fav.js │ ├── fav.json │ ├── fav.wxml │ ├── fav.wxss │ ├── index.js │ ├── index.json │ ├── index.wxml │ ├── index.wxss │ ├── info.js │ ├── info.json │ ├── info.wxml │ ├── info.wxss │ ├── list.js │ ├── list.json │ ├── list.wxml │ ├── list.wxss │ ├── mydyn.js │ ├── mydyn.json │ ├── mydyn.wxml │ └── mydyn.wxss ├── notice │ ├── index.js │ ├── index.json │ ├── index.wxml │ └── index.wxss └── toLogin │ ├── toLogin.js │ ├── toLogin.json │ ├── toLogin.wxml │ └── toLogin.wxss ├── utils ├── citys.js └── util.js ├── weui.wxss └── wxParse ├── emojis ├── 00.gif ├── 01.gif ├── 02.gif ├── 03.gif ├── 04.gif ├── 05.gif ├── 06.gif ├── 07.gif ├── 08.gif ├── 09.gif ├── 10.gif ├── 100.gif ├── 101.gif ├── 102.gif ├── 103.gif ├── 104.gif ├── 105.gif ├── 106.gif ├── 107.gif ├── 108.gif ├── 109.gif ├── 11.gif ├── 110.gif ├── 111.gif ├── 112.gif ├── 113.gif ├── 114.gif ├── 115.gif ├── 116.gif ├── 117.gif ├── 118.gif ├── 119.gif ├── 12.gif ├── 120.gif ├── 121.gif ├── 122.gif ├── 123.gif ├── 124.gif ├── 125.gif ├── 126.gif ├── 127.gif ├── 128.gif ├── 129.gif ├── 13.gif ├── 130.gif ├── 131.gif ├── 132.gif ├── 133.gif ├── 134.gif ├── 14.gif ├── 15.gif ├── 16.gif ├── 17.gif ├── 18.gif ├── 19.gif ├── 20.gif ├── 21.gif ├── 22.gif ├── 23.gif ├── 24.gif ├── 25.gif ├── 26.gif ├── 27.gif ├── 28.gif ├── 29.gif ├── 30.gif ├── 31.gif ├── 32.gif ├── 33.gif ├── 34.gif ├── 35.gif ├── 36.gif ├── 37.gif ├── 38.gif ├── 39.gif ├── 40.gif ├── 41.gif ├── 42.gif ├── 43.gif ├── 44.gif ├── 45.gif ├── 46.gif ├── 47.gif ├── 48.gif ├── 49.gif ├── 50.gif ├── 51.gif ├── 52.gif ├── 53.gif ├── 54.gif ├── 55.gif ├── 56.gif ├── 57.gif ├── 58.gif ├── 59.gif ├── 60.gif ├── 61.gif ├── 62.gif ├── 63.gif ├── 64.gif ├── 65.gif ├── 66.gif ├── 67.gif ├── 68.gif ├── 69.gif ├── 70.gif ├── 71.gif ├── 72.gif ├── 73.gif ├── 74.gif ├── 75.gif ├── 76.gif ├── 77.gif ├── 78.gif ├── 79.gif ├── 80.gif ├── 81.gif ├── 82.gif ├── 83.gif ├── 84.gif ├── 85.gif ├── 86.gif ├── 87.gif ├── 88.gif ├── 89.gif ├── 90.gif ├── 91.gif ├── 92.gif ├── 93.gif ├── 94.gif ├── 95.gif ├── 96.gif ├── 97.gif ├── 98.gif └── 99.gif ├── html2json.js ├── htmlparser.js ├── showdown.js ├── wxDiscode.js ├── wxParse.js ├── wxParse.wxml └── wxParse.wxss /.Archive/donate.md/2017-09-28 13-29-42.md: -------------------------------------------------------------------------------- 1 | # 同城拼车小程序捐赠计划 2 | 3 | ## 起因 4 | 由于太多用户都是没有一点编程基础的,经常进群问的都是非常基础的问题,完全没有搭建上线的能力,我也没有太多时间回答这么多基础的问题 5 | 6 | ## 目的 7 | 为了程序的后期开发 -------------------------------------------------------------------------------- /.Archive/donate.md/2017-09-28 13-31-02.md: -------------------------------------------------------------------------------- 1 | # 同城拼车小程序捐赠计划 2 | 3 | ## 起因 4 | 由于太多用户都是完全没有一点编程基础的,经常进群问的都是非常基础的问题,完全没有搭建上线的能力,我也没有太多时间回答这么多基础的问题 5 | 6 | ## 目的 7 | 支持程序的后期开发,以及服务器的调试,及人工开发成本 8 | 9 | -------------------------------------------------------------------------------- /.Archive/donate.md/2017-09-28 13-32-42.md: -------------------------------------------------------------------------------- 1 | # 同城拼车小程序捐赠计划 2 | 3 | ## 起因 4 | 由于太多用户都是完全没有一点编程基础的,经常进群问的都是非常基础的问题,完全没有搭建上线的能力,我也没有太多时间回答这么多基础的问题 5 | 6 | ## 目的 7 | 支持程序的后期开发,以及服务器的调试,及人工开发成本 8 | 9 | ##级别 10 | - 标准版: -------------------------------------------------------------------------------- /.Archive/donate.md/2017-09-28 13-33-42.md: -------------------------------------------------------------------------------- 1 | # 同城拼车小程序捐赠计划 2 | 3 | ## 起因 4 | 由于太多用户都是完全没有一点编程基础的,经常进群问的都是非常基础的问题,完全没有搭建上线的能力,我也没有太多时间回答这么多基础的问题 5 | 6 | ## 目的 7 | 支持程序的后期开发,以及服务器的调试,及人工开发成本 8 | 9 | ##级别 10 | - 标准版(399):指导小程序全部配置至上线, -------------------------------------------------------------------------------- /.Archive/donate.md/2017-09-28 13-34-42.md: -------------------------------------------------------------------------------- 1 | # 同城拼车小程序捐赠计划 2 | 3 | ## 起因 4 | 由于太多用户都是完全没有一点编程基础的,经常进群问的都是非常基础的问题,完全没有搭建上线的能力,我也没有太多时间回答这么多基础的问题 5 | 6 | ## 目的 7 | 支持程序的后期开发,以及服务器的调试,及人工开发成本 8 | 9 | ##级别 10 | - 标准版(399):指导小程序全部配置至上线,获得后续代码的升级版本 11 | - 专业版(699 -------------------------------------------------------------------------------- /.Archive/donate.md/2017-09-28 13-35-52.md: -------------------------------------------------------------------------------- 1 | # 同城拼车小程序捐赠计划 2 | 3 | ## 起因 4 | 由于太多用户都是完全没有一点编程基础的,经常进群问的都是非常基础的问题,完全没有搭建上线的能力,我也没有太多时间回答这么多基础的问题 5 | 6 | ## 目的 7 | 支持程序的后期开发,以及服务器的调试,及人工开发成本 8 | 9 | ##级别 10 | - 标准版(¥399):指导小程序全部配置至上线,获得后续代码的升级版本 11 | - 专业版(¥699):帮配置小程序 -------------------------------------------------------------------------------- /.Archive/donate.md/2017-09-28 13-37-02.md: -------------------------------------------------------------------------------- 1 | # 同城拼车小程序捐赠计划 2 | 3 | ## 起因 4 | 由于太多用户都是完全没有一点编程基础的,经常进群问的都是非常基础的问题,完全没有搭建上线的能力,我也没有太多时间回答这么多基础的问题 5 | 6 | ## 目的 7 | 支持程序的后期开发,以及服务器的调试,及人工开发成本 8 | 9 | ##级别 10 | - 标准版(¥399):指导小程序全部配置至上线,获得后续代码的升级版本,上线之后的bug修复 11 | - 专业版(¥699):帮配置小程序直至上线,获得后续代码的升级版本, -------------------------------------------------------------------------------- /.Archive/donate.md/2017-09-28 13-38-52.md: -------------------------------------------------------------------------------- 1 | # 同城拼车小程序捐赠计划 2 | 3 | ## 起因 4 | 由于太多用户都是完全没有一点编程基础的,经常进群问的都是非常基础的问题,完全没有搭建上线的能力,我也没有太多时间回答这么多基础的问题 5 | 6 | ## 目的 7 | 支持程序的后期开发,以及服务器的调试,及人工开发成本 8 | 9 | ##级别 10 | - 标准版(¥399):指导小程序全部配置至上线,获得后续代码的升级版本,加入会员群获得专业指导支持 11 | - 专业版(¥699):帮配置小程序直至上线,获得后续代码的升级版本,加入会员群获得专业指导支持 -------------------------------------------------------------------------------- /.Archive/donate.md/2017-09-28 13-39-52.md: -------------------------------------------------------------------------------- 1 | # 同城拼车小程序捐赠计划 2 | 3 | ## 起因 4 | 由于太多用户都是完全没有一点编程基础的,经常进群问的都是非常基础的问题,完全没有搭建上线的能力,我也没有太多时间回答这么多基础的问题 5 | 6 | ## 目的 7 | 支持程序的后期开发,以及服务器的调试,及人工开发成本 8 | 9 | ##级别 10 | - 标准版(¥399):指导小程序全部配置至上线,获得后续代码的升级版本,加入会员群获得专业指导支持 11 | - 专业版(¥699):帮助配置小程序直至上线,获得后续代码的升级版本,加入会员群获得专业指导支持 12 | 13 | ##同城拼车后续计划 -------------------------------------------------------------------------------- /.Archive/donate.md/2017-09-28 13-40-52.md: -------------------------------------------------------------------------------- 1 | # 同城拼车小程序捐赠计划 2 | 3 | ## 起因 4 | 由于太多用户都是完全没有一点编程基础的,经常进群问的都是非常基础的问题,完全没有搭建上线的能力,我也没有太多时间回答这么多基础的问题 5 | 6 | ## 目的 7 | 支持程序的后期开发,以及服务器的调试,及人工开发成本 8 | 9 | ##级别 10 | - 标准版(¥399):指导小程序全部配置至上线,获得后续代码的升级版本,加入会员群获得专业指导支持 11 | - 专业版(¥699):帮助配置小程序直至上线,获得后续代码的升级版本,加入会员群获得专业指导支持 12 | 13 | ## 同城拼车后续计划 14 | 免费版本除重大bug不再更新,付费版本将后续完善前端 -------------------------------------------------------------------------------- /.Archive/donate.md/2017-09-28 13-43-12.md: -------------------------------------------------------------------------------- 1 | # 同城拼车小程序捐赠计划 2 | 3 | ## 起因 4 | 由于太多用户都是完全没有一点编程基础的,经常进群问的都是非常基础的问题,完全没有搭建上线的能力,我也没有太多时间回答这么多基础的问题 5 | 6 | ## 目的 7 | 支持程序的后期开发,以及服务器的调试,及人工开发成本 8 | 9 | ##级别 10 | - 标准版(¥399):指导小程序全部配置至上线,获得后续代码的升级版本,加入会员群获得专业指导支持 11 | - 专业版(¥699):帮助配置小程序直至上线,获得后续代码的升级版本,加入会员群获得专业指导支持 12 | 13 | ## 同城拼车后续计划 14 | 免费版本除重大bug不再更新,付费版本将持续完善前端版本,并后续开发后台管理平台 -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | project.config.json -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | ## 同城拼车微信小程序付费版前端 2 | 3 | ## 下载 4 | `git clone https://github.com/vincenth520/pinche_xcx_vip.git` 5 | 6 | ## 配置 7 | - 添加一個新的小程序項目 8 | - 填寫你在後台配置的appid 9 | - 打開utils/utils.js修改rootDocment為你`php artisan start:codems`裡面配置的域名 10 | 11 | 12 | ## 预览 13 | [效果演示](http://tbm.alicdn.com/rs2fBssndJYwZvZwiwO/lLbudWjf33BJuCsNAVx%40%40sd.mp4) -------------------------------------------------------------------------------- /app.js: -------------------------------------------------------------------------------- 1 | //app.js 2 | var util = require('utils/util.js'); 3 | App({ 4 | 5 | onLaunch: function () { 6 | // wx.setEnableDebug({ 7 | // enableDebug: true 8 | // }) 9 | var that = this; 10 | //小程序初始化先判断用户是否登录 11 | wx.checkSession({ 12 | success: function(){ 13 | wx.getStorage({ 14 | key: 'sk', 15 | success: function(res) { 16 | var sk = res.data; 17 | util.req('customer/vaild_sk', { "sk": sk }, function (data) { 18 | if (data.status) { 19 | that.globalData.sk = sk; 20 | } else { 21 | that.login(); 22 | return; 23 | } 24 | }) 25 | }, 26 | fail:function() { 27 | that.login(); 28 | return; 29 | } 30 | }) 31 | 32 | wx.getStorage({ 33 | key: 'userInfo', 34 | success: function(res) { 35 | that.globalData.userInfo = res.data; 36 | }, 37 | fail:function() { 38 | that.login(); 39 | } 40 | }); 41 | }, 42 | fail: function(){ 43 | //登录态过期 44 | that.login() //重新登录 45 | } 46 | }) 47 | 48 | }, 49 | 50 | login:function(){ 51 | wx.reLaunch({ 52 | url: '/pages/toLogin/toLogin' 53 | }) 54 | } , 55 | 56 | loginFail: function () { 57 | var that = this; 58 | wx.showModal({ 59 | content: '登录失败,请允许获取用户信息,如不显示请删除小程序重新进入', 60 | showCancel: false 61 | }); 62 | that.login(); 63 | }, 64 | setUserInfo:function(data){ //将用户信息缓存保存 65 | this.globalData.userInfo = data; 66 | wx.setStorage({ 67 | key:"userInfo", 68 | data:data 69 | }) 70 | }, 71 | setSk:function(data){ //将用户信息缓存保存 72 | this.globalData.sk = data; 73 | wx.setStorage({ 74 | key:"sk", 75 | data:data 76 | }) 77 | }, 78 | 79 | reflashUser:function(){ 80 | var that = this; 81 | util.req('customer', [], function (data) { 82 | if (data.data == null){ 83 | that.login(); 84 | } 85 | that.setUserInfo(data.data); 86 | }) 87 | }, 88 | globalData:{ 89 | userInfo:null, 90 | sk:null 91 | } 92 | 93 | }) -------------------------------------------------------------------------------- /app.json: -------------------------------------------------------------------------------- 1 | { 2 | "pages": [ 3 | "pages/index/index", 4 | "pages/toLogin/toLogin", 5 | "pages/index/ad", 6 | "pages/my/index", 7 | "pages/my/info", 8 | "pages/my/list", 9 | "pages/my/fav", 10 | "pages/my/mydyn", 11 | "pages/info/index", 12 | "pages/info/add", 13 | "pages/info/edit", 14 | "pages/dynamic/index", 15 | "pages/dynamic/add", 16 | "pages/comment/index", 17 | "pages/notice/index", 18 | "pages/msg/index", 19 | "pages/msg/list", 20 | "pages/my/appointment", 21 | "pages/appointment/index", 22 | "pages/driver/authentication" 23 | ], 24 | "window": { 25 | "backgroundTextStyle": "dark", 26 | "navigationBarBackgroundColor": "#f4de3b", 27 | "navigationBarTitleText": "同城拼车", 28 | "navigationBarTextStyle": "black", 29 | "enablePullDownRefresh": true 30 | }, 31 | "tabBar": { 32 | "color": "#aaa", 33 | "selectedColor": "#ddc40b", 34 | "backgroundColor": "#fff", 35 | "borderStyle": "black", 36 | "list": [ 37 | { 38 | "pagePath": "pages/index/index", 39 | "text": "拼车", 40 | "iconPath": "img/auto.png", 41 | "selectedIconPath": "img/auto1.png" 42 | }, 43 | { 44 | "pagePath": "pages/dynamic/index", 45 | "text": "动态", 46 | "iconPath": "img/favorite.png", 47 | "selectedIconPath": "img/favorite1.png" 48 | }, 49 | { 50 | "pagePath": "pages/msg/index", 51 | "text": "消息", 52 | "iconPath": "img/comments.png", 53 | "selectedIconPath": "img/comments1.png" 54 | }, 55 | { 56 | "pagePath": "pages/my/index", 57 | "text": "我的", 58 | "iconPath": "img/account.png", 59 | "selectedIconPath": "img/account1.png" 60 | } 61 | ] 62 | }, 63 | "networkTimeout": { 64 | "request": 10000, 65 | "downloadFile": 10000 66 | }, 67 | "debug": true, 68 | "permission": { 69 | "scope.userLocation": { 70 | "desc": "你的位置信息将用于小程序位置接口的效果展示" 71 | } 72 | } 73 | } -------------------------------------------------------------------------------- /app.wxss: -------------------------------------------------------------------------------- 1 | /**app.wxss**/ 2 | @import 'weui.wxss'; 3 | @import "/wxParse/wxParse.wxss"; 4 | view{overflow: visible} 5 | .container { 6 | height: 100%; 7 | display: flex; 8 | flex-direction: column; 9 | align-items: center; 10 | justify-content: space-between; 11 | } 12 | view{ color:Grey} 13 | 14 | /**选择城市**/ 15 | 16 | .citypickers{ 17 | position: fixed; 18 | height: 100%; 19 | width: 100%; 20 | min-height: 100%; 21 | background-color: red; 22 | z-index:1000000; 23 | } 24 | .citybody { 25 | position: fixed; 26 | bottom: 0px; 27 | z-index:1000000; 28 | } 29 | 30 | .cityheader { 31 | position: absolute; 32 | top:0px; 33 | width: 100%; 34 | z-index: 4; 35 | } 36 | 37 | .city-cancel { 38 | float: right; 39 | margin: 20rpx; 40 | color: #818181; 41 | } 42 | 43 | .city-true { 44 | float: left; 45 | margin: 20rpx; 46 | color: #2FB42E 47 | } 48 | 49 | .section .picker { 50 | background-color: #fff; 51 | border-bottom: 1px #d9d9d9 solid; 52 | border-top: 1px #d9d9d9 solid; 53 | padding: 20rpx; 54 | } -------------------------------------------------------------------------------- /img/1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vincenth520/pinche_xcx_vip/a3e2bb56bc42eaf0285b802cff8de36abd563ee7/img/1.png -------------------------------------------------------------------------------- /img/2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vincenth520/pinche_xcx_vip/a3e2bb56bc42eaf0285b802cff8de36abd563ee7/img/2.png -------------------------------------------------------------------------------- /img/Human Footprints.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vincenth520/pinche_xcx_vip/a3e2bb56bc42eaf0285b802cff8de36abd563ee7/img/Human Footprints.png -------------------------------------------------------------------------------- /img/Taxi.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vincenth520/pinche_xcx_vip/a3e2bb56bc42eaf0285b802cff8de36abd563ee7/img/Taxi.png -------------------------------------------------------------------------------- /img/Tourist.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vincenth520/pinche_xcx_vip/a3e2bb56bc42eaf0285b802cff8de36abd563ee7/img/Tourist.png -------------------------------------------------------------------------------- /img/account.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vincenth520/pinche_xcx_vip/a3e2bb56bc42eaf0285b802cff8de36abd563ee7/img/account.png -------------------------------------------------------------------------------- /img/account1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vincenth520/pinche_xcx_vip/a3e2bb56bc42eaf0285b802cff8de36abd563ee7/img/account1.png -------------------------------------------------------------------------------- /img/add.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vincenth520/pinche_xcx_vip/a3e2bb56bc42eaf0285b802cff8de36abd563ee7/img/add.png -------------------------------------------------------------------------------- /img/adddy.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vincenth520/pinche_xcx_vip/a3e2bb56bc42eaf0285b802cff8de36abd563ee7/img/adddy.png -------------------------------------------------------------------------------- /img/app0.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vincenth520/pinche_xcx_vip/a3e2bb56bc42eaf0285b802cff8de36abd563ee7/img/app0.png -------------------------------------------------------------------------------- /img/app1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vincenth520/pinche_xcx_vip/a3e2bb56bc42eaf0285b802cff8de36abd563ee7/img/app1.png -------------------------------------------------------------------------------- /img/app2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vincenth520/pinche_xcx_vip/a3e2bb56bc42eaf0285b802cff8de36abd563ee7/img/app2.png -------------------------------------------------------------------------------- /img/app3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vincenth520/pinche_xcx_vip/a3e2bb56bc42eaf0285b802cff8de36abd563ee7/img/app3.png -------------------------------------------------------------------------------- /img/appointment.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vincenth520/pinche_xcx_vip/a3e2bb56bc42eaf0285b802cff8de36abd563ee7/img/appointment.png -------------------------------------------------------------------------------- /img/auto.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vincenth520/pinche_xcx_vip/a3e2bb56bc42eaf0285b802cff8de36abd563ee7/img/auto.png -------------------------------------------------------------------------------- /img/auto1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vincenth520/pinche_xcx_vip/a3e2bb56bc42eaf0285b802cff8de36abd563ee7/img/auto1.png -------------------------------------------------------------------------------- /img/back.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vincenth520/pinche_xcx_vip/a3e2bb56bc42eaf0285b802cff8de36abd563ee7/img/back.png -------------------------------------------------------------------------------- /img/business-color_signature.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vincenth520/pinche_xcx_vip/a3e2bb56bc42eaf0285b802cff8de36abd563ee7/img/business-color_signature.png -------------------------------------------------------------------------------- /img/c.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vincenth520/pinche_xcx_vip/a3e2bb56bc42eaf0285b802cff8de36abd563ee7/img/c.png -------------------------------------------------------------------------------- /img/cle.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vincenth520/pinche_xcx_vip/a3e2bb56bc42eaf0285b802cff8de36abd563ee7/img/cle.png -------------------------------------------------------------------------------- /img/cle1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vincenth520/pinche_xcx_vip/a3e2bb56bc42eaf0285b802cff8de36abd563ee7/img/cle1.png -------------------------------------------------------------------------------- /img/comments.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vincenth520/pinche_xcx_vip/a3e2bb56bc42eaf0285b802cff8de36abd563ee7/img/comments.png -------------------------------------------------------------------------------- /img/comments1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vincenth520/pinche_xcx_vip/a3e2bb56bc42eaf0285b802cff8de36abd563ee7/img/comments1.png -------------------------------------------------------------------------------- /img/date.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vincenth520/pinche_xcx_vip/a3e2bb56bc42eaf0285b802cff8de36abd563ee7/img/date.png -------------------------------------------------------------------------------- /img/date1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vincenth520/pinche_xcx_vip/a3e2bb56bc42eaf0285b802cff8de36abd563ee7/img/date1.png -------------------------------------------------------------------------------- /img/day.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vincenth520/pinche_xcx_vip/a3e2bb56bc42eaf0285b802cff8de36abd563ee7/img/day.png -------------------------------------------------------------------------------- /img/driver.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vincenth520/pinche_xcx_vip/a3e2bb56bc42eaf0285b802cff8de36abd563ee7/img/driver.png -------------------------------------------------------------------------------- /img/dy.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vincenth520/pinche_xcx_vip/a3e2bb56bc42eaf0285b802cff8de36abd563ee7/img/dy.png -------------------------------------------------------------------------------- /img/edit.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vincenth520/pinche_xcx_vip/a3e2bb56bc42eaf0285b802cff8de36abd563ee7/img/edit.png -------------------------------------------------------------------------------- /img/email.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vincenth520/pinche_xcx_vip/a3e2bb56bc42eaf0285b802cff8de36abd563ee7/img/email.png -------------------------------------------------------------------------------- /img/fav.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vincenth520/pinche_xcx_vip/a3e2bb56bc42eaf0285b802cff8de36abd563ee7/img/fav.png -------------------------------------------------------------------------------- /img/fav1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vincenth520/pinche_xcx_vip/a3e2bb56bc42eaf0285b802cff8de36abd563ee7/img/fav1.png -------------------------------------------------------------------------------- /img/favorite.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vincenth520/pinche_xcx_vip/a3e2bb56bc42eaf0285b802cff8de36abd563ee7/img/favorite.png -------------------------------------------------------------------------------- /img/favorite1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vincenth520/pinche_xcx_vip/a3e2bb56bc42eaf0285b802cff8de36abd563ee7/img/favorite1.png -------------------------------------------------------------------------------- /img/goods.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vincenth520/pinche_xcx_vip/a3e2bb56bc42eaf0285b802cff8de36abd563ee7/img/goods.png -------------------------------------------------------------------------------- /img/me.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vincenth520/pinche_xcx_vip/a3e2bb56bc42eaf0285b802cff8de36abd563ee7/img/me.png -------------------------------------------------------------------------------- /img/msg.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vincenth520/pinche_xcx_vip/a3e2bb56bc42eaf0285b802cff8de36abd563ee7/img/msg.png -------------------------------------------------------------------------------- /img/msg1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vincenth520/pinche_xcx_vip/a3e2bb56bc42eaf0285b802cff8de36abd563ee7/img/msg1.png -------------------------------------------------------------------------------- /img/msg_1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vincenth520/pinche_xcx_vip/a3e2bb56bc42eaf0285b802cff8de36abd563ee7/img/msg_1.png -------------------------------------------------------------------------------- /img/msg_2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vincenth520/pinche_xcx_vip/a3e2bb56bc42eaf0285b802cff8de36abd563ee7/img/msg_2.png -------------------------------------------------------------------------------- /img/msg_3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vincenth520/pinche_xcx_vip/a3e2bb56bc42eaf0285b802cff8de36abd563ee7/img/msg_3.png -------------------------------------------------------------------------------- /img/people.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vincenth520/pinche_xcx_vip/a3e2bb56bc42eaf0285b802cff8de36abd563ee7/img/people.png -------------------------------------------------------------------------------- /img/see.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vincenth520/pinche_xcx_vip/a3e2bb56bc42eaf0285b802cff8de36abd563ee7/img/see.png -------------------------------------------------------------------------------- /img/shoucang.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vincenth520/pinche_xcx_vip/a3e2bb56bc42eaf0285b802cff8de36abd563ee7/img/shoucang.png -------------------------------------------------------------------------------- /img/shoucang1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vincenth520/pinche_xcx_vip/a3e2bb56bc42eaf0285b802cff8de36abd563ee7/img/shoucang1.png -------------------------------------------------------------------------------- /img/surplus.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vincenth520/pinche_xcx_vip/a3e2bb56bc42eaf0285b802cff8de36abd563ee7/img/surplus.png -------------------------------------------------------------------------------- /img/tel.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vincenth520/pinche_xcx_vip/a3e2bb56bc42eaf0285b802cff8de36abd563ee7/img/tel.png -------------------------------------------------------------------------------- /img/tel1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vincenth520/pinche_xcx_vip/a3e2bb56bc42eaf0285b802cff8de36abd563ee7/img/tel1.png -------------------------------------------------------------------------------- /img/to.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vincenth520/pinche_xcx_vip/a3e2bb56bc42eaf0285b802cff8de36abd563ee7/img/to.png -------------------------------------------------------------------------------- /img/vehicle.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vincenth520/pinche_xcx_vip/a3e2bb56bc42eaf0285b802cff8de36abd563ee7/img/vehicle.png -------------------------------------------------------------------------------- /img/wechat.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vincenth520/pinche_xcx_vip/a3e2bb56bc42eaf0285b802cff8de36abd563ee7/img/wechat.png -------------------------------------------------------------------------------- /img/zan.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vincenth520/pinche_xcx_vip/a3e2bb56bc42eaf0285b802cff8de36abd563ee7/img/zan.png -------------------------------------------------------------------------------- /img/zan1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vincenth520/pinche_xcx_vip/a3e2bb56bc42eaf0285b802cff8de36abd563ee7/img/zan1.png -------------------------------------------------------------------------------- /libs/bmap-wx.min.js: -------------------------------------------------------------------------------- 1 | "use strict";function _classCallCheck(t,a){if(!(t instanceof a))throw new TypeError("Cannot call a class as a function")}var _createClass=function(){function t(t,a){for(var e=0;e 2 | 3 | {{errorMsg}} 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 | 30 | 出发地 31 | 32 | 33 | {{data.departure}} 34 | 35 | 36 | 37 | 38 | 目的地 39 | 40 | 41 | {{data.destination}} 42 | 43 | 44 | 45 | 46 | 出发时间 47 | 48 | 49 | 50 | 51 | 52 | 53 | 54 | 55 | 56 | 57 | 58 | 59 |
60 |
61 | -------------------------------------------------------------------------------- /pages/appointment/index.wxss: -------------------------------------------------------------------------------- 1 | /* pages/info/add.wxss */ 2 | .page{background: #efefef;height: 560px;} 3 | .weui-cells__title{padding-top:.3rem;margin-top:0;} 4 | .radio-group{padding: 10px 0px !important;} 5 | /* .StartAndStop input{width:70px;float:left} 6 | .to1{width: 30px;height:30px;position:absolute;top:6px;} 7 | .stop{margin-left:40px;}*/ 8 | .weui-label{color:black} 9 | .radio text{margin:0rpx 8rpx;} 10 | .radio{margin-right: 12rpx;} 11 | .submit{background: #f4de3b!important;color:#000!important;} 12 | .weui-input{overflow:hidden;} 13 | -------------------------------------------------------------------------------- /pages/comment/index.js: -------------------------------------------------------------------------------- 1 | // pages/comment/index.js 2 | var app = getApp(); 3 | var util = require('../../utils/util.js'); 4 | Page({ 5 | data: { 6 | files: [], 7 | content:'', 8 | gender:1 9 | }, 10 | chooseImage: function (e) { 11 | var that = this; 12 | wx.chooseImage({ 13 | sizeType: ['original', 'compressed'], // 可以指定是原图还是压缩图,默认二者都有 14 | sourceType: ['album', 'camera'], // 可以指定来源是相册还是相机,默认二者都有 15 | success: function (res) { 16 | // 返回选定照片的本地文件路径列表,tempFilePath可以作为img标签的src属性显示图片 17 | res.tempFilePaths.forEach(function(item){ 18 | util.uploadFile(item, function (data) { 19 | data = JSON.parse(data); 20 | if (data.status) { 21 | that.setData({ 22 | files: that.data.files.concat(data.data.path) 23 | }); 24 | util.clearError(that); 25 | } else { 26 | util.isError(data.errmsg, that); 27 | } 28 | }); 29 | }) 30 | } 31 | }) 32 | }, 33 | bindinput: function(e) { 34 | this.setData({content:e.detail.value}); 35 | }, 36 | previewImage: function(e){ 37 | wx.previewImage({ 38 | current: e.currentTarget.id, // 当前显示图片的http链接 39 | urls: this.data.files // 需要预览的图片http链接列表 40 | }) 41 | }, 42 | bindfocus:function(){ 43 | util.clearError(this); 44 | }, 45 | submit:function(){ 46 | var that = this; 47 | var content = that.data.content; 48 | if(content == '' && ((that.data.files).length == 0)){ 49 | util.isError('请输入内容或者至少选择一张图片', that); 50 | return false; 51 | } 52 | util.req('comment/add',{ 53 | 'info_id':that.data.data.id, 54 | 'reply':(that.data.data.reply == '楼主')?'':that.data.data.reply, 55 | 'type':'info', 56 | 'content':content, 57 | 'img':JSON.stringify(that.data.files) 58 | },function(data){ 59 | if(data.status){ 60 | wx.navigateBack({ 61 | delta: 1 62 | }) 63 | } 64 | }) 65 | 66 | 67 | 68 | }, 69 | onLoad:function(options){ 70 | this.setData({ 71 | 'data.id':options.id, 72 | 'data.reply':(options.reply)?options.reply:'楼主', 73 | }); 74 | } 75 | }) -------------------------------------------------------------------------------- /pages/comment/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "navigationBarTitleText": "回复" 3 | } -------------------------------------------------------------------------------- /pages/comment/index.wxml: -------------------------------------------------------------------------------- 1 | 2 | {{errorMsg}} 3 | 4 | 5 | 6 |