当前位置: 首页 > news >正文

明星做代言的购物网站0肇东网页设计

明星做代言的购物网站0,肇东网页设计,网络营销网站平台有哪些,响应式网站用什么做Vue无代码可视化项目 编排引擎smooth-dndLeftPanel.vueLayoutView.vuestores/debug.tsstores/editor.tsAppNavigator.vue添加-左侧栏添加到中间部分LayoutView.vuestore/editor.tsLeftPanel.vue移动-中间部分区域的位置更改新建文件夹utils、文件array.tsarray.tsLayoutView.vu… Vue无代码可视化项目 编排引擎smooth-dndLeftPanel.vueLayoutView.vuestores/debug.tsstores/editor.tsAppNavigator.vue 添加-左侧栏添加到中间部分LayoutView.vuestore/editor.tsLeftPanel.vue 移动-中间部分区域的位置更改新建文件夹utils、文件array.tsarray.tsLayoutView.vue 编排引擎 smooth-dnd LeftPanel.vue SmoothDndContainer class="block-group" behaviour="copy"tag="div" group-name="blocks" @drag-start="(e,v)=console.log(e,v)" @drag-leave="(e,v)=console.log(e,v)"@drop="(e)=console.log('drop',e)":get-child-payload="(index:number)=index"SmoothDndDraggable v-for="i in 10" :key="i"div class="block-item"{{i}}/div/SmoothDndDraggable/SmoothDndContainer.block-item{width: 40px;height: 40px;background-color: #fff;border: 1px solid #e8e8e8;margin-bottom: 8px;display: flex;justify-content: center;align-items: center;font-size: 14px;transition:background-color 0.3s;cursor: move;user-select: none; }.block-group{padding: 8px;display: flex;flex-wrap: wrap;gap: 8px; } /style全部代码: script setup lang="ts" import {Lightning, Share } from '@icon-park/vue-next' import { ref } from 'vue'; import {SmoothDndContainer} from '@/components/SmoothDnd/SmoothDndContainer' import {SmoothDndDraggable} from '@/components/SmoothDnd/SmoothDndDraggable'type Mode = 'outline'|'blocks'|null const mode = refMode(null)const toggleMode = (newMode:Mode) = {if(newMode === mode.value){mode.value = null}else{mode.value = newMode} } /scripttemplatediv class="left-panel-wrapper"div class="left-panel-left"div class="btn" :class="{active:mode==='outline'}" @click="()=toggleMode('outline')"Lightning //divdiv class="btn" :class="{active:mode==='blocks'}" @click="()=toggleMode('blocks')"Share //div/div!-- 接入动画 --transition name="app-left-panel-drawer"div class="left-panel-content" v-show="mode"{{mode}}!-- 面板中使用SmoothDnd --SmoothDndContainer class="block-group" behaviour="copy"tag="div" group-name="blocks" @drag-start="(e,v)=console.log(e,v)" @drag-leave="(e,v)=console.log(e,v)"@drop="(e)=console.log('drop',e)":get-child-payload="(index:number)=index"SmoothDndDraggable v-for="i in 10" :key="i"div class="block-item"{{i}}/div/SmoothDndDraggable/SmoothDndContainer/div/transition/div /templatestyle scoped .left-panel-wrapper {display: flex;height: 100%;background-color: #f5f5f5;border: 1px solid #e8e8e8; } .left-panel-left{display: flex;padding:0 10px;flex-direction: column;align-items: center;width: 50px;height: 100%;background-color: #e8e8e8; } .btn{width: 32px;height: 32px;display: flex;justify-content: center;align-items: center;cursor: pointer;border-radius: 6px;margin-top:20px;/* :hover{background-color: #f5f5f5;} */ } .btn:hover{background-color: #f5f5f5; } /* 被激活时候的特定样式 */ .btn.active{background-color: rgb(0,196,83);color: #fff; } .left-panel-content{flex: 1;width: 280px;height: 100%;background-color: #f5f5f5;overflow: hidden; }/* 下面我们会解释这些 class 是做什么的 */ .app-left-panel-drawer-enter-active, .app-left-panel-drawer-leave-active {transition: width 0.1s cubic-bezier(0.3, 0.1, 0.3, 1); }.app-left-panel-drawer-enter-from, .app-left-panel-drawer-leave-to {width: 0; }.app-left-panel-drawer-content {width: calc(var(--panel-width) - 60px);height: 100%;padding: 16px; }.block-item{width: 40px;height: 40px;background-color: #fff;border: 1px solid #e8e8e8;margin-bottom: 8px;display: flex;justify-content: center;align-items: center;font-size: 14px;transition:background-color 0.3s;cursor: move;user-select: none; }.block-group{padding: 8px;display: flex;flex-wrap: wrap;gap: 8px; } /style LayoutView.vue SmoothDndContainer class="block-group" orientation="vertical"tag="div" group-name="blocks" @drop="(payload)=editorStore.addBlock(payload)" SmoothDndDraggable v-for="block in blocks" :key="block"
http://www.hkea.cn/news/14438986/

相关文章:

  • 自己做的网站如何连接入数据库沂水网站设计
  • 网站后台编辑器上传不了图片网建短信通
  • 顺德做网站公司雄安邯郸网站制作多少钱
  • 网站建设如何财务处理c语言也能干大事网站开发
  • 衡水做网站改版网站上的图标用什么软件做的
  • 针织衫技术支持东莞网站建设平面设计工资怎样
  • 怎么做电影网站吗3d网页游戏排行榜前十名
  • 怎样做网站营销藁城网站建设
  • 网站建设公司招商icp网站快速案
  • 如何提高网站的权重沈阳市做网站的公司
  • 口碑好的网站开发网件路由器为什么都是官翻
  • 网站建设和优化内容最重要南京行业网站建设
  • 桂林旅游网站黔西南做网站的有几家
  • 在线购物网站建设的需求分析哪家网站做的好
  • 网站流量统计工具wordpress副标题修改代码
  • 网站后台上传图片步骤怎么做网站例如京东
  • 傻瓜式网站开发莱芜网络推广公司
  • 创建网站需要多少钱一般公司网站是什么设计师做
  • 手机网站方案创意产品
  • 卖网站怎样做中建集团
  • 加强主流网站建设成都百度推广电话号码
  • 晚上睡不着网站2021免费网站可信认证在哪里做
  • 网站开发与维护学生作品集网站开发需要掌握技术
  • 哪些网站做夜场女孩多seo怎么优化一个网站
  • 网站验收流程做新网站的swot分析
  • 网站老域名跳转到新域名免费制作图文的软件
  • 深圳做营销网站的公司哪家好天涯社区和海南在线不能正常访问
  • 自己做h5网站吉林集安市建设局网站
  • 网站流量流出异常网站域名个人备案查询
  • ui设计师的网站深圳高水平网站制作