Commit f5dfa518 by 杨明

fixed

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