Commit 65e53de6 by 前端

40分钟bug

1 parent 35cd5609
...@@ -51,7 +51,7 @@ ...@@ -51,7 +51,7 @@
<text>{{ v.label }}</text> <text>{{ v.label }}</text>
<uni-icons type="help" size="15" color="#A2A2A8" v-if="v.content" @click="clickTips(v)"></uni-icons> <uni-icons type="help" size="15" color="#A2A2A8" v-if="v.content" @click="clickTips(v)"></uni-icons>
</view> </view>
<view class="detail-link flex" @click="showProductDetail(item)" v-if="item.specificGoodsType && v.isLink && !item.showGoodsTypeName"> <view class="detail-link flex" @click="showProductDetail(item)" v-if="item.specificGoodsType && v.isLink">
<text>产品明细</text> <text>产品明细</text>
<view class="link-icon"></view> <view class="link-icon"></view>
</view> </view>
...@@ -241,15 +241,16 @@ export default { ...@@ -241,15 +241,16 @@ export default {
console.log(res) console.log(res)
if (res && res.commissions) { if (res && res.commissions) {
const commissions = res.commissions.find(i => i.configType == 3) const commissions = res.commissions.find(i => i.configType == 3)
const commissionsOther = res.commissions.find(i => i.configType == 1) const commissionsOther = res.commissions.filter(i => i.configType == 1)
if (commissions) { this.commissionsInfoQG = []
this.scene0PenetrationRateCommissions = commissions.scene0PenetrationRateCommissions console.log(commissionsOther, 'commissionsInfoQG')
commissionsOther.forEach(i => {
this.commissionsInfoQG = [...this.commissionsInfoQG, ...(i.nscene0PenetrationRateGoodsCommissions || [])]
})
console.log(this.commissionsInfoQG, 'commissionsInfoQG')
this.scene0PenetrationRateCommissions = commissions?.scene0PenetrationRateCommissions || []
this.getCommissionsInfo() this.getCommissionsInfo()
} else { } else {
this.commissionsInfo = commissionsOther.nscene0PenetrationRateGoodsCommissions || []
}
console.log(this.commissionsInfo, 'commissionsInfo')
} else {
this.commissionsInfo = [{}] this.commissionsInfo = [{}]
} }
}) })
...@@ -273,11 +274,12 @@ export default { ...@@ -273,11 +274,12 @@ export default {
return true return true
}, },
getCommissionsInfo() { getCommissionsInfo() {
console.log(this.scene0PenetrationRateCommissions, 'this.scene0PenetrationRateCommissions')
const result = this.scene0PenetrationRateCommissions.find(i => { const result = this.scene0PenetrationRateCommissions.find(i => {
return i.configCarType == this.activeIndex return i.configCarType == this.activeIndex
}) })
this.commissionsInfo = result?.configCarTypeCommissions this.commissionsInfo = [...(result?.configCarTypeCommissions || []), ...this.commissionsInfoQG]
console.log(result, 'result') console.log(this.commissionsInfo, 'this.commissionsInfoQG', this.commissionsInfoQG)
}, },
clickTips(item) { clickTips(item) {
this.tipsDetail = item this.tipsDetail = item
......
...@@ -28,7 +28,9 @@ ...@@ -28,7 +28,9 @@
"Record" : {}, "Record" : {},
"VideoPlayer" : {}, "VideoPlayer" : {},
"AudioPlayer" : {}, "AudioPlayer" : {},
"SQLite" : {} "SQLite" : {},
"Maps" : {},
"Geolocation" : {}
}, },
/* 应用发布信息 */ /* 应用发布信息 */
"distribute" : { "distribute" : {
......
/* /*
* @Author: 前端 qianduan01@didihu.com.cn * @Author: 前端 qianduan01@didihu.com.cn
* @Date: 2024-12-26 10:03:54 * @Date: 2024-12-26 10:03:54
* @LastEditors: limin * @LastEditors: 前端 qianduan01@didihu.com.cn
* @LastEditTime: 2025-03-11 18:19:33 * @LastEditTime: 2025-03-11 19:15:28
* @FilePath: \gl_tape\mixin\record\recorder.js * @FilePath: \gl_tape\mixin\record\recorder.js
* @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
*/ */
...@@ -117,8 +117,9 @@ export default { ...@@ -117,8 +117,9 @@ export default {
} }
}, },
handler(params, fn) { handler(params, fn) {
if (!this.audioManager.isRecording && (this.record?.endReasonType !== 1 || this.receptionStatus == 0)) return if (this.audioManager.isRecording || this.record?.currentRecord?.endReasonType == 1) {
fn.call(this, params) fn.call(this, params)
}
}, },
reset() { reset() {
this.audioManager = null this.audioManager = null
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!