Server IP : 66.29.132.124 / Your IP : 3.143.7.112 Web Server : LiteSpeed System : Linux business141.web-hosting.com 4.18.0-553.lve.el8.x86_64 #1 SMP Mon May 27 15:27:34 UTC 2024 x86_64 User : wavevlvu ( 1524) PHP Version : 7.4.33 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /home/wavevlvu/book24.ng/resources/module/template/admin/components/ |
Upload File : |
<template> <div class="col" :class="'col-sm-'+(item.settings.size ? item.settings.size : 12 )"> <div class="block-panel"> <div class="block-title"> <span> {{item.name}} - <select v-model="item.settings.size"> <option v-for="i in 12" :value="i">{{i}}/12</option> </select> </span> <div class="title-right"> <span class="btn btn-light block-edit dropdown"> <a href="#" data-toggle="dropdown" ><i class="icon ion-ios-hammer"></i></a> <span class="dropdown-menu"> <span class="dropdown-item " @click="openEdit">Edit</span> <span class="dropdown-item ">Delete</span> </span> </span> <span class="block-toggle btn btn-light"><i @click="item.open = item.open ? false: true" class="icon ion-md-arrow-dropdown"></i></span> </div> </div> <div class="block-content" v-show="item.open"> <component :is="child.component" :item="child" v-for="(child,index) in item.children" :key="index"></component> </div> </div> </div> </template> <script> export default { data(){ return{ } }, props:{ item:{} }, methods:{ openEdit(){ } } } </script>