代码拉取完成,页面将自动刷新
同步操作将从 停车-充电/停车场管理收费系统小程序 强制同步,此操作会覆盖自 Fork 仓库以来所做的任何修改,且无法恢复!!!
确定后同步将在后台操作,完成时将刷新页面,请耐心等待。
<script>
export default {
onLaunch: function(options) {
console.log('App Launch');
console.log(options);
if (options.query && options.query.qrCode) {
console.info("Alipay scan parameter: " + options.query.qrCode);
const qrCode = options.query.qrCode;
if (qrCode.includes('/licensePlateRecognition/deviceId/')) {
uni.reLaunch({
url: '/packageMy/my/noLicencePlateCar?q=' + qrCode
});
} else if (qrCode.includes('/parkingLock/deviceId/')) {
uni.reLaunch({
url: '/packageMy/my/noLicencePlateCar?q=' + qrCode
});
} else {
uni.reLaunch({
url: '/pages/pay/scanCode?q=' + qrCode
});
}
}
},
onShow: function() {
console.log('App Show');
},
onHide: function() {
console.log('App Hide');
}
}
</script>
<style lang="scss">
/*每个页面公共css */
@import '@/uni_modules/uni-scss/index.scss';
/* #ifndef APP-NVUE */
@import '@/static/customicons.css';
image {
background-size: 100% 100%;
}
// 设置整个项目的背景色
page {
background: #F5F7FF;
}
/*使用 button::after{ border: none; } 来去除边框*/
.free-btn-bordernone {
background: none !important;
color: #fff !important;
}
.free-btn-bordernone::after {
border: none;
}
/* #endif */
.example-info {
font-size: 14px;
color: #333;
padding: 10px;
}
.single-line {
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
.single-line-2 {
display: -webkit-box;
-webkit-box-orient: vertical;
overflow: hidden;
-webkit-line-clamp: 2;
}
.single-line-3 {
display: -webkit-box;
-webkit-box-orient: vertical;
overflow: hidden;
-webkit-line-clamp: 3;
}
.flex-wrap {
flex-wrap: wrap;
}
.bb {
box-sizing: border-box;
}
.por {
position: relative;
}
.poa {
position: absolute;
}
.flex {
display: flex;
}
.flex-col {
display: flex;
flex-direction: column;
}
.flex-row-center {
justify-content: center;
}
.flex-col-center {
align-items: center;
}
.flex-row-between {
justify-content: space-between;
}
.flex-row-around {
justify-content: space-around;
}
</style>
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。