This commit is contained in:
java110 2023-02-16 12:21:40 +08:00
parent 54c3f6d25c
commit 8bd6e2572d
3 changed files with 7 additions and 5 deletions

View File

@ -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",

View File

@ -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

View File

@ -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;