diff --git a/.hbuilderx/launch.json b/.hbuilderx/launch.json index 81f13f4..0cc00e9 100644 --- a/.hbuilderx/launch.json +++ b/.hbuilderx/launch.json @@ -1,16 +1,20 @@ -{ // launch.json 配置了启动调试时相关设置,configurations下节点名称可为 app-plus/h5/mp-weixin/mp-baidu/mp-alipay/mp-qq/mp-toutiao/mp-360/ - // launchtype项可配置值为local或remote, local代表前端连本地云函数,remote代表前端连云端云函数 - "version": "0.0", - "configurations": [{ - "default" : - { - "launchtype" : "local" - }, - "mp-weixin" : - { - "launchtype" : "local" - }, - "type" : "uniCloud" - } +{ + // launch.json 配置了启动调试时相关设置,configurations下节点名称可为 app-plus/h5/mp-weixin/mp-baidu/mp-alipay/mp-qq/mp-toutiao/mp-360/ + // launchtype项可配置值为local或remote, local代表前端连本地云函数,remote代表前端连云端云函数 + "version" : "0.0", + "configurations" : [ + { + "default" : { + "launchtype" : "local" + }, + "mp-weixin" : { + "launchtype" : "local" + }, + "type" : "uniCloud" + }, + { + "openVueDevtools" : true, + "type" : "uni-app:miniProgram" + } ] } diff --git a/page_user/yj.vue b/page_user/yj.vue index 676660a..3239b77 100644 --- a/page_user/yj.vue +++ b/page_user/yj.vue @@ -54,7 +54,7 @@ - + @@ -73,7 +73,7 @@ - + 押金提现 @@ -141,7 +141,7 @@ // 执行其他操作... }); this.getinfo() - this.getlist() + }, watch: { userId(newValue, oldValue) { @@ -214,6 +214,7 @@ if (res.code == 200) { this.$store.commit('SET_USERID', res.user.userId); this.userinfo = res.user + this.getlist() } else { setTimeout(()=>{ this.getinfo() diff --git a/pages/index/index.vue b/pages/index/index.vue index 55b425f..d3496a7 100644 --- a/pages/index/index.vue +++ b/pages/index/index.vue @@ -177,12 +177,12 @@ 可继续行驶53公里 - + - NO.74001387 + NO.{{orderinfo.sn}} @@ -190,16 +190,29 @@ - + - + 解锁骑行 取消预约 + + + + + 临时锁车 + + + 解锁用车 + + + 还车 + +