wcni 5 éve
szülő
commit
d6263bfbb5
38 módosított fájl, 1387 hozzáadás és 0 törlés
  1. 126 0
      App.vue
  2. 11 0
      main.js
  3. 73 0
      manifest.json
  4. 50 0
      pages.json
  5. 77 0
      pages/index/index.vue
  6. 8 0
      pages/myone/oneIndex.vue
  7. 8 0
      pages/taBar/one/one.vue
  8. 8 0
      pages/taBar/three/three.vue
  9. BIN
      static/logo.png
  10. 85 0
      store/logion.js
  11. 76 0
      uni.scss
  12. 0 0
      unpackage/dist/dev/.sourcemap/mp-weixin/common/main.js.map
  13. 0 0
      unpackage/dist/dev/.sourcemap/mp-weixin/common/runtime.js.map
  14. 0 0
      unpackage/dist/dev/.sourcemap/mp-weixin/common/vendor.js.map
  15. 0 0
      unpackage/dist/dev/.sourcemap/mp-weixin/pages/index/index.js.map
  16. 0 0
      unpackage/dist/dev/.sourcemap/mp-weixin/pages/taBar/one/one.js.map
  17. 0 0
      unpackage/dist/dev/.sourcemap/mp-weixin/pages/taBar/three/three.js.map
  18. 1 0
      unpackage/dist/dev/.sourcemap/mp-weixin/pages/taBar/two/two.js.map
  19. 4 0
      unpackage/dist/dev/mp-weixin/app.js
  20. 33 0
      unpackage/dist/dev/mp-weixin/app.json
  21. 1 0
      unpackage/dist/dev/mp-weixin/app.wxss
  22. 226 0
      unpackage/dist/dev/mp-weixin/common/main.js
  23. 126 0
      unpackage/dist/dev/mp-weixin/common/main.wxss
  24. 157 0
      unpackage/dist/dev/mp-weixin/common/runtime.js
  25. 10 0
      unpackage/dist/dev/mp-weixin/common/vendor.js
  26. 81 0
      unpackage/dist/dev/mp-weixin/pages/index/index.js
  27. 4 0
      unpackage/dist/dev/mp-weixin/pages/index/index.json
  28. 1 0
      unpackage/dist/dev/mp-weixin/pages/index/index.wxml
  29. 37 0
      unpackage/dist/dev/mp-weixin/pages/index/index.wxss
  30. 67 0
      unpackage/dist/dev/mp-weixin/pages/taBar/one/one.js
  31. 4 0
      unpackage/dist/dev/mp-weixin/pages/taBar/one/one.json
  32. 1 0
      unpackage/dist/dev/mp-weixin/pages/taBar/one/one.wxml
  33. 67 0
      unpackage/dist/dev/mp-weixin/pages/taBar/three/three.js
  34. 4 0
      unpackage/dist/dev/mp-weixin/pages/taBar/three/three.json
  35. 1 0
      unpackage/dist/dev/mp-weixin/pages/taBar/three/three.wxml
  36. 33 0
      unpackage/dist/dev/mp-weixin/project.config.json
  37. 7 0
      unpackage/dist/dev/mp-weixin/sitemap.json
  38. BIN
      unpackage/dist/dev/mp-weixin/static/logo.png

+ 126 - 0
App.vue

@@ -0,0 +1,126 @@
+<script>
+	import {
+		mapMutations,
+	} from 'vuex';
+	export default {
+		methods: {
+			...mapMutations(['setOpenid','login','showDialog'])
+		},
+		
+		onLaunch: function() {
+			// 用户登录
+			console.log(this.$store)
+			let that = this;
+			let sessionId =  uni.getStorageSync('sessionId');// 用户sessinid
+			console.log(sessionId)
+			if(sessionId != '') {
+				uni.checkSession({
+					   success(){  
+					     console.log("登录未过期")  
+						 that.setOpenid("22222");
+					    },  
+					
+						fail(){  
+						 console.log("jjjj")
+			             // 登录过期 重新登录
+					     uni.login({
+					     		provider: 'weixin',
+					     		success: function(res) {
+					     		  // 获取code  
+					     			 that.setOpenid("22222");
+					     			 that.login();
+					     			 // 获取sessionId
+					     			 uni.request({
+					     				  url: '',
+					     				  data: {
+					     				  
+					     				  },
+					     				  success: (res) => {
+					     					  //this.setOpenid("dddd")
+					     					  
+					     				  }
+					     			  })
+					     		},
+					     		fail: function(res) {
+					     			
+					     		}
+					     })
+						}  
+				})
+			}else {
+			  uni.login({
+			  		provider: 'weixin',
+			  		success: function(res) {
+			  		  // 获取code  
+			  			 that.setOpenid("22222");
+			  			 that.login();
+			  			 // 获取sessionId
+			  			 uni.request({
+			  				  url: '',
+			  				  data: {
+			  				  
+			  				  },
+			  				  success: (res) => {
+			  					  //this.setOpenid("dddd")
+			  					  
+			  				  }
+			  			  })
+			  		},
+			  		fail: function(res) {
+			  			
+			  		}
+			  })
+			};
+		   // 用户授全
+			uni.getSetting({
+			  success(res) {
+			   if (res.authSetting['scope.userInfo']) {
+			    console.log("已授权=====")
+			    console.log(uni.getStorageSync('sessionId'));
+			    // 已经授权,可以直接调用 getUserInfo 获取头像昵称
+			    uni.getUserInfo({
+			     success(res) {
+				 that.login(res.userInfo);
+				  // uni.setStorage({//缓存用户登陆状态
+						//  key: 'userInfo',  
+						//  data: res.userInfo  
+				  // })  
+			     },
+			     fail(res) {
+			      console.log("获取用户信息失败", res)
+			     }
+			    })
+			   } else {
+				console.log("触发授权")
+				uni.showModal({
+				    title: '提示',
+				    content: '请前往授权',
+				    success: function (res) {
+				        if (res.confirm) {
+				           that.showDialog(true)
+				        } else if (res.cancel) {
+				            uni.showToast({
+				                title: '授权失败不能正常使用',
+				                duration: 2000
+				            });
+				        }
+				    }
+				});
+			//     console.log("未授权=====")
+			//     that.showSettingToast("请授权")
+			   }
+			  }
+			 })
+		},
+		onShow: function() {
+			console.log('App Show')
+		},
+		onHide: function() {
+			console.log('App Hide')
+		}
+	}
+</script>
+
+<style>
+	/*每个页面公共css */
+</style>

+ 11 - 0
main.js

@@ -0,0 +1,11 @@
+import Vue from 'vue'
+import App from './App'
+import store from './store/logion.js'	
+Vue.config.productionTip = false
+Vue.prototype.$store = store
+App.mpType = 'app'
+
+const app = new Vue({
+    ...App
+})
+app.$mount()

+ 73 - 0
manifest.json

@@ -0,0 +1,73 @@
+{
+    "name" : "myUinapp",
+    "appid" : "__UNI__99C074F",
+    "description" : "",
+    "versionName" : "1.0.0",
+    "versionCode" : "100",
+    "transformPx" : false,
+    /* 5+App特有相关 */
+    "app-plus" : {
+        "usingComponents" : true,
+        "splashscreen" : {
+            "alwaysShowBeforeRender" : true,
+            "waiting" : true,
+            "autoclose" : true,
+            "delay" : 0
+        },
+        /* 模块配置 */
+        "modules" : {},
+        /* 应用发布信息 */
+        "distribute" : {
+            /* android打包配置 */
+            "android" : {
+                "permissions" : [
+                    "<uses-permission android:name=\"android.permission.CHANGE_NETWORK_STATE\"/>",
+                    "<uses-permission android:name=\"android.permission.MOUNT_UNMOUNT_FILESYSTEMS\"/>",
+                    "<uses-permission android:name=\"android.permission.READ_CONTACTS\"/>",
+                    "<uses-permission android:name=\"android.permission.VIBRATE\"/>",
+                    "<uses-permission android:name=\"android.permission.READ_LOGS\"/>",
+                    "<uses-permission android:name=\"android.permission.ACCESS_WIFI_STATE\"/>",
+                    "<uses-feature android:name=\"android.hardware.camera.autofocus\"/>",
+                    "<uses-permission android:name=\"android.permission.WRITE_CONTACTS\"/>",
+                    "<uses-permission android:name=\"android.permission.ACCESS_NETWORK_STATE\"/>",
+                    "<uses-permission android:name=\"android.permission.CAMERA\"/>",
+                    "<uses-permission android:name=\"android.permission.RECORD_AUDIO\"/>",
+                    "<uses-permission android:name=\"android.permission.GET_ACCOUNTS\"/>",
+                    "<uses-permission android:name=\"android.permission.MODIFY_AUDIO_SETTINGS\"/>",
+                    "<uses-permission android:name=\"android.permission.READ_PHONE_STATE\"/>",
+                    "<uses-permission android:name=\"android.permission.CHANGE_WIFI_STATE\"/>",
+                    "<uses-permission android:name=\"android.permission.WAKE_LOCK\"/>",
+                    "<uses-permission android:name=\"android.permission.CALL_PHONE\"/>",
+                    "<uses-permission android:name=\"android.permission.FLASHLIGHT\"/>",
+                    "<uses-permission android:name=\"android.permission.ACCESS_COARSE_LOCATION\"/>",
+                    "<uses-feature android:name=\"android.hardware.camera\"/>",
+                    "<uses-permission android:name=\"android.permission.ACCESS_FINE_LOCATION\"/>",
+                    "<uses-permission android:name=\"android.permission.WRITE_SETTINGS\"/>"
+                ]
+            },
+            /* ios打包配置 */
+            "ios" : {},
+            /* SDK配置 */
+            "sdkConfigs" : {}
+        }
+    },
+    /* 快应用特有相关 */
+    "quickapp" : {},
+    /* 小程序特有相关 */
+    "mp-weixin" : {
+        "appid" : "wxc566017770d22c31",
+        "setting" : {
+            "urlCheck" : true
+        },
+        "usingComponents" : true
+    },
+    "mp-alipay" : {
+        "usingComponents" : true
+    },
+    "mp-baidu" : {
+        "usingComponents" : true
+    },
+    "mp-toutiao" : {
+        "usingComponents" : true
+    }
+}

+ 50 - 0
pages.json

@@ -0,0 +1,50 @@
+{
+	"pages": [ //pages数组中第一项表示应用启动页,参考:https://uniapp.dcloud.io/collocation/pages
+		{
+			"path": "pages/index/index",
+			"style": {
+				"navigationBarTitleText": "uni-app"
+			}
+		},
+		{
+			"path": "pages/taBar/one/one",
+			"style": {
+				"navigationBarTitleText": "我得分页1"
+			}
+		},
+		
+		{
+			"path": "pages/taBar/three/three",
+			"style": {
+				"navigationBarTitleText": "我得分页3"
+			}
+		}
+		
+	],
+	"tabBar": {
+		"color": "#C0C4CC",
+		"list": [
+			{
+				"pagePath": "pages/index/index",
+				"text":  "uni-app"
+				
+			},
+			{
+				"pagePath": "pages/taBar/one/one",
+				"text": "二页"
+			},
+			
+			{
+				"pagePath": "pages/taBar/three/three",
+				"text": "三页"
+			}
+		]
+	},
+	
+	"globalStyle": {
+		"navigationBarTextStyle": "black",
+		"navigationBarTitleText": "uni-app",
+		"navigationBarBackgroundColor": "#F8F8F8",
+		"backgroundColor": "#F8F8F8"
+	}
+}

+ 77 - 0
pages/index/index.vue

@@ -0,0 +1,77 @@
+<template>
+	<view class="content">
+	 <view>
+		 
+		 <view>ddddddd{{showModal}}</view>
+		<!-- <button open-type="getUserInfo">用户登录</button> -->
+		<button v-if="showModal" open-type="getUserInfo" @click="wxlogion">请点击授权</button>
+	 </view>
+	</view>
+</template>
+
+<script>
+	import {
+		mapMutations,mapState
+	} from 'vuex';
+	export default {
+		data() {
+			return {
+				title: 'Hello',
+			}
+		},
+		computed:{
+			...mapState([
+			  'showModal'
+			]),
+		},
+		onLoad() {
+		 
+		},
+		methods: {
+			...mapMutations(['login','showDialog']),
+			wxlogion() {
+				let  that = this;
+			    uni.getUserInfo({
+			     success(res) {
+				     that.login(res.userInfo);
+					 that.showDialog(false);
+			     },
+			     fail(res) {
+			     uni.showModal({
+					title: 'shouquanshibai',
+				   })
+			     }
+			    })
+			
+		 }
+},
+}
+</script>
+
+<style>
+	.content {
+		display: flex;
+		flex-direction: column;
+		align-items: center;
+		justify-content: center;
+	}
+
+	.logo {
+		height: 200upx;
+		width: 200upx;
+		margin-top: 200upx;
+		margin-left: auto;
+		margin-right: auto;
+		margin-bottom: 50upx;
+	}
+
+	.text-area {
+		display: flex;
+		justify-content: center;
+	}
+
+	.title {
+		font-size: 36upx;
+		color: #8f8f94;
+	}
+</style>

+ 8 - 0
pages/myone/oneIndex.vue

@@ -0,0 +1,8 @@
+<template>
+</template>
+  <view>我是分页1</view>
+<script>
+</script>
+
+<style>
+</style>

+ 8 - 0
pages/taBar/one/one.vue

@@ -0,0 +1,8 @@
+<template>
+</template>
+<view>one 切换</view>
+<script>
+</script>
+
+<style>
+</style>

+ 8 - 0
pages/taBar/three/three.vue

@@ -0,0 +1,8 @@
+<template>
+</template>
+<view>three切换</view>
+<script>
+</script>
+
+<style>
+</style>

BIN
static/logo.png


+ 85 - 0
store/logion.js

@@ -0,0 +1,85 @@
+import Vue from 'vue'
+import Vuex from 'vuex'
+
+Vue.use(Vuex)
+
+const store = new Vuex.Store({
+	state: {
+		hasLogin: false,
+		sessionId:'',
+		showModal: false, //登录授权弹窗
+		userInfo: {},
+	},
+	mutations: {
+		login(state, provider) {
+			state.hasLogin = true;
+			state.userInfo = provider;
+			uni.setStorage({//缓存用户登陆状态
+			    key: 'userInfo',  
+			    data: provider  
+			}) 
+			console.log(state.userInfo);
+		},
+		
+		setOpenid(state, provider) {
+			state.sessionId = provider;
+			uni.setStorage({//缓存用户登陆状态
+			    key: 'sessionId',  
+			    data: provider  
+			}) 
+			
+		},
+		showDialog(state, status) {
+			state.showModal = status;
+			uni.setStorage({//缓存用户登陆状态
+			    key: 'showModal',  
+			    data: status  
+			}) 
+			console.log(state.showModal);
+		},
+		
+		
+		logout(state) {
+			state.hasLogin = false;
+			state.userInfo = {};
+			state.sessionId = '';
+			uni.removeStorage({  
+		        key: 'userInfo'  
+		    })
+			uni.removeStorage({
+			    key: 'sessionId'  
+			})
+		}
+	},
+	// actions: {
+	// 	// lazy loading openid
+	// 	getUserOpenId: async function ({
+	// 		commit,
+	// 		state
+	// 	}) {
+	// 		return await new Promise((resolve, reject) => {
+	// 			if (state.openid) {
+	// 				resolve(state.openid)
+	// 			} else {
+	// 				uni.login({
+	// 					success: (data) => {
+	// 						commit('login')
+	// 						setTimeout(function () { //模拟异步请求服务器获取 openid
+	// 							const openid = '123456789'
+	// 							commit('setOpenid', openid)
+	// 							resolve(openid)
+	// 						}, 1000)
+	// 					},
+	// 					fail: (err) => {
+	// 						console.log('uni.login 接口调用失败,将无法正常使用开放接口等服务', err)
+	// 						reject(err)
+	// 					}
+	// 				})
+	// 			}
+	// 		})
+	// 	}
+	// }
+})
+
+export default store
+

+ 76 - 0
uni.scss

@@ -0,0 +1,76 @@
+/**
+ * 这里是uni-app内置的常用样式变量
+ *
+ * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量
+ * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App
+ *
+ */
+
+/**
+ * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能
+ *
+ * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件
+ */
+
+/* 颜色变量 */
+
+/* 行为相关颜色 */
+$uni-color-primary: #007aff;
+$uni-color-success: #4cd964;
+$uni-color-warning: #f0ad4e;
+$uni-color-error: #dd524d;
+
+/* 文字基本颜色 */
+$uni-text-color:#333;//基本色
+$uni-text-color-inverse:#fff;//反色
+$uni-text-color-grey:#999;//辅助灰色,如加载更多的提示信息
+$uni-text-color-placeholder: #808080;
+$uni-text-color-disable:#c0c0c0;
+
+/* 背景颜色 */
+$uni-bg-color:#ffffff;
+$uni-bg-color-grey:#f8f8f8;
+$uni-bg-color-hover:#f1f1f1;//点击状态颜色
+$uni-bg-color-mask:rgba(0, 0, 0, 0.4);//遮罩颜色
+
+/* 边框颜色 */
+$uni-border-color:#c8c7cc;
+
+/* 尺寸变量 */
+
+/* 文字尺寸 */
+$uni-font-size-sm:24upx;
+$uni-font-size-base:28upx;
+$uni-font-size-lg:32upx;
+
+/* 图片尺寸 */
+$uni-img-size-sm:40upx;
+$uni-img-size-base:52upx;
+$uni-img-size-lg:80upx;
+
+/* Border Radius */
+$uni-border-radius-sm: 4upx;
+$uni-border-radius-base: 6upx;
+$uni-border-radius-lg: 12upx;
+$uni-border-radius-circle: 50%;
+
+/* 水平间距 */
+$uni-spacing-row-sm: 10px;
+$uni-spacing-row-base: 20upx;
+$uni-spacing-row-lg: 30upx;
+
+/* 垂直间距 */
+$uni-spacing-col-sm: 8upx;
+$uni-spacing-col-base: 16upx;
+$uni-spacing-col-lg: 24upx;
+
+/* 透明度 */
+$uni-opacity-disabled: 0.3; // 组件禁用态的透明度
+
+/* 文章场景相关 */
+$uni-color-title: #2C405A; // 文章标题颜色
+$uni-font-size-title:40upx;
+$uni-color-subtitle: #555555; // 二级标题颜色
+$uni-font-size-subtitle:36upx;
+$uni-color-paragraph: #3F536E; // 文章段落颜色
+$uni-font-size-paragraph:30upx;

A különbségek nem kerülnek megjelenítésre, a fájl túl nagy
+ 0 - 0
unpackage/dist/dev/.sourcemap/mp-weixin/common/main.js.map


A különbségek nem kerülnek megjelenítésre, a fájl túl nagy
+ 0 - 0
unpackage/dist/dev/.sourcemap/mp-weixin/common/runtime.js.map


A különbségek nem kerülnek megjelenítésre, a fájl túl nagy
+ 0 - 0
unpackage/dist/dev/.sourcemap/mp-weixin/common/vendor.js.map


A különbségek nem kerülnek megjelenítésre, a fájl túl nagy
+ 0 - 0
unpackage/dist/dev/.sourcemap/mp-weixin/pages/index/index.js.map


A különbségek nem kerülnek megjelenítésre, a fájl túl nagy
+ 0 - 0
unpackage/dist/dev/.sourcemap/mp-weixin/pages/taBar/one/one.js.map


A különbségek nem kerülnek megjelenítésre, a fájl túl nagy
+ 0 - 0
unpackage/dist/dev/.sourcemap/mp-weixin/pages/taBar/three/three.js.map


+ 1 - 0
unpackage/dist/dev/.sourcemap/mp-weixin/pages/taBar/two/two.js.map

@@ -0,0 +1 @@
+{"version":3,"sources":["webpack:///C:/Users/Administrator/Documents/HBuilderProjects/myUinapp/main.js"],"names":["createPage","Page"],"mappings":";;;;;;;;;;kDAAA,wCAAmB;;AAEnB;AACA,4M;AACAA,UAAU,CAACC,YAAD,CAAV,C","file":"pages/taBar/two/two.js","sourcesContent":["import 'uni-pages';import '@dcloudio/uni-stat';\n\nimport Vue from 'vue'\nimport Page from './pages/taBar/two/two.vue'\ncreatePage(Page)"],"sourceRoot":""}

+ 4 - 0
unpackage/dist/dev/mp-weixin/app.js

@@ -0,0 +1,4 @@
+
+require('./common/runtime.js')
+require('./common/vendor.js')
+require('./common/main.js')

+ 33 - 0
unpackage/dist/dev/mp-weixin/app.json

@@ -0,0 +1,33 @@
+{
+  "pages": [
+    "pages/index/index",
+    "pages/taBar/one/one",
+    "pages/taBar/three/three"
+  ],
+  "subPackages": [],
+  "window": {
+    "navigationBarTextStyle": "black",
+    "navigationBarTitleText": "uni-app",
+    "navigationBarBackgroundColor": "#F8F8F8",
+    "backgroundColor": "#F8F8F8"
+  },
+  "tabBar": {
+    "color": "#C0C4CC",
+    "list": [
+      {
+        "pagePath": "pages/index/index",
+        "text": "uni-app"
+      },
+      {
+        "pagePath": "pages/taBar/one/one",
+        "text": "二页"
+      },
+      {
+        "pagePath": "pages/taBar/three/three",
+        "text": "三页"
+      }
+    ]
+  },
+  "usingComponents": {},
+  "sitemapLocation": "sitemap.json"
+}

+ 1 - 0
unpackage/dist/dev/mp-weixin/app.wxss

@@ -0,0 +1 @@
+@import './common/main.wxss';

A különbségek nem kerülnek megjelenítésre, a fájl túl nagy
+ 226 - 0
unpackage/dist/dev/mp-weixin/common/main.js


+ 126 - 0
unpackage/dist/dev/mp-weixin/common/main.wxss

@@ -0,0 +1,126 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+/*每个页面公共css */
+

+ 157 - 0
unpackage/dist/dev/mp-weixin/common/runtime.js

@@ -0,0 +1,157 @@
+
+  !function(){try{var a=Function("return this")();a&&!a.Math&&(Object.assign(a,{isFinite:isFinite,Array:Array,Date:Date,Error:Error,Function:Function,Math:Math,Object:Object,RegExp:RegExp,String:String,TypeError:TypeError,setTimeout:setTimeout,clearTimeout:clearTimeout,setInterval:setInterval,clearInterval:clearInterval}),"undefined"!=typeof Reflect&&(a.Reflect=Reflect))}catch(a){}}();
+  /******/ (function(modules) { // webpackBootstrap
+/******/ 	// install a JSONP callback for chunk loading
+/******/ 	function webpackJsonpCallback(data) {
+/******/ 		var chunkIds = data[0];
+/******/ 		var moreModules = data[1];
+/******/ 		var executeModules = data[2];
+/******/
+/******/ 		// add "moreModules" to the modules object,
+/******/ 		// then flag all "chunkIds" as loaded and fire callback
+/******/ 		var moduleId, chunkId, i = 0, resolves = [];
+/******/ 		for(;i < chunkIds.length; i++) {
+/******/ 			chunkId = chunkIds[i];
+/******/ 			if(installedChunks[chunkId]) {
+/******/ 				resolves.push(installedChunks[chunkId][0]);
+/******/ 			}
+/******/ 			installedChunks[chunkId] = 0;
+/******/ 		}
+/******/ 		for(moduleId in moreModules) {
+/******/ 			if(Object.prototype.hasOwnProperty.call(moreModules, moduleId)) {
+/******/ 				modules[moduleId] = moreModules[moduleId];
+/******/ 			}
+/******/ 		}
+/******/ 		if(parentJsonpFunction) parentJsonpFunction(data);
+/******/
+/******/ 		while(resolves.length) {
+/******/ 			resolves.shift()();
+/******/ 		}
+/******/
+/******/ 		// add entry modules from loaded chunk to deferred list
+/******/ 		deferredModules.push.apply(deferredModules, executeModules || []);
+/******/
+/******/ 		// run deferred modules when all chunks ready
+/******/ 		return checkDeferredModules();
+/******/ 	};
+/******/ 	function checkDeferredModules() {
+/******/ 		var result;
+/******/ 		for(var i = 0; i < deferredModules.length; i++) {
+/******/ 			var deferredModule = deferredModules[i];
+/******/ 			var fulfilled = true;
+/******/ 			for(var j = 1; j < deferredModule.length; j++) {
+/******/ 				var depId = deferredModule[j];
+/******/ 				if(installedChunks[depId] !== 0) fulfilled = false;
+/******/ 			}
+/******/ 			if(fulfilled) {
+/******/ 				deferredModules.splice(i--, 1);
+/******/ 				result = __webpack_require__(__webpack_require__.s = deferredModule[0]);
+/******/ 			}
+/******/ 		}
+/******/ 		return result;
+/******/ 	}
+/******/
+/******/ 	// The module cache
+/******/ 	var installedModules = {};
+/******/
+/******/ 	// object to store loaded and loading chunks
+/******/ 	// undefined = chunk not loaded, null = chunk preloaded/prefetched
+/******/ 	// Promise = chunk loading, 0 = chunk loaded
+/******/ 	var installedChunks = {
+/******/ 		"common/runtime": 0
+/******/ 	};
+/******/
+/******/ 	var deferredModules = [];
+/******/
+/******/ 	// The require function
+/******/ 	function __webpack_require__(moduleId) {
+/******/
+/******/ 		// Check if module is in cache
+/******/ 		if(installedModules[moduleId]) {
+/******/ 			return installedModules[moduleId].exports;
+/******/ 		}
+/******/ 		// Create a new module (and put it into the cache)
+/******/ 		var module = installedModules[moduleId] = {
+/******/ 			i: moduleId,
+/******/ 			l: false,
+/******/ 			exports: {}
+/******/ 		};
+/******/
+/******/ 		// Execute the module function
+/******/ 		modules[moduleId].call(module.exports, module, module.exports, __webpack_require__);
+/******/
+/******/ 		// Flag the module as loaded
+/******/ 		module.l = true;
+/******/
+/******/ 		// Return the exports of the module
+/******/ 		return module.exports;
+/******/ 	}
+/******/
+/******/
+/******/ 	// expose the modules object (__webpack_modules__)
+/******/ 	__webpack_require__.m = modules;
+/******/
+/******/ 	// expose the module cache
+/******/ 	__webpack_require__.c = installedModules;
+/******/
+/******/ 	// define getter function for harmony exports
+/******/ 	__webpack_require__.d = function(exports, name, getter) {
+/******/ 		if(!__webpack_require__.o(exports, name)) {
+/******/ 			Object.defineProperty(exports, name, { enumerable: true, get: getter });
+/******/ 		}
+/******/ 	};
+/******/
+/******/ 	// define __esModule on exports
+/******/ 	__webpack_require__.r = function(exports) {
+/******/ 		if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
+/******/ 			Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
+/******/ 		}
+/******/ 		Object.defineProperty(exports, '__esModule', { value: true });
+/******/ 	};
+/******/
+/******/ 	// create a fake namespace object
+/******/ 	// mode & 1: value is a module id, require it
+/******/ 	// mode & 2: merge all properties of value into the ns
+/******/ 	// mode & 4: return value when already ns object
+/******/ 	// mode & 8|1: behave like require
+/******/ 	__webpack_require__.t = function(value, mode) {
+/******/ 		if(mode & 1) value = __webpack_require__(value);
+/******/ 		if(mode & 8) return value;
+/******/ 		if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;
+/******/ 		var ns = Object.create(null);
+/******/ 		__webpack_require__.r(ns);
+/******/ 		Object.defineProperty(ns, 'default', { enumerable: true, value: value });
+/******/ 		if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));
+/******/ 		return ns;
+/******/ 	};
+/******/
+/******/ 	// getDefaultExport function for compatibility with non-harmony modules
+/******/ 	__webpack_require__.n = function(module) {
+/******/ 		var getter = module && module.__esModule ?
+/******/ 			function getDefault() { return module['default']; } :
+/******/ 			function getModuleExports() { return module; };
+/******/ 		__webpack_require__.d(getter, 'a', getter);
+/******/ 		return getter;
+/******/ 	};
+/******/
+/******/ 	// Object.prototype.hasOwnProperty.call
+/******/ 	__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };
+/******/
+/******/ 	// __webpack_public_path__
+/******/ 	__webpack_require__.p = "/";
+/******/
+/******/ 	var jsonpArray = global["webpackJsonp"] = global["webpackJsonp"] || [];
+/******/ 	var oldJsonpFunction = jsonpArray.push.bind(jsonpArray);
+/******/ 	jsonpArray.push = webpackJsonpCallback;
+/******/ 	jsonpArray = jsonpArray.slice();
+/******/ 	for(var i = 0; i < jsonpArray.length; i++) webpackJsonpCallback(jsonpArray[i]);
+/******/ 	var parentJsonpFunction = oldJsonpFunction;
+/******/
+/******/
+/******/ 	// run deferred modules from other chunks
+/******/ 	checkDeferredModules();
+/******/ })
+/************************************************************************/
+/******/ ([]);
+//# sourceMappingURL=../../.sourcemap/mp-weixin/common/runtime.js.map
+  

A különbségek nem kerülnek megjelenítésre, a fájl túl nagy
+ 10 - 0
unpackage/dist/dev/mp-weixin/common/vendor.js


A különbségek nem kerülnek megjelenítésre, a fájl túl nagy
+ 81 - 0
unpackage/dist/dev/mp-weixin/pages/index/index.js


+ 4 - 0
unpackage/dist/dev/mp-weixin/pages/index/index.json

@@ -0,0 +1,4 @@
+{
+  "navigationBarTitleText": "uni-app",
+  "usingComponents": {}
+}

+ 1 - 0
unpackage/dist/dev/mp-weixin/pages/index/index.wxml

@@ -0,0 +1 @@
+<view class="content"><view><view>{{"ddddddd"+showModal}}</view><block wx:if="{{showModal}}"><button open-type="getUserInfo" data-event-opts="{{[['tap',[['wxlogion',['$event']]]]]}}" bindtap="__e">请点击授权</button></block></view></view>

+ 37 - 0
unpackage/dist/dev/mp-weixin/pages/index/index.wxss

@@ -0,0 +1,37 @@
+
+.content {
+	display: -webkit-box;
+	display: -webkit-flex;
+	display: flex;
+	-webkit-box-orient: vertical;
+	-webkit-box-direction: normal;
+	-webkit-flex-direction: column;
+	        flex-direction: column;
+	-webkit-box-align: center;
+	-webkit-align-items: center;
+	        align-items: center;
+	-webkit-box-pack: center;
+	-webkit-justify-content: center;
+	        justify-content: center;
+}
+.logo {
+	height: 200rpx;
+	width: 200rpx;
+	margin-top: 200rpx;
+	margin-left: auto;
+	margin-right: auto;
+	margin-bottom: 50rpx;
+}
+.text-area {
+	display: -webkit-box;
+	display: -webkit-flex;
+	display: flex;
+	-webkit-box-pack: center;
+	-webkit-justify-content: center;
+	        justify-content: center;
+}
+.title {
+	font-size: 36rpx;
+	color: #8f8f94;
+}
+

A különbségek nem kerülnek megjelenítésre, a fájl túl nagy
+ 67 - 0
unpackage/dist/dev/mp-weixin/pages/taBar/one/one.js


+ 4 - 0
unpackage/dist/dev/mp-weixin/pages/taBar/one/one.json

@@ -0,0 +1,4 @@
+{
+  "navigationBarTitleText": "我得分页1",
+  "usingComponents": {}
+}

+ 1 - 0
unpackage/dist/dev/mp-weixin/pages/taBar/one/one.wxml

@@ -0,0 +1 @@
+<view class="_div"></view>

A különbségek nem kerülnek megjelenítésre, a fájl túl nagy
+ 67 - 0
unpackage/dist/dev/mp-weixin/pages/taBar/three/three.js


+ 4 - 0
unpackage/dist/dev/mp-weixin/pages/taBar/three/three.json

@@ -0,0 +1,4 @@
+{
+  "navigationBarTitleText": "我得分页3",
+  "usingComponents": {}
+}

+ 1 - 0
unpackage/dist/dev/mp-weixin/pages/taBar/three/three.wxml

@@ -0,0 +1 @@
+<view class="_div"></view>

+ 33 - 0
unpackage/dist/dev/mp-weixin/project.config.json

@@ -0,0 +1,33 @@
+{
+	"description": "项目配置文件。",
+	"packOptions": {
+		"ignore": []
+	},
+	"setting": {
+		"urlCheck": true
+	},
+	"compileType": "miniprogram",
+	"libVersion": "2.9.2",
+	"appid": "wxc566017770d22c31",
+	"projectname": "myUinapp",
+	"simulatorType": "wechat",
+	"simulatorPluginLibVersion": {},
+	"condition": {
+		"search": {
+			"current": -1,
+			"list": []
+		},
+		"conversation": {
+			"current": -1,
+			"list": []
+		},
+		"game": {
+			"current": -1,
+			"list": []
+		},
+		"miniprogram": {
+			"current": -1,
+			"list": []
+		}
+	}
+}

+ 7 - 0
unpackage/dist/dev/mp-weixin/sitemap.json

@@ -0,0 +1,7 @@
+{
+  "desc": "关于本文件的更多信息,请参考文档 https://developers.weixin.qq.com/miniprogram/dev/framework/sitemap.html",
+  "rules": [{
+  "action": "allow",
+  "page": "*"
+  }]
+}

BIN
unpackage/dist/dev/mp-weixin/static/logo.png


Nem az összes módosított fájl került megjelenítésre, mert túl sok fájl változott