Commit c49af48c by 前端

样式

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