Commit 242face2 authored by 黄奎's avatar 黄奎

页面修改

parent 02a01d21
<style>
.mimipage .el-tabs__header{
.mimipage .el-tabs__header {
padding: 0 20px;
height: 56px;
line-height: 56px;
background-color: #fff;
margin-bottom:15px;
margin-bottom: 15px;
}
.mimipage .panelDiv{
.mimipage .panelDiv {
display: flex;
flex-wrap: wrap;
}
.mimipage .panel_item{
.mimipage .panel_item {
background-color: #fff;
width: 33%;
min-height: 185px;
......@@ -19,7 +21,8 @@
padding: 20px;
margin-right: 0.33%;
}
.mimipage .panel_name{
.mimipage .panel_name {
background-color: #F4F4F5;
color: #909399;
width: auto;
......@@ -33,9 +36,11 @@
border: 1px solid #E0E0E3;
margin-bottom: 5px;
}
.mimipage .el-form-item{
margin-bottom:0;
.mimipage .el-form-item {
margin-bottom: 0;
}
</style>
<template>
<div class="mimipage">
......@@ -78,7 +83,9 @@
},
getList() {
this.apipost("/api/Tenant/GetMiniprogramPageListExt", {}, res => {
this.apipost("/api/Tenant/GetMiniprogramPageListExt", {
IsHiddenGoods: 1
}, res => {
if (res.data.resultCode == 1) {
this.dataList = res.data.data;
} else {
......@@ -91,4 +98,5 @@
this.getList();
}
};
</script>
<style>
.mimititle .mimitBody{
padding:20px;
.mimititle .mimitBody {
padding: 20px;
background-color: #fff;
margin:10px 0 20px 0;
display:table;
width:100%;
margin: 10px 0 20px 0;
display: table;
width: 100%;
}
.mimititle .mimitList{
margin-bottom:15px;
.mimititle .mimitList {
margin-bottom: 15px;
display: flex;
flex-direction: row;
}
.mimititle .mimitBody .el-tag{
.mimititle .mimitBody .el-tag {
min-width: 120px;
padding-right: 50px;
}
.mimititle .el-button--small{
padding:9px 25px;
.mimititle .el-button--small {
padding: 9px 25px;
}
</style>
<template>
<div class="mimititle">
......@@ -30,7 +34,8 @@
</div>
<div class="el-col el-col-12 mimitList" :key="index+1000">
<el-tag v-if="item.secondItem">{{item.secondItem.PageName}}</el-tag>
<el-input v-if="item.secondItem" v-model="item.secondItem.SelfPageName" type="text" style="margin:0 20px;" size="small"></el-input>
<el-input v-if="item.secondItem" v-model="item.secondItem.SelfPageName" type="text" style="margin:0 20px;"
size="small"></el-input>
</div>
</template>
</div>
......@@ -52,7 +57,9 @@
methods: {
getList() {
this.dataList = [];
this.apipost("/api/Tenant/GetMiniprogramPageListExt", {}, res => {
this.apipost("/api/Tenant/GetMiniprogramPageListExt", {
IsHiddenGoods: 1
}, res => {
if (res.data.resultCode == 1) {
var data = res.data.data;
var myArray = [];
......@@ -126,14 +133,14 @@
},
//恢复默认
resetInfo(){
resetInfo() {
if (this.dataList && this.dataList.length > 0) {
this.dataList.forEach(item => {
if (item.firstItem) {
item.firstItem.SelfPageName=''
item.firstItem.SelfPageName = ''
}
if (item.secondItem) {
item.secondItem.SelfPageName=''
item.secondItem.SelfPageName = ''
}
})
}
......@@ -143,4 +150,5 @@
this.getList();
}
};
</script>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment