Commit 4eaa1f81 by 严立

日常保存

parent 69af6051
......@@ -23,6 +23,7 @@ App({
appStatus: false,
appImageBase: '../../../image/',
appResourcesBase: iEnvironmental.host + '/userfiles/appResourcesS2/',
sourceValue: 1000,
shopId: iEnvironmental.shopId,
pointInfo: iEnvironmental.pointInfo,
payStateTimer: 0,
......@@ -30,7 +31,9 @@ App({
baseUrl: iOption.baseUrl,//测试
},
onLaunch: function () {
onLaunch: function (options) {
this.globalData.sourceValue = options.scene
console.log(this.globalData.sourceValue)
wxApiExtend(wx) // wx.api 拓展,重新定义某些 api 接口。
pageExtend(this) // Page 实例拓展,为所有 Page 统一增加属性或者方法
iMui(this) // m-ui 相关函数引入
......
let Development = {
// host: 'https://sm-web.meiqicloud.com',
host: 'https://smbhyh-web.meiqicloud.com',
host: 'https://sm-web.meiqicloud.com',
// host: 'https://smbhyh-web.meiqicloud.com',
// 景点信息
pointInfo: [
......
<m-nav scrollHeight="{{navScroll}}" changeHeight="650rpx" styleIndex="{{4}}" isOccupy="{{false}}"></m-nav>
<view class="container iphoneX-bottom-fill">
<view class="banner">
<swiper autoplay circular class="banner-swiper" indicator-dots="{{false}}" interval="5000" duration="500" bindchange="eventSwiperChange">
......
......@@ -28,18 +28,18 @@
"disablePlugins": [],
"outputPath": ""
},
"enableEngineNative": false,
"bundle": false,
"useIsolateContext": true,
"useCompilerModule": true,
"userConfirmedUseCompilerModuleSwitch": false,
"userConfirmedBundleSwitch": false,
"packNpmManually": false,
"packNpmRelationList": [],
"minifyWXSS": true,
"bundle": false
"minifyWXSS": true
},
"compileType": "miniprogram",
"libVersion": "2.11.0",
"appid": "wx7c468a29cb33a246",
"appid": "wx37a9b7a3d92029f2",
"projectname": "%E4%B8%96%E8%8C%82%E5%B0%8F%E7%A8%8B%E5%BA%8F%E4%BA%8C%E6%9C%9F",
"debugOptions": {
"hidedInDevtools": []
......
......@@ -8,6 +8,7 @@ let funcPageExtend = function (App) {
'imageBase': App.globalData.appImageBase,
'resourcesBase': App.globalData.appResourcesBase,
'isViewDataReady': false, // 视图显示控制,当页面数据请求到位时设置为 true ,以显示视图。避免请求过程中页面显示不完整问题。
'sourceValue': App.globalData.sourceValue,
})
// 捕获发送给当前页面的待处理事件
......
const output = {
// 三期测试环境
// baseUrl: 'https://sm-web.meiqicloud.com/api/',
baseUrl: 'https://sm-web.meiqicloud.com/api/',
// 正式环境
baseUrl: 'https://smbhyh-web.meiqicloud.com/api/',
// baseUrl: 'https://smbhyh-web.meiqicloud.com/api/',
}
export default output
\ No newline at end of file
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 sign in to comment