优化楼层装修 pc端中控制台因类型转换问题导致的报错信息
parent
41bfd17cd0
commit
ccd5decbf7
|
@ -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"
|
||||||
>
|
>
|
||||||
|
|
|
@ -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>
|
||||||
|
|
|
@ -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;
|
||||||
|
|
|
@ -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>
|
||||||
|
|
|
@ -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>
|
||||||
|
|
|
@ -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>
|
||||||
|
|
|
@ -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>
|
||||||
|
|
|
@ -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>
|
||||||
|
|
|
@ -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>
|
||||||
|
|
|
@ -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>
|
||||||
|
|
|
@ -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>
|
||||||
|
|
Loading…
Reference in New Issue