1
This commit is contained in:
1 parent
a6f7cfe52a
commit
f112a452fb
4 files changed
+11
-22
No files matched your search
@@ -1,16 +0,0 @@
|
||||
{ // 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"
|
||||
}
|
||||
]
|
||||
}
|
||||
+1
-1
@@ -160,7 +160,7 @@ export default {
|
||||
const userRole = uni.getStorageSync("userRole")
|
||||
const launchParam = getLaunchParam()
|
||||
if (launchParam == "thirdApp") {
|
||||
uni.navigateTo({ url: "/pages/thirdApp/thirdAppList" })
|
||||
uni.reLaunch({ url: "/pages/thirdApp/thirdAppList" })
|
||||
return
|
||||
}
|
||||
if (launchParam) {
|
||||
|
||||
@@ -17,9 +17,9 @@
|
||||
<view class="h-300rpx" />
|
||||
<view class="open-door-btn-wrapper fixed bottom-40 left-0 right-0 flex justify-center items-center">
|
||||
<view class="ripple-container">
|
||||
<view class="ripple"></view>
|
||||
<view class="ripple"></view>
|
||||
<view class="ripple"></view>
|
||||
<view class="ripple" />
|
||||
<view class="ripple" />
|
||||
<view class="ripple" />
|
||||
</view>
|
||||
<view
|
||||
class="open-door-btn w-200rpx h-200rpx rounded-full bg-#0779FDdd overflow-hidden flex flex-col justify-center items-center shadow-lg"
|
||||
|
||||
@@ -296,11 +296,11 @@ const scanCode = {
|
||||
if (isDevEnv()) {
|
||||
// 开发环境模拟扫码
|
||||
// const testQrCode = "eyJpZCI6IjE4OTYxNTcyMDc2NDQwNTM1MDYiLCJuYW1lIjoi5rWL6K+V5ZWG5oi3In0=" // 线上-测试超市-收款二维码
|
||||
const testQrCode = "eyJoYXJkRG9vcklkIjoiMTkxNDIxNTYwODQzNzQxMTg0MSIsImNhYmluZXRObyI6IjEifQ==" // 线上-智能柜-收款二维码
|
||||
// const testQrCode = "eyJoYXJkRG9vcklkIjoiMTkxNDIxNTYwODQzNzQxMTg0MSIsImNhYmluZXRObyI6IjEifQ==" // 线上-智能柜-收款二维码
|
||||
// const testQrCode = "eyJpZCI6IjE5MDU4MTY3NTEwNDM0NTI5MzAiLCJuYW1lIjoi5paw5Y6/5bqc6LaF5biCIn0=" // 邓本地-测试环境-新县府超市收款二维码
|
||||
// const testQrCode = "eyJoYXJkRG9vcklkIjoiMTkxMzE1NzA4MDQxODI5NTgwOSIsImNhYmluZXRObyI6IjEifQ==" // 邓本地-测试单门智能柜柜门二维码
|
||||
// const testQrCode = "http://192.168.101.45:8889/h5/#/pages/pay/scanPay?id=1905816751043452930&name=测试新县府超市" // 邓本地-测试环境-新县府超市收款二维码
|
||||
// const testQrCode = "http://192.168.101.45:8889/h5/#/pages/pay/scanPay?hardDoorId=1913157080418295809&cabinetNo=1" // 测试智能柜柜门二维码
|
||||
const testQrCode = "http://192.168.101.45:8889/h5/#/pages/pay/scanPay?hardDoorId=1913157080418295809&cabinetNo=1" // 测试智能柜柜门二维码
|
||||
uni.showModal({ content: "开发环境不是浙政钉和诗画环境,扫码仅供测试,收款商家为测试商户超市" })
|
||||
|
||||
return testQrCode
|
||||
@@ -403,6 +403,11 @@ const doChangeRole = () => {
|
||||
// 初始化配置菜单
|
||||
const initMenuConfig = () => {
|
||||
if (isDevEnv()) {
|
||||
state.menuList.push({
|
||||
text: "测试-第三方应用",
|
||||
icon: "/static/icon/login.png",
|
||||
router: "/pages/thirdApp/thirdAppList",
|
||||
})
|
||||
state.menuList.push({
|
||||
text: "测试-登录",
|
||||
icon: "/static/icon/login.png",
|
||||
|
||||
Reference in new issue
Block a user