Commit 614c8e6b by 李伟康

提交代码

1 parent 1b916d55
......@@ -122,7 +122,7 @@
background: linear-gradient(360deg, #292929 0%, #474747 100%);
.line {
width: 73%;
width: 67%;
height: 2px;
background: #fff;
border-radius: 1px;
......
......@@ -10,7 +10,7 @@
module.exports = {
title: '加载中...',
request: {
baseURL: 'http://scrm.test.glsx.com.cn', // 本地测试项目地址,
baseURL: 'http://scrm.dev.glsx.com.cn', // 本地测试项目地址,
// 设置超时时间
timeout: 180000,
// 携带凭证
......
......@@ -23,7 +23,8 @@ export function Audio (url, callBack) {
console.log('暂停——————————————', this.sourceNode)
} else this._playSourceNode()
} else {
if (this.audioContext.paused) this.audioContext.play()
console.log(this.audioContext.paused)
if (this.audioContext.paused && !off) this.audioContext.play()
else this.audioContext.pause()
}
}
......
......@@ -168,6 +168,7 @@ export default {
})
},
emit (obj) {
console.log(obj)
this.payLoading = true
this.$emit('pay', { obj, that: this.$parent })
},
......
......@@ -32,14 +32,13 @@ export default {
},
activated () {
let { orderInfo } = this.getParams()
if (orderInfo) this.setLocalStorage('wx_scrm_test', orderInfo)
else orderInfo = this.getLocalStorage('wx_scrm_test')
if (orderInfo) this.setLocalStorage('wx_scrm_pay_info', orderInfo)
else orderInfo = this.getLocalStorage('wx_scrm_pay_info')
this.drawOrderImg(orderInfo)
return
if (!orderInfo || !Object.keys(orderInfo).length) {
this.$router.back()
return
}
// if (!orderInfo || !Object.keys(orderInfo).length) {
// this.$router.back()
// return
// }
},
methods: {
drawOrderImg (orderInfo) {
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!