Commit b73476ac by 张立顺

合并

1 parent 7a866f6c
...@@ -113,6 +113,7 @@ fetch('https://config-center-backend.glsx.com.cn/glsxAdmin/config?moduleUrl=dj-c ...@@ -113,6 +113,7 @@ fetch('https://config-center-backend.glsx.com.cn/glsxAdmin/config?moduleUrl=dj-c
init() init()
}) })
function init() { function init() {
console.log(baseConfig, 'baseConfig')
baseConfig.vconsole && new VConsole() baseConfig.vconsole && new VConsole()
new Vue({ new Vue({
router, router,
......
...@@ -39,7 +39,8 @@ router.beforeEach((to, from, next) => { ...@@ -39,7 +39,8 @@ router.beforeEach((to, from, next) => {
// console.log(AlipayClient) // console.log(AlipayClient)
// 开发调试用可以先把这个逻辑取消 // 开发调试用可以先把这个逻辑取消
if (!AlipayClient && to.path !== '/tipsPage') return next('/tipsPage') const isDev = process.env.NODE_ENV == 'development'
if (!isDev && !AlipayClient && to.path !== '/tipsPage') return next('/tipsPage')
// if (/MicroMessenger/.test(window.navigator.userAgent)) { // if (/MicroMessenger/.test(window.navigator.userAgent)) {
// alert('微信客户端') // alert('微信客户端')
......
...@@ -10,7 +10,7 @@ ...@@ -10,7 +10,7 @@
</div> </div>
<div class="company center" v-else> <div class="company center" v-else>
<!-- <div class="" >深圳市嘀加智慧云服务有限公司</div> --> <!-- <div class="" >深圳市嘀加智慧云服务有限公司</div> -->
<div class="company-name">{{ merchantName }}</div> <div class="company-name">{{ shopMerchantName }}</div>
</div> </div>
</div> </div>
<div class="pay-main"> <div class="pay-main">
...@@ -139,11 +139,8 @@ export default { ...@@ -139,11 +139,8 @@ export default {
// ap.alert(appId) // ap.alert(appId)
// 请求用户授权 // 请求用户授权
ap.getAuthCode({ ap.getAuthCode({
// appId: '${appId}',
appId, appId,
// scopes: ['auth_user'] scopes: ['auth_base']// 主动授权:auth_user,静默授权:auth_base。或者其它scope
// 主动授权:auth_user,静默授权:auth_base。或者其它scope
scopes: ['auth_base']
}, function (res) { }, function (res) {
// ap.alert(JSON.stringify(res)) // ap.alert(JSON.stringify(res))
console.log(JSON.stringify(res)) console.log(JSON.stringify(res))
...@@ -393,7 +390,7 @@ export default { ...@@ -393,7 +390,7 @@ export default {
margin-left: 20px; margin-left: 20px;
} }
.center { .pay-header .company.center {
justify-content: center; justify-content: center;
} }
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!