Compare commits

...

617 Commits

Author SHA1 Message Date
  Stormeye Wu 38a1831206 update 5 years ago
  Stormeye Wu c387e13d02 Formed 5 years ago
  Stormeye Wu 0f8484de29 [websocket][新增]:添加回调 5 years ago
  Stormeye Wu b9972e791a [websocket][新增]:小程序支持websocket 5 years ago
  meo 0351eaac8b [砍价详情页面][修改]:[间距的修改] 5 years ago
  海洋之声 f3b71c1048 砍价详情按钮背景颜色修改 5 years ago
  meo 61cf1ff6c5 [拼团][修改]:[拼团title省略号] 5 years ago
  meo 5ba691df1f [富茂客官开发appId][修改]:[富茂客官开发appId] 5 years ago
  meo 63e5d39103 Merge branch 'AnHuiRelese_4.1.2' into dev 5 years ago
  meo 923c5c86b4 [安徽版无停车补发][修改]:[C.4.1.3补发] 5 years ago
  meo bd01d62ef5 checkUserStatus 5 years ago
  meo f1ab238a5f Merge branch 'dev' into AnHuiRelese_4.1.2 5 years ago
  meo 5d24c45e5c [安徽版补发C.4.1.3][修改]:[C.4.1.3安徽版] 5 years ago
  meo 6137b2a86a Merge branch 'dev' into AnHuiRelese_4.1.2 5 years ago
  meo 3c4966cba6 [砍价,拼团][修改]:[砍价和拼团小于3条数据,依然让其显示更多砍价or更多拼团] 5 years ago
  meo b85db3e46e [问卷调查的关闭按钮][修改]:[样式被覆盖修改] 5 years ago
  meo 6735511dc1 [有停车发版4.1.22][修改] 5 years ago
  meo a1c806ebb4 [安徽版4.1.2][发版] 5 years ago
  meo 36c2d85b86 [拼团][修改]:[下拉刷新] 5 years ago
  meo bf67d77734 [拼团样式得修改] 5 years ago
  海洋之声 d73ed09cdb 砍价组件修改 5 years ago
  meo 089cfe4e4c [首页][修改]:[砍价下拉刷新] 5 years ago
  meo 73cbb95063 [限时抢购][修改]:[按钮字体显示] 5 years ago
  meo cdb947255b checkUserStatus 5 years ago
  meo 703194877c [我的拼团][修改]:[我的拼团undifined问题的修改] 5 years ago
  meo 724df24a66 [拼团][修改]:[拼团详情问题的修改] 5 years ago
  meo 941e5c2c23 [拼团][修改]:[拼团底部按钮样式的修改] 5 years ago
  meo 1b0431866a [砍价,拼团][修改]:[首页砍价和拼团暂无数据的时候,显示问题] 5 years ago
  meo e8262ab402 [httpBasics][修改]:[修改httpBasics请求信息的提示,修改首页按钮的位置] 5 years ago
  meo fb6f6f264d [砍价][修改]:[底部按钮样式的修改] 5 years ago
  meo 50265336d8 [砍价][修改]:[砍价详情页面修改,砍价下拉刷新的bug] 5 years ago
  meo d734065722 [券详情][修改]:[券详情增加home图片] 5 years ago
  meo ddba1cb59e [图片整理][修改] 5 years ago
  海洋之声 d97b59e230 拼团分享bug修改 5 years ago
  meo e70bbece00 [首页][修改]:[首页游戏检查是否有游戏] 5 years ago
  meo 2cac202574 [砍价][debugger删除] 5 years ago
  meo 58cc7b5f53 [砍价][修改]:[砍价详情砍价失败样式的修改] 5 years ago
  meo d798688796 [砍价][修改]:[砍价完成,按原价付款bug修改] 5 years ago
  meo 78a948535a checkUserStatus 5 years ago
  刘晖 9d7e56b75d 拼团及砍价暂无数据样式调整 5 years ago
  刘晖 775d38b3e2 帮砍价按钮显示bug修改 5 years ago
  meo 28617621a4 [拼团][修改]:[返回首页按钮路径的修改] 5 years ago
  刘晖 a91b467ee0 拼团专场切换标题修改 5 years ago
  meo b3dca5f2db [拼团砍价][修改]:[拼团和砍价样式的修改] 5 years ago
  刘晖 1da17adccb 砍价及拼团样式修改 5 years ago
  刘晖 2c36a019fc 富茂客官开发appId修改 5 years ago
  刘晖 5fa8e8a5b5 砍价列表及详情页样式修改 5 years ago
  刘晖 9e95d8303e 首页请求执行修改 5 years ago
  刘晖 9c113dbad5 拼团couponchnnelid不存在bug修改 5 years ago
  刘晖 4af3c3d12d 砍价状态详情页面剩余人数显示判断修改 5 years ago
  刘晖 d269ccc8f5 砍价状态详情显示判断修改 5 years ago
  刘晖 05471a8bf0 砍价邀请标题修改 5 years ago
  刘晖 cc15b15e62 拼团列表样式修改 5 years ago
  刘晖 044bd028fd 拼团详情增加返回首页按钮 5 years ago
  刘晖 cbcb7ab2bb 大屏跳转拼团券详情判断修改 5 years ago
  luqc d44da198bc [砍价样式修改] 5 years ago
  刘晖 2c99fdb0fe 砍价列表背景图替换 5 years ago
  刘晖 10fa8e9087 拼团轮播图恢复 5 years ago
  刘晖 9e095a3fdb 大屏扫码跳转修改 5 years ago
  刘晖 24815844ad 智能大屏跳转判断修改 5 years ago
  刘晖 a52358f9c4 砍价详情样式修改 5 years ago
  刘晖 39c748ae40 拼团倒计时样式兼容 5 years ago
  刘晖 56055cdbd2 首页下拉刷新新增 5 years ago
  刘晖 a7fef9a116 砍价券详情显示修改 5 years ago
  meo 74084bc444 [首页拼团砍价][修改]:[样式修改] 5 years ago
  meo 2b11886f4e [首页ui改版][修改]:[首页ui改版] 5 years ago
  刘晖 f386b06675 砍价券详情增加砍价人数提醒 5 years ago
  meo f903eb5b1b [首页ui的修改][修改] 5 years ago
  刘晖 846a31e3cd 拼团图片变形问题修改 5 years ago
  meo a1004ca178 【ID1001144】c端消费卡-交易明细下卡标题展示重叠 5 years ago
  meo 3c8988fb27 [砍价][修改]:[砍价ui页面修改] 5 years ago
  meo 8882a36423 [首页][增加]:[首页增加频道] 5 years ago
  meo f492c1ddfa [砍价][修改]:[发起按钮在还没有到有效的时候依然可以购买] 5 years ago
  刘晖 b61f4e8241 富茂客官开发配置修改 5 years ago
  刘晖 fbfe30cb2b 消费卡转赠标题修改 5 years ago
  刘晖 4d02d8ba90 多人拼团bug修改 5 years ago
  meo 6075f12366 [首页][修改]:[首页门店列表] 5 years ago
  刘晖 01aed8c7d7 订单详情拼团券状态显示修改 5 years ago
  meo e06b5ce9b1 [富茂链客C4.1.0发版] 5 years ago
  刘晖 7c925517ae 首页固定入口游戏显示判断修改 5 years ago
  刘晖 0ba022e7c3 首页游戏显示修改 5 years ago
  刘晖 db6e960eee 未支付订单显示支付按钮信息修改 5 years ago
  meo 739faa392b [首页][首页我的券包和我的卡包增加小红点] 5 years ago
  meo 6a609f0276 [C端首页][修改]:[首页前端布局的修改] 5 years ago
  刘晖 6fba9f1318 订单详情拼团券支付跳转修改 5 years ago
  meo 007f218c7a [砍价][修改]:[砍价倒计时] 5 years ago
  meo daed96539a [修改页面详情的倒计时][修改] 5 years ago
  刘晖 0b7bfc0a66 拼团券限领显示修改 5 years ago
  刘晖 ce20747c7c 小程序隐藏计时器停止 5 years ago
  刘晖 66d23dea3e 拼团倒计时修改 5 years ago
  meo ecbb193db7 [限时抢购,券详情][修改]:[限时抢购和券的详情倒计时的修改] 5 years ago
  刘晖 6ea6ba6b58 拼团失败修改 5 years ago
  刘晖 4a3cb835e7 拼团失败新增 5 years ago
  刘晖 a6f6154d19 新用户手机号授权跳转修改 5 years ago
  刘晖 dd0033c7db 分享倒计时修改 5 years ago
  meo d7d93cf826 [券详情和砍价的倒计时时间的修改] 5 years ago
  刘晖 2196ea3f10 参加拼团直接购买跳转方式修改 5 years ago
  meo 65441d8cbe [券包详情][修改]:[券包详情倒计时] 5 years ago
  刘晖 6c49ff7b67 get请求添加loading封装 5 years ago
  刘晖 9ab5577815 授权跳转判断修改 5 years ago
  刘晖 0395bd06e0 新用户授权判断 5 years ago
  刘晖 1f237a16c8 参加拼团跳转修改 5 years ago
  meo 254cf0d11b [util的时间显示问题] 5 years ago
  meo 8470d9ffb4 【ID1001078】C端限时抢购和砍价进行整改时间,目前页面不符合 5 years ago
  meo 58bfaeffe6 [我的订单 【ID1001079】C端未到使用日期的劵,不应把兑换码展示出来 ] 5 years ago
  刘晖 f00b5dded9 去拼团跳转传参bug修改 5 years ago
  刘晖 5c133498de 参加拼团页面文件恢复 5 years ago
  刘晖 8af805dca5 Merge branch 'dev' of https://git.youlane.cn/weapp/C into dev 5 years ago
  刘晖 d08235790c 回滚版本 5 years ago
  刘晖 65c58f8b7f 去拼团不跳转bug修改 5 years ago
  刘晖 59871fcb6c 购买拼团券后红点不显示 5 years ago
  刘晖 b711035a0c 下拉刷新bug修改 5 years ago
  刘晖 16cac98d24 拼团详情购买次数限制bug修改 5 years ago
  刘晖 7e6c13f063 重新拼团修改 5 years ago
  刘晖 90cff3b9f6 拼团详情分享bug修改 5 years ago
  meo f388e73cd1 [优惠券详情,券包][修改]:[优惠券详情和券包过期作废修改] 5 years ago
  刘晖 59deccf3ac 分享bug修改 5 years ago
  刘晖 1b77d9da27 拼团提示修改 5 years ago
  meo e0259944a1 [文字修改] 6 years ago
  刘晖 bc43e6bb77 我的拼团详情券作废处理bug修改 6 years ago
  刘晖 2ac2b5b24b 拼团券新增下拉加载及无数据处理 6 years ago
  刘晖 b4faf38adf 拼团券bug问题修改 6 years ago
  刘晖 cffeca7937 拼团分享页面数据展示修改 6 years ago
  meo 55cceb4d21 [我的券包][修改]:[我的券包增加过期自动退款] 6 years ago
  meo ed1614b489 [修改我的券包有效期的显示] 6 years ago
  刘晖 2e8b8e254c 砍价人数限制隐藏 6 years ago
  刘晖 8009a4ba94 砍价券添加开枪时间限制 6 years ago
  meo 36c1799132 [限时抢购][修改]:[限时抢购时间的修改] 6 years ago
  刘晖 9dfbbaf6b2 拼团详情返回按钮添加 6 years ago
  刘晖 c7293fd6f2 文件找回 6 years ago
  刘晖 4c54c79373 返回首页图标替换 6 years ago
  刘晖 1c979fddfd 拼团详情作废券处理 6 years ago
  刘晖 f743011dad 拼团分享判断修改 6 years ago
  刘晖 e31df0b3cc 我的拼团页面显示修改,分享页面判断是否已经在拼团中 6 years ago
  刘晖 339502e755 拼团分享授权跳转判断修改 6 years ago
  meo 70044d56ce [删除无用的代码,config.js修改] 6 years ago
  meo bab12df651 [砍价][修改]:[砍价详情 全作废以后页面显示的修改] 6 years ago
  刘晖 6bd59c3d60 拼团分享功能授权修改 6 years ago
  刘晖 90385baffb 分享授权跳转传参修改 6 years ago
  刘晖 c834635338 分享功能传参处理 6 years ago
  刘晖 ed7d371649 拼团分享链接修改 6 years ago
  刘晖 9cb0fceff6 修改参加好友拼团逻辑 6 years ago
  刘晖 30fc875de5 新增分享页面 6 years ago
  刘晖 2c2babd886 我的拼团页面逻辑修改 6 years ago
  刘晖 03bd205c4d 拼团状态详情页面合并修改 6 years ago
  meo 73664967b3 路径修改] 6 years ago
  刘晖 7039f368fd 解决冲突 6 years ago
  刘晖 e9af77abc8 拼团详情页修改 6 years ago
  meo 682d910e22 [增加拼团超时页面] 6 years ago
  meo 3b4d791fb6 [搜索门店][修改]:[搜索门店增加分页] 6 years ago
  刘晖 e36cc142cf 新增拼团详情页面 6 years ago
  meo a8be773096 [首页增加搜索框][增加]:[] 6 years ago
  meo c8711b0d80 [增加门店列表] 6 years ago
  刘晖 e48ab17f60 新增拼团详情页 6 years ago
  meo 97a8cb59c4 [首页增加门店列表] 6 years ago
  刘晖 9bb5a6cb27 拼团详情页新增适用门店列表 6 years ago
  刘晖 5efdf61387 新增拼团详情页 6 years ago
  meo 35b7b1b4da [我的][我的引入appVersion版本号修改] 6 years ago
  meo a4d8d519fc [将测试环境的代码整合到项目中] 6 years ago
  刘晖 d2f0bd7f64 修改拼团列表页背景 6 years ago
  刘晖 2e4b8740ce 新增拼团列表页 6 years ago
  meo 8f2c7165c5 [修改配置] 6 years ago
  meo c7485c5687 修改ext.json文件 6 years ago
  海洋之声 10df70082f 卡详情页面返回首页按钮样式修改 6 years ago
  meo 80a2a2f344 [我的][修改]:[C端的版本号提取到ext.json] 6 years ago
  meo 5e829963c8 Merge branch 'dev' of https://git.youlane.cn/weapp/C into dev 6 years ago
  meo c8d5f766a2 [修改停车] 6 years ago
  刘晖 c051c79dc1 消费卡筛选条件修改 6 years ago
  meo 938f874343 [ext.json 文件增加 permission] 6 years ago
  meo 67c0523d50 [etcppversion字段修改为etcpversion] 6 years ago
  meo 11326aafd9 [停车][修改]:[删除停车敬请期待的文件] 6 years ago
  meo f5c9e10cbf [C端将变量摘出来] 6 years ago
  meo b814ccd1ad [会员ID修改] 6 years ago
  meo 5b92cf77b5 [将login改成main,将首页coupon去掉,授权手机号和授权个人信息传的参数couponId去掉] 6 years ago
  meo 53a737caf7 [修改ext.json文件] 6 years ago
  meo 45a567e6fc [第三方开放平台][修改]:[修改ext.json文件] 6 years ago
  刘晖 6ff393a6a1 关闭订单详情页面转发按钮 6 years ago
  刘晖 5e28c439b6 消费卡购买成功页面添加微信转赠入口 6 years ago
  刘晖 c1cc30b818 卡转赠bug问题修改 6 years ago
  meo 0c6570d190 [修改backgroundTextStyle] 6 years ago
  刘晖 f922716d64 卡失效列表显示修改 6 years ago
  刘晖 c91764011f 转赠链接添加时效性 6 years ago
  刘晖 8c86b80674 购买完成页面添加转赠按钮 6 years ago
  刘晖 34f26bd378 新增领取成功页面及接口调试 6 years ago
  刘晖 81127f978c 转赠领取页面修改 6 years ago
  刘晖 d10fbbd9e6 转赠分享授权判断 6 years ago
  刘晖 3442300264 转赠分享传值处理 6 years ago
  刘晖 55848f89b1 卡转赠按钮添加 6 years ago
  刘晖 699ec3abb6 新增卡转赠 6 years ago
  meo 4743b149df [ext.json文件完善] 6 years ago
  meo 5f96a36791 [停车,ext.json][修改]:[修改停车的提示,增加ext.json文件] 6 years ago
  meo b6ff00f91a [富茂链接3.3.4] 6 years ago
  meo 6616849a4c [浙江版 merge][修改]:[浙江版本merge到dev] 6 years ago
  meo 357c038c04 [停车][修改]:[停车文字的修改] 6 years ago
  meo 1ea9fb27fd 【ID1000933】:修复砍价商品售罄列表页不显示售罄 6 years ago
  刘晖 2753144838 首页登录问题修改 6 years ago
  meo 042c1b74c6 [优惠卡,停车,首页][修改]:[优惠卡返回首页,券增加返回首页的按钮,停车券返回,] 6 years ago
  meo 2dd26398e8 [token,砍价][修改]:[token失效,砍价,文件的名称修改] 6 years ago
  meo c4a3864ff7 [券详情] 6 years ago
  meo bd2beffb83 [订单,优惠卡,砍价列表,我的特权] 6 years ago
  meo 0839bc8628 [成长值列表,停车错误信息提示,我的特权,砍价列表增加下拉刷新] 6 years ago
  meo 123745bf13 [bug修改] 6 years ago
  meo c9b4fc8ec4 [券详情][修改]:[券详情] 6 years ago
  meo fdc9a89a07 [修复砍价,原价,底价修改] 6 years ago
  meo 547af00eed [砍价,券包详情,订单详情][修改]:[券的type改成100] 6 years ago
  meo 528f5aa67a [券码,消费卡][修改]:[生成码和消费卡扫码修改] 6 years ago
  meo 465c4fb1a6 [优惠券生成码规则的修改,个人码的修改] 6 years ago
  meo e48cad2fc5 [订单列表][增加]:[订单列表增加砍价详情的按钮] 6 years ago
  meo 564e243df9 [砍价的情况添加预定义字段] 6 years ago
  meo 46b6aaad72 [砍价,砍价详情][修改]:[砍价] 6 years ago
  meo 7a5460a1de [砍价][砍价详情]:[砍价详情修改] 6 years ago
  meo fdcf2f8a3c [mergr][砍价merge到dev] 6 years ago
  meo 4098cb8c7f [广东版 merge到dev] 6 years ago
  meo f2825c6384 [首页图标修改] 6 years ago
  meo 4f14ef7f43 [卡包样式问题修改 3.2.1] 6 years ago
  meo 06c8f48337 [2019.01.09发版 版本号锁定 3.2.0] 6 years ago
  meo 8ec3c28eee [首页生成的二维码修改] 6 years ago
  meo 3ae735ca52 [优惠卡样式的修改] 6 years ago
  meo b1893c5704 [消费卡][修改]:[消费卡金额不足时,修改] 6 years ago
  meo 0417f7e4bf [授权页面shangchanglogo修改] 6 years ago
  meo b6093a15d3 [扫码付款] 6 years ago
  meo 5fb27fd7d7 [指纹识别修改] 6 years ago
  meo 5e966d4823 [修改指纹识别的问题] 6 years ago
  meo 95766f3f7a [使用消费卡] 6 years ago
  meo 1e4afc270e [分享 优化] 6 years ago
  meo feb29cf172 [我的券包 有效期] 6 years ago
  meo f9f86a9d44 [限时抢购和消费卡,券列表增加图片的懒加载] 6 years ago
  meo 2792bc393c [优惠卡列表修改] 6 years ago
  meo 50c15997f0 [卡消费] 6 years ago
  meo 2ab371b0e6 [待支付状态修改] 6 years ago
  meo 047b3aad59 [卡包使用规则,卡包] 6 years ago
  meo cd5228451c [使用规则,卡包修改,手机指纹支付] 6 years ago
  meo e9397b5c75 [订单详情门店样式修改,成长值等级规则修改][修改] 6 years ago
  meo 9f8d041859 [扫非商户码状态的修改] 6 years ago
  meo 01f728a8d4 [解决小红点的bug] 6 years ago
  meo 364dad93e4 [卡买完跳转到消费页面] 6 years ago
  meo 6c91dab252 [付款成功] 6 years ago
  meo 8e37005c4b [消费 扫码付款] 6 years ago
  luqc ee661e32bb [paysucess] 6 years ago
  meo 85b81be04a [卡支付] 6 years ago
  meo c089854c10 [首页专享折扣是否显示] 6 years ago
  meo 1332cc9ce7 [首页图标修改] 6 years ago
  meo 6180ec719f [背景颜色变化] 6 years ago
  meo ae803b0741 [卡支付 余额不足完善 ] 6 years ago
  meo 3da4ab6a50 [优惠卡的消费详情] 6 years ago
  刘晖 734180870c 卡包选择修改 6 years ago
  meo 2b7de8377b [限时抢购,我的卡包已失效的状态修改] 6 years ago
  meo 9a34853451 [会员权益完善] 6 years ago
  meo 3dca13216a [首页弹出二维码的样式修改] 6 years ago
  meo 8820c2755f [成长值消费修改] 6 years ago
  meo f0d0eccd72 [首页会员权益] 6 years ago
  meo 038c0b5119 [首页增加入口] 6 years ago
  meo 014082e452 [ext.json 修改] 6 years ago
  meo 664f7b2957 [成长值分页显示] 6 years ago
  meo 92e1b846ce [会员成长值完善] 6 years ago
  meo ab9e3dade8 [第三方平台 小程序自定义字段获取] 6 years ago
  meo d96274d07f [成长值 规则以及详细信息] 6 years ago
  meo ba19231dd7 [showPage] 6 years ago
  meo a16ce13597 [第三方托管平台 测试] 6 years ago
  meo eaeb6e0bc3 [bannner详情优惠券修改] 6 years ago
  meo 12a74c1c79 [消费记录] 6 years ago
  meo a3e96e7593 [扫一扫付款显示卡余额,卡包列表] 6 years ago
  meo a869c83e17 [扫一扫,消费详情,付款成功] 6 years ago
  刘晖 305b281169 banner跳转判断修改 6 years ago
  meo 3087a4afc8 [样式修改] 6 years ago
  meo 9e781f1e03 [券包,卡包,个人中心,扫一扫付款] 6 years ago
  刘晖 0e78737759 banner外部链接修改 6 years ago
  meo e019351cf8 [图片路径修改] 6 years ago
  meo 16a20ecf80 Merge branch 'dev' of https://git.youlane.cn/weapp/C into dev 6 years ago
  meo 3f7359d25f [优惠卡付款] 6 years ago
  刘晖 3f7efcfc91 删除不必要的dist模块插件 6 years ago
  刘晖 36a25477c0 图片路径引用方式修改 6 years ago
  刘晖 31c2f938b4 图片改为在线地址管理,删除废弃文件 6 years ago
  刘晖 278c6843d4 本地图片整理01 6 years ago
  meo a89b7c5dbf [我的卡包][修改]:我的卡包状态的修i该 6 years ago
  meo 03dfca61af [添加文件 卡列表详情页面] 6 years ago
  meo 14dba91dd9 [删除文件] 6 years ago
  meo e4cc29aa78 [优惠卡列表样式修改] 6 years ago
  meo 1f9a613218 [根据状态过滤] 6 years ago
  meo 4b159fc441 [折扣卡列表] 6 years ago
  meo 4f9a391ef4 [卡扫一扫] 6 years ago
  meo c03e7aad45 [卡包和卡详情接口增加] 6 years ago
  刘晖 9daeb3e504 banner富文本页面增加 6 years ago
  meo 4b4b2f774c [我的券包 图标增加] 6 years ago
  meo 84266efe68 [增加我的卡包] 6 years ago
  meo f652604e59 [折扣卡的详情的列表] 6 years ago
  meo a5b621798c [添加折扣卡的功能][增加]:[首页添加折扣卡的入口,添加折扣卡的列表和详情] 6 years ago
  meo 30b4f6d6ac [增加异常问题的处理] 6 years ago
  meo 1aff4a4525 [异常问题的处理,折扣修改] 6 years ago
  meo e9212423c2 [生成会员码修改,merchantImgUrl修改] 6 years ago
  meo 3e07d9a3b9 [成长值 权益里面,判断是否显示我的特权] 6 years ago
  meo 81674acdf4 [券码核销增加游戏入口] 6 years ago
  meo 05b9294d10 [停车费用获取] 6 years ago
  meo 17393e222f [券商户号的修改,特享礼遇,获取打折商户列表][修改] 6 years ago
  meo 2a0ebdb614 [游戏入口的修改,订单详情的跳转] 6 years ago
  meo 8d7d0f43fb [首页 用户专享修改] 6 years ago
  meo f2aef81174 [memberQRcode 分支merge到dev] 6 years ago
  meo 72e41fd868 [个人信息编辑 地址修改merge到dev] 6 years ago
  meo d61d1e4b3a [成长值 规则修改] 6 years ago
  meo 3d00604c51 [成长值生成规则修改] 6 years ago
  meo 81b3cb1e94 [商户修改] 6 years ago
  meo 22004af233 [首页商户名称修改] 6 years ago
  meo 04698b60f3 [业态增加全部] 6 years ago
  meo 029acbfa66 [我的---特权] 6 years ago
  meo 4d89c8800f [特享礼遇] 6 years ago
  meo cc097a493b [我的会员码样式修改] 6 years ago
  meo 3cb9a7b4e5 [会员码merge到dev] 6 years ago
  meo 7c1740e3dc [长融世贸广场发版3.1.2] 6 years ago
  meo d324c0f809 [优惠券问卷修改] 6 years ago
  meo 0f9a952deb [钦州支付修改merge到dev分支] 6 years ago
  meo e4cdff62e9 [长荣世贸广场发版] 6 years ago
  meo 0d2be14ebd [用户信息编辑修改] 6 years ago
  meo cb2f880c5e [bannerDetail增加id的判断] 6 years ago
  meo 168bb1a47e [banner详情修改] 6 years ago
  meo 32a4c163f2 [富茂链客停修改] 6 years ago
  meo f948a50dbc [C端订单样式修改,C端停车修改] 6 years ago
  刘晖 b9dd7ec250 游戏入口描述修改 6 years ago
  刘晖 a6da5bce04 核销成功页面请求参数修改 6 years ago
  meo fa366dcfed [停车错误提示][修改]:停车的错误提示注释 6 years ago
  meo d98d698f6a [错误信息提示修改,优惠券详情][修改] 6 years ago
  meo 6aa7801076 [c端元/小时单位的修改][修改]:c端元/小时单位的修改 6 years ago
  meo da75992af4 [停车][修改]:停车券面额修改 6 years ago
  meo 89cf2bb052 [微信小程序showToast][修改]:微信小程序showToast添加 6 years ago
  meo 2553c2a60f [停车注释][修改]:停车注释修改 6 years ago
  meo ec0d66b7cf [停车][修改]:停车 6 years ago
  meo 83ab7d9104 [停车绑券][修改]:停车绑券提示 6 years ago
  meo d68a36b92a [问卷调查][修改]:问卷调查修改 6 years ago
  meo b6b16aac90 [问卷调查显示效果][修改]:问卷调查显示的效果修改为缓慢显示 6 years ago
  meo 1c8f6a3b56 [问卷调查][修改]:问卷调查修改 6 years ago
  meo 6463e18ea8 [跳转etcp修改][跳转]:etcp跳转修改 6 years ago
  meo b5996ec79b [onHide和onUnload的增加][修改]:onHide和onUnload的增加 6 years ago
  meo 8eac199833 [券详情二维码亮度去掉][修改]:券详情二维码亮度去掉 6 years ago
  海洋之声 1c47171499 首页游戏入口显示修改 6 years ago
  meo 1a0bdf6d9a [停车异常捕获][修改]:停车异常捕获,将errMsg改成message 6 years ago
  meo e82d76eca6 [支付状态的更新][修改]:支付状态的更新 6 years ago
  海洋之声 c6c8afee96 订单详情页面游戏入口找回 6 years ago
  meo bc9c407ba9 [修改版本号][修改]:修改版本号码 6 years ago
  meo 03ee0c1c0e [C端长融merge到C端dev分支][merge]:C端长融世贸广场小程序merge到C端dev分支 6 years ago
  海洋之声 7a7b800b61 点击进入游戏权限校验修改 6 years ago
  海洋之声 1a93a8ec14 首页游戏权限认证跳转参数修改 6 years ago
  海洋之声 b0ba1dd538 游戏点击授权跳转传值更改 6 years ago
  海洋之声 01f86a1782 小游戏页面转发标题纠正 6 years ago
  海洋之声 31d6a72441 页面请求超时catch捕获 6 years ago
  海洋之声 81a46b9a5e 请求超时时长设置为30s 6 years ago
  海洋之声 e30f7f82be 无网络状态提示设置 6 years ago
  海洋之声 6e23c7d22c 网络超时设置为30s 6 years ago
  海洋之声 ea02e5a43b 网络超时设置修改 6 years ago
  海洋之声 441136ff37 网络超时加载优化01 6 years ago
  meo d24463a089 [网络异常情况的判断,成长值][增加,修改]:成长值接口数据的更改 6 years ago
  海洋之声 b9ec7579c9 券详情页面有逻辑运算字段初始化赋值 6 years ago
  海洋之声 16be1adcbc 首页固定游戏入口手机权限授权返回游戏页面参数改变 6 years ago
  海洋之声 7fac757547 Merge branch 'dev' of https://git.youlane.cn/weapp/C into dev 6 years ago
  海洋之声 fbca5b2abe 解决冲突 6 years ago
  meo 1d1ef11e7f [问卷调查][修改]:点击领取优惠券,弹出问卷调查 6 years ago
  meo 4b354ebfb0 [券详情问卷][修改]:券详情问卷接口调试完成 6 years ago
  海洋之声 eb0a426d84 首页游戏入口关闭动画修改 6 years ago
  海洋之声 ef86d5a223 新增核销页面小游戏入口 6 years ago
  海洋之声 265fce1761 购买页面游戏入口修改 6 years ago
  meo f5fde052af [问卷调查问题和答案][修改]:问卷调查问题和答案的提交。 6 years ago
  meo 7e5382e5d1 [coupon=>detail][修改]:detail修改 6 years ago
  meo 36014a96f7 [小程序版本][修改]:小程序版本 6 years ago
  meo 0b1e9c9b76 [首页游戏][修改]:首页游戏跳转方式的修改 6 years ago
  meo 1038985c8e [问卷调查][修改]:小程序问卷调查返回页面无法点击的问题修复 6 years ago
  海洋之声 adfea37592 y新增首页游戏入口 6 years ago
  meo 6b82fc28be [领券弹出问卷调查][增加]:领券弹出问卷调查弹框 6 years ago
  meo 5af81e0ebf [问卷调查][增加]:问卷调查增加动画 6 years ago
  meo e05834f6e5 [用户版本号][修改]:富茂客观开发 2.2.6 6 years ago
  meo cc0245f3aa [个人信息,问卷调查][修改,增加]:修改个人信息,增加问卷调查组件 6 years ago
  meo 3403013990 [etcpappid改成测试版本,管理车牌文字][修改]:etcp改成测试版本,管理车牌文字修改 6 years ago
  meo cb2d5b10c8 [钦州问题和版本的][修改]:钦州停车和小程序版本修改 6 years ago
  meo 18369fb4e4 [用户更新个人信息][修改]:config更新个人信息 6 years ago
  meo 631e75c3ae [编辑][修改]:编辑修改 富茂客官开发 2.2.5 6 years ago
  海洋之声 f028c0088c 游戏相关页面merge冲突 6 years ago
  meo c33e46071e [编辑完善][修改]:编辑完善 6 years ago
  meo fd69198312 [编辑资料的修改][修改]:编辑资料增加职业和生活半径 6 years ago
  meo a5241e5bc6 [解除注释][修改]:解除注释 6 years ago
  Stormeye.Wu 21710c653f 二维码首次打开问题修复 6 years ago
  Stormeye.Wu f91055a217 长融世贸广场-2.2.3 支持停车二维码 6 years ago
  meo 8984ff1755 [停车获得token和成长值][修改]:停车获得token和成长值 长融2.1.2 6 years ago
  meo 9eeb61edf1 [我的成长值][修改]:我的成长值隐藏 6 years ago
  meo 6ae130a204 [优惠券][修改]:优惠券和列表增加unit 6 years ago
  Stormeye.Wu a63e079830 富茂链客-2.2.0 6 years ago
  Stormeye.Wu ea4f918648 钦州长融世贸广场-2.2.0 6 years ago
  meo 9f12c395d8 [停车优惠券列表,常见问题][修改]:停车优惠券列表添加用户提示,添加常见问题 6 years ago
  meo 00aa03eab8 [管理车牌样式的修改] 6 years ago
  meo 75be54bdd3 [领券成功提示][修改]:领券成功提示修改 6 years ago
  meo 327fcec650 [我的][修改]:我的编辑 6 years ago
  meo 8a70e509f6 [我的,停车优惠券][修改]:我的页面样式修改,停车优惠券换接口 6 years ago
  海洋之声 ef6fd7c324 入口修改 6 years ago
  海洋之声 6f9b9959f7 rukou 6 years ago
  海洋之声 b862f0740c ff 6 years ago
  海洋之声 b4200f5248 游戏修改 6 years ago
  Stormeye.Wu fa5d85afae [ETCP正式小程序][新增] 6 years ago
  海洋之声 96e91135a9 游戏修改 6 years ago
  Stormeye.Wu e12c97bc06 [停车费显示][修改]:有停车费订单时显示停车费 6 years ago
  Stormeye.Wu f6ea270714 [停车场状态获取][新增] 6 years ago
  meo fa8eff007f [解决页面闪动的问题][修改]:解决了倒计时闪动的问题 6 years ago
  meo 70eec5b1f8 [分享,编辑][修改]:修改分享和编辑 6 years ago
  meo 16234ffe1c [个人信息][修改]:个人信息编辑的修改 6 years ago
  meo e4d5569e71 [我的][增加]:个人用户信息增加编辑的功能 6 years ago
  meo 342c2c6093 [个人资料,限时抢购,优惠券详情][增加,修改]:个人资料增加编辑功能。限时抢购增加进度条,优惠券详情增加倒计时 6 years ago
  海洋之声 901577eb70 merge修改 6 years ago
  海洋之声 e360eb1f2c 游戏入口修改 6 years ago
  meo e2ccc8b23f [优惠券详情,增加分享][增加]:优惠券详情有效时间的显示,分享页面的增加 6 years ago
  meo 0afccf803a [券详情,成长值,增加走路的步数][修改,增加]:首页,个人中心 6 years ago
  meo 7a6bcfc2e6 [优惠券购买成功的修改][修改]:优惠券购买成功的修改 6 years ago
  meo 60ed19ed92 [成长值][增加]:成长值增加 6 years ago
  海洋之声 a5a728c85e 小游戏y修改 6 years ago
  海洋之声 afb36c0690 小游戏入口参数修改 6 years ago
  海洋之声 4daac63bcb 游戏页面添加 6 years ago
  海洋之声 fc1e64a876 json修改 6 years ago
  meo 37ccbf18fb [subTitle][修改]:subtitle样式的修改 6 years ago
  meo febe3a038a [停车][修改]:停车绑定车牌修改 6 years ago
  meo e8c658c9f2 [停车][增加]:停车缴费规则的增加 6 years ago
  meo 3450444574 [停车][修改]:停车页面样式修改,增加券的二维码亮度的变化 6 years ago
  meo e7ad0a37cd [停车 常见问题][修改]:停车常见问题的增加 6 years ago
  meo 392b264597 [停车选择优惠券][修改]:停车选择优惠券的修改,停车页面样式的问题 6 years ago
  meo 43595f4157 [停车][修改]:停车修改 6 years ago
  meo 00b534691b [关注公众号][修改]:关注公众号兼容处理冲突 6 years ago
  meo 49fcaa3f76 [停车][修改]:停车功能额度修改 6 years ago
  Stormeye.Wu 58d0228f3c 关注公众号,兼容低版本 6 years ago
  meo 129a37c6de [停车页面修改][修改]:停车页面修改 6 years ago
  meo 54e0b8edc1 [停车页面,车牌管理][修改]:停车页面修改 6 years ago
  meo ae826bcf80 [样式修改][修改]:C端小程序样式修改 6 years ago
  meo a7de5e3e25 [加关注公众号功能,停车][增加,修改]:增加关注公众号的功能,停车页面修改 6 years ago
  meo 05ea6d3791 [loading,个人信息的授权,手机号的授权,分享数据动态化,立即抢购,订单状态,优惠券码,停车][修改]:loading,个人信息的授权,手机号的授权,分享数据动态化,立即抢购,订单状态,优惠券码,停车 6 years ago
  meo 0dbb29a0a9 [loading,停车常见问题修改][修改]:loading,停车常见问题 6 years ago
  meo 58d1d1e6e2 [我的,停车][修改,增加]:修改我的小红点,增加停车常见问题页面,增加成长值 6 years ago
  meo 6593bf075f [版本号修改,券包无红点修改][修改]:版本号码修改 6 years ago
  Stormeye.Wu 3e329afc35 支付错误提示添加 6 years ago
  meo 178fc787ac [订单详情 邮戳 停车页面修改 立即抢购][修改]:我的订单详情页面邮戳图片的修改,立即抢购次改成查看全部,停车页面的修改 6 years ago
  meo 2f141a02ec [图片裁切][修改]:图片裁切 6 years ago
  meo ef8a1322ce [我的订单,立即购买,首页游戏][修改,立即购买,增加]|:我的订单列表样式的修改,首页增加游戏,立即抢购列表页面样式的修改 6 years ago
  meo 84bb8cdc2a [订单详情页][修改]:订单详情页面样式的修改 6 years ago
  meo a3dc9ee563 [我的优惠券详情页面修改][修改]:我的优惠券详情页面修改 6 years ago
  meo 70ccd86c30 [我的 授权个人信息][修改]:我的优惠券,授权个人信息页面修改,长按出现版本号 6 years ago
  meo aa40a1f47c [券包 订单详情][修改]:券包和订单详情修改 6 years ago
  meo 3c5d748124 [我的订单][修改]:我的订单样式的修改 6 years ago
  meo c89816be44 [我的图标 我的页面样式修改][修改]:我的页面样式的修改 6 years ago
  Stormeye.Wu 27ae5a88bc 修复签名问题 6 years ago
  meo af765759b2 Merge branch 'newui2' into c2 6 years ago
  meo 486f0c49d8 [首页优惠券列表优化][修改]:首页优惠券列表优化 6 years ago
  meo 944a5e2fa3 [在拉][修改]:在拉改成再拉 6 years ago
  meo 64cf0b45d8 [我的][修改]:我的页面样式的修改 6 years ago
  meo c170cb0165 [页面样式修改][修改]:页面样式的修改 6 years ago
  meo ccd1b7c750 [banner详情页面排版][修改]:banner详情页面排版 6 years ago
  meo 11c53049d6 [首页下拉刷新,我的订单][修改]:首页下拉刷新,我的定制单状态的修改 6 years ago
  meo b120cff8f1 [我的券包 我的订单][修改]:我的券包 我的订单上拉加载的修改 6 years ago
  meo dae84e0b3a Merge branch 'newui' into c2 6 years ago
  meo b313a35a3b [优惠券详情][修改]:付款成功跳转订单详情页面 6 years ago
  meo c56b77d669 [优惠券详情的修改][修改]:领取免费券 跳转到订单页面 6 years ago
  meo bf10b96f97 [首页加载重复的问题][修改]:修改首页加载重复的问题 6 years ago
  meo 5d797b3de1 [活动详情的样式][增加]:活动详情的样式 6 years ago
  meo 10c5c21c59 [微信小程序 UI的修改][修改]: 6 years ago
  Stormeye.Wu 473fe5633a 停车初始化 6 years ago
  meo 19a6a2670b [首页查看更多][修改]:首页查看更多,数量小于5的时候隐藏 6 years ago
  meo d73ff4b344 [停车页面,免费买券也跳转到订单详情页面][增加]:停车页面手机号授权的增加,免费领券跳转到订单详情页 6 years ago
  meo 754e8dcf74 [新页面样式的修改][修改]:页面样式的修改 6 years ago
  Stormeye.Wu 3259e4d880 etcp初始化 6 years ago
  meo 6e44890837 [appid url修改][修改]:appid修改 url接口的修改 6 years ago
  meo 36b44ad4c5 [停车,我的][修改]:我的停车页面改成敬请期待,我的券包加上小红点提示,立即购买加限制 6 years ago
  meo 8de8e571a9 [我的][增加]:我的 成长值 6 years ago
  Stormeye.Wu 44a99b49ad 微信支付支持服务商模式 6 years ago
  meo d6acc4c5c6 [我的卡券核销][修改]:我的卡券核销 6 years ago
  shark 65c92b26ab edit pass 6 years ago
  shark 8e31a25f92 edit passcar 6 years ago
  shark f635d16749 edit passcar 6 years ago
  Stormeye.Wu f6d8f563c7 停车券核销 6 years ago
  shark a151b3c600 edit 6 years ago
  shark 1bc55ecc7d edit 6 years ago
  shark c9e076ddce edit park 6 years ago
  shark c642cf8756 edit passcar 6 years ago
  shark 355f5d784e edit passCar 6 years ago
  Stormeye.Wu 29e92d8936 停车券获取接口 6 years ago
  Stormeye.Wu d1eec8bb29 停车券领取 6 years ago
  shark 742528d35f edit 6 years ago
  shark 3f675a4d77 edit 6 years ago
  meo 2fffbb0408 配置文件更改 6 years ago
  meo 387dc53bce [banner图增加][增加]:banner图增加 6 years ago
  meo 2b648d3f40 [配置文件][修改]:配置文件的修改 6 years ago
  meo 986106bed3 [项目配置文件乱码][修改]:项目配置文件的乱码问题 6 years ago
  meo fcff1d340e [项目配置文件][修改]:项目配置文件乱码的问题 6 years ago
  meo 39ffb4ac55 [我的券包][修改]:我的券包核销 6 years ago
  shark bb46090eda edit 6 years ago
  Stormeye.Wu e5627f9b1c fix crash issue 6 years ago
  Stormeye.Wu 28f1548890 location info issue fix 6 years ago
  Stormeye.Wu a30d2864a7 appId修改,用户登录移到首页onshow 6 years ago
  meo b1411a3dca [核销状态][修改]:核销完成以后的状态的通知 6 years ago
  meo 46c29668b3 [首页优惠券列表增加商户名称,底部icon更换][增加]:已售罄文字的更改,商户名称的更改,底部icon的更改 6 years ago
  shark 58f065d023 edit 6 years ago
  meo 0fd2344179 [优惠券以及详情页面样式的修改][修改]:优惠券以及详情页面样式的修改 6 years ago
  meo 0f9aa3c6f3 [优惠券详情[修改]:优惠券详情页面样式的修改 6 years ago
  meo b9032d7e88 [我的订单路列表,我的券包列表][修改]:我的订单列表和我的券包列表上拉加载的修改 6 years ago
  meo ac3020e6d9 [首页优惠券列表,限时抢购列表][修改]:首页优惠券列表和限时抢购列表,上拉加载样式的修改 6 years ago
  Stormeye.Wu dab6dbf62e 删除不用的url 6 years ago
  meo ccd758ab2a [底部停车按钮更改,以及其他间距修改,banner加载][修改]:页面样式的优化,以及首页banner加载的问题 6 years ago
  meo a583c7d741 修改 6 years ago
  meo cd1cef6b95 [停车页面的样式][修改]:停车页面的样式修改 6 years ago
  meo 48e1a65268 [个人信息授权 个人手机号授权 登陆页面][修改]: 三个页面的商户logo 6 years ago
  meo 691746f8ab [支付完成跳转页面的修改][修改]: 6 years ago
  meo 8c5868a863 [支付成功图标修改][修改]:支付成功图标的修改 6 years ago
  meo 196aff2f75 [优惠券详情页面][修改]:优惠券详情页面 剩余时间的修改 6 years ago
  meo 81c1ae26fb [banner详情页面l 优惠券,支付图标修改,订单详情页戳修改][修改]:banner详情页面l 优惠券,支付图标修改,订单详情页戳修改 6 years ago
  meo e7e1816484 [限时抢购列表事件][修改]:限时抢购列表剩余时间 6 years ago
  meo d86dca9e27 [标题和副标题的修改][修改]:标题和副标题的修改,多余的字体变成省略号 6 years ago
  meo a177798c29 [详情页样式的修改] 6 years ago
  meo dd6f0ca33c [订单状态兑换码的修改][修改]:订单状态兑换码的修改 6 years ago
  meo 4097f8090e [限时抢购 查看更多 立即支付,修改购买时手机号的验证][修改]:修改限时抢购列表的支付,修改购买时手机号的验证 6 years ago
  meo d95ef0c9e3 [限时抢购列表详情页面文字][修改]:限时抢购页面详情文字间距的更改 6 years ago
  meo 2f5d152c5d [限时抢购list按钮][修改]:限时抢购list的按钮 售价未0的显示领取按钮 6 years ago
  meo 86a36d0f1c [我的订单优惠券码页面][修改]:我的订单优惠券状态的修改 6 years ago
  meo a23140774e [订单列表按钮和订单状态的修改][修改]: orderStatus页面显示按钮的修改 6 years ago
  meo b0f9de2570 [优惠券详情页面电话按钮][增加]:优惠券详情页面增加商户电话的按钮并添加触发事件 6 years ago
  meo 4f6eebea3c [授权手机号页面][修改]:授权手机号页面的修改 6 years ago
  Stormeye.Wu 74bfb6227e [停车缴费][修复]:停车缴费显示修复 6 years ago
  meo 66a8a86bbb [暂无优惠券可用][修改]:暂无优惠券可用哦 6 years ago
  meo 72e0bf4de9 暂无优惠券可用修改 6 years ago
  meo e77ae30762 [优惠券手机号修改,图标修改][修改]: 6 years ago
  Stormeye.Wu 5166ed39ce [banner图支付][修复]:修复banner支付问题 6 years ago
  meo 5d51b06b82 [我的订单详情页面][修改]:,券码生成二维码 6 years ago
  Stormeye.Wu 0628cc216f [即时抢购支付][修复]:支付问题修复 6 years ago
  meo be7835ee47 [banerlist的detail的couponlist的coupondetail][修改]:banner详情优惠券列表的详情页面修改 6 years ago
  shark b313c6745a edit 6 years ago
  shark dd626738a0 edit 6 years ago
  shark 1de414fd97 edit 6 years ago
  shark ee1730bd64 edit 6 years ago
  shark c1529b7e84 edit 6 years ago
  meo 2ee48e5d0c 背景图片的修改 6 years ago
  meo d83453be64 [我的订单订单详情][增加]:我的订单的订单详情页面二维码点开,跳转到新的二维码页面 6 years ago
  meo 10d2dafa9b [banner详情修改待解决][修改]:banner详情l修改,待解决 6 years ago
  meo c046a813b2 [banner详情修改][修改]:banner详情修改 6 years ago
  Stormeye.Wu bce4dc0905 [订单支付][新增]:添加订单支付接口实现 6 years ago
  meo a416e9b47b [购买须知remark增加][增加]:券详情页面remark添加 6 years ago
  meo 792ef319f6 [未支付订单详情增加支付按钮][增加]:未支付订单增加详情按钮 6 years ago
  meo fc61a3e7e0 [getuserinfo页面][修改]:修改getuserinfo页面页面 6 years ago
  meo a843f858e4 [购买免费券支付成功][修改]:购买返回券,支付成功,消息提示 6 years ago
  Stormeye.Wu c46471b79c etcp支付跳转 6 years ago
  shark 3a5635115e edit 6 years ago
  shark 0377983403 edit 6 years ago
  meo 0980086307 [我的][修改]:我的=>全部订单 待付款订单 已完成订单对应到相应的页面 6 years ago
  meo dcd1974c57 [支付][修改]:支付的失败的消息返回 6 years ago
  meo e91b07d299 [订单详情][修改]:订单详情的时间的修改 6 years ago
  meo 91f86acad2 [订单列表兑换码弹出层][增加]:订单详情兑换码弹出层 6 years ago
  meo dbf63edb81 [订单详情,订单状态的判断][增加]:订单详情页面的渲染,以及针对不同的订单状态显示不同的标识 6 years ago
  Stormeye.Wu 8142e29639 id改为couponChannelId 6 years ago
  Stormeye.Wu 449f77b9b8 id修改为couponChannelId 6 years ago
  meo e0346e4d22 [banner详情的券列表,以及部分详情;我的订单详情][增加]:banner的券列表以及我的订单详情 6 years ago
  meo 3c83d98755 [限时抢购详情][修改]:限时抢购的详情id 6 years ago
  Stormeye.Wu 3d711591e8 微信支付 6 years ago
  Stormeye.Wu d0761ab5b3 fix compile issue 6 years ago
  Stormeye.Wu 2242781a08 支付接口 6 years ago
  Stormeye.Wu 4f12754a93 券详情接口修改,支付接口修改 6 years ago
  meo 7acc31d32b [我的订单列表][增加]:我的订单列表,待付款的标识添加 6 years ago
  Stormeye.Wu 2750d17d7f url修改 6 years ago
  Stormeye.Wu 819ab27ef3 [下订单接口][修改]:couponChanelId下单 6 years ago
  Stormeye.Wu 7b15f64444 支付接口修改 6 years ago
  meo 734e482310 [券包:我的优惠券][增加]:券包我的优惠券不同状态的优惠券详情页面不同时间对应的名称不同 6 years ago
  Stormeye.Wu 19f421f43d 支付添加couponChannelId 6 years ago
  Stormeye.Wu 7b90e75a7a 手机验证界面 6 years ago
  Stormeye.Wu fafb8da8a9 [手机号验证][新增]:加密手机手机号验证 6 years ago
  meo 225bbce6a6 [我的订单][增加]:我的订单列表增加,订单状态的切换以及上拉加载 6 years ago
  meo 395d59e4fb [券无法购买,订单列表][修改,增加]:修改券无法购买bug,订单列表增加 6 years ago
  meo 791c76d443 [限时抢购的点击查看更多列表时间的添加][增加]:限时抢购的查看更多列表页面剩余时间的增加 6 years ago
  meo f0e229ddb3 [限时抢购,红色的字体颜色色号修改,banner详情][增加,修改]:限时抢购的列表上拉加载,banner详情页面增加 6 years ago
  meo 0df386298a [券包增加去领券按钮][增加]:我的券包增加“去领券”按钮 6 years ago
  meo e4f2e9ed0f [首页业态选择,限时抢购列表和详情,停车样式首页业态选择上拉刷新] 6 years ago
  Stormeye.Wu 49594b4216 add todo for 停车券 6 years ago
  Stormeye.Wu 9d78559c34 add logs 6 years ago
  meo ec254cda15 [banner][增加]:banner图片接口的渲染 6 years ago
  Stormeye.Wu 0e92f0d734 fix call issue 6 years ago
  meo fdfb5b138d [首页优惠券库存增加][增加]:首页优惠券库存增加 6 years ago
  meo e6c82d629f [首页限时抢购列表,首页优惠券列表][修改]:限时抢购页面的渲染,和首页列表按钮样式修改 6 years ago
  Stormeye.Wu 18adfffd55 [C端停车][修改]:停车费修改 6 years ago
  meo ebda7b3a34 [ignore][新增]:add ignore 6 years ago
  meo 5522c6d715 [券包分类][修改]:券包分类修改 6 years ago
  Stormeye.Wu 5d09e5c777 停车费支持 6 years ago
  meo 031500da2c [券/券包][修改]:券列表/详情修改,券包列表/详情 6 years ago
  Stormeye.Wu 2a7ebbe2e7 解绑车牌 6 years ago
  Stormeye.Wu 8645a145bd [车][新增]:用户绑定的车显示 6 years ago
  Stormeye.Wu f50088132c [车流][修改]:添加车牌 6 years ago
  Stormeye.Wu c9693945b6 [券购买][修复]:undefined处理 6 years ago
  Stormeye.Wu 4448ce41c3 停车登录 6 years ago
  Stormeye.Wu 690bff1886 [车流][新增]:用户车检查及共同登录 6 years ago
  Stormeye.Wu 9e92707d68 [车流][新增]:停车场信息显示 6 years ago
  Stormeye.Wu 477c3f7ba3 修正数据时有时无问题 6 years ago
  Stormeye.Wu 1d1fa4fe6c merge from Meo 6 years ago
  Stormeye.Wu b3df16901b 二维码,条形码 6 years ago
  Stormeye.Wu 02426b2d7d 界面整理 6 years ago
  Stormeye.Wu 6679722477 code整理 6 years ago
  Stormeye.Wu 8ad0bbfd8e 界面整理 6 years ago
  Stormeye.Wu 076734c3e9 车牌解绑 6 years ago
  Stormeye.Wu d448dcafd1 添加车牌 6 years ago
  Stormeye.Wu a65a117256 停车界面 6 years ago
  Stormeye.Wu 6a74afc8aa fix loading data issue 6 years ago
  Stormeye.Wu 07fc83f3ea 车流接口 6 years ago
  Stormeye.Wu 7ada45b21f 业态显示 6 years ago
  Stormeye.Wu 8330f24156 券包详情 6 years ago
  Stormeye.Wu 141233bb0f 业态初始化 6 years ago
  Stormeye.Wu bd4f855055 新的接口 6 years ago
  Stormeye.Wu 3537b5f58e 二维码,条形码 6 years ago
  Stormeye.Wu eae36b5726 手机加密后手工输入验证码 6 years ago
  Stormeye.Wu 3d21062996 我的优惠券 6 years ago
  Stormeye.Wu 64f67e2c0b 支付调通 6 years ago
  Stormeye.Wu 447dd15038 组件数据load 6 years ago
  Stormeye.Wu 716a8bd1eb [支付相关api][整理/修复]:api相关问题修复 6 years ago
  Stormeye.Wu ed592c44e2 支付页面更新 6 years ago
  Stormeye.Wu 9ede485a9a [用户授权nick][修复]:用户登录后获取couponList,couponChannel等 6 years ago
  Stormeye.Wu 0f1895c2dc [url整理] 6 years ago
  Stormeye.Wu 4b36a35217 promise整理 6 years ago
  Stormeye.Wu ee113ba967 [http调用整理][整理]:重新清理http调用方式 6 years ago
  Stormeye.Wu afae4987c6 [用户授权][新增]:用户授权昵称 6 years ago
  Stormeye.Wu 48d335c6eb 【登录][修改]:支持用户授权 6 years ago
  Stormeye.Wu 31de23b8d7 [c端小程序][新增]:用户nickName授权页面,手机号授权页面 6 years ago
  LengYingxin d967e5b6f1 update 6 years ago
  LengYingxin 4da823c84c update 6 years ago
  LengYingxin 167d93b26d 更新http 请求方式 6 years ago
  LengYingxin bd7873f85e init 6 years ago
100 changed files with 1157 additions and 1323 deletions
Split View
  1. +2
    -0
      .gitignore
  2. +160
    -63
      app.js
  3. +87
    -28
      app.json
  4. +74
    -51
      app.wxss
  5. BIN
      assets/images/fail.png
  6. BIN
      assets/images/home-n.png
  7. BIN
      assets/images/home-y.png
  8. BIN
      assets/images/pass0.png
  9. BIN
      assets/images/pass1.png
  10. BIN
      assets/images/user-n.png
  11. BIN
      assets/images/user-y.png
  12. BIN
      assets/img/addresslogo.png
  13. BIN
      assets/img/food.png
  14. BIN
      assets/img/home-n.png
  15. +0
    -1
      assets/img/home-n.svg
  16. BIN
      assets/img/home-y.png
  17. +0
    -1
      assets/img/home-y.svg
  18. BIN
      assets/img/logo.png
  19. BIN
      assets/img/spcode.png
  20. BIN
      assets/img/splogo.png
  21. BIN
      assets/img/spphone.png
  22. BIN
      assets/img/user-n.png
  23. +0
    -1
      assets/img/user-n.svg
  24. BIN
      assets/img/user-y.png
  25. +0
    -1
      assets/img/user-y.svg
  26. +0
    -216
      common/common.js
  27. +21
    -6
      components/banner/index.js
  28. +8
    -5
      components/banner/index.wxml
  29. +30
    -8
      components/banner/index.wxss
  30. +0
    -0
      components/bargain/index.js
  31. +5
    -11
      components/coupons/index.js
  32. +35
    -18
      components/coupons/index.wxml
  33. +218
    -64
      components/coupons/index.wxss
  34. +32
    -0
      components/discountCard/index.js
  35. +2
    -3
      components/discountCard/index.json
  36. +5
    -0
      components/discountCard/index.wxml
  37. +6
    -0
      components/discountCard/index.wxss
  38. +76
    -0
      components/gameentry/gentry.js
  39. +6
    -0
      components/gameentry/gentry.json
  40. +9
    -0
      components/gameentry/gentry.wxml
  41. +28
    -0
      components/gameentry/gentry.wxss
  42. +45
    -0
      components/spellbanner/index.js
  43. +1
    -1
      components/spellbanner/index.json
  44. +14
    -0
      components/spellbanner/index.wxml
  45. +51
    -0
      components/spellbanner/index.wxss
  46. +242
    -19
      config/config.js
  47. +0
    -47
      dist/action-sheet/index.js
  48. +0
    -8
      dist/action-sheet/index.json
  49. +0
    -23
      dist/action-sheet/index.wxml
  50. +0
    -1
      dist/action-sheet/index.wxss
  51. +0
    -37
      dist/alert/index.js
  52. +0
    -7
      dist/alert/index.json
  53. +0
    -15
      dist/alert/index.wxml
  54. +0
    -1
      dist/alert/index.wxss
  55. +0
    -20
      dist/avatar/index.js
  56. +0
    -3
      dist/avatar/index.json
  57. +0
    -4
      dist/avatar/index.wxml
  58. +0
    -1
      dist/avatar/index.wxss
  59. +0
    -37
      dist/base/index.js
  60. +0
    -26
      dist/card/index.js
  61. +0
    -3
      dist/card/index.json
  62. +0
    -11
      dist/card/index.wxml
  63. +0
    -1
      dist/card/index.wxss
  64. +0
    -33
      dist/cell-group/index.js
  65. +0
    -3
      dist/cell-group/index.json
  66. +0
    -3
      dist/cell-group/index.wxml
  67. +0
    -86
      dist/cell/index.js
  68. +0
    -16
      dist/cell/index.wxml
  69. +0
    -1
      dist/cell/index.wxss
  70. +0
    -38
      dist/checkbox-group/index.js
  71. +0
    -7
      dist/checkbox-group/index.json
  72. +0
    -3
      dist/checkbox-group/index.wxml
  73. +0
    -56
      dist/checkbox/index.js
  74. +0
    -7
      dist/checkbox/index.json
  75. +0
    -8
      dist/checkbox/index.wxml
  76. +0
    -1
      dist/checkbox/index.wxss
  77. +0
    -20
      dist/col/index.js
  78. +0
    -1
      dist/col/index.wxml
  79. +0
    -1
      dist/col/index.wxss
  80. +0
    -46
      dist/collapse-item/index.js
  81. +0
    -9
      dist/collapse-item/index.wxml
  82. +0
    -1
      dist/collapse-item/index.wxss
  83. +0
    -31
      dist/collapse/index.js
  84. +0
    -3
      dist/collapse/index.json
  85. +0
    -4
      dist/collapse/index.wxml
  86. +0
    -90
      dist/count-down/index.js
  87. +0
    -4
      dist/count-down/index.json
  88. +0
    -4
      dist/count-down/index.wxml
  89. +0
    -0
      dist/count-down/index.wxss
  90. +0
    -25
      dist/divider/index.js
  91. +0
    -3
      dist/divider/index.json
  92. +0
    -19
      dist/divider/index.wxml
  93. +0
    -1
      dist/divider/index.wxss
  94. +0
    -33
      dist/drawer/index.js
  95. +0
    -3
      dist/drawer/index.json
  96. +0
    -6
      dist/drawer/index.wxml
  97. +0
    -1
      dist/drawer/index.wxss
  98. +0
    -10
      dist/grid-icon/index.js
  99. +0
    -3
      dist/grid-icon/index.json
  100. +0
    -1
      dist/grid-icon/index.wxml

+ 2
- 0
.gitignore View File

@@ -0,0 +1,2 @@
/jsconfig.json
/.vscode/**

+ 160
- 63
app.js View File

@@ -1,89 +1,186 @@
let config = require('./config/config.js')
let config = require("./config/config.js");
const Http = require("./utils/HttpBasics");
App({
data: {
},
onLaunch: function (options) {
data: {},
onLaunch: function(options) {
console.log("onUnload ")
var that = this;
that.globalData.sceneAddress = options.scene;
// 登录
wx.login({
success: res => {
console.log(res)
wx.request({
url: config.api.login,
data: {
appId: config.weapp.AppId,
code: res.code,
sceneAddress: that.globalData.sceneAddress,
},
method: 'POST',
success: (result)=>{
console.log(result)
that.globalData.token = result.data.data.token;
console.log(that.globalData.token)
that.getUserInfo()
that.getLocation()
}
})
}
})
// setTimeout(() => {
// this.globalData.market={
// name:"陕西大悦城"
// }
// }, 1000);
},
/**
* 获取地址位置信息
*/
getLocation: function() {
var that = this
wx.getLocation({
type: 'wgs84',
type: "wgs84",
success: function(res) {
console.log("getLocation", res);
that.globalData.locationInfo = res;
},
fail: error => {
console.log(error);
}
})
},
/**
* 获取用户信息
*/
getUserInfo: function() {
// 获取用户信息
wx.getSetting({
success: res => {
if (res.authSetting['scope.userInfo']) {
// 已经授权,可以直接调用 getUserInfo 获取头像昵称,不会弹框
wx.getUserInfo({
success: res => {
// 可以将 res 发送给后台解码出 unionId
this.globalData.userInfo = res.userInfo

// 由于 getUserInfo 是网络请求,可能会在 Page.onLoad 之后才返回
// 所以此处加入 callback 以防止这种情况
if (this.userInfoReadyCallback) {
this.userInfoReadyCallback(res)
}
}
})
}
}
})
},
});
},
globalData: {
// token
token: null,
// user openId
openId: null,
// 渠道
sceneAddress: null,
// location info
locationInfo: null,
// 二维码参数
scene: null,
// 支持智慧停车, 用户名下有车
phone: null,
supportCar: false,
parkVendor: 1, // 1: ETCP, 2: TJD
// ETCP token
etcpToken: null,
carLogin: false,
// 当前商场信息
market: {
name: "陕西大悦城"
},
// websocket
socketClient: null,
socketReceiver: function (e) { }, //收到消息回调
},

// 初始化websocket
initSocket: function () {
let that = this;
// socket是否连接
let socketConnected = false;
// 待发送的消息队列
let messageQueue = [];
// 是否断线重连
let reconnect = true;

// 发送消息
function sendSocketMessage(msg) {
// console.log(msg);
// 如果socket已连接则发送消息
if (socketConnected) {
wx.sendSocketMessage({
data: msg
})
} else {
// socket没有连接将消息放入队列中
messageQueue.push(msg);
}
}

// 关闭连接
function close() {
if (socketConnected) {
wx.closeSocket()
socketConnected = false;
}
}

// 符合WebSocket定义的对象
var ws = {
send: sendSocketMessage,
close: close
}

// 创建一个 WebSocket 连接
function connect() {
wx.connectSocket({
url: config.wsurl,
header: {
token: that.globalData.token //从服务端获取一个token,服务端验证token是否允许连接,案例中没做限制
}
})
}
connect();

// 监听 WebSocket 连接打开事件
wx.onSocketOpen(function (res) {
console.log("WebSocket 连接成功")
socketConnected = true;
ws.onopen();
// 连接成功后,将队列中的消息发送出去
let queueLength = messageQueue.length
for (let i = 0; i < queueLength; i++) {
sendSocketMessage(messageQueue.shift())
}
})

// 监听 WebSocket 接受到服务器的消息事件
wx.onSocketMessage(function (res) {
ws.onmessage(res);
})

// 监听 WebSocket 错误事件
wx.onSocketError(function (res) {
console.log("WebSocket 错误事件")
if (!socketConnected) {
// 断线重连
if (reconnect) {
connect();
}
}
})

// 监听 WebSocket 连接关闭事件
wx.onSocketClose(function (res) {
console.log("WebSocket 连接关闭")
socketConnected = false;
// 断线重连
if (reconnect) {
connect();
}
})

const Stomp = require('/utils/stomp.min.js').Stomp;

/**
* 定期发送心跳或检测服务器心跳
* The heart-beating is using window.setInterval() to regularly send heart-beats and/or check server heart-beats.
* 可看stomp.js的源码(195,207,489行),由于小程序没有window对象,所以我们要调用小程序的定时器api实现
*/
Stomp.setInterval = function (interval, f) {
return setInterval(f, interval);
};
// 结束定时器的循环调用
Stomp.clearInterval = function (id) {
return clearInterval(id);
};

const stompClient = Stomp.over(ws);

that.globalData.socketClient = stompClient;

stompClient.connect({}, function (callback) {

// 订阅自己的
stompClient.subscribe('/user/'+that.globalData.openId+'/message', function (message, headers) {
console.log('收到只发送给我的消息:', message);
that.globalData.socketReceiver(JSON.parse(message.body));
// 通知服务端收到消息
message.ack();
});

stompClient.subscribe('/topic/1001A', function (message, headers) {
console.log('收到TOPIC的消息:', message);
that.globalData.socketReceiver(JSON.parse(message.body));
// 通知服务端收到消息
//message.ack();
});

// 向服务端发送消息
stompClient.send("/app/message", {}, JSON.stringify({
'msg': 'client: ' + that.globalData.openId
}));
})
},

//统一发送消息
sendSocketMessage: function (msg) {
this.globalData.socketClient.send("/app/message", {}, JSON.stringify(msg));
}
})
});

+ 87
- 28
app.json View File

@@ -1,41 +1,100 @@
{
"pages": [
"pages/index/index",
"pages/coupons/details/index",
"pages/shop/details/index",
"pages/joinFrDpell/index",
"pages/spellDetail/index",
"pages/spellTimeout/index",
"pages/spellGroup/mySpellGroup/index",
"pages/spellGroup/spellGroup",
"pages/complete/index",
"pages/main/index",
"pages/index/searchbar/index",
"pages/bargain/bargainDatail/bargainDatail",
"pages/bargain/bargain",
"pages/cardorder/index/index",
"pages/scanPay/scanPay",
"pages/edit/edit",
"pages/actdetail/actdetail",
"pages/bannerdetail/index",
"pages/getuserinfo/index",
"pages/phoneinput/phoneinput",
"pages/market/index",
"pages/user/index",
"pages/coupon/detail/index",
"pages/rushToBuy/index",
"pages/shop/index/index",
"pages/market/index",
"pages/coupons/index/index",
"pages/order/details/index",
"pages/order/index/index",
"pages/user/index",
"pages/success/index",
"pages/login/index"
"pages/couponorder/index/index",
"pages/couponorder/detail/index",
"pages/cardorder/detail/index",
"pages/cardorder/userule/userule",
"pages/order/detail/index",
"pages/order/index/index",
"pages/success/index",
"pages/park/park",
"pages/ques/ques",
"pages/passCar/passCar",
"pages/getphoneInfo/index",
"pages/addPark/addPark",
"pages/orderquanma/index",
"pages/passCar/couponList/couponList",
"pages/passCar/choicecoupon/choicecoupon",
"pages/passCar/couponDetail/couponDetail",
"pages/managelicenseplate/managelicenseplate",
"pages/payrule/payrule",
"pages/grade/grade",
"pages/game/index",
"pages/main/gameentry/gentry",
"pages/index/gameentry/gentry",
"pages/specialcourtesy/specialcourtesy",
"pages/discountCardList/discountCardList",
"pages/cardListDetail/cardListDetail",
"pages/freeBannerDetail/index",
"pages/user/scoreHistory/index",
"pages/paySuccess/paySuccess",
"pages/ConsumeDetail/ConsumeDetail",
"pages/externallinks/index",
"pages/czdetail/czdetail"
],
"navigateToMiniProgramAppIdList": [
"wx192b7d2e8dcbefd0",
"wxc07f9d67923d676d"
],
"permission": {
"scope.userLocation": {
"desc": "你的位置信息将用于小程序位置接口的效果展示"
}
},
"tabBar": {
"color":"#9F9F9F",
"selectedColor":"#00C0FF",
"list": [{
"pagePath": "pages/index/index",
"iconPath":"assets/img/home-n.png",
"selectedIconPath":"assets/img/home-y.png",
"text": "首页"
}, {
"pagePath": "pages/user/index",
"iconPath":"assets/img/user-n.png",
"selectedIconPath":"assets/img/user-y.png",
"text": "我的"
}]
"color": "#9F9F9F",
"selectedColor": "#00C0FF",
"list": [
{
"pagePath": "pages/main/index",
"iconPath": "assets/images/home-n.png",
"selectedIconPath": "assets/images/home-y.png",
"text": "首页"
},
{
"pagePath": "pages/passCar/passCar",
"iconPath": "assets/images/pass1.png",
"selectedIconPath": "assets/images/pass0.png",
"text": "停车"
},
{
"pagePath": "pages/user/index",
"iconPath": "assets/images/user-n.png",
"selectedIconPath": "assets/images/user-y.png",
"text": "我的"
}
]
},
"window": {
"backgroundTextStyle": "light",
"navigationBarBackgroundColor": "#fff",
"navigationBarTitleText": "WeChat",
"navigationBarTextStyle": "black"
"backgroundTextStyle": "dark",
"navigationBarBackgroundColor": "#02C0FF",
"navigationBarTitleText": "",
"navigationBarTextStyle": "white"
},
"networkTimeout": {
"request": 10000,
"request": 30000,
"downloadFile": 10000
},
"debug": false

+ 74
- 51
app.wxss View File

@@ -1,95 +1,118 @@
@import "weui.wxss";

@font-face {
font-family: 'iconfont'; /* project id 777313 */
src: url('//at.alicdn.com/t/font_777313_jq7td4d3uab.eot');
src: url('//at.alicdn.com/t/font_777313_jq7td4d3uab.eot?#iefix') format('embedded-opentype'),
url('//at.alicdn.com/t/font_777313_jq7td4d3uab.woff') format('woff'),
url('//at.alicdn.com/t/font_777313_jq7td4d3uab.ttf') format('truetype'),
url('//at.alicdn.com/t/font_777313_jq7td4d3uab.svg#iconfont') format('svg');
}
font-family: "iconfont"; /* project id 777313 */
src: url("//at.alicdn.com/t/font_777313_jq7td4d3uab.eot");
src: url("//at.alicdn.com/t/font_777313_jq7td4d3uab.eot?#iefix")
format("embedded-opentype"),
url("//at.alicdn.com/t/font_777313_jq7td4d3uab.woff") format("woff"),
url("//at.alicdn.com/t/font_777313_jq7td4d3uab.ttf") format("truetype"),
url("//at.alicdn.com/t/font_777313_jq7td4d3uab.svg#iconfont") format("svg");
}
.iconfont {
font-family: "iconfont" !important;
font-size: 36rpx;
font-style: normal;
-webkit-font-smoothing: antialiased;
-webkit-text-stroke-width: 0.2rpx;
-moz-osx-font-smoothing: grayscale;
font-family: "iconfont" !important;
font-size: 36rpx;
font-style: normal;
-webkit-font-smoothing: antialiased;
-webkit-text-stroke-width: 0.2rpx;
-moz-osx-font-smoothing: grayscale;
}
.clearfix:after {
content: ".";
display: block;
height: 0;
clear: both;
visibility: hidden;
}
/* 定位 */
.icon-dingweib:before { content: "\e652"; }
.icon-dingweib:before {
content: "\e652";
}
/* 三角 */
.icon-choose:before { content: "\e601"; }
.icon-choose:before {
content: "\e601";
}
/* 右箭头 */
.icon-right:before { content: "\e612"; }
.icon-right:before {
content: "\e612";
}

/* 边框 */

.app-border-top,
.app-border-bottom {
position: relative;
width: 100%;
position: relative;
width: 100%;
}

.app-border-top::after,
.app-border-bottom::after {
content: '';
position: absolute;
background-color: #ddd;
display: block !important;
z-index: 1;
top: auto;
right: auto;
width: 100%;
height: 1rpx;
transform-origin: 50% 100%;
transform: scaleY(0.5);
content: "";
position: absolute;
background-color: #ddd;
display: block !important;
z-index: 1;
top: auto;
right: auto;
width: 100%;
height: 1rpx;
transform-origin: 50% 100%;
transform: scaleY(0.5);
}

.app-border-top:last-child:after,
.app-border-bottom:last-child::after {
display: none !important;
display: none !important;
}

.app-border-top::after {
top: 0;
top: 0;
}

.app-border-bottom::after {
bottom: 0;
bottom: 0;
}

.app-border-left,
.app-border-right {
position: relative;
height: 100%;
position: relative;
height: 100%;
}

.app-border-left::before,
.app-border-right::before {
content: '';
position: absolute;
background-color: #ddd;
display: block;
z-index: 1;
top: 0;
bottom: 0;
height: 100%;
width: 1rpx;
transform-origin: 50% 100%;
transform: scaleX(0.5);
content: "";
position: absolute;
background-color: #ddd;
display: block;
z-index: 1;
top: 0;
bottom: 0;
height: 100%;
width: 1rpx;
transform-origin: 50% 100%;
transform: scaleX(0.5);
}

.app-border-left::before {
left: 0;
left: 0;
}

.app-border-right::before {
right: 0;
right: 0;
}
view{
font-family: PingFangSC-Semibold;
view,
text {
font-family: PingFangSC-Regular;
}
page{
page {
width: 100%;
height: 100%;
font-weight: 400;
}
.fl{
float: left;
}
.fr{
float: right;
}


BIN
assets/images/fail.png View File

Before After
Width: 200  |  Height: 200  |  Size: 8.3 KiB

BIN
assets/images/home-n.png View File

Before After
Width: 54  |  Height: 54  |  Size: 1.2 KiB

BIN
assets/images/home-y.png View File

Before After
Width: 54  |  Height: 54  |  Size: 1.2 KiB

BIN
assets/images/pass0.png View File

Before After
Width: 54  |  Height: 54  |  Size: 955 B

BIN
assets/images/pass1.png View File

Before After
Width: 54  |  Height: 54  |  Size: 937 B

BIN
assets/images/user-n.png View File

Before After
Width: 54  |  Height: 54  |  Size: 902 B

BIN
assets/images/user-y.png View File

Before After
Width: 54  |  Height: 54  |  Size: 946 B

BIN
assets/img/addresslogo.png View File

Before After
Width: 14  |  Height: 18  |  Size: 415 B

BIN
assets/img/food.png View File

Before After
Width: 187  |  Height: 140  |  Size: 81 KiB

BIN
assets/img/home-n.png View File

Before After
Width: 200  |  Height: 200  |  Size: 3.4 KiB

+ 0
- 1
assets/img/home-n.svg View File

@@ -1 +0,0 @@
<?xml version="1.0" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg class="icon" width="200px" height="200.00px" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg"><path fill="#cbc8c2" d="M22.311657 420.524612c-10.023284 8.991792-17.588587 22.285562-17.588587 37.752836 0 27.185152 22.001083 49.212842 49.155537 49.212842l98.397031 0 0 467.197608c0 27.213805 22.00006 49.15656 49.155537 49.15656l163.104775 0c27.127847 0 49.15349-21.971407 49.15349-49.15656l0-196.72857 196.708104 0 0 196.72857c0 27.185152 21.912056 49.15656 49.127907 49.15656l163.073052 0c27.158547 0 49.157583-21.942755 49.157583-49.15656l0-467.197608 98.367355 0c27.211758 0 49.154513-22.026666 49.154513-49.212842 0-15.46625-7.504928-28.760021-18.822694-37.752836-168.776961-142.224212-488.427118-420.36907-488.427118-420.36907S192.293049 278.3004 22.311657 420.524612zM432.279842 64.149019" /></svg>

BIN
assets/img/home-y.png View File

Before After
Width: 200  |  Height: 200  |  Size: 3.2 KiB

+ 0
- 1
assets/img/home-y.svg View File

@@ -1 +0,0 @@
<?xml version="1.0" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg class="icon" width="200px" height="200.00px" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg"><path fill="#0ac4ff" d="M22.311657 420.524612c-10.023284 8.991792-17.588587 22.285562-17.588587 37.752836 0 27.185152 22.001083 49.212842 49.155537 49.212842l98.397031 0 0 467.197608c0 27.213805 22.00006 49.15656 49.155537 49.15656l163.104775 0c27.127847 0 49.15349-21.971407 49.15349-49.15656l0-196.72857 196.708104 0 0 196.72857c0 27.185152 21.912056 49.15656 49.127907 49.15656l163.073052 0c27.158547 0 49.157583-21.942755 49.157583-49.15656l0-467.197608 98.367355 0c27.211758 0 49.154513-22.026666 49.154513-49.212842 0-15.46625-7.504928-28.760021-18.822694-37.752836-168.776961-142.224212-488.427118-420.36907-488.427118-420.36907S192.293049 278.3004 22.311657 420.524612zM432.279842 64.149019" /></svg>

BIN
assets/img/logo.png View File

Before After
Width: 382  |  Height: 447  |  Size: 30 KiB

BIN
assets/img/spcode.png View File

Before After
Width: 55  |  Height: 55  |  Size: 1.3 KiB

BIN
assets/img/splogo.png View File

Before After
Width: 111  |  Height: 111  |  Size: 3.7 KiB

BIN
assets/img/spphone.png View File

Before After
Width: 43  |  Height: 44  |  Size: 1.3 KiB

BIN
assets/img/user-n.png View File

Before After
Width: 200  |  Height: 200  |  Size: 4.6 KiB

+ 0
- 1
assets/img/user-n.svg View File

@@ -1 +0,0 @@
<?xml version="1.0" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg class="icon" width="200px" height="200.00px" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg"><path fill="#cbc8c2" d="M512 535.272727c141.963636 0 256-114.036364 256-256S730.763636 0 512 0c-214.109091 0-256 137.309091-256 279.272727s114.036364 256 256 256z m232.727273 23.272728H279.272727C151.272727 558.545455 46.545455 663.272727 46.545455 791.272727s104.727273 232.727273 232.727272 232.727273h465.454546c128 0 232.727273-104.727273 232.727272-232.727273s-104.727273-232.727273-232.727272-232.727272z" /></svg>

BIN
assets/img/user-y.png View File

Before After
Width: 200  |  Height: 200  |  Size: 4.3 KiB

+ 0
- 1
assets/img/user-y.svg View File

@@ -1 +0,0 @@
<?xml version="1.0" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg class="icon" width="200px" height="200.00px" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg"><path fill="#0ac4ff" d="M512 535.272727c141.963636 0 256-114.036364 256-256S730.763636 0 512 0c-214.109091 0-256 137.309091-256 279.272727s114.036364 256 256 256z m232.727273 23.272728H279.272727C151.272727 558.545455 46.545455 663.272727 46.545455 791.272727s104.727273 232.727273 232.727272 232.727273h465.454546c128 0 232.727273-104.727273 232.727272-232.727273s-104.727273-232.727273-232.727272-232.727272z" /></svg>

+ 0
- 216
common/common.js View File

@@ -1,216 +0,0 @@
const Promise = require('../utils/es6-promise.min').Promise
let config = require("../config/config.js");
var app = getApp();
const func = {
wxLogin: function (scene) {
return new Promise((resolve, reject) => {
wx.login({
success: function (res) {
resolve(res)
},
fail: function (err) {
reject(err)
},
complete: function (res) {
//console.log("wxLogin complete:" + res)
}
})
})
},
/**
* 授权后获取用户的昵称,unionId等信息
*/
getUserInfo: function (encryptedData, iv) {
console.log(app.globalData.openId)
return new Promise((resolve, reject) => {
wx.request({
url: config.api.getUserInfo,
header: {
"content-type": "application/json;charset=UTF-8",
"token": app.globalData.token
},
data: {
encryptedData: encryptedData,
iv: iv,
},
method: "POST",
success: function (res) {
resolve(res)
},
fail: function (err) {
reject(err)
},
complete: function (res) {
//console.log("getUserInfo complete:" + res)
}
})
})
},
/**
* 授权后获取用户的手机号
*/
getUserPhone: function (encryptedData, iv) {
return new Promise((resolve, reject) => {
wx.request({
url: config.api.getUserPhone,
data: {
encryptedData: encryptedData,
iv: iv,
},
header: {
"content-type": "application/json;charset=UTF-8",
"token": app.globalData.token
},
method: "POST",
success: function (res) {
resolve(res)
},
fail: function (err) {
reject(err)
},
complete: function (res) {
//console.log("getUserInfo complete:" + res)
}
})
})
},
/**
* 优惠券查询
*/
getCouponList: function (pageNum, pageSize) {
return new Promise((resolve, reject) => {
wx.request({
url: config.api.couponList,
header: {
"content-type": "application/json;charset=UTF-8",
"token": app.globalData.token
},
method: "Get",
data: {
pageNum: pageNum,
pageSize: pageSize
},
success: function (res) {
resolve(res)
},
fail: function (err) {
reject(err)
},
complete: function (res) {
console.log(res)
}
})
})
},
/**
* 优惠券详情
*/
getCouponDetail: function (couponId) {
return new Promise((resolve, reject) => {
wx.request({
url: config.api.couponDetail,
header: {
"content-type": "application/json;charset=UTF-8",
"token": app.globalData.token
},
method: "Get",
data: {
id: couponId
},
success: function (res) {
resolve(res)
},
fail: function (err) {
reject(err)
},
complete: function (res) {
console.log(res)
}
})
})
},
/**
* 订单下单
*/
orderSave: function (couponId) {
return new Promise((resolve, reject) => {
wx.request({
url: config.api.orderSave,
header: {
'token': app.globalData.token
},
data: {
couponId: couponId,
token: app.globalData.token
},
method: "POST",
success: function (res) {
resolve(res)
},
fail: function (err) {
reject(err)
},
complete: function (res) {
console.log(res)
}
})
})
},
/**
* 支付订单
*/
payOrderCreate: function (orderId) {
return new Promise((resolve, reject) => {
wx.request({
url: config.api.payOrderCreate,
header: {
"token": app.globalData.token
},
data: {
orderId: orderId,
token: app.globalData.token
},
method: "POST",
success: function (res) {
resolve(res)
},
fail: function (err) {
reject(err)
},
complete: function (res) {
console.log(res)
}
})
})
},
/**
* 支付订单更新
*/
payOrderUpdate: function (orderId, payOrderId, status, reason) {
return new Promise((resolve, reject) => {
wx.request({
url: config.api.payOrderUpdate,
header: {
"token": app.globalData.token
},
data: {
payOrderId: payOrderId,
orderId: orderId,
status: status,
reason: reason
},
method: "POST",
success: function (res) {
resolve(res)
},
fail: function (err) {
reject(err)
},
complete: function (res) {
console.log(res)
}
})
})
},
}
module.exports = func;

+ 21
- 6
components/banner/index.js View File

@@ -1,13 +1,14 @@
// pages/index/sw/index.js
const imgurl = require("../../utils/imgurl");
Component({
/**
* 组件的属性列表
*/
properties: {
imgUrls: {
list: {
value: [],
type: Array,
},
type: Array
}
},

/**
@@ -15,16 +16,30 @@ Component({
*/
data: {
swiperCurrent: 0,
bannerUrl: imgurl.banner.url
},

/**
* 组件的方法列表
*/
ready() {},
methods: {
swiperChange: function (e) {
swiperChange: function(e) {
this.setData({
swiperCurrent: e.detail.current
})
});
},
gotobannerdetail: function(e) {
console.log(e)
if(e.currentTarget.dataset.data.type==2){
wx.navigateTo({
url: `/pages/freeBannerDetail/index?id=${e.currentTarget.dataset.id}`
});
}else{
wx.navigateTo({
url: `/pages/bannerdetail/index?id=${e.currentTarget.dataset.id}`
});
}
}
}
})
});

+ 8
- 5
components/banner/index.wxml View File

@@ -1,13 +1,16 @@
<view class="index-slide-view">
<swiper class="index-slide" bindchange="swiperChange" circular="true" autoplay="true" interval="3000" duration="500">
<block wx:for="{{imgUrls}}" wx:key="unique">
<view wx:if="{{list.length!=0}}" class='bannerbg'>
<image src='{{bannerUrl}}' mode="widthFix"></image>
</view>
<view wx:if="{{list.length!=0}}" class="index-slide-view">
<swiper class="index-slide" bindchange="swiperChange" autoplay="true" circular="false">
<block wx:for="{{list}}" wx:key="unique">
<swiper-item>
<image src="{{item}}" class="index-slide-image" />
<image data-id="{{item.id}}" data-data="{{item}}" bindtap='gotobannerdetail' src="{{item.coverImg}}" class="index-slide-image" />
</swiper-item>
</block>
</swiper>
<view class="dots">
<block wx:for="{{imgUrls}}" wx:key="unique">
<block wx:for="{{list}}" wx:key="unique">
<view class="dot{{index == swiperCurrent ? ' active' : ''}}"></view>
</block>
</view>

+ 30
- 8
components/banner/index.wxss View File

@@ -1,10 +1,23 @@
.index-slide-view{
position: relative;
width: 710rpx;
height: 260rpx;
overflow: hidden;
margin:-126rpx auto 0;
border-radius:16rpx;
box-shadow: 0 6px 20px 0 rgba(0,0,0,0.15);
}
.index-slide,
swiper-item
.index-slide-image {
width: 100%;
height: 465rpx;
display: block;
width: 710rpx;
height: 260rpx;
margin: 0 auto;
border-radius:16rpx;
overflow: hidden;
position: relative;

}
.index-slide-view .dots{
position: absolute;
@@ -16,14 +29,23 @@
}
.index-slide-view .dots .dot{
margin: 0 8rpx;
width: 30rpx;
height: 8rpx;
background: #fff;
border-radius: 100rpx;
width: 12rpx;
height: 12rpx;
background: #b6b6b7;
border-radius: 50%;
transition: all .6s;
opacity: 0.5;
}
.index-slide-view .dots .dot.active{
background: #FFFFFF;
background: #02C0FF;
width: 30rpx;
height: 12rpx;
border-radius:10rpx;
opacity: 1;
}
.bannerbg{
width: 100%;
}
.bannerbg image{
display: block;
width: 100%;
}

dist/checkbox-group/index.wxss → components/bargain/index.js View File


+ 5
- 11
components/coupons/index.js View File

@@ -4,24 +4,18 @@ Component({
* 组件的属性列表
*/
properties: {
paramAtoB: String,
data: {
value: {},
type: Object,
type: Object
},
},

/**
* 组件的初始数据
*/
data: {

},
data: {},
methods: {
onLogin(e){
let { id } = e.currentTarget.dataset.date;
wx.navigateTo({
url: `../../pages/coupons/details/index?id=${id}`,
})
}
}
})
});

+ 35
- 18
components/coupons/index.wxml View File

@@ -1,21 +1,38 @@
<view class="coupons">
<view class="coupons-img">
<image src="{{data.coverImg}}"></image>
</view>
<view class="coupons-info">
<view class="coupons-info-name">{{data.name}}</view>
<view class="coupons-info-price">
<text class="coupons-info-price-p">¥{{data.salePrice}}</text>
<text class="coupons-info-price-o">¥{{data.price}}</text>
<navigator url="/pages/coupon/detail/index?couponChannelId={{data.id}}&couponId={{data.couponId}}&title={{data.title}}">
<!-- 首页优惠券列表页面 -->
<view class="coupons">
<view class="coupons-img">
<image src="{{data.coverImg}}" mode='aspectFill' lazy-load="true"></image>
</view>
<view class="coupons-info-distance">
<text class="iconfont icon-dingweib"></text>
{{data.salePrice}}
<view class="coupons-info">
<view class="coupons-info-name tit">{{data.title}}</view>
<view class="coupons-info-name subtitle">{{data.subTitle}}</view>
<view class="coupons-info-price-p">
<view class='price'>
<text>{{data.salePriceStr}}<text style="font-size:24rpx;display:inline-block;margin-right:10rpx;">元</text></text>
<view class="coupons-info-manjian" style="margin-top:10rpx;" wx:if="{{data.type == 1}}">
<view class='view01' wx:if="{{data.unit==0}}">{{data.priceStr}}元</view>
<view wx:if="{{data.unit==1}}">{{data.priceStr}}小时</view>
<text class='txt2'>满{{data.usePriceStr}}元可用</text>
</view>
<view class="coupons-info-manjian" wx:elif="{{data.type == 2||data.type == 3||data.type==4||data.type==5}}">
<text class='view01' wx:if="{{data.unit==0}}">{{data.priceStr}}元</text>
<text wx:if="{{data.unit==1}}">{{data.priceStr}}小时</text>
<text class='txt2'>仅限本店使用</text>
</view>
</view>
<view class="coupons-info-manjian1" wx:if="{{data.merchantVoList.length==1}}">{{data.merchantVoList[0].merchantName}}</view>
<view class="coupons-info-manjian1" wx:if="{{data.merchantVoList.length>1}}">多商户通用</view>
</view>
</view>
<view class="coupons-info-address">{{data.salePrice}}</view>
</view>
<view class="coupons-btn">
<i-button i-class="coupons-btn-gm" bind:click="onLogin" data-date='{{data}}'>购买</i-button>
<view class="coupons-btn">
<!-- 优惠券价格 -->
<i-button i-class="coupons-btn-gm" wx:if="{{data.salePriceStr==0&&data.remainInventory!=0}}" data-date='{{data}}'>免费领</i-button>
<i-button i-class="coupons-btn-gm" wx:if="{{data.salePriceStr!=0&&data.remainInventory!=0}}" data-date='{{data}}'>马上购</i-button>
<i-button i-class="coupons-btn-gms" wx:if="{{data.remainInventory==0}}" data-date='{{data}}'>已售罄</i-button>
<i-button i-class="coupons-btn-gms" wx:if="{{data.status==1}}" data-date='{{data}}'>已下架</i-button>
</view>
<view class="coupons-info-name sy">剩余{{data.remainInventory}}</view>
<view class="coupons-border"></view>
</view>
<view class="coupons-border"></view>
</view>
</navigator>

+ 218
- 64
components/coupons/index.wxss View File

@@ -1,95 +1,249 @@
@import "../../app.wxss";

.coupons {
flex-direction: row;
display: flex;
padding: 30rpx;
position: relative;
height: 184rpx;
}
.coupons-border{
height: 1rpx;
/* width: 100%; */
left: 30rpx;
right: 30rpx;
background: #F5F5F5;
position: absolute;
bottom: 0;
flex-direction: row;
display: flex;
padding: 30rpx;
position: relative;
height: 184rpx;
}
.coupons-border {
height: 1rpx;
/* width: 100%; */
left: 30rpx;
right: 30rpx;
background: #f5f5f5;
position: absolute;
bottom: 0;
}


.coupons-img {
width: 248rpx;
height: 184rpx;
overflow: hidden;
border-radius: 10rpx;
width: 180rpx;
height: 180rpx;
border: 1px solid #f8f8f8;
border-radius: 10rpx;
}

.coupons-img image {
width: 100%;
height: 100%;
display: block;
width: 180rpx;
height: 180rpx;
border-radius: 10rpx;
}

.coupons-info {
padding-left: 20rpx;
/* padding-top: 10rpx; */
padding-left: 20rpx;
}

.coupons-info-name {
font-size: 30rpx;
color: #000000;
letter-spacing: 0;
line-height: 42rpx;
font-size: 30rpx;
color: #343434;
letter-spacing: 0;
line-height: 38rpx;
}
.coupons-info-price{
padding:10rpx 0 15rpx;
height: 50rpx;
.coupons-info-price {
padding: 16rpx 0 0;
}

.i {
font-size: 24rpx;
font-style: normal;
}

.coupons-info-price-p {
font-size: 36rpx;
color: #FF3434;
letter-spacing: 0.96rpx;
line-height: 50rpx;
display: block;
font-size: 50rpx;
color: #FF4949;
}
.price{
line-height: 36rpx;
}
.tit {
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
width: 300rpx;
height: 42rpx;
font-size: 30rpx;
color: #000;
letter-spacing: 0;
font-family: PingFangSC-Medium;
}

.coupons-info-price-o {
display: inline-block;
padding-left: 20rpx;
font-size: 24rpx;
color: #B4B4B4;
letter-spacing: 0.96rpx;
text-decoration: line-through;
line-height: 24rpx;
display: block;
text-align: center;
font-size: 26rpx;
color: #b4b4b4;
letter-spacing: 0.96rpx;
text-decoration: line-through;
line-height: 24rpx;
}

.coupons-info-distance {
font-size: 22rpx;
color: #C0C0C0;
letter-spacing: 0;
padding-bottom: 10rpx;
line-height: 30rpx;
font-size: 22rpx;
color: #c0c0c0;
letter-spacing: 0;
padding-bottom: 10rpx;
line-height: 30rpx;
}

.coupons-info-address {
font-size: 22rpx;
color: #585858;
letter-spacing: 0;
line-height: 30rpx;
font-size: 22rpx;
color: #585858;
letter-spacing: 0;
line-height: 30rpx;
}

.coupons-btn {
position: absolute;
bottom: 30rpx;
right: 30rpx;
position: absolute;
top: 83rpx;
right: 30rpx;
}

.coupons-btn-gm {
background: #00C0FF !important;
border-radius: 10rpx !important;
margin: 0 !important;
padding: 0 !important;
font-family: PingFangSC-Semibold;
font-size: 28rpx;
color: #FFFFFF !important;
letter-spacing: 0;
height: 50rpx !important;
width: 114rpx !important;
line-height: 50rpx !important;
}
background: #00c0ff !important;
border-radius: 50rpx !important;
margin: 0 !important;
padding: 0 !important;
font-family: PingFangSC-Semibold;
font-size: 26rpx;
color: #fff !important;
letter-spacing: 0;
height: 48rpx !important;
width: 120rpx !important;
line-height: 48rpx !important;
}

.coupons-btn-gms {
background: #999 !important;
border-radius: 60rpx !important;
opacity: 0.6;
margin: 0 !important;
padding: 0 !important;
font-family: PingFangSC-Semibold;
font-size: 26rpx;
color: #fff !important;
letter-spacing: 0;
height: 48rpx !important;
width: 120rpx !important;
line-height: 48rpx !important;
}

.subtitle {
font-size: 24rpx;
color: #919191;
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
width: 300rpx;
/* height: 33rpx; */
line-height: 33rpx;
font-weight:lighter;
margin-bottom: 18rpx;
}

.coupons-info-manjian {
font-weight: normal;
font-size: 20rpx;
line-height: 34rpx;
display: inline-block;
color: #FF4949;
letter-spacing: 0;
}

.coupons-info-manjian1 {
font-weight: normal;
font-size: 20rpx;
line-height: 22rpx;
color: #919191;
letter-spacing: 0;
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
width: 300rpx;
margin-top: 16rpx;
}
.coupons-info-manjian text{
display: block;
line-height: 20rpx;
}
.coupons-info-manjian > text:nth-of-type(1){
display: block;
/* color: #FF4949; */
opacity: .6;
}
.view01{
text-decoration:line-through;
}
.txt2{
display: block;
color: #ccc;
}
/**上拉加载更多**/

.userinfo {
display: flex;
flex-direction: column;
align-items: center;
}

.userinfo-avatar {
width: 128rpx;
height: 128rpx;
margin: 20rpx;
border-radius: 50%;
}

.userinfo-nickname {
color: #aaa;
}

.sy {
display: block;
text-align: right;
width: 181rpx;
font-size: 24rpx;
color: #999;
height: 40rpx;
margin-top: 106rpx;
}

.usermotto {
margin-top: 200px;
}

scroll-view {
width: 100%;
}

.item {
width: 90%;
height: 300rpx;
margin: 20rpx auto;
background: brown;
overflow: hidden;
}

.item .img {
width: 430rpx;
margin-right: 20rpx;
float: left;
}

.title {
font-size: 30rpx;
display: block;
margin: 30rpx auto;
}

.description {
font-size: 26rpx;
line-height: 15rpx;
}
.navigator-hover{
opacity: 1!important;
background: #fff;
}

+ 32
- 0
components/discountCard/index.js View File

@@ -0,0 +1,32 @@
// pages/index/sw/index.js
Component({
/**
* 组件的属性列表
*/
properties: {
list: {
value: [],
type: Array
}
},

/**
* 组件的初始数据
*/
data: {
swiperCurrent: 0,
discountcardUrl: ''
},

/**
* 组件的方法列表
*/
ready() {},
methods: {
gotoDiscountCardList:function(){
wx.navigateTo({
url: '/pages/discountCardList/discountCardList',
})
}
}
});

dist/collapse-item/index.json → components/discountCard/index.json View File

@@ -1,7 +1,6 @@

{
"component": true,
"usingComponents": {
"i-icon": "../icon/index"
}
}
}

+ 5
- 0
components/discountCard/index.wxml View File

@@ -0,0 +1,5 @@
<view class='content' >
<view bindtap='gotoDiscountCardList'>
<image src='{{discountcardUrl}}' mode='widthFix'></image>
</view>
</view>

+ 6
- 0
components/discountCard/index.wxss View File

@@ -0,0 +1,6 @@
.content image{
display: block;
margin: 30rpx auto 0;
border: 1px solid red;
height: 100rpx;
}

+ 76
- 0
components/gameentry/gentry.js View File

@@ -0,0 +1,76 @@
// pages/index/sw/index.js
const Http = require("../../utils/HttpBasics");
var config = require("../../config/config.js");
Component({
properties: {
gamedata: {
type: Object,
value: {}
}
},
data: {
flag: false,
alphaData: null,
gameUrl: ''
},
methods:{
gotogame: function (e) {
let that=this;
Http.get({
url: config.api.checkPhoneStatus,
data: {}
})
.then(res => {
var data = {
couponChannelId: "" + that.data.couponChannelId,
couponId: "" + that.data.couponId
};
if (that.data.couponChannelId == null) {
var data = {
couponId: "" + that.data.couponId
};
}
wx.navigateTo({
url: '/pages/game/index?url=' + e.target.dataset.data.url + "&id=" + e.target.dataset.data.id + "&gameId=" + e.target.dataset.data.gameId,
})
})
.catch(err => {
if (err.code == 11005) {
// 用户手机未授权
/**
* 将值传到用户手机号授权的页面
*
*/
wx.redirectTo({
url: "/pages/getphoneInfo/index?path=index&url=" + e.target.dataset.data.url + "&id=" + e.target.dataset.data.id + "&gameId=" + e.target.dataset.data.gameId
});
} else if (err.code == 11006){
// 用户手机已加密
wx.redirectTo({
url: "/pages/phoneinput/phoneinput?path=index&url=" + e.target.dataset.data.url + "&id=" + e.target.dataset.data.id + "&gameId=" + e.target.dataset.data.gameId
});
}else {
wx.showToast({
title: err.errMsg,
icon: 'none',
duration: 2000,
mask: false
});
}
})
},
a: function () {
this.setData({ flag: false })
},
closeGame: function () {
let that = this;
var animation = wx.createAnimation({})
// animation.opacity(0).step({ duration: 1000 })
setTimeout(function () {
that.setData({ flag: true })
}, 500)
animation.rotateZ(180).scale(0).opacity(0.5).step({ duration: 1000 })
that.setData({ alphaData: animation.export() });
},
},
});

+ 6
- 0
components/gameentry/gentry.json View File

@@ -0,0 +1,6 @@
{
"component": true,
"usingComponents": {
}
}

+ 9
- 0
components/gameentry/gentry.wxml View File

@@ -0,0 +1,9 @@

<view class="b1" hidden="{{flag}}">
<view class="t_w">
<view class="b2" animation="{{alphaData}}">
<icon type="cancel" size="40" color="rgb(0,255,255)" class='cancel_icon' bindtap="closeGame"/>
<image class="t_image" data-data="{{gamedata}}" mode='widthFix' src="{{gamedata.imgUrl}}" bindtap="gotogame" />
</view>
</view>
</view>

+ 28
- 0
components/gameentry/gentry.wxss View File

@@ -0,0 +1,28 @@
.b1{
position:fixed;
width:100%;
height:100%;
top:0px;
background:rgba(0,0,0,0.8);
overflow: hidden;
z-index: 1000;
}
.t_w{
position:relative;
}
.b2{
width: 90%;
margin:35% auto;
overflow: hidden;
border-radius: 10rpx;
}
.t_image{
width: 100%;
display: block;
margin: 0 auto;
}
.cancel_icon{
position: absolute;
right: 30rpx;
top: -30rpx;
}

+ 45
- 0
components/spellbanner/index.js View File

@@ -0,0 +1,45 @@
// pages/index/sw/index.js
const imgurl = require("../../utils/imgurl");
Component({
/**
* 组件的属性列表
*/
properties: {
list: {
value: [],
type: Array
}
},

/**
* 组件的初始数据
*/
data: {
swiperCurrent: 0,
bannerUrl: imgurl.banner.url
},

/**
* 组件的方法列表
*/
ready() {},
methods: {
swiperChange: function(e) {
this.setData({
swiperCurrent: e.detail.current
});
},
gotobannerdetail: function(e) {
console.log(e)
if(e.currentTarget.dataset.data.type==2){
wx.navigateTo({
url: `/pages/freeBannerDetail/index?id=${e.currentTarget.dataset.id}`
});
}else{
wx.navigateTo({
url: `/pages/bannerdetail/index?id=${e.currentTarget.dataset.id}`
});
}
}
}
});

pages/index/rushToBuy/index.json → components/spellbanner/index.json View File

@@ -1,6 +1,6 @@
{
"component": true,
"usingComponents": {
"i-card": "../../../dist/card/index"
}
}

+ 14
- 0
components/spellbanner/index.wxml View File

@@ -0,0 +1,14 @@
<view wx:if="{{list.length!=0}}" class="index-slide-view">
<swiper class="index-slide" bindchange="swiperChange" autoplay="true" circular="false">
<block wx:for="{{list}}" wx:key="unique">
<swiper-item>
<image data-id="{{item.id}}" data-data="{{item}}" bindtap='gotobannerdetail' src="{{item.coverImg}}" class="index-slide-image" />
</swiper-item>
</block>
</swiper>
<view class="dots">
<block wx:for="{{list}}" wx:key="unique">
<view class="dot{{index == swiperCurrent ? ' active' : ''}}"></view>
</block>
</view>
</view>

+ 51
- 0
components/spellbanner/index.wxss View File

@@ -0,0 +1,51 @@
.index-slide-view{
position: relative;
width: 710rpx;
height: 260rpx;
overflow: hidden;
/* margin:-132rpx auto 0; */
border-radius:16rpx;
box-shadow: 0 6px 20px 0 rgba(0,0,0,0.15);
}
.index-slide,
swiper-item
.index-slide-image {
display: block;
width: 710rpx;
height: 260rpx;
margin: 0 auto;
border-radius:16rpx;
overflow: hidden;
position: relative;

}
.index-slide-view .dots{
position: absolute;
left: 0;
right: 0;
bottom: 20rpx;
display: flex;
justify-content: center;
}
.index-slide-view .dots .dot{
margin: 0 8rpx;
width: 12rpx;
height: 12rpx;
background: #b6b6b7;
border-radius: 50%;
transition: all .6s;
}
.index-slide-view .dots .dot.active{
background: #02C0FF;
width: 30rpx;
height: 12rpx;
border-radius:10rpx;
opacity: 1;
}
.bannerbg{
width: 100%;
}
.bannerbg image{
display: block;
width: 100%;
}

+ 242
- 19
config/config.js View File

@@ -1,54 +1,277 @@
var url = 'https://ciformall.youlane.cn'
//var url = 'http://localhost:8001'
var apiPrefix = url + '/C';
const extConfig = wx.getExtConfigSync ? wx.getExtConfigSync() : {}
let weappId;
let configUrls;
if (Object.keys(extConfig).length == 0){
weappId = 'wx649b3be73c1afe47';
configUrls = 'https://ctest.malls.iformall.com/C/api';
}else{
configUrls = extConfig.attr.configUrl;
weappId = extConfig.weappId;
}
var config = {
name: "富茂",
api: {
url: configUrls,
wsurl: "ws://10.100.30.171:7100/W/ws",
api: {
/**
* 接口用途:login
*/
login: '/api/user/login',
login: "/user/login",
/**
* 授权后获取用户的昵称,unionId等信息
*/
getUserInfo: '/api/user/getUserInfo',
getUserInfo: "/user/getUserInfo",
/**
* 接口用途:授权后获取用户的手机号
*/
getUserPhone: '/api/user/getUserPhone',
getUserPhone: "/user/getUserPhone",
/**
* 检查用户授权状态
*/
checkUserStatus: "/user/checkUserStatus",
/**
* 优惠券查询
* 检查用户手机授权状态
*/
couponList: '/wxCoupon/list',
checkPhoneStatus: "/user/checkPhoneStatus",
/**
* 优惠券详情
*/
couponDetail: '/wxCoupon/findById',
couponDetail: "/wxCoupon/detail",

/**
* 业态查询
*/
businessList: "/wxBusiness/list",
/**
* 频道查询
*/
couponChannelList: "/wxCouponChannel/list",
/**
* 下订单
*/
orderSave: '/api/order/save',
orderSave: "/order/save",
/**
* 支付订单
*/
payOrderCreate: '/api/pay/create',
payOrderCreate: "/pay/create",
/**
* 订单状态更新
*/
payOrderUpdate: '/api/pay/updatePayOrder',
payOrderUpdate: "/pay/updatePayOrder",
/**
* 订单列表
*/
orderList: '/api/order/list',
orderList: "/order/list",
getWeRunData: '/user/getWeRunData',
/**
* 订单详情
*/
orderDetail: "/order/detail",
/**
* 券包
*/
couponOrderList: "/couponOrder/list",
/**
* 券包详情
*/
couponOrderDetail: "/couponOrder/detail", /// TODO
/**
* 验证码发送
*/
sendValidationCode: "/wxMsgValidationcode/sendvalidationcode",
/**
* 验证码确认
*/
validationCode: "/wxMsgValidationcode/hasvalidationcode",
/**
* 车场信息获取
*/
scoreLevelInfo: '/mall/scoreLevelInfo',
getParkInfo: "/wxPark/info",
/**
* 用户所绑车牌获取
*/
userCarCount: "/user/carCount",
/**
* 用户所绑车牌获取
*/
getUserCarList: "/user/carList",
/**
* 联合登录
*/
carInit: "/car/init",
/**
* 绑车牌
*/
bindCar: "/car/bindCar",
/**
* 解绑车牌
*/
unbindCar: "/car/unbindCar",
/**
* 停车费
*/
getCarStopFee: "/car/getCarStopFee",
/**
* 停车费抵扣 (TJD)
*/
deductionFee: "/car/deductionFee",
/**
* 优免券领取
*/
getCarCoupon: "/car/getCoupon",
/**
* 停车券包
*/
couponOrderCarList: "/car/couponOrderList",
/**
* banner
*/
bannerlist: "/wxCampaign/list",
/**
* banner详情页面
*/
bannerDetail: "/wxCampaign/findById",
/**
* 授权个人信息
* 和授权手机号
* 和login页面
* 页面的图标
*/
marketicon: '/mall/getAppIcon',
/**
* 获取停车场状态
*/
getParkStatus: '/car/getParkStatus',
/**
* 检查核销的状态
*/
getStatus: "/couponOrder/getStatus",
/**
* 获得成长值
*/
getScore: '/user/userinfo',
/**
* 小程序分享
* title
* 描述
*/
getWeapNote:'/mall/getWeapNote',
/**
* 小程序获取游戏路径
*/
getGame:'/game/getOne',
/**
* 用户更新信息
*/
updateInfo: "/user/updateUserInfo",
/**
* 查询问卷
*/
getQuestion:"/wxQuestion/getQuestion",
/**
* 提交问卷
*/
answerQuestion:"/wxQuestion/answerQuestion",
/**
*
获取打折商户列表
*/
discountMerchantList:"/mall/discountMerchantList",
/**
* 卡包分页列表接口
*/
cardorderList:"/couponOrder/cardList",
/**
* 卡券详情接口
*/
cardDetail: "/couponOrder/cardDetail",
/**
* C端扫B端储值卡支付订单
*/
cardPayOrder:"/cardPay/order_create",
/**
* 兑换历史列表
*/
scoreHistory:"/scoreHistory/list",
/**
* 获取用户折扣率
*/
getDiscountInfo:"/user/getDiscountInfo",
/**
* C端扫B端储值卡交易流水列表接口
*/
cardpayList:"/cardPay/list",
/**
* 根据code查询接口
*/
findByCode:"/merchant/findByCode",
/**
* 参与砍价
*/
pressOrderJoin:"/press/pressOrderJoin",
/**
* 我的砍价列表
*/
pressOrderList:"/order/pressOrderList",
/**
* 砍价订单详情
*/
pressOrderDetail:"/order/pressOrderDetail",
/**
*
*/
getPressOrderStatus:"/press/getPressOrderStatus",
/**
* 查询转赠卡状态
*/
queryCardStatus:"/couponOrder/queryCardStatus",
/**
* 领取转赠卡
*/
cardAccept:'/couponOrder/cardAccept',
/**
* 获取我的拼团列表
*/
getMySepllList:'/orderGroup/queryOrderGroup',
/**
*查询差1个的团购信息
*/
queryRemainOne:'/orderGroup/queryRemainOne',
/**
* *分页列表接口
*/
merchantList:"/merchant/list",
/*
* 查询拼团状态
*/
queryOrderGroupStatus:'/orderGroup/queryOrderGroupStatus',
/**
* 去拼团
*/
toOrderGroup: '/orderGroup/toOrderGroup',
/**
* 查询是否已参团
*/
queryAttendStatus:'/orderGroup/queryAttendStatus'
},
wsapi: {
/**
*
*/

},
weapp: {
AppId: 'wx649b3be73c1afe47',
AppId: weappId
},
ErrorCode: {
NICK_NOT_AUTH: 11004,
PHONE_NOT_AUTH: 11005,
PHONE_IS_ENCRYPTED: 11006
}
};

/*
for (var key in config.api) {
config.api[key] = apiPrefix + config.api[key];
config.api[key] = apiPrefix + config.api[key];
}

*/
module.exports = config;

+ 0
- 47
dist/action-sheet/index.js View File

@@ -1,47 +0,0 @@
Component({
externalClasses: ['i-class', 'i-class-mask', 'i-class-header'],

options: {
multipleSlots: true
},

properties: {
visible: {
type: Boolean,
value: false
},
maskClosable: {
type: Boolean,
value: true
},
showCancel: {
type: Boolean,
value: false
},
cancelText: {
type: String,
value: '取消'
},
actions: {
type: Array,
value: []
}
},

methods: {
handleClickMask () {
if (!this.data.maskClosable) return;
this.handleClickCancel();
},

handleClickItem ({ currentTarget = {} }) {
const dataset = currentTarget.dataset || {};
const { index } = dataset;
this.triggerEvent('click', { index });
},

handleClickCancel () {
this.triggerEvent('cancel');
}
}
});

+ 0
- 8
dist/action-sheet/index.json View File

@@ -1,8 +0,0 @@
{
"component": true,
"usingComponents":
{
"i-button": "../button/index",
"i-icon": "../icon/index"
}
}

+ 0
- 23
dist/action-sheet/index.wxml View File

@@ -1,23 +0,0 @@
<view class="i-as-mask i-class-mask {{ visible ? 'i-as-mask-show' : '' }}" bindtap="handleClickMask"></view>
<view class="i-class i-as {{ visible ? 'i-as-show' : '' }}">
<view class="i-as-header i-class-header"><slot name="header"></slot></view>
<view class="i-as-actions">
<view class="i-as-action-item" wx:for="{{ actions }}" wx:key="{{ item.name }}">
<i-button
bind:click="handleClickItem"
data-index="{{ index }}"
open-type="{{ item.openType }}"
type="ghost"
size="large"
long
>
<view class="i-as-btn-loading" wx:if="{{ item.loading }}"></view>
<i-icon wx:if="{{ item.icon }}" type="{{ item.icon }}" i-class="i-as-btn-icon"></i-icon>
<view class="i-as-btn-text" style="{{ item.color ? 'color: ' + item.color : '' }}">{{ item.name }}</view>
</i-button>
</view>
</view>
<view class="i-as-cancel" wx:if="{{ showCancel }}">
<i-button i-class="i-as-cancel-btn" type="ghost" size="large" long="true" bind:click="handleClickCancel">{{ cancelText }}</i-button>
</view>
</view>

+ 0
- 1
dist/action-sheet/index.wxss View File

@@ -1 +0,0 @@
.i-as{position:fixed;width:100%;box-sizing:border-box;left:0;right:0;bottom:0;background:#f7f7f7;transform:translate3d(0,100%,0);transform-origin:center;transition:all .2s ease-in-out;z-index:900;visibility:hidden}.i-as-show{transform:translate3d(0,0,0);visibility:visible}.i-as-mask{position:fixed;top:0;left:0;right:0;bottom:0;background:rgba(0,0,0,.7);z-index:900;transition:all .2s ease-in-out;opacity:0;visibility:hidden}.i-as-mask-show{opacity:1;visibility:visible}.i-as-action-item{position:relative}.i-as-action-item::after{content:'';position:absolute;top:0;left:0;width:200%;height:200%;transform:scale(.5);transform-origin:0 0;pointer-events:none;box-sizing:border-box;border:0 solid #e9eaec;border-bottom-width:1px}.i-as-header{background:#fff;text-align:center;position:relative;font-size:12px;color:#80848f}.i-as-header::after{content:'';position:absolute;top:0;left:0;width:200%;height:200%;transform:scale(.5);transform-origin:0 0;pointer-events:none;box-sizing:border-box;border:0 solid #e9eaec;border-bottom-width:1px}.i-as-cancel{margin-top:6px}.i-as-btn-loading{display:inline-block;vertical-align:middle;margin-right:10px;width:12px;height:12px;background:0 0;border-radius:50%;border:2px solid #e5e5e5;border-color:#666 #e5e5e5 #e5e5e5 #e5e5e5;animation:btn-spin .6s linear;animation-iteration-count:infinite}.i-as-btn-text{display:inline-block;vertical-align:middle}.i-as-btn-icon{font-size:14px!important;margin-right:4px}@keyframes btn-spin{0%{transform:rotate(0)}100%{transform:rotate(360deg)}}

+ 0
- 37
dist/alert/index.js View File

@@ -1,37 +0,0 @@
Component({
externalClasses: ['i-class'],
options: {
multipleSlots: true
},
properties: {
//info, success, warning, error
type: {
type: String,
value: 'info'
},
closable: {
type: Boolean,
value: false
},
showIcon: {
type: Boolean,
default: false
},
desc: {
type: Boolean,
default: false
},
},
data: {
closed: false
},
methods: {
handleTap() {
this.setData({
closed: !this.data.closed,
});
this.triggerEvent('close');
},

}
});

+ 0
- 7
dist/alert/index.json View File

@@ -1,7 +0,0 @@
{
"component": true,
"usingComponents":
{
"i-icon": "../icon/index"
}
}

+ 0
- 15
dist/alert/index.wxml View File

@@ -1,15 +0,0 @@
<view class="i-class i-alert {{'i-alert-'+type}} {{showIcon?'i-alert-with-icon':''}} {{desc?'i-alert-with-desc':''}}" wx:if="{{!closed}}">
<view wx:if="{{ showIcon }}" class="i-alert-icon">
<i-icon type="prompt" wx:if="{{ type === 'info' }}" size="{{desc?24:16}}"></i-icon>
<i-icon type="success" wx:if="{{ type === 'success' }}" size="{{desc?24:16}}"></i-icon>
<i-icon type="warning" wx:if="{{ type === 'warning' }}" size="{{desc?24:16}}"></i-icon>
<i-icon type="delete" wx:if="{{ type === 'error' }}" size="{{desc?24:16}}"></i-icon>
</view>
<slot></slot>
<view class="i-alert-desc">
<slot name="desc"></slot>
</view>
<view class="i-alert-close" wx:if="{{ closable }}" bindtap="handleTap">
<i-icon type="close"></i-icon>
</view>
</view>

+ 0
- 1
dist/alert/index.wxss View File

@@ -1 +0,0 @@
.i-alert{position:relative;margin:10px;padding:8px 48px 8px 16px;font-size:14px;border-radius:2px;color:#fff;background:#f7f7f7;color:#495060}.i-alert.i-alert-with-icon{padding:8px 48px 8px 38px}.i-alert-info{color:#fff;background:#2db7f5}.i-alert-success{color:#fff;background:#19be6b}.i-alert-warning{color:#fff;background:#f90}.i-alert-error{color:#fff;background:#ed3f14}.i-alert-icon{position:absolute;top:9px;left:16px;font-size:14px}.i-alert-desc{font-size:12px}.i-alert-with-desc{padding:16px;position:relative}.i-alert-with-desc.i-alert-with-icon{padding:16px 16px 16px 69px}.i-alert-with-desc .i-alert-icon{top:50%;left:24px;margin-top:-21px;font-size:28px}.i-alert-close{font-size:12px;position:absolute;right:16px;top:8px;overflow:hidden;cursor:pointer}

+ 0
- 20
dist/avatar/index.js View File

@@ -1,20 +0,0 @@
Component({
externalClasses: ['i-class'],

properties: {
// circle || square
shape: {
type: String,
value: 'circle'
},
// small || large || default
size: {
type: String,
value: 'default'
},
src: {
type: String,
value: ''
}
}
});

+ 0
- 3
dist/avatar/index.json View File

@@ -1,3 +0,0 @@
{
"component": true
}

+ 0
- 4
dist/avatar/index.wxml View File

@@ -1,4 +0,0 @@
<view class="i-class i-avatar i-avatar-{{ shape }} i-avatar-{{ size }} {{ src ? 'i-avatar-image' : '' }}">
<image src="{{ src }}" wx:if="{{ src !== '' }}"></image>
<view class="i-avatar-string" wx:else><slot></slot></view>
</view>

+ 0
- 1
dist/avatar/index.wxss View File

@@ -1 +0,0 @@
.i-avatar{display:inline-block;text-align:center;background:#ccc;color:#fff;white-space:nowrap;position:relative;overflow:hidden;vertical-align:middle;width:32px;height:32px;line-height:32px;border-radius:16px;font-size:18px}.i-avatar .ivu-avatar-string{line-height:32px}.i-avatar-large{width:40px;height:40px;line-height:40px;border-radius:20px;font-size:24px}.i-avatar-large .ivu-avatar-string{line-height:40px}.i-avatar-small{width:24px;height:24px;line-height:24px;border-radius:12px;font-size:14px}.i-avatar-small .ivu-avatar-string{line-height:24px}.i-avatar-image{background:0 0}.i-avatar-square{border-radius:4px}.i-avatar>image{width:100%;height:100%}

+ 0
- 37
dist/base/index.js View File

@@ -1,37 +0,0 @@
function getCtx (selector) {
const pages = getCurrentPages();
const ctx = pages[pages.length - 1];

const componentCtx = ctx.selectComponent(selector);

if (!componentCtx) {
console.error('无法找到对应的组件,请按文档说明使用组件');
return null;
}
return componentCtx;
}

function Toast(options) {
const { selector = '#toast' } = options;
const ctx = getCtx(selector);

ctx.handleShow(options);
}

Toast.hide = function (selector = '#toast') {
const ctx = getCtx(selector);

ctx.handleHide();
};

function Message(options) {
const { selector = '#message' } = options;
const ctx = getCtx(selector);

ctx.handleShow(options);
}

module.exports = {
$Toast: Toast,
$Message: Message
};

+ 0
- 26
dist/card/index.js View File

@@ -1,26 +0,0 @@
Component({
externalClasses: ['i-class'],

options: {
multipleSlots: true
},

properties: {
full: {
type: Boolean,
value: false
},
thumb: {
type: String,
value: ''
},
title: {
type: String,
value: ''
},
extra: {
type: String,
value: ''
}
}
});

+ 0
- 3
dist/card/index.json View File

@@ -1,3 +0,0 @@
{
"component": true
}

+ 0
- 11
dist/card/index.wxml View File

@@ -1,11 +0,0 @@
<view class="i-class i-card {{ full ? 'i-card-full' : '' }}">
<view class="i-class i-card-header">
<view class="i-card-header-content">
<image class="i-card-header-thumb" src="{{ thumb }}" mode="aspectFit" wx:if="{{ thumb }}" />
{{ title }}
</view>
<view class="i-card-header-extra" wx:if="{{ extra }}">{{ extra }}</view>
</view>
<view class="i-class i-card-body"><slot name="content"></slot></view>
<view class="i-class i-card-footer"><slot name="footer"></slot></view>
</view>

+ 0
- 1
dist/card/index.wxss View File

@@ -1 +0,0 @@
.i-card{margin:0 16px;font-size:14px;overflow:hidden;position:relative;background:#fff;border:1rpx solid #dddee1;border-radius:5px}.i-card-full{margin:0;border-left:none;border-right:none;border-radius:0}.i-card-header{display:flex;padding:6px 16px;align-items:center}.i-card-header-content{flex:1;text-align:left}.i-card-header-thumb{display:inline-block;width:64px;height:64px;position:relative;margin-left:auto;margin-right:auto;overflow:hidden;background-size:cover;vertical-align:middle}.i-card-header-title{display:inline-block;vertical-align:middle;font-size:14px;color:#1c2438}.i-card-header-extra{flex:1;text-align:right;font-size:14px;color:#80848f}.i-card-body{position:relative;padding:6px 16px;color:#495060;font-size:14px}.i-card-body::before{content:'';position:absolute;top:0;left:0;width:200%;height:200%;transform:scale(.5);transform-origin:0 0;pointer-events:none;box-sizing:border-box;border:0 solid #e9eaec;border-top-width:1px}.i-card-footer{position:relative;padding:6px 16px;color:#80848f;font-size:12px}

+ 0
- 33
dist/cell-group/index.js View File

@@ -1,33 +0,0 @@
Component({
externalClasses: ['i-class'],

relations: {
'../cell/index': {
type: 'child',
linked () {
this._updateIsLastCell();
},
linkChanged () {
this._updateIsLastCell();
},
unlinked () {
this._updateIsLastCell();
}
}
},

methods: {
_updateIsLastCell() {
let cells = this.getRelationNodes('../cell/index');
const len = cells.length;

if (len > 0) {
let lastIndex = len - 1;

cells.forEach((cell, index) => {
cell.updateIsLastCell(index === lastIndex);
});
}
}
}
});

+ 0
- 3
dist/cell-group/index.json View File

@@ -1,3 +0,0 @@
{
"component": true
}

+ 0
- 3
dist/cell-group/index.wxml View File

@@ -1,3 +0,0 @@
<view class="i-class i-cell-group">
<slot></slot>
</view>

+ 0
- 86
dist/cell/index.js View File

@@ -1,86 +0,0 @@
const warn = (msg, getValue) => {
console.warn(msg);
console.log('接受到的值为:', getValue);
};

Component({
externalClasses: ['i-class'],

options: {
multipleSlots: true
},

relations: {
'../cell-group/index': {
type: 'parent'
}
},

properties: {
// 左侧标题
title: {
type: String
},
// 标题下方的描述信息
label: {
type: String
},
// 右侧内容
value: {
type: String
},
// 只有点击 footer 区域才触发 tab 事件
onlyTapFooter: {
type: Boolean
},
// 是否展示右侧箭头并开启尝试以 url 跳转
isLink: {
type: null,
value: ''
},
// 链接类型,可选值为 navigateTo,redirectTo,switchTab,reLaunch
linkType: {
type: String,
value: 'navigateTo'
},
url: {
type: String,
value: ''
}
},

data: {
isLastCell: true
},

methods: {
navigateTo () {
const { url } = this.data;
const type = typeof this.data.isLink;

this.triggerEvent('click', {});

if (!this.data.isLink || !url || url === 'true' || url === 'false') return;

if (type !== 'boolean' && type !== 'string') {
warn('isLink 属性值必须是一个字符串或布尔值', this.data.isLink);
return;
}

if (['navigateTo', 'redirectTo', 'switchTab', 'reLaunch'].indexOf(this.data.linkType) === -1) {
warn('linkType 属性可选值为 navigateTo,redirectTo,switchTab,reLaunch', this.data.linkType);
return;
}
wx[this.data.linkType].call(wx, {url});
},
handleTap () {
if (!this.data.onlyTapFooter) {
this.navigateTo();
}
},

updateIsLastCell (isLastCell) {
this.setData({ isLastCell });
}
}
});

+ 0
- 16
dist/cell/index.wxml View File

@@ -1,16 +0,0 @@
<view bindtap="handleTap" class="i-class i-cell {{ isLastCell ? 'i-cell-last' : '' }} {{ isLink ? 'i-cell-access' : '' }}">
<view class="i-cell-icon">
<slot name="icon"></slot>
</view>
<view class="i-cell-bd">
<view wx:if="{{ title }}" class="i-cell-text">{{ title }}</view>
<view wx:if="{{ label }}" class="i-cell-desc">{{ label }}</view>
<slot></slot>
</view>
<view catchtap="navigateTo" class="i-cell-ft">
<block wx:if="{{value}}">{{ value }}</block>
<block wx:else>
<slot name="footer"></slot>
</block>
</view>
</view>

+ 0
- 1
dist/cell/index.wxss View File

@@ -1 +0,0 @@
.i-cell{position:relative;padding:12px 15px;display:flex;background:#fff;align-items:center;line-height:1.4;font-size:14px;overflow:hidden}.i-cell::after{content:'';position:absolute;top:0;left:0;width:200%;height:200%;transform:scale(.5);transform-origin:0 0;pointer-events:none;box-sizing:border-box;border:0 solid #e9eaec;border-bottom-width:1px;left:15px;right:0}.i-cell-last::after{display:none}.i-cell-icon{margin-right:5px}.i-cell-icon:empty{display:none}.i-cell-bd{flex:1}.i-cell-text{line-height:24px;font-size:14px}.i-cell-desc{line-height:1.2;font-size:12px;color:#80848f}.i-cell-ft{position:relative;text-align:right;color:#495060}.i-cell-access .i-cell-ft{padding-right:13px}.i-cell-access .i-cell-ft::after{content:" ";display:inline-block;width:6px;height:6px;position:absolute;top:50%;right:2px;border-width:2px 2px 0 0;border-color:#dddee1;border-style:solid;transform:translateY(-50%) matrix(.71,.71,-.71,.71,0,0)}

+ 0
- 38
dist/checkbox-group/index.js View File

@@ -1,38 +0,0 @@
Component({
externalClasses: ['i-class'],
relations: {
'../checkbox/index': {
type: 'child',
linked() {
this.changeCurrent();
},
linkChanged() {
this.changeCurrent();
},
unlinked() {
this.changeCurrent();
}
}
},
properties: {
current: {
type: Array,
value: [],
observer: 'changeCurrent'
},
},
methods: {
changeCurrent(val = this.data.current) {
let items = this.getRelationNodes('../checkbox/index');
const len = items.length;
if (len > 0) {
items.forEach(item => {
item.changeCurrent(val.indexOf(item.data.value) !== -1);
});
}
},
emitEvent(current) {
this.triggerEvent('change', current);
}
}
});

+ 0
- 7
dist/checkbox-group/index.json View File

@@ -1,7 +0,0 @@
{
"component": true,
"usingComponents":
{
"i-cell-group": "../cell-group/index"
}
}

+ 0
- 3
dist/checkbox-group/index.wxml View File

@@ -1,3 +0,0 @@
<i-cell-group class="i-class">
<slot></slot>
</i-cell-group>

+ 0
- 56
dist/checkbox/index.js View File

@@ -1,56 +0,0 @@
const prefixCls = 'i-checkbox';

Component({
externalClasses: ['i-class'],
relations: {
'../checkbox-group/index': {
type: 'parent'
}
},
properties: {
value: {
type: String,
value: ''
},
checked: {
type: Boolean,
value: false
},
disabled: {
type: Boolean,
value: false
},
color: {
type: String,
value: '#2d8cf0'
},
position: {
type: String,
value: 'left', //left right
observer: 'setPosition'
}
},
data: {
checked: true,
positionCls: `${prefixCls}-checkbox-left`,
},
attached() {
this.setPosition();
},
methods: {
changeCurrent(current) {
this.setData({ checked: current });
},
checkboxChange() {
if (this.data.disabled) return;
const item = { current: !this.data.checked, value: this.data.value };
const parent = this.getRelationNodes('../checkbox-group/index')[0];
parent ? parent.emitEvent(item) : this.triggerEvent('change', item);
},
setPosition() {
this.setData({
positionCls: this.data.position.indexOf('left') !== -1 ? `${prefixCls}-checkbox-left` : `${prefixCls}-checkbox-right`,
});
}
}
});

+ 0
- 7
dist/checkbox/index.json View File

@@ -1,7 +0,0 @@
{
"component": true,
"usingComponents":
{
"i-cell": "../cell/index"
}
}

+ 0
- 8
dist/checkbox/index.wxml View File

@@ -1,8 +0,0 @@
<view class="i-class i-checkbox" catchtap="checkboxChange">
<i-cell i-class="i-checkbox-cell">
<label>
<radio value="{{value}}" checked="{{checked}}" color="{{checked?color:''}}" disabled="{{disabled}}" class="i-checkbox-radio {{positionCls}}" />
<view class="i-checkbox-title">{{value}}</view>
</label>
</i-cell>
</view>

+ 0
- 1
dist/checkbox/index.wxss View File

@@ -1 +0,0 @@
.i-checkbox-cell::after{display:block}.i-checkbox-checkbox-left{float:left}.i-checkbox-checkbox-right{float:right}.i-checkbox-radio{vertical-align:middle}.i-checkbox-title{display:inline-block;vertical-align:middle}

+ 0
- 20
dist/col/index.js View File

@@ -1,20 +0,0 @@
Component({
externalClasses: ['i-class'],

relations: {
'../row/index': {
type: 'parent'
}
},

properties: {
span: {
value: 0,
type: Number
},
offset: {
value: 0,
type: Number
}
}
});

+ 0
- 1
dist/col/index.wxml View File

@@ -1 +0,0 @@
<view class="i-class i-col {{ span ? 'i-col-span-' + span : '' }} {{ offset ? 'i-col-offset-' + offset : '' }}"><slot></slot></view>

+ 0
- 1
dist/col/index.wxss View File

@@ -1 +0,0 @@
.i-col{float:left;box-sizing:border-box;width:0}.i-col-span-1{display:block;width:4.16666667%}.i-col-offset-1{margin-left:4.16666667%}.i-col-span-2{display:block;width:8.33333333%}.i-col-offset-2{margin-left:8.33333333%}.i-col-span-3{display:block;width:12.5%}.i-col-offset-3{margin-left:12.5%}.i-col-span-4{display:block;width:16.66666667%}.i-col-offset-4{margin-left:16.66666667%}.i-col-span-5{display:block;width:20.83333333%}.i-col-offset-5{margin-left:20.83333333%}.i-col-span-6{display:block;width:25%}.i-col-offset-6{margin-left:25%}.i-col-span-7{display:block;width:29.16666667%}.i-col-offset-7{margin-left:29.16666667%}.i-col-span-8{display:block;width:33.33333333%}.i-col-offset-8{margin-left:33.33333333%}.i-col-span-9{display:block;width:37.5%}.i-col-offset-9{margin-left:37.5%}.i-col-span-10{display:block;width:41.66666667%}.i-col-offset-10{margin-left:41.66666667%}.i-col-span-11{display:block;width:45.83333333%}.i-col-offset-11{margin-left:45.83333333%}.i-col-span-12{display:block;width:50%}.i-col-offset-12{margin-left:50%}.i-col-span-13{display:block;width:54.16666667%}.i-col-offset-13{margin-left:54.16666667%}.i-col-span-14{display:block;width:58.33333333%}.i-col-offset-14{margin-left:58.33333333%}.i-col-span-15{display:block;width:62.5%}.i-col-offset-15{margin-left:62.5%}.i-col-span-16{display:block;width:66.66666667%}.i-col-offset-16{margin-left:66.66666667%}.i-col-span-17{display:block;width:70.83333333%}.i-col-offset-17{margin-left:70.83333333%}.i-col-span-18{display:block;width:75%}.i-col-offset-18{margin-left:75%}.i-col-span-19{display:block;width:79.16666667%}.i-col-offset-19{margin-left:79.16666667%}.i-col-span-20{display:block;width:83.33333333%}.i-col-offset-20{margin-left:83.33333333%}.i-col-span-21{display:block;width:87.5%}.i-col-offset-21{margin-left:87.5%}.i-col-span-22{display:block;width:91.66666667%}.i-col-offset-22{margin-left:91.66666667%}.i-col-span-23{display:block;width:95.83333333%}.i-col-offset-23{margin-left:95.83333333%}.i-col-span-24{display:block;width:100%}.i-col-offset-24{margin-left:100%}

+ 0
- 46
dist/collapse-item/index.js View File

@@ -1,46 +0,0 @@
Component({
externalClasses: ['i-class-content', 'i-class-title', 'i-class'],

relations: {
'../collapse/index': {
type: 'parent',
linked: function (target) {
const options = {
accordion: target.data.accordion
}
if (target.data.name === this.data.name) {
options.showContent = 'i-collapse-item-show-content';
}
this.setData(options);
}
}
},

properties: {
title: String,
name: String
},

data: {
showContent: '',
accordion: false
},

options: {
multipleSlots: true
},

methods: {
trigger(e) {
const data = this.data;
if (data.accordion) {
this.triggerEvent('collapse', {name: data.name}, {composed: true, bubbles: true});
} else {
this.setData({
showContent: data.showContent ? '' : 'i-collapse-item-show-content'
});
}
},
}
});


+ 0
- 9
dist/collapse-item/index.wxml View File

@@ -1,9 +0,0 @@
<view id="{{name}}" class="i-class i-collapse-item ">
<view class="i-collapse-item-title-wrap" bindtap="trigger">
<i-icon size="16" type="enter" i-class="{{ showContent ? 'i-collapse-item-arrow-show' : 'i-collapse-item-arrow' }}"/>
<text class="i-collapse-item-title i-class-title">{{title}}</text>
</view>
<view class="i-collapse-item-content {{showContent}} i-class-content">
<slot name="content"></slot>
</view>
</view>

+ 0
- 1
dist/collapse-item/index.wxss View File

@@ -1 +0,0 @@
.i-collapse-item{padding:2px 8px;border-top:1px solid #dddee1}.i-collapse-item-title{vertical-align:middle}.i-collapse-item-title-wrap{padding:2px 0 0}.i-collapse-item-content{padding:6px;display:none}.i-collapse-item-show-content{display:block}.i-collapse-item-arrow{transition:transform .2s ease-in-out}.i-collapse-item-arrow-show{transition:transform .2s ease-in-out;transform:rotate(90deg)}

+ 0
- 31
dist/collapse/index.js View File

@@ -1,31 +0,0 @@
Component({
externalClasses: ['i-class'],

relations: {
'../collapse-item/index': {
type: 'child'
}
},
properties: {
name: String,
accordion: Boolean
},
methods: {
clickfn(e) {
const params = e.detail;
const allList = this.getRelationNodes('../collapse-item/index');
allList.forEach((item) => {
if (params.name === item.data.name) {
item.setData({
showContent: 'i-collapse-item-show-content'
});
} else {
item.setData({
showContent: ''
});
}
});
},
}
});


+ 0
- 3
dist/collapse/index.json View File

@@ -1,3 +0,0 @@
{
"component": true
}

+ 0
- 4
dist/collapse/index.wxml View File

@@ -1,4 +0,0 @@
<view class="i-class i-collapse" bindcollapse="clickfn">
<slot></slot>
</view>


+ 0
- 90
dist/count-down/index.js View File

@@ -1,90 +0,0 @@
Component({
properties: {
target: Number,
showDay: Boolean,
callback: String,
format: Array,
clearTimer: Boolean
},
externalClasses: ['countdown-class'],
data: {
time: '',
resultFormat: [],
changeFormat: false
},
ready() {
this.getFormat();

},
methods: {
getFormat() {
const data = this.data;
const len = data.format.length;

if (!data.showDay) data.resultFormat.push('');

if (len >= 3) {
for (let i = 0; i < len; i++) {
if (data.resultFormat.length >= 4) break;
if (data.format[i]) {
data.resultFormat.push(data.format[i].toString());
}
}

if (data.resultFormat.length >= 4) data.changeFormat = true;
}

this.getLastTime();
},
init() {
const self = this;
setTimeout(function () {
self.getLastTime.call(self);
}, 1000);
},
getLastTime() {
const data = this.data;
const gapTime = Math.ceil((data.target - new Date().getTime()) / 1000);
let result = '';
let time = '00:00:00';
let day = '00';
const format = data.resultFormat;

if (gapTime > 0) {
day = this.formatNum(parseInt(gapTime / 86400));
let lastTime = gapTime % 86400;
const hour = this.formatNum(parseInt(lastTime / 3600));
lastTime = lastTime % 3600;
const minute = this.formatNum(parseInt(lastTime / 60));
const second = this.formatNum(lastTime % 60);

if (data.changeFormat) time = `${hour}${format[1]}${minute}${format[2]}${second}${format[3]}`;
else time = `${hour}:${minute}:${second}`;

if (!data.clearTimer) this.init.call(this);
} else {
this.endfn();
}

if (data.showDay) {
if (data.changeFormat) {
result = `${day}${format[0]} ${time}`;
} else {
result = `${day}d ${time}`;
}
} else {
result = time;
}
this.setData({
time: result
});

},
formatNum(num) {
return num > 9 ? num : `0${num}`;
},
endfn() {
this.triggerEvent('callback', {});
}
}
});

+ 0
- 4
dist/count-down/index.json View File

@@ -1,4 +0,0 @@

{
"component": true
}

+ 0
- 4
dist/count-down/index.wxml View File

@@ -1,4 +0,0 @@
<text class="countdown-class">
{{time}}
</text>


+ 0
- 0
dist/count-down/index.wxss View File


+ 0
- 25
dist/divider/index.js View File

@@ -1,25 +0,0 @@
Component({
externalClasses: ['i-class'],
properties: {
content: {
type: String,
value: ''
},
height : {
type: Number,
value: 48
},
color : {
type : String,
value : '#80848f'
},
lineColor : {
type : String,
value : '#e9eaec'
},
size : {
type: String,
value: 12
}
}
});

+ 0
- 3
dist/divider/index.json View File

@@ -1,3 +0,0 @@
{
"component": true
}

+ 0
- 19
dist/divider/index.wxml View File

@@ -1,19 +0,0 @@
<view class="i-divider i-class" style="{{parse.getStyle(color,size,height)}}">
<view class="i-divider-content" wx:if="{{content !== ''}}">
{{content}}
</view>
<view class="i-divider-content" wx:else>
<slot></slot>
</view>
<view class="i-divider-line" style="background:{{lineColor}}"></view>
</view>
<wxs module="parse">
module.exports = {
getStyle : function(color,size,height){
var color = 'color:' + color +';';
var size = 'font-size:' + size + 'px;';
var height = 'height:' + height+'px;'
return color + size + height;
}
}
</wxs>

+ 0
- 1
dist/divider/index.wxss View File

@@ -1 +0,0 @@
.i-divider{width:100%;text-align:center;font-size:12px;position:relative;display:flex;align-items:center;justify-content:center}.i-divider-line{position:absolute;left:0;width:100%;height:1rpx;background-color:#f7f7f7;top:50%}.i-divider-content{background:#fff;position:relative;z-index:1;display:inline-block;padding:0 10px}

+ 0
- 33
dist/drawer/index.js View File

@@ -1,33 +0,0 @@
Component({
externalClasses: ['i-class'],
properties: {
visible: {
type: Boolean,
value: false
},

mask: {
type: Boolean,
value: true
},

maskClosable: {
type: Boolean,
value: true
},

mode: {
type: String,
value: 'left' // left right
}
},
data: {},
methods: {
handleMaskClick() {
if (!this.data.maskClosable) {
return;
}
this.triggerEvent('close', {});
}
}
});

+ 0
- 3
dist/drawer/index.json View File

@@ -1,3 +0,0 @@
{
"component": true
}

+ 0
- 6
dist/drawer/index.wxml View File

@@ -1,6 +0,0 @@
<view class="i-class i-drawer {{ visible ? 'i-drawer-show' : '' }} {{ 'i-drawer-' + mode }}">
<view wx:if="{{ mask }}" class="i-drawer-mask" bindtap="handleMaskClick"></view>
<view class="i-drawer-container">
<slot></slot>
</view>
</view>

+ 0
- 1
dist/drawer/index.wxss View File

@@ -1 +0,0 @@
.i-drawer{visibility:hidden}.i-drawer-show{visibility:visible}.i-drawer-show .i-drawer-mask{display:block;opacity:1}.i-drawer-show .i-drawer-container{opacity:1}.i-drawer-show.i-drawer-left .i-drawer-container,.i-drawer-show.i-drawer-right .i-drawer-container{transform:translate3d(0,-50%,0)}.i-drawer-mask{opacity:0;position:fixed;top:0;left:0;right:0;bottom:0;z-index:6;background:rgba(0,0,0,.6);transition:all .3s ease-in-out}.i-drawer-container{position:fixed;left:50%;top:50%;transform:translate3d(-50%,-50%,0);transform-origin:center;transition:all .3s ease-in-out;z-index:7;opacity:0}.i-drawer-left .i-drawer-container{left:0;top:50%;transform:translate3d(-100%,-50%,0)}.i-drawer-right .i-drawer-container{right:0;top:50%;left:auto;transform:translate3d(100%,-50%,0)}

+ 0
- 10
dist/grid-icon/index.js View File

@@ -1,10 +0,0 @@
Component({
externalClasses: ['i-class'],

relations: {
'../grid-item/index': {
type: 'parent'
}
},

});

+ 0
- 3
dist/grid-icon/index.json View File

@@ -1,3 +0,0 @@
{
"component": true
}

+ 0
- 1
dist/grid-icon/index.wxml View File

@@ -1 +0,0 @@
<view class="i-class i-grid-icon"><slot></slot></view>

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

Loading…
Cancel
Save