mirror of
https://gitee.com/java110/WechatOwnerService.git
synced 2026-06-11 06:07:24 +08:00
mall bug
This commit is contained in:
parent
54c3f6d25c
commit
8bd6e2572d
@ -25,11 +25,12 @@ import {
|
|||||||
*/
|
*/
|
||||||
export function getRooms() {
|
export function getRooms() {
|
||||||
return new Promise((resolve, reject) => {
|
return new Promise((resolve, reject) => {
|
||||||
if(!_owner.ownerId){
|
|
||||||
reject('未包含业主信息');
|
|
||||||
}
|
|
||||||
getCurOwner()
|
getCurOwner()
|
||||||
.then(function(_owner) {
|
.then(function(_owner) {
|
||||||
|
if(!_owner.ownerId){
|
||||||
|
reject('未包含业主信息');
|
||||||
|
}
|
||||||
request({
|
request({
|
||||||
url: url.queryRoomsByOwner,
|
url: url.queryRoomsByOwner,
|
||||||
method: "GET",
|
method: "GET",
|
||||||
|
|||||||
@ -76,7 +76,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
this.products=[];
|
this.products=[];
|
||||||
this.pagefrom =1;
|
this.pagefrom =0;
|
||||||
|
|
||||||
queryMainCategory(_data)
|
queryMainCategory(_data)
|
||||||
.then((products) => {
|
.then((products) => {
|
||||||
@ -93,7 +93,7 @@
|
|||||||
let _that = this;
|
let _that = this;
|
||||||
_that.communityId = getMallCommunityId();
|
_that.communityId = getMallCommunityId();
|
||||||
let _data = {
|
let _data = {
|
||||||
page: this.pagefrom,
|
page: this.pagefrom+1,
|
||||||
row: this.pagesize,
|
row: this.pagesize,
|
||||||
communityId: _that.communityId,
|
communityId: _that.communityId,
|
||||||
mainCategoryId: _that.curCategoryId
|
mainCategoryId: _that.curCategoryId
|
||||||
|
|||||||
@ -78,6 +78,7 @@
|
|||||||
padding:10upx;
|
padding:10upx;
|
||||||
image{
|
image{
|
||||||
height: 380upx;
|
height: 380upx;
|
||||||
|
width: 100%;
|
||||||
}
|
}
|
||||||
.face-desc{
|
.face-desc{
|
||||||
font-size: 32upx;
|
font-size: 32upx;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user