首页 更改

This commit is contained in:
魏啾
2024-05-30 10:46:19 +08:00
parent 81b9131f9e
commit 7cf201581e
4 changed files with 9 additions and 7 deletions

View File

@@ -165,7 +165,7 @@
towcontentclick(item, index) { towcontentclick(item, index) {
this.towcontentclickindex = index this.towcontentclickindex = index
this.list = [] this.list = []
this.form.type = item.description this.form.type = item.value
this.form.page = 1 this.form.page = 1
this.form.size = 10 this.form.size = 10
this.form.status = 'loadmore' this.form.status = 'loadmore'

View File

@@ -385,7 +385,7 @@
this.seighT = data.windowHeight; this.seighT = data.windowHeight;
this.$u.getRect('.fourcontent').then(res => { this.$u.getRect('.fourcontent').then(res => {
console.log(res.top) console.log(res.top)
this.Topdistance = res.top - res.height - 20 //滚动距离 this.Topdistance = res.top - res.height //滚动距离
}) })
} }
}) })
@@ -708,7 +708,7 @@
} }
.fourcontent_itemactev { .fourcontent_itemactev {
// background: #fee06a; background: #fee06a;
} }
.fourcontent_item:nth-child(1) { .fourcontent_item:nth-child(1) {

View File

@@ -34,7 +34,8 @@
}; };
}, },
onLoad(e) { onLoad(e) {
this.shopName = e.name this.shopName = JSON.parse(decodeURIComponent(e.name));
console.log(this.shopName)
this.distirictcomShopList() this.distirictcomShopList()
}, },
onShow() {}, onShow() {},

View File

@@ -383,7 +383,7 @@
//#endif //#endif
}, },
methods: { methods: {
eeInfoindex(){ eeInfoindex() {
uni.pro.switchTab('index/index') uni.pro.switchTab('index/index')
}, },
overlayshowsboxs(e) { overlayshowsboxs(e) {
@@ -402,8 +402,8 @@
}, },
// 通用门店 // 通用门店
productgeneralstore(name) { productgeneralstore(name) {
uni.pro.navigateTo('product/generalstore', { uni.navigateTo({
name url:'/pages/product/generalstore?name=' + encodeURIComponent(JSON.stringify(name))
}) })
}, },
goMap(d) { goMap(d) {
@@ -474,6 +474,7 @@
.fixedview_letr { .fixedview_letr {
margin-left: 14rpx; margin-left: 14rpx;
.fixedview_letr_item:nth-child(1) { .fixedview_letr_item:nth-child(1) {
margin: 0; margin: 0;
} }