Tron 468ba969cb Merge pull request #222 from John-Hong/John/release-2.14.0/KIP-11233 il y a 2 ans
..
api 149e2b0950 fix(KIP-11250): Temp parking frontend | 已登录状态 |parking-user 校验 il y a 2 ans
common 73c5ea254b 备份1 il y a 2 ans
components 02fafd8be3 fix(KIP-10894): 【DE】【C端】【临时停车】。全拼键盘应无法选择"O"和"I" il y a 2 ans
crmPages 0845a7ffed Merge branch 'Microservices' into lock/Microservices/inovice il y a 2 ans
images a974dbd168 feat: 复制 CRM 的临时停车页面 il y a 2 ans
kui 59d08520c7 fix(KIP-10473): 静安开票失败的时候,点击”失败原因“不显示内容 il y a 2 ans
lib 428c0b6a9c feat(KIP-9392): Rollout Kerry+ |Office temp parking H5 il y a 2 ans
mixins 7ffce67e18 fix-7183(KIP-7183): H5端已登录用户,在token失效之后,重新登录 il y a 2 ans
pages 468ba969cb Merge pull request #222 from John-Hong/John/release-2.14.0/KIP-11233 il y a 2 ans
plugins fd19493fef 无牌车流程优化 il y a 2 ans
routes a59ab1a7f5 feat: 引入ui-mobile源码 il y a 2 ans
static 526107e8f2 feat: 微服务接入改造30%(创建订单页面:优惠券选择逻辑优化) il y a 2 ans
store b11b8c1b6e fix(KIP-11250): Temp parking frontend | 已登录状态 |parking-user 校验 il y a 2 ans
styles 7966ab3179 feat(KIP-9697): KIP | Temporary Parking H5 |浦东嘉里有牌车临停功能联调 il y a 2 ans
utils 0c38abf1cd fix(KIP-11250): Temp parking frontend | 已登录状态 |parking-user 校验 il y a 2 ans
App.vue 0b784dd554 使用语义化的枚举值,替换数值来描述用户的登录状态; il y a 2 ans
README.md 25361392c3 加入环境切换功能 il y a 2 ans
constants.js a06f4387a2 feat(SCRM-2416): C端|H5停车缴费登陆注册入口 il y a 2 ans
extension.js 606fbd9a90 first commit il y a 2 ans
main.js 481cda6be3 feat(KIP-11184): Temp parking | ali program | H5 & native 信息交互 postMessage通讯 il y a 2 ans
manifest.json dc8ab092a0 feat(KIP-7543): H5临时停车|前端 | 杭州K+ H5临时停车露出 il y a 2 ans
pages.json 52c6138f23 Revert "LBS 颜色切换" il y a 2 ans
project.config.json 606fbd9a90 first commit il y a 2 ans
project.private.config.json 606fbd9a90 first commit il y a 2 ans

README.md

启动前准备:

  • 确保微信开发工具中登录的账号是当前小程序的开发者
  • 因为引用了外部包所以需要指向npm install命令

关于用户信息以及鉴权:

KIP相关: app.globalData.auth存储的是token相关数据, 在/auth/openid-login之后会将token存储在storage中使用uni.setStorageSync('kipAccessToken', access_token)

原有信息: app.globalData.openId,app.globalData.userInfo,app.globalData.member,app.globalData.wxMember; 同时这些信息在storage中也有一份 userInfo 是会员授权信息调用 getUserProfile 获取到的,其他信息是调用接口获取到的,memberwxMember是一样的数据

切换环境准备

1.manifest.json中mp-weixinappid配置 2.request-kip.js中APPID配置 3.api-kip.js中BASE_URL配置 4.plugins/install.js中$baseURL,$baseURLH5,$wsBaseURL,$picUrl,

环境变量说明

本项目代码使用了 CRM 的停车缴费代码,由于该项目中存在大量小程序方面的代码,需要单独配置一套环境数据,来确保本项目的环境指向是正确的。

window.env = 'dev|qa|prod'