Commit f5dfa518 by 杨明

fixed

1 parent a53aad5d
<!--
* @Author: 前端 qianduan01@didihu.com.cn
* @Date: 2023-05-11 18:32:20
* @LastEditors: 前端 qianduan01@didihu.com.cn
* @LastEditTime: 2023-05-15 17:19:03
* @LastEditors: yangming yangming@didihu.com.cn
* @LastEditTime: 2023-05-18 13:44:41
* @FilePath: \scrm-micro-home\src\views\home\marketing.vue
* @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
-->
......@@ -22,14 +22,16 @@
<div class="market-title">ChatGPT超级营销</div>
</div>
</div>
<div class="market-bottom" v-if="isFull">
<schedule-calendar ref="calendar"></schedule-calendar>
<!-- <div class="market-middle">
<div class="market-bottom">
<div class="market-middle">
<marketing-middle></marketing-middle>
</div>
<div class="market-right">
<marketing-right></marketing-right>
</div> -->
</div>
</div>
<div v-show="showCalendar" class="calendar-panel">
<schedule-calendar ref="calendar"></schedule-calendar>
</div>
</div>
</div>
......@@ -37,18 +39,18 @@
<script>
import ScheduleCalendar from './components/Marketing/components/ScheduleCalendar'
import MarketingLeft from './components/Marketing/MarketingLeft'
// import MarketingMiddle from './components/Marketing/MarketingMiddle'
// import MarketingRight from './components/Marketing/MarketingRight'
import MarketingMiddle from './components/Marketing/MarketingMiddle'
import MarketingRight from './components/Marketing/MarketingRight'
export default {
components: {
MarketingLeft,
// MarketingMiddle,
// MarketingRight,
MarketingMiddle,
MarketingRight,
ScheduleCalendar
},
data() {
return {
isFull: true
showCalendar: false
}
},
mounted() {
......@@ -57,7 +59,7 @@ export default {
},
methods: {
handleShowCalendar() {
this.isFull = !this.isFull
this.showCalendar = !this.showCalendar
console.log(this.$refs.calendar.$refs.full.calendar)
let calendar = this.$refs.calendar.$refs.full.calendar.render
console.log(calendar)
......@@ -88,6 +90,7 @@ export default {
.market-m-r {
margin-left: 8px;
flex: 1;
position: relative;
.market-bottom {
display: flex;
......@@ -102,6 +105,14 @@ export default {
margin-left: 8px;
}
}
.calendar-panel {
position: absolute;
top: 10px;
left: 0px;
width: 100%;
height: 100%;
}
}
.market-top {
.market-header {
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!