Commit 73508876 authored by lei's avatar lei

fix:商户扫码判断,非商户码提示信息、商户详情标题颜色

parent 5f9253b0
......@@ -121,14 +121,14 @@ window.onload = function () {
merId: strUrl.searchParams.get('merId'),
accessType: strUrl.searchParams.get('accessType')
};
// location.href = 'shanghu_home.html'
// let param = {
// accessType: 'saoma',
// merId: data,
// }
let url = gemhoUtil.setParameter(`./src/_shanghu_home.html`, param)
gemhoUtil.navigatePage(url, '跳转中...')
//成功回调
if (param.merId == null || param.merId == '') {
alert('请扫描正确的商家二维码')
return
} else {
let url = gemhoUtil.setParameter(`./src/_shanghu_home.html`, param)
gemhoUtil.navigatePage(url, '跳转中...')
}
},
fail: function (data) {
//错误返回
......
......@@ -122,7 +122,7 @@ body {
/* 防止标题被压缩 */
width: 1.7rem;
/* 标题固定宽度,可根据需求调整 */
color: #333;
color: #222;
font-size: 0.28rem;
font-weight: bold;
text-align: left;
......@@ -169,7 +169,9 @@ body {
margin-bottom: 10px;
font-weight: 400;
}
.imager-item-title span {
color: #222;
}
/* vant tab底部栏颜色 */
.van-tabs__line {
background-color: #1081e3;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment