Commit 4eaa1f81 by 严立

日常保存

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