How to implement Calendar layout with Element
Today, I will talk to you about how to use Element to achieve calendar layout, many people may not know much about it. In order to make you understand better, the editor has summarized the following content for you. I hope you can get something according to this article.
1. Grid layout {{data.day.split ('-') [2]}} based on Bootstrap
Work date work category Customer name Start time event Statu Project name End time Location Event nature Event title: Work content: Cancel the deterministic new Vue ({el:'# home' Data: {dialogVisible: false, addDate: new Date (), addJobType: 'project work', addStatus: 'planning', addProjectName:'', addAddress: 'Guangzhou Company', addEventTitle:', searchCustomer:', addEventType: 'planning tasks' AddJobContent:', addStartTime:'09 projectData, addEndTime:'18, projectData: [], eventTitleData: [], jobTypeData: [{"key": "Project work"} {"key": "pre-sales work"}, {"key": "lecturer"}, {"key": "knowledge preparation"} {"key": "team Management"}, {"key": "Annual leave"}, {"key": "Product Development"} {"key": "customer visit"}, {"key": "other jobs"}] EventTypeData: [{"key": "scheduled tasks"}, {"key": "Project events"} {"key": "other jobs"}], addressData: [{"key": "Guangzhou Company"} {"key": "Shenzhen Company"}, {"key": "Beijing Company"}, {"key": "Shanghai Company"} {"key": "customer"}, {"key": "other"}] StatusData: [{"key": "planning"}, {"key": "execution not completed"} {"key": "completed"}], customerData: []}, mounted () {this.init ()}, methods: {init () {} HandleClose (done) {this.dialogVisible = false}}) .is-selected {color: red }. El-dialog__header {background: # 3498DB;} .el-dialog__title {color: white;} .el-icon-close:before {color: white;} .el-dialog__footer {text-align: center;} 2. Grid layout {{data.day.split ('-') [2]}} based on Element
Cancel the deterministic new Vue ({el:'# home', data: {dialogVisible: false, addDate: new Date (), addJobType: 'project work', addStatus: 'planned', addProjectName:'', addAddress: 'Guangzhou Company' AddEventTitle:', searchCustomer:'', addEventType: 'schedule Task', addJobContent:'', addStartTime: '09VOG 0000mm, addEndTime:' 18VOID 00L, projectData: [], eventTitleData: [] JobTypeData: [{"key": "Project work"}, {"key": "presales work"}, {"key": "instructor lectures"} {"key": "knowledge preparation"}, {"key": "team Management"}, {"key": "Annual leave"} {"key": "product development"}, {"key": "customer visit"}, {"key": "other jobs"}] EventTypeData: [{"key": "scheduled tasks"}, {"key": "Project events"} {"key": "other jobs"}], addressData: [{"key": "Guangzhou Company"} {"key": "Shenzhen Company"}, {"key": "Beijing Company"}, {"key": "Shanghai Company"} {"key": "customer"}, {"key": "other"}] StatusData: [{"key": "planning"}, {"key": "execution not completed"} {"key": "completed"}], customerData: []}, mounted () {this.init ()}, methods: {init () {} HandleClose (done) {this.dialogVisible = false}}) .is-selected {color: red }. El-dialog__header {background: # 3498DB;} .el-dialog__title {color: white;} .el-icon-close:before {color: white;}. El-dialog__footer {text-align: center;} after reading the above, do you have any further understanding of how to use Element to implement calendar layout? If you want to know more knowledge or related content, please follow the industry information channel, thank you for your support.