Commit 614c8e6b by 李伟康

提交代码

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