Commit c49af48c by 前端

样式

1 parent c35360d1
......@@ -3,18 +3,18 @@
* @Author: huyue
* @Date: 2024-04-08 11:30:30
* @LastEditors: 前端 qianduan01@didihu.com.cn
* @LastEditTime: 2024-12-10 10:41:10
* @LastEditTime: 2024-12-16 18:13:56
-->
<template>
<view class="detail-box" @dblclick="dbClick">
<view class="nav-bar">
<view class="nav-bar" :style="{ 'z-index': backZindex }">
<view class="back" @click="back">
<uni-icons type="left" :size="20" color="#000"></uni-icons>
</view>
</view>
<template v-for="(item, index) in media">
<view :class="['view', { showView: id == item.id }, modeName]" :key="index" @touchstart.stop="touchStart" @touchend.stop="touchEnd">
<component :is="item.componentName" :detail="item" :views="item.receptionSourceDetailList || []" :penSwitch="penSwitch" :show="id == item.id" :ref="'media' + item.id" :title="item.detailTitle || ''" :madiaId="item.id" @scale="scale" :ulList="item.ulList" :screenList="item.screenList" @onProductModel="productModelStatus = $event" :isPreview="isPreview" :isByd="isByd" />
<component @full="handleFull" :is="item.componentName" :detail="item" :views="item.receptionSourceDetailList || []" :penSwitch="penSwitch" :show="id == item.id" :ref="'media' + item.id" :title="item.detailTitle || ''" :madiaId="item.id" @scale="scale" :ulList="item.ulList" :screenList="item.screenList" @onProductModel="productModelStatus = $event" :isPreview="isPreview" :isByd="isByd" />
</view>
</template>
<template v-if="type != 'preview'">
......@@ -68,6 +68,7 @@ export default {
mixins: [receptionTrackMixin],
data() {
return {
backZindex: 9,
drawStatus: false,
startX: null,
startY: null,
......@@ -124,6 +125,10 @@ export default {
open() {
this.$refs.stepRef.open()
},
handleFull(val) {
console.log(val, 9)
this.backZindex = val ? 0 : 9
},
/**切换素材 */
choose(e) {
Object.keys(this.$refs).map(refKey => {
......
......@@ -249,17 +249,17 @@ export default {
uni.showLoading({
mask: true
})
const result = await this.$permision.requestAndroidPermission('android.permission.RECORD_AUDIO')
if (result !== 1) {
uni.showToast({
title: '为了记录语音通话,请打开录音权限',
icon: 'none'
})
return
}
// const result = await this.$permision.requestAndroidPermission('android.permission.RECORD_AUDIO')
// if (result !== 1) {
// uni.showToast({
// title: '为了记录语音通话,请打开录音权限',
// icon: 'none'
// })
// return
// }
this.getSoure()
this.clearHistory()
this.$refs.home.startAudio()
// this.$refs.home.startAudio()
this.id = this.moduleList[0].id
this.type = 'edit'
this.recording = true
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!