Commit 53863de2 authored by 吴春's avatar 吴春

11

parent c5f5ba4c
...@@ -217,7 +217,7 @@ ...@@ -217,7 +217,7 @@
<view style=" padding: 2px 10px" :style="{ height: TenantId==18?'calc(100% - 127px)':'calc(100% - 192px)'}" <view style=" padding: 2px 10px" :style="{ height: TenantId==18?'calc(100% - 127px)':'calc(100% - 192px)'}"
v-if="g.length > 0" :class="[FilterCriShow?'FilterCenter':'']"> v-if="g.length > 0" :class="[FilterCriShow?'FilterCenter':'']">
<scroll-view :scroll-y="true" :enable-back-to-top="true" :enable-flex="true" @scrolltolower="lower" <scroll-view :scroll-y="true" :enable-back-to-top="true" :enable-flex="true" @scrolltolower="lower"
style="height: 100%; padding-bottom: 0px;padding-top: 20rpx;"> style="height: 100%; padding-bottom: 20rpx;padding-top: 20rpx;">
<u-row v-if="TenantId==18" gutter="24"> <u-row v-if="TenantId==18" gutter="24">
<u-col span="6" v-for="(x, i) in g" :key="i"> <u-col span="6" v-for="(x, i) in g" :key="i">
<view class="good_study_two" @click="openGood(x.ID)" :style="{ borderRadius: '20rpx' }"> <view class="good_study_two" @click="openGood(x.ID)" :style="{ borderRadius: '20rpx' }">
...@@ -397,7 +397,7 @@ ...@@ -397,7 +397,7 @@
onLoad(options) { onLoad(options) {
this.iscpswjselectall = uni.getStorageSync("basedata").iscpswjselectall this.iscpswjselectall = uni.getStorageSync("basedata").iscpswjselectall
let uid = uni.getStorageSync("mall_UserInfo") let uid = uni.getStorageSync("mall_UserInfo")
this.TenantId = uid.TenantId this.TenantId = this.GetMiniAppId().TenantId;
let tempReplace = uni.getStorageSync('replace_page_index') let tempReplace = uni.getStorageSync('replace_page_index')
if (tempReplace && tempReplace.state) { if (tempReplace && tempReplace.state) {
this.replace.state = tempReplace.state; this.replace.state = tempReplace.state;
......
...@@ -63,7 +63,7 @@ ...@@ -63,7 +63,7 @@
<view :style="{ height: TenantId==18?'calc(100% - 101px)':'calc(100% - 191px)'}" <view :style="{ height: TenantId==18?'calc(100% - 101px)':'calc(100% - 191px)'}"
v-if="dataList&&dataList.length > 0"> v-if="dataList&&dataList.length > 0">
<scroll-view :scroll-y="true" :enable-back-to-top="true" :enable-flex="true" @scrolltolower="lower" <scroll-view :scroll-y="true" :enable-back-to-top="true" :enable-flex="true" @scrolltolower="lower"
style="height: 100%; padding-bottom: 0px"> style="height: 100%; padding-bottom: 115px;">
<template v-if="TenantId==18"> <template v-if="TenantId==18">
<view v-for="(item, index) in dataList" :key="index"> <view v-for="(item, index) in dataList" :key="index">
<div class="good_study_one" @click="openGood(item.ID, typeList[item.ProjectType].Name)" :style="{ <div class="good_study_one" @click="openGood(item.ID, typeList[item.ProjectType].Name)" :style="{
...@@ -301,7 +301,7 @@ ...@@ -301,7 +301,7 @@
onLoad(options) { onLoad(options) {
this.iscpswjselectall = uni.getStorageSync("basedata").iscpswjselectall this.iscpswjselectall = uni.getStorageSync("basedata").iscpswjselectall
let uid = uni.getStorageSync("mall_UserInfo") let uid = uni.getStorageSync("mall_UserInfo")
this.TenantId = uid.TenantId this.TenantId = this.GetMiniAppId().TenantId;
let tempReplace = uni.getStorageSync('replace_page_index') let tempReplace = uni.getStorageSync('replace_page_index')
if (tempReplace && tempReplace.state) { if (tempReplace && tempReplace.state) {
this.replace.state = tempReplace.state; this.replace.state = tempReplace.state;
......
...@@ -218,14 +218,14 @@ ...@@ -218,14 +218,14 @@
nickName: "未登录", nickName: "未登录",
avatarUrl: "", avatarUrl: "",
}; };
this.showAuth = true; //this.showAuth = true;
} else { } else {
this.tenantId = this.u.TenantId this.tenantId = this.GetMiniAppId().TenantId;
this.getList(1);
this.getCommpanyStatus(); this.getCommpanyStatus();
this.isauth = true this.isauth = true
this.pageTitle = this.tenantId == 18 ? this.pageTitle : '商业资讯' this.pageTitle = this.tenantId == 18 ? this.pageTitle : '商业资讯'
} }
this.getList(1);
uni.setNavigationBarTitle({ uni.setNavigationBarTitle({
title: this.pageTitle, title: this.pageTitle,
}); });
......
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