From 05db93c48c69b1fc5db8bb2fce4c37014e92e450 Mon Sep 17 00:00:00 2001
From: doum <doum>
Date: 星期二, 19 八月 2025 10:01:30 +0800
Subject: [PATCH] 代码初始化

---
 h5/main.js |   28 +++++++++++++++++++++++++++-
 1 files changed, 27 insertions(+), 1 deletions(-)

diff --git a/h5/main.js b/h5/main.js
index d0f69df..c173189 100644
--- a/h5/main.js
+++ b/h5/main.js
@@ -1,14 +1,40 @@
 import App from './App'
 import Vue from 'vue'
 import uView from "uview-ui";
+import store from './store/index.js'
 import './uni.promisify.adaptor'
+// import Vconsole from 'vconsole'
+import * as ww from '@wecom/jssdk'
 
 Vue.config.productionTip = false
 App.mpType = 'app'
 Vue.use(uView);
 
+// Vue.prototype.$baseUrl = 'https://dmtest.ahapp.net/lianhelihua_interface'
+// Vue.prototype.$baseUrl = 'https://test.doumee.cn/lianhelihua_interface'
+Vue.prototype.$baseUrl = 'https://lkshereporting.unilever-china.com/lianhelihua_interface'
+// Vue.prototype.$baseUrl = 'http://192.168.0.136:10040'
+Vue.prototype.$store = store;
+Vue.prototype.$ww = ww;
+// Vue.prototype.$vConsole= new Vconsole()
+
+//绂佹婊戝姩
+Vue.prototype.stopScroll = function () {
+	var box = function(e) { passive: false };
+	document.body.style.overflow = 'hidden';
+	document.addEventListener("touchmove", box, false);
+}
+//鍙互婊戝姩
+Vue.prototype.canScroll = function () {
+	var box = function(e) { passive: false };
+	document.body.style.overflow= '';
+	document.removeEventListener("touchmove", box, false);
+}
+
+
 const app = new Vue({
-  ...App
+	store,
+	...App
 })
 
 // http鎺ュ彛API鎶界

--
Gitblit v1.9.3