功能测试与修改

This commit is contained in:
Chopper
2022-08-26 17:12:48 +08:00
committed by chc
parent ba91d7c26d
commit a345586b25
27 changed files with 2468 additions and 986 deletions

View File

@@ -126,7 +126,7 @@ export default {
const data = this.formData;
data.status ? (data.pageShow = "OPEN") : (data.pageShow = "CLOSE");
delete data.status;
(data.pageType = "INDEX"), (data.pageClientType = "PC");
(data.pageType = "STORE"), (data.pageClientType = "PC");
if (data.id) {
API_floor.updateHome(data.id, data).then((res) => {
this.$Message.success("编辑模板成功");

View File

@@ -1,98 +1,5 @@
export const modelData = [{
type: 'carousel',
name: '图片轮播',
icon: 'md-image',
showName: '',
size: "790*340",
options: {
list: [{
img: require('@/assets/nav/1.jpg'),
url: ''
},
{
img: require('@/assets/nav/2.jpg'),
url: ''
},
{
img: require('@/assets/nav/3.jpg'),
url: ''
}
],
},
},
// {
// type: 'carousel1',
// name: '图片轮播1',
// icon: 'md-image',
// size: "1200*470",
// options: {
// list: [{
// img: require('@/assets/nav/1.jpg'),
// url: '',
// bgColor: 'yellow'
// },
// {
// img: require('@/assets/nav/2.jpg'),
// url: '',
// bgColor: 'purple'
// },
// {
// img: require('@/assets/nav/3.jpg'),
// url: '',
// bgColor: 'blue'
// }
// ],
// },
// },
// {
// type: 'carousel2',
// name: '图片轮播2',
// icon: 'md-image',
// size: "590*470",
// options: {
// list: [{
// img: require('@/assets/nav/1.jpg'),
// url: ''
// },
// {
// img: require('@/assets/nav/2.jpg'),
// url: ''
// },
// {
// img: require('@/assets/nav/3.jpg'),
// url: ''
// }
// ],
// listRight: [
// [{
// img: require('@/assets/nav/1.jpg'),
// url: ''
// },
// {
// img: require('@/assets/nav/2.jpg'),
// url: ''
// },
// {
// img: require('@/assets/nav/3.jpg'),
// url: ''
// }
// ],
// [{
// img: require('@/assets/nav/1.jpg'),
// url: ''
// },
// {
// img: require('@/assets/nav/2.jpg'),
// url: ''
// },
// {
// img: require('@/assets/nav/3.jpg'),
// url: ''
// }
// ],
// ]
// },
// },
export const modelData = [
{
type: 'hotAdvert',
name: '热门广告',

View File

@@ -61,7 +61,7 @@
</ul>
</div>
</div>
</div>
</div>)
</div>
<!-- 左侧轮播装修 -->
<Modal
@@ -166,14 +166,12 @@
</table>
</TabPane>
</Tabs>
</div>
</Modal>
<!-- 选择商品链接 -->
<liliDialog
ref="liliDialog"
@selectedLink="selectedLink"
></liliDialog>
<!-- 选择图片 -->
<Modal width="1200px" v-model="picModelFlag" footer-hide>

View File

@@ -459,10 +459,9 @@ export default {
}
});
},
<<<<<<< HEAD
pageShow(type){
pageShow(type) {
this.form.pageShow = type
=======
},
getDeliverAddress(){
API_Shop.getDeliverAddress().then(res=>{
if(res.success){
@@ -474,7 +473,6 @@ export default {
}
}
})
>>>>>>> 4ea142ea086a3f534419a31b595de80497e16d90
},
//修改售后地址
regionClick() {

View File

@@ -116,7 +116,7 @@ export default {
: (this.submitWay.pageShow = "CLOSE");
this.submitWay.pageData = JSON.stringify(this.$store.state.styleStore);
this.submitWay.pageType = "INDEX";
this.submitWay.pageType = "STORE";
this.$route.query.id ? this.update() : this.submit(this.submitWay);
},
@@ -128,7 +128,7 @@ export default {
pageData: JSON.stringify(this.$store.state.styleStore),
name: this.submitWay.name,
pageShow: this.submitWay.pageShow,
pageType: "INDEX",
pageType: "STORE",
pageClientType: "H5",
})
.then((res) => {

View File

@@ -63,7 +63,7 @@ export default {
pageSize: 10,
sort: "createTime",
order: "desc",
pageType: "INDEX",
pageType: "STORE",
pageClientType: "H5",
},
total: 0, // 页面数量