zsk 1 year ago
parent fee8d0376a
commit 1595789b1a

@ -2,7 +2,7 @@ App({
globalData: {
userInfo: null,
// ip: 'https://test.renminshitang.com.cn/daotian/api_dev',
ip: "https://daotian.matripe.com.cn",
ip: "",
// ip: 'http://localhost:8001',
sessionId: "",
header: {
@ -58,7 +58,29 @@ App({
// }
// },
onLaunch() {
let that = this;
let that = this;
const envVersion = wx.getAccountInfoSync().miniProgram.envVersion;
// export let baseUrl = ""
// 判断当前环境
console.log(envVersion)
if (envVersion === 'develop') {
console.log('当前是开发环境');
// baseUrl = "https://test.renminshitang.com.cn/zhuchangtong/api_dev"
that.globalData.ip = 'https://test.renminshitang.com.cn/daotian/api_dev'
// that.globalData.ip = 'https://daotian.matripe.com.cn'
// that.globalData.ip = 'https://daotian.matripe.com.cn'
} else if (envVersion === 'trial') {
console.log('当前是体验环境');
that.globalData.ip = "https://test.renminshitang.com.cn/daotian/api_dev"
} else if (envVersion === 'release') {
console.log('当前是正式环境');
that.globalData.ip = 'https://daotian.matripe.com.cn'
// baseUrl = "https://test.renminshitang.com.cn/zhuchangtong/api_dev"
}
wx.hideShareMenu();
Array.prototype.logResult = function (data) {
console.log("Array");

@ -2829,6 +2829,7 @@ Page({
*
*/
modalMove () {
console.log("123")
return false;
},
/**

@ -13,8 +13,7 @@
</view>
</form>
</view>
<scroll-view id="listBox" bindscrolltolower="onScrollToLower" scroll-top="{{topNum}}" enhanced binddragstart="listTouchStart" bindscroll="listTouchMove" style="height:calc(100vh - 56px)" enable-passive scroll-x="false" scroll-y="true" scroll-into-view="{{scrollTo}}" scroll-with-animation="false" enable-back-to-top="true">
<scroll-view id="listBox" bindscrolltolower="onScrollToLower" scroll-top="{{topNum}}" enhanced binddragstart="listTouchStart" bindscroll="listTouchMove" style="height:calc(100vh - 56px)" enable-passive scroll-x="{{false}}" scroll-y="{{whichOneShow == 'special' ? false : true}}" scroll-into-view="{{scrollTo}}" scroll-with-animation="false" enable-back-to-top="true">
<view class hover-class="none" hover-stop-propagation="false">
<!-- <view class="pr p010 br8" bindtap="sendMsg">
<image show-menu-by-longpress src="https://matripe-cms.oss-cn-beijing.aliyuncs.com/pugongying/yicai.png" mode="aspectFill" style="width: 100%;height:200px;display:block;" class="db toppic br8" bind:tap="clear"></image>
@ -264,7 +263,7 @@
<!-- 标准列表 -->
<view style="display:{{toped == 1 ? 'block' : 'none'}}">
<!-- margin-top:{{(selectBrandList.length > 0 || selectJobList.length > 0 || activez != 'all' || sexid != '-1' ? 34 : 0) + statusBarHeight + ((navigationBarHeight - menuButtonHeight) / 2) + 132}}px -->
<view class="standardList" style="padding-top: 0;min-height: calc(100vh - {{selectBrandList.length > 0 || selectJobList.length > 0 || activez != 'zuigao' || sexid != '-1' ? '170px':'214px'}})">
<view class="standardList" style="padding-top: 0;min-height: calc(100vh - {{selectBrandList.length > 0 || selectJobList.length > 0 || activez != 'zuigao' || sexid != '-1' ? '170px':'214px'}})">
<view>
<view wx:if="{{recordList != null && recordList.length > 0}}" style="padding-top: 0;overflow-x: hidden;">
<view class="jcenter bgf br8">

Loading…
Cancel
Save