1 Star 0 Fork 10

之歌布子/停车场管理系统,支持电子支付停车缴费,同时支持充电系统,已整合车牌识别

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
App.vue 2.09 KB
一键复制 编辑 原始数据 按行查看 历史
<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>
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/marshl/cfzhvmin3.0.git
[email protected]:marshl/cfzhvmin3.0.git
marshl
cfzhvmin3.0
停车场管理系统,支持电子支付停车缴费,同时支持充电系统,已整合车牌识别
master

搜索帮助