优化楼层装修 pc端中控制台因类型转换问题导致的报错信息

master
lemon橪 2021-11-18 14:51:44 +08:00
parent 41bfd17cd0
commit ccd5decbf7
11 changed files with 43 additions and 48 deletions

View File

@ -42,7 +42,7 @@
width="600" width="600"
:z-index="100" :z-index="100"
:loading="loading" :loading="loading"
mask-closable="false" :mask-closable="false"
@on-ok="newTemplate" @on-ok="newTemplate"
@on-cancel="showModal = false" @on-cancel="showModal = false"
> >

View File

@ -22,7 +22,7 @@
<div class="search-con"> <div class="search-con">
<img :src="require('@/assets/logo.png')" class="logo" alt=""> <img :src="require('@/assets/logo.png')" class="logo" alt="">
<div class="search"> <div class="search">
<i-input v-model="searchData" size="large" placeholder="输入你想查找的商品"> <i-input size="large" placeholder="输入你想查找的商品">
<Button slot="append">搜索</Button> <Button slot="append">搜索</Button>
</i-input> </i-input>
</div> </div>
@ -58,9 +58,9 @@
draggable draggable
width="800" width="800"
:z-index="100" :z-index="100"
mask-closable="false" :mask-closable="false"
:on-ok="sureDecorate"
:on-cancel="cancelDecorate"
> >
<!-- 顶部广告 --> <!-- 顶部广告 -->
<div class="modal-top-advert"> <div class="modal-top-advert">
@ -87,9 +87,9 @@
draggable draggable
width="800" width="800"
:z-index="100" :z-index="100"
mask-closable="false" :mask-closable="false"
:on-ok="sureDecorate"
:on-cancel="cancelDecorate"
> >
<!-- 分类tab栏 --> <!-- 分类tab栏 -->
<div class="modal-tab-bar"> <div class="modal-tab-bar">
@ -121,7 +121,7 @@
<liliDialog <liliDialog
ref="liliDialog" ref="liliDialog"
@selectedLink="selectedLink" @selectedLink="selectedLink"
@selectedGoodsData="selectedGoodsData"
></liliDialog> ></liliDialog>
<!-- 选择图片 --> <!-- 选择图片 -->
<Modal width="1200px" v-model="picModelFlag" footer-hide> <Modal width="1200px" v-model="picModelFlag" footer-hide>

View File

@ -147,9 +147,9 @@
draggable draggable
width="800" width="800"
:z-index="100" :z-index="100"
mask-closable="false" :mask-closable="false"
:on-ok="sureDecorate"
:on-cancel="cancelDecorate"
> >
<div class="modal-top-advert"> <div class="modal-top-advert">
<div> <div>
@ -216,7 +216,7 @@
<liliDialog <liliDialog
ref="liliDialog" ref="liliDialog"
@selectedLink="selectedLink" @selectedLink="selectedLink"
@selectedGoodsData="selectedGoodsData"
></liliDialog> ></liliDialog>
<!-- 选择图片 --> <!-- 选择图片 -->
<Modal width="1200px" v-model="picModelFlag" footer-hide> <Modal width="1200px" v-model="picModelFlag" footer-hide>
@ -287,10 +287,7 @@ export default {
selectedLink(val) { selectedLink(val) {
this.selected.url = this.$options.filters.formatLinkType(val); this.selected.url = this.$options.filters.formatLinkType(val);
}, },
//
handleMoveEnd({ newIndex, oldIndex }) {
console.log("index", newIndex, oldIndex);
},
handleSelectImg() { handleSelectImg() {
// //
this.$refs.ossManage.selectImage = true; this.$refs.ossManage.selectImage = true;

View File

@ -48,9 +48,9 @@
draggable draggable
width="800" width="800"
:z-index="100" :z-index="100"
mask-closable="false" :mask-closable="false"
:on-ok="sureDecorate"
:on-cancel="cancelDecorate"
> >
<div class="modal-tab-bar"> <div class="modal-tab-bar">
<Button type="primary" size="small" @click="handleAdd"></Button> <Button type="primary" size="small" @click="handleAdd"></Button>
@ -110,7 +110,7 @@
<liliDialog <liliDialog
ref="liliDialog" ref="liliDialog"
@selectedLink="selectedLink" @selectedLink="selectedLink"
@selectedGoodsData="selectedGoodsData"
></liliDialog> ></liliDialog>
<!-- 选择图片 --> <!-- 选择图片 -->
<Modal width="1200px" v-model="picModelFlag" footer-hide> <Modal width="1200px" v-model="picModelFlag" footer-hide>

View File

@ -25,9 +25,9 @@
draggable draggable
width="800" width="800"
:z-index="100" :z-index="100"
mask-closable="false" :mask-closable="false"
:on-ok="sureDecorate"
:on-cancel="cancelDecorate"
> >
<div class="modal-tab-bar"> <div class="modal-tab-bar">
<Button type="primary" size="small" @click="handleAdd"></Button> <Button type="primary" size="small" @click="handleAdd"></Button>
@ -81,7 +81,7 @@
<liliDialog <liliDialog
ref="liliDialog" ref="liliDialog"
@selectedLink="selectedLink" @selectedLink="selectedLink"
@selectedGoodsData="selectedGoodsData"
></liliDialog> ></liliDialog>
<!-- 选择图片 --> <!-- 选择图片 -->
<Modal width="1200px" v-model="picModelFlag" footer-hide> <Modal width="1200px" v-model="picModelFlag" footer-hide>

View File

@ -70,7 +70,7 @@
draggable draggable
width="800" width="800"
:z-index="100" :z-index="100"
mask-closable="false" :mask-closable="false"
> >
<div class="modal-tab-bar"> <div class="modal-tab-bar">
<Button type="primary" size="small" @click="handleAdd"></Button> <Button type="primary" size="small" @click="handleAdd"></Button>
@ -124,7 +124,7 @@
draggable draggable
width="800" width="800"
:z-index="100" :z-index="100"
mask-closable="false" :mask-closable="false"
> >
<div class="modal-tab-bar"> <div class="modal-tab-bar">
<Button type="primary" size="small" @click="handleAddGroup"></Button> <Button type="primary" size="small" @click="handleAddGroup"></Button>
@ -173,7 +173,7 @@
<liliDialog <liliDialog
ref="liliDialog" ref="liliDialog"
@selectedLink="selectedLink" @selectedLink="selectedLink"
@selectedGoodsData="selectedGoodsData"
></liliDialog> ></liliDialog>
<!-- 选择图片 --> <!-- 选择图片 -->
<Modal width="1200px" v-model="picModelFlag" footer-hide> <Modal width="1200px" v-model="picModelFlag" footer-hide>

View File

@ -18,9 +18,9 @@
draggable draggable
width="800" width="800"
:z-index="100" :z-index="100"
mask-closable="false" :mask-closable="false"
:on-ok="sureDecorate"
:on-cancel="cancelDecorate"
> >
<div class="modal-top-advert"> <div class="modal-top-advert">
<div> <div>
@ -54,7 +54,7 @@
<liliDialog <liliDialog
ref="liliDialog" ref="liliDialog"
@selectedLink="selectedLink" @selectedLink="selectedLink"
@selectedGoodsData="selectedGoodsData"
></liliDialog> ></liliDialog>
<!-- 选择图片 --> <!-- 选择图片 -->
<Modal width="1200px" v-model="picModelFlag" footer-hide> <Modal width="1200px" v-model="picModelFlag" footer-hide>

View File

@ -72,9 +72,9 @@
draggable draggable
width="800" width="800"
:z-index="100" :z-index="100"
mask-closable="false" :mask-closable="false"
:on-ok="sureDecorate"
:on-cancel="cancelDecorate"
> >
<div class="modal-top-advert"> <div class="modal-top-advert">
<div> <div>
@ -107,9 +107,9 @@
draggable draggable
width="800" width="800"
:z-index="100" :z-index="100"
mask-closable="false" :mask-closable="false"
:on-ok="sureDecorate"
:on-cancel="cancelDecorate"
> >
<div class="modal-top-advert"> <div class="modal-top-advert">
<div> <div>

View File

@ -32,9 +32,7 @@
draggable draggable
width="800" width="800"
:z-index="100" :z-index="100"
mask-closable="false" :mask-closable="false"
:on-ok="sureDecorate"
:on-cancel="cancelDecorate"
> >
<div class="modal-tab-bar"> <div class="modal-tab-bar">
<Button type="primary" size='small' @click="handleAddNav"></Button> <Button type="primary" size='small' @click="handleAddNav"></Button>

View File

@ -107,9 +107,9 @@
draggable draggable
width="800" width="800"
:z-index="100" :z-index="100"
mask-closable="false" :mask-closable="false"
:on-ok="sureDecorate"
:on-cancel="cancelDecorate"
> >
<div class="modal-top-advert"> <div class="modal-top-advert">
<div> <div>
@ -169,9 +169,9 @@
draggable draggable
width="800" width="800"
:z-index="100" :z-index="100"
mask-closable="false" :mask-closable="false"
:on-ok="sureDecorate"
:on-cancel="cancelDecorate"
> >
<div class="modal-top-advert"> <div class="modal-top-advert">
<div><span>主标题</span><Input v-model="selected.title" /></div> <div><span>主标题</span><Input v-model="selected.title" /></div>

View File

@ -3,7 +3,7 @@
<!-- 左侧模块列表 --> <!-- 左侧模块列表 -->
<div class="model-list"> <div class="model-list">
<div class="classification-title">基础模块</div> <div class="classification-title">基础模块</div>
<draggable tag="ul" :list="modelData" v-bind="{group:{ name:'model', pull:'clone',put:false},sort:false, ghostClass: 'ghost'}" @end="handleMoveEnd" @start="handleMoveStart" :move="handleMove"> <draggable tag="ul" :list="modelData" v-bind="{group:{ name:'model', pull:'clone',put:false},sort:false, ghostClass: 'ghost'}" >
<li v-for="(model, index) in modelData" :key="index" class="model-item"> <li v-for="(model, index) in modelData" :key="index" class="model-item">
<Icon :type="model.icon" /> <Icon :type="model.icon" />
<span>{{model.name}}</span> <span>{{model.name}}</span>