Commit 4338acc4 by 李伟康

commit 提交

1 parent 129817dc
...@@ -3,6 +3,7 @@ ...@@ -3,6 +3,7 @@
class="layout" class="layout"
@click="hideSelect" @click="hideSelect"
> >
<view class="bg"></view>
<wnCanvas <wnCanvas
:canvasId="`c-${madiaId}`" :canvasId="`c-${madiaId}`"
:drawStatus="penSwitch" :drawStatus="penSwitch"
...@@ -12,7 +13,7 @@ ...@@ -12,7 +13,7 @@
> >
<template slot="customContent"> <template slot="customContent">
<view class="layout-content"> <view class="layout-content">
<view class="bg"></view>
<view class="box"> <view class="box">
<view class="select-box"> <view class="select-box">
<view <view
......
<template> <template>
<view class="layout"> <view class="layout">
<view class="bg"></view>
<wnCanvas <wnCanvas
:canvasId="`c-${madiaId}`" :canvasId="`c-${madiaId}`"
:drawStatus="penSwitch" :drawStatus="penSwitch"
...@@ -9,7 +10,6 @@ ...@@ -9,7 +10,6 @@
> >
<template slot="customContent"> <template slot="customContent">
<view class="layout-content"> <view class="layout-content">
<view class="bg"></view>
<view class="box"> <view class="box">
<view class="data-tabs-box"> <view class="data-tabs-box">
<view class="data-tabs"> <view class="data-tabs">
......
<template> <template>
<view class="layout"> <view class="layout">
<view class="bg"></view>
<wnCanvas <wnCanvas
:canvasId="`c-${madiaId}`" :canvasId="`c-${madiaId}`"
:drawStatus="penSwitch" :drawStatus="penSwitch"
...@@ -9,7 +10,6 @@ ...@@ -9,7 +10,6 @@
> >
<template slot="customContent"> <template slot="customContent">
<view class="layout-content"> <view class="layout-content">
<view class="bg"></view>
<view class="box"> <view class="box">
<view class="input-box"> <view class="input-box">
<input <input
......
...@@ -150,12 +150,12 @@ export default { ...@@ -150,12 +150,12 @@ export default {
.layout { .layout {
width: 100%; width: 100%;
height: 100%; height: 100%;
background-image: url('@/assets/images/media/media-bg.webp');
background-size: 100%;
&-content { &-content {
margin: $margin; margin: $margin;
height: 100%; height: 100%;
position: relative; position: relative;
background-image: url('@/assets/images/media/media-bg.webp');
background-size: 100%;
} }
// padding: 0 calc((100vw - #{$detailVW}) / 2); // padding: 0 calc((100vw - #{$detailVW}) / 2);
// box-sizing: border-box; // box-sizing: border-box;
......
<template> <template>
<view :class="['layout',{ 'byd-layout':isByd } ]"> <view :class="['layout',{ 'byd-layout':isByd } ]">
<view class="layout-content">
<view class="title">{{ title }}</view> <view class="title">{{ title }}</view>
<template v-if="views&&views.length > 1"> <template v-if="views&&views.length > 1">
<view class="tabs-box"> <view class="tabs-box">
...@@ -76,7 +77,7 @@ ...@@ -76,7 +77,7 @@
<view class="no-data-text">暂无数据</view> <view class="no-data-text">暂无数据</view>
</view> </view>
</template> </template>
</view>
</view> </view>
</template> </template>
...@@ -185,12 +186,16 @@ export default { ...@@ -185,12 +186,16 @@ export default {
<style scoped lang="scss"> <style scoped lang="scss">
.layout { .layout {
width: 100%;
height: 100%; height: 100%;
position: relative; position: relative;
background-image: url('@/assets/images/media/media-bg.webp'); background-image: url('@/assets/images/media/media-bg.webp');
background-size: 100%; background-size: 100%;
&-content {
height: 100%;
position: relative; position: relative;
margin: $margin; margin: $margin;
}
.tabs-box { .tabs-box {
width: toRpx(1160); width: toRpx(1160);
position: absolute; position: absolute;
......
...@@ -22,6 +22,10 @@ ...@@ -22,6 +22,10 @@
:class="['content',modeName]" :class="['content',modeName]"
:src="views[viewIndex].detailUrl" :src="views[viewIndex].detailUrl"
/> />
<image
:class="['bg',modeName]"
:src="views[viewIndex].bgUrl"
/>
</view> </view>
</template> </template>
</wnCanvas> </wnCanvas>
...@@ -95,6 +99,14 @@ export default { ...@@ -95,6 +99,14 @@ export default {
position: absolute; position: absolute;
width: 100%; width: 100%;
height: 100%; height: 100%;
z-index: 1;
}
.bg {
width: 100vw;
height: 100vh;
position: fixed;
left: 0;
top: 0;
} }
.tabs-box { .tabs-box {
width: toRpx(1112); width: toRpx(1112);
......
...@@ -193,11 +193,11 @@ export default { ...@@ -193,11 +193,11 @@ export default {
.layout { .layout {
width: 100%; width: 100%;
height: 100%; height: 100%;
background-image: url('@/assets/images/media/reception-bg.webp');
background-size: 100%;
&-content { &-content {
position: relative; position: relative;
height: 100%; height: 100%;
background-image: url('@/assets/images/media/reception-bg.webp');
background-size: 100%;
margin: $margin; margin: $margin;
} }
.title { .title {
......
...@@ -7,6 +7,10 @@ ...@@ -7,6 +7,10 @@
--> -->
<template> <template>
<view class="layout"> <view class="layout">
<image
class="icon-car"
src="https://img02.glsx.com.cn/weapp/resource/app-tape/media/common/icon-car.webp"
/>
<wnCanvas <wnCanvas
:drawStatus="penSwitch" :drawStatus="penSwitch"
:canvasId="`c-${madiaId}`" :canvasId="`c-${madiaId}`"
...@@ -18,10 +22,6 @@ ...@@ -18,10 +22,6 @@
<view class="layout-content"> <view class="layout-content">
<view class="title">{{title}}</view> <view class="title">{{title}}</view>
<image
class="icon-car"
src="https://img02.glsx.com.cn/weapp/resource/app-tape/media/common/icon-car.webp"
/>
<view class="container"> <view class="container">
<view class="left-tab"> <view class="left-tab">
<view <view
...@@ -241,7 +241,7 @@ export default { ...@@ -241,7 +241,7 @@ export default {
right: 0; right: 0;
width: toRpx(952); width: toRpx(952);
height: toRpx(248); height: toRpx(248);
z-index: -1; z-index: 2;
} }
} }
.top { .top {
......
...@@ -190,17 +190,17 @@ export default { ...@@ -190,17 +190,17 @@ export default {
async start() { async start() {
if (this.recording) return if (this.recording) return
// 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()
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!