فهرست منبع

配置主题颜色

YZM 2 سال پیش
والد
کامیت
ccc87eea16
31فایلهای تغییر یافته به همراه764 افزوده شده و 91 حذف شده
  1. 16 0
      .hbuilderx/launch.json
  2. 15 35
      pages.json
  3. 204 23
      pages/index/index.vue
  4. 15 7
      pages/message/index.vue
  5. 15 7
      pages/shop/index.vue
  6. 55 6
      pages/user/index.vue
  7. 15 7
      pages/wardrobe/index.vue
  8. 7 5
      tm-vuetify/scss/theme.css
  9. 1 1
      tm-vuetify/scss/theme/primary.css
  10. 0 0
      unpackage/dist/dev/.automator/app-plus/.automator.json
  11. 0 0
      unpackage/dist/dev/app-plus/__uniappchooselocation.js
  12. BIN
      unpackage/dist/dev/app-plus/__uniapperror.png
  13. 0 0
      unpackage/dist/dev/app-plus/__uniappes6.js
  14. 0 0
      unpackage/dist/dev/app-plus/__uniappopenlocation.js
  15. 0 0
      unpackage/dist/dev/app-plus/__uniapppicker.js
  16. 6 0
      unpackage/dist/dev/app-plus/__uniappquill.js
  17. 0 0
      unpackage/dist/dev/app-plus/__uniappquillimageresize.js
  18. 0 0
      unpackage/dist/dev/app-plus/__uniappscan.js
  19. BIN
      unpackage/dist/dev/app-plus/__uniappsuccess.png
  20. 25 0
      unpackage/dist/dev/app-plus/__uniappview.html
  21. 8 0
      unpackage/dist/dev/app-plus/app-config-service.js
  22. 154 0
      unpackage/dist/dev/app-plus/app-config.js
  23. 9 0
      unpackage/dist/dev/app-plus/app-service.js
  24. 215 0
      unpackage/dist/dev/app-plus/app-view.js
  25. 0 0
      unpackage/dist/dev/app-plus/manifest.json
  26. BIN
      unpackage/dist/dev/app-plus/static/aa.png
  27. 4 0
      unpackage/dist/dev/app-plus/static/icon/iconfont.css
  28. BIN
      unpackage/dist/dev/app-plus/static/icon/iconfont.ttf
  29. BIN
      unpackage/dist/dev/app-plus/static/logo.png
  30. 0 0
      unpackage/dist/dev/app-plus/view.css
  31. 0 0
      unpackage/dist/dev/app-plus/view.umd.min.js

+ 16 - 0
.hbuilderx/launch.json

@@ -0,0 +1,16 @@
+{ // launch.json 配置了启动调试时相关设置,configurations下节点名称可为 app-plus/h5/mp-weixin/mp-baidu/mp-alipay/mp-qq/mp-toutiao/mp-360/
+  // launchtype项可配置值为local或remote, local代表前端连本地云函数,remote代表前端连云端云函数
+    "version": "0.0",
+    "configurations": [{
+     	"app-plus" : 
+     	{
+     		"launchtype" : "local"
+     	},
+     	"default" : 
+     	{
+     		"launchtype" : "local"
+     	},
+     	"type" : "uniCloud"
+     }
+    ]
+}

+ 15 - 35
pages.json

@@ -5,17 +5,19 @@
 	"pages": [{
 			"path": "pages/index/index",
 			"style": {
-				"navigationBarTitleText": "首页",
-				"style": {
-					"navigationBarTitleText": "首页",
-					"enablePullDownRefresh": true
+				"navigationBarTitleText": "",
+				"app-plus":{
+					"titleNView": false
 				}
 			}
 		},
 		{
 			"path": "pages/wardrobe/index",
 			"style": {
-				"navigationBarTitleText": "衣厨"
+				"navigationBarTitleText": "衣厨",
+				"app-plus":{
+					"titleNView": false
+				}
 			}
 		},
 		{
@@ -45,50 +47,28 @@
 		"iconfontSrc": "static/icon/iconfont.ttf",
 		"list": [{
 				"pagePath": "pages/index/index",
-				"text": "首页",
-				"iconfont": {
-					"text": "\ueaf0",
-					"selectedText": "\ueaf0",
-					"selectedColor": "#82cfd5"
-				},
 				"iconPath":"/static/aa.png",
 				"selectedIconPath":"./static/logo.png"
 			},
 			{
 				"pagePath": "pages/wardrobe/index",
-				"text": "衣厨",
-				"iconfont": {
-					"text": "\ue60d",
-					"selectedText": "\ue60d",
-					"selectedColor": "#82cfd5"
-				}
+				"iconPath":"/static/aa.png",
+				"selectedIconPath":"./static/logo.png"
 			},
 			{
 				"pagePath": "pages/message/index",
-				"text": "消息",
-				"iconfont": {
-					"text": "\ue629",
-					"selectedText": "\ue629",
-					"selectedColor": "#82cfd5"
-				}
+				"iconPath":"/static/aa.png",
+				"selectedIconPath":"./static/logo.png"
 			},
 			{
 				"pagePath": "pages/shop/index",
-				"text": "商场",
-				"iconfont": {
-					"text": "\ue687",
-					"selectedText": "\ue687",
-					"selectedColor": "#82cfd5"
-				}
+				"iconPath":"/static/aa.png",
+				"selectedIconPath":"./static/logo.png"
 			},
 			{
 				"pagePath": "pages/user/index",
-				"text": "我的",
-				"iconfont": {
-					"text": "\ue6e0",
-					"selectedText": "\ue6e0",
-					"selectedColor": "#82cfd5"
-				}
+				"iconPath":"/static/aa.png",
+				"selectedIconPath":"./static/logo.png"
 			}
 
 		]

+ 204 - 23
pages/index/index.vue

@@ -1,34 +1,215 @@
 <template>
-	<div>
-		<tm-icons :size="600" name="myicon-qiandai"></tm-icons>
-		<view>首页</view>
-	</div>
+	<view :style="{ minHeight: sys.windowHeight + 'px' }"
+		:class="[$tm.vx.state().tmVuetify.black ? 'black' : 'grey text ']">
+		<tm-menubars color="primary" title="" :shadow="0" :showback="false">
+			<!-- <template #left>
+				<view class="pl-24">
+					<tm-images :width="86" src="static/logowhite.png"></tm-images>
+				</view>
+			</template> -->
+
+		</tm-menubars>
+		
+		<view>
+			<view class="fixed fulled  overflow" style="z-index: 8;">
+				<tm-search @confirm="openSearch" v-model="keyword" suffixIcon=" " :showRight="false" :fllowTheme="false"
+					color="white" :bg-color="$tm.vx.state().tmVuetify.color || 'primary'"
+					:insertColor="$tm.vx.state().tmVuetify.color || 'primary'" :round="4" placeholder="组件中英文名的关键词"
+					:shadow="0">
+					<template #suffixIcon>
+						<view @click="openSearch">
+							<tm-tags dense color="primary" model="text">搜索组件</tm-tags>
+						</view>
+					</template>
+				</tm-search>
+			</view>
+			<view style="height: 84rpx;"></view>
+		</view>
+
+		<view :class="[$tm.vx.state().tmVuetify.black ? 'black' : $tm.vx.state().tmVuetify.color || 'primary']">
+			<view class=" py-32" style=""
+				:class="[$tm.vx.state().tmVuetify.black ? 'grey-darken-5 bk' : $tm.vx.state().tmVuetify.color || 'primary']">
+				<!-- <navigator url="gonggao" class=" text-align-center text-white pb-12 flex-center mx-32" style="vertical-align: middle;">
+					<text class="pr-32 text-weight-b text-size-s">来自作者的一条公告>></text>
+				</navigator> -->
+				<view class="text-size-s text-align-center text-white opacity-8">
+					<text class="pr-24 ">当前版本:{{ ver }}</text>
+					<text>更新时间:{{ time }}</text>
+				</view>
+			</view>
+			<view class="pt-14 pb-n10 round-t-8" :class="[$tm.vx.state().tmVuetify.black ? 'black' : 'grey text  ']">
+				<view class="ma-32  flex-between flex-wrap ">
+					<view @click="openUrl(item.url)" v-for="(item, index) in list" :key="index"
+						class=" round-10 mb-n10 shadow-24" style="width: 48%;"
+						:class="[$tm.vx.state().tmVuetify.black ? 'grey-darken-5 bk' : 'white']">
+						<view class="flex-center flex-col px-32 py-n12">
+							<tm-icons :color="$tm.vx.state().tmVuetify.color || 'primary'" :size="130"
+								:name="item.icon"></tm-icons>
+							<view class="text-size-lg text-weight-b">{{ item.title }}</view>
+							<view class="text-size-s py-12 text-align-center">{{ item.label }}</view>
+							<view>
+								<!-- <tm-tags color="grey" size="g" model="text">{{ item.btn }}</tm-tags> -->
+								<tm-button :round="12" text size="s">
+									<view class="flex-center px-10 vertical-align-middle" style="line-height: 0;">
+										<text class="pr-10">{{ item.btn }}</text>
+										<tm-icons :fllowTheme="true" style="line-height: 0;" dense size="20"
+											name="icon-angle-right"></tm-icons>
+									</view>
+								</tm-button>
+							</view>
+						</view>
+					</view>
+				</view>
+				<view class="flex-center">
+					<tm-images :width="60" src="static/logo_great.png"></tm-images>
+				</view>
+				<view class="py-24 px-0 text-size-xs text-grey-lighten-1 text mx-32 text-align-center">
+					本UI经过细致打磨,并且还在不断的细化中,让它成为高效率、高颜值、高覆盖率的组件库,需要各方努力贡献。
+					<view>请不要盗版,可免费使用。</view>
+					<view class=" text-weight-b" :class="[`text-${$tm.vx.state().tmVuetify.color || 'primary'}`]">
+						用户Q群:
+						<text selectable>18593916</text>
+					</view>
+				</view>
+			</view>
+		</view>
+		<tm-dialog v-model="show" title="提醒"
+			content="因小程序大小限制,本demo页面过大,主体导入的js超过2mb,对于分包已无作用,因此如需查询相关demo请前往H5预览,一定是兼容小程序的,不用担心."></tm-dialog>
+		<tm-flotbutton :safe="true" color="bg-gradient-primary-accent-b" @click="imte"
+			:icon="$tm.vx.state().tmVuetify.black ? 'icon-lightbulb-fill' : 'icon-lightbulb'"
+			:label="$tm.vx.state().tmVuetify.black ? '亮色' : '暗黑'" :show-text="true" :offset="[16, bottom]">
+		</tm-flotbutton>
+
+		<view style="height: 150rpx;" @click="show=true"></view>
+
+	</view>
 </template>
 
 <script>
-	import {
-		myRequest
-	} from '@/api/request.js'
+
+
 	export default {
 		data() {
 			return {
-
-			}
+				
+				
+				test: true,
+				show: false,
+				keyword: '',
+				top: 60,
+				flootBootm: 0,
+				time: '2022/3/27',
+				ver: '1.2.30',
+				sys: null,
+				bottom: 0,
+				list: [{
+						icon: 'https://jx2d.cn/yuwuimages/120/com.png?v=2',
+						title: '基础组件',
+						label: '提供了基础组件90+',
+						url: '/subpages/com/index',
+						btn: '预览组件'
+					},
+					{
+						icon: 'https://jx2d.cn/yuwuimages/120/theme.png?v=2',
+						title: '主题切换',
+						label: '暗黑,其它主题切换',
+						url: 'themechange',
+						btn: '前往体验'
+					},
+					{
+						icon: 'https://jx2d.cn/yuwuimages/120/com.png?v=2',
+						title: 'render',
+						label: 'canvas渲染引擎',
+						url: '/pages/index/crender',
+						btn: '1.0正式版'
+					},
+					{
+						icon: 'https://jx2d.cn/yuwuimages/120/css.png?v=2',
+						title: '预设样式库',
+						label: '零CSS写应用',
+						url: '/subpages/csspage/csspage',
+						btn: '预览相关'
+					},
+					{
+						icon: 'https://jx2d.cn/yuwuimages/120/lottie.png?v=2',
+						title: 'lottie动画',
+						label: '提供了对lottie的封装',
+						url: '/subpages/lottie/index',
+						btn: '前往体验'
+					},
+					{
+						icon: 'https://jx2d.cn/yuwuimages/120/echarts.png?v=2',
+						title: 'Echarts',
+						label: '对百度图表的封装',
+						url: '/subpages/echarts/index',
+						btn: '前往体验'
+					},
+					{
+						icon: 'https://jx2d.cn/yuwuimages/120/yewu.png?v=2',
+						title: '业务组件',
+						label: '提供了相关行业的组件',
+						url: '/subpages/food/index',
+						btn: '预览相关'
+					},
+					{
+						icon: 'https://jx2d.cn/yuwuimages/120/moban.png?v=2',
+						title: '页面模板',
+						label: '相关行业的页面模板',
+						url: '/subpages/moban/index',
+						btn: '预览模板'
+					},
+					{
+						icon: 'https://jx2d.cn/yuwuimages/120/game.png?v=2',
+						title: '游戏抽奖',
+						label: '转盘|老虎机|九宫格等',
+						url: '/subpages/yewu/index',
+						btn: '体验相关'
+					}
+				]
+			};
 		},
 		created() {
-			// uni.showTabBarRedDot({
-			//   index: 0,
-			// })
-			// uni.setTabBarBadge({
-			//   index: 1,
-			//   text:'2'
-			// })
-			myRequest({
-				url: "/api/test"
-			}).then(res => {
-				console.log(res)
-			})
+			this.sys = uni.getSystemInfoSync();
 		},
-		methods: {}
-	}
+		onLoad() {
+			// #ifdef MP
+			this.top = uni.upx2px(150);
+			// #endif
+
+		},
+		mounted() {
+			uni.showTabBar({
+				animation: true
+			});
+			
+		},
+		methods: {
+			openSearch() {
+				uni.navigateTo({
+					url: 'search?key=' + this.keyword
+				});
+			},
+			openUrl(url) {
+				let t = this;
+				uni.navigateTo({
+					url: url,
+					fail: e => {
+						t.show = true;
+					}
+				});
+			},
+			imte() {
+				this.$tm.theme.setBlack();
+			},
+		}
+	};
 </script>
+
+<style lang="scss">
+	page,
+	body {
+		min-height: 100%;
+		background-color: #f5f5f5;
+	}
+</style>
+<style lang="scss" scoped></style>

+ 15 - 7
pages/message/index.vue

@@ -1,22 +1,30 @@
 <template>
-	<view>
-		消息
+	<view class="" :style="{minHeight:infoHeight+'px'}" :class="$tm.vx.state().tmVuetify.black ? 'grey-darken-6' : 'grey text '">
+		
+		3
+	
+		
 	</view>
 </template>
 
 <script>
+
 	export default {
 		data() {
 			return {
-
-			}
+				defaultTheme:[],
+				infoHeight:0
+			};
+		},
+		created() {
+			this.defaultTheme = [this.$tm.vx.state().tmVuetify.color||'primary']
+			this.infoHeight = uni.getSystemInfoSync().windowHeight
 		},
 		methods: {
-
-		}
+		},
 	}
 </script>
 
-<style>
+<style lang="scss">
 
 </style>

+ 15 - 7
pages/shop/index.vue

@@ -1,22 +1,30 @@
 <template>
-	<view>
-		商场
+	<view class="" :style="{minHeight:infoHeight+'px'}" :class="$tm.vx.state().tmVuetify.black ? 'grey-darken-6' : 'grey text '">
+		
+		4
+	
+		
 	</view>
 </template>
 
 <script>
+
 	export default {
 		data() {
 			return {
-
-			}
+				defaultTheme:[],
+				infoHeight:0
+			};
+		},
+		created() {
+			this.defaultTheme = [this.$tm.vx.state().tmVuetify.color||'primary']
+			this.infoHeight = uni.getSystemInfoSync().windowHeight
 		},
 		methods: {
-
-		}
+		},
 	}
 </script>
 
-<style>
+<style lang="scss">
 
 </style>

+ 55 - 6
pages/user/index.vue

@@ -1,22 +1,71 @@
 <template>
-	<view>
-		我的
+	<view class="" :style="{minHeight:infoHeight+'px'}" :class="$tm.vx.state().tmVuetify.black ? 'grey-darken-6' : 'grey text '">
+		<tm-menubars title="体验主题切换" color="primary"  :showback="true"></tm-menubars>
+		
+		<view class="ma-32  ">
+			<view  class=" round-8 mb-24 fulled py-n16" 
+				:class="$tm.vx.state().tmVuetify.black ? 'grey-darken-5 bk' : 'white'">
+				<view class="flex-center flex-col pa-32">
+					
+					<view class="text-size-lg text-weight-b">更换主题</view>
+					<view class="text-size-n py-12">当前:{{$tm.vx.state().tmVuetify.color}},更多主题请查阅官方文档</view>
+					
+					<view  class="flex">
+						<tm-pickers @confirm="change" :default-value="defaultTheme" 
+						:list='themeSList' title="请选择主题" btn-color="primary">
+							<tm-tags color="primary" size="g" model="text">选择内置主题</tm-tags>
+						</tm-pickers>
+						<view class="flex-shrink"><tm-tags @click="clearTheme" color="primary" size="g" model="text">恢复默认布局</tm-tags></view>
+					</view>
+				</view>
+			</view>
+			
+			<view  class=" round-8 mb-24 fulled  py-n16"
+				:class="$tm.vx.state().tmVuetify.black ? 'grey-darken-5 bk' : 'white'">
+				<view class="flex-center flex-col pa-32">
+					
+					<view class="text-size-lg text-weight-b">暗黑主题的切换</view>
+					<view class="text-size-n py-12">当前:{{$tm.vx.state().tmVuetify.black?'暗黑模式':'亮色模式'}}</view>
+					<view class="flex">
+						<tm-tags  @click="$tm.theme.setBlack(true)" color="primary" size="g" model="text">切换暗黑</tm-tags>
+						<view class="flex-shrink"><tm-tags @click="$tm.theme.setBlack(false)" color="primary" size="g" model="text">切换亮色</tm-tags></view>
+					</view>
+				</view>
+			</view>
+		</view>
+		
 	</view>
 </template>
 
 <script>
+
 	export default {
 		data() {
 			return {
+				
+				defaultTheme:[],
+				themeSList:["primary","red","green","blue","pink","orange","yellow","indigo"],
+				infoHeight:0
+			};
+		},
+		created() {
 
-			}
+			this.defaultTheme = [this.$tm.vx.state().tmVuetify.color||'primary']
+			this.infoHeight = uni.getSystemInfoSync().windowHeight
 		},
 		methods: {
-
-		}
+			change(e) {
+				this.defaultTheme = [e[0].data]
+				this.$tm.theme.setTheme(e[0].data)
+			},
+			clearTheme(){
+				this.$tm.theme.clear();
+				this.defaultTheme = ['primary']
+			}
+		},
 	}
 </script>
 
-<style>
+<style lang="scss">
 
 </style>

+ 15 - 7
pages/wardrobe/index.vue

@@ -1,22 +1,30 @@
 <template>
-	<view>
-		衣厨
+	<view class="" :style="{minHeight:infoHeight+'px'}" :class="$tm.vx.state().tmVuetify.black ? 'grey-darken-6' : 'grey text '">
+		
+		2
+	
+		
 	</view>
 </template>
 
 <script>
+
 	export default {
 		data() {
 			return {
-
-			}
+				defaultTheme:[],
+				infoHeight:0
+			};
+		},
+		created() {
+			this.defaultTheme = [this.$tm.vx.state().tmVuetify.color||'primary']
+			this.infoHeight = uni.getSystemInfoSync().windowHeight
 		},
 		methods: {
-
-		}
+		},
 	}
 </script>
 
-<style>
+<style lang="scss">
 
 </style>

+ 7 - 5
tm-vuetify/scss/theme.css

@@ -8,6 +8,7 @@
 @import "./theme/new-style.css";
 /**用户自定主题,默认主题,不可删除,可通过工具生成覆盖**/
 /* @import "./theme/amber.css"; */
+@import "./theme/primary.css";
 @import "./theme/blue.css";
 /* @import "./theme/brown.css"; */
 /* @import "./theme/cyan.css"; */
@@ -21,8 +22,9 @@
 /**组件库,必要的主题,不可删除**/
 /* @import "./theme/teal.css"; */
 @import "./theme/yellow.css";
-/* @import "./theme/blue-grey.css";*/
-/*@import "./theme/deep-orange.css";*/
-/*@import "./theme/deep-purple.css";*/
-/*@import "./theme/light-blue.css";*/
-/*@import "./theme/light-green.css"; */
+@import "./theme/blue-grey.css";
+/* 
+@import "./theme/deep-orange.css";
+@import "./theme/deep-purple.css";
+@import "./theme/light-blue.css";
+@import "./theme/light-green.css"; */

تفاوت فایلی نمایش داده نمی شود زیرا این فایل بسیار بزرگ است
+ 1 - 1
tm-vuetify/scss/theme/primary.css


+ 0 - 0
unpackage/dist/dev/.automator/app-plus/.automator.json


تفاوت فایلی نمایش داده نمی شود زیرا این فایل بسیار بزرگ است
+ 0 - 0
unpackage/dist/dev/app-plus/__uniappchooselocation.js


BIN
unpackage/dist/dev/app-plus/__uniapperror.png


تفاوت فایلی نمایش داده نمی شود زیرا این فایل بسیار بزرگ است
+ 0 - 0
unpackage/dist/dev/app-plus/__uniappes6.js


تفاوت فایلی نمایش داده نمی شود زیرا این فایل بسیار بزرگ است
+ 0 - 0
unpackage/dist/dev/app-plus/__uniappopenlocation.js


تفاوت فایلی نمایش داده نمی شود زیرا این فایل بسیار بزرگ است
+ 0 - 0
unpackage/dist/dev/app-plus/__uniapppicker.js


تفاوت فایلی نمایش داده نمی شود زیرا این فایل بسیار بزرگ است
+ 6 - 0
unpackage/dist/dev/app-plus/__uniappquill.js


تفاوت فایلی نمایش داده نمی شود زیرا این فایل بسیار بزرگ است
+ 0 - 0
unpackage/dist/dev/app-plus/__uniappquillimageresize.js


تفاوت فایلی نمایش داده نمی شود زیرا این فایل بسیار بزرگ است
+ 0 - 0
unpackage/dist/dev/app-plus/__uniappscan.js


BIN
unpackage/dist/dev/app-plus/__uniappsuccess.png


+ 25 - 0
unpackage/dist/dev/app-plus/__uniappview.html

@@ -0,0 +1,25 @@
+<!DOCTYPE html>
+<html lang="zh-CN">
+
+  <head>
+    <meta charset="UTF-8" />
+    <script>
+      var __UniViewStartTime__ = Date.now();
+      var coverSupport = 'CSS' in window && typeof CSS.supports === 'function' && (CSS.supports('top: env(a)') ||
+        CSS.supports('top: constant(a)'))
+      document.write(
+        '<meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0' +
+        (coverSupport ? ', viewport-fit=cover' : '') + '" />')
+    </script>
+    <title>View</title>
+    <link rel="stylesheet" href="view.css" />
+  </head>
+
+  <body>
+    <div id="app"></div>
+    <script src="__uniappes6.js"></script>
+    <script src="view.umd.min.js"></script>
+    <script src="app-view.js"></script>
+  </body>
+
+</html>

+ 8 - 0
unpackage/dist/dev/app-plus/app-config-service.js

@@ -0,0 +1,8 @@
+
+var isReady=false;var onReadyCallbacks=[];
+var isServiceReady=false;var onServiceReadyCallbacks=[];
+var __uniConfig = {"pages":["pages/index/index","pages/wardrobe/index","pages/message/index","pages/shop/index","pages/user/index"],"window":{"navigationBarTextStyle":"black","navigationBarTitleText":"uni-app","navigationBarBackgroundColor":"#F8F8F8","backgroundColor":"#F8F8F8"},"tabBar":{"color":"#999","selectedColor":"#82cfd5","borderStyle":"#fff","backgroundColor":"white","iconfontSrc":"static/icon/iconfont.ttf","list":[{"pagePath":"pages/index/index","iconPath":"/static/aa.png","selectedIconPath":"./static/logo.png"},{"pagePath":"pages/wardrobe/index","iconPath":"/static/aa.png","selectedIconPath":"./static/logo.png"},{"pagePath":"pages/message/index","iconPath":"/static/aa.png","selectedIconPath":"./static/logo.png"},{"pagePath":"pages/shop/index","iconPath":"/static/aa.png","selectedIconPath":"./static/logo.png"},{"pagePath":"pages/user/index","iconPath":"/static/aa.png","selectedIconPath":"./static/logo.png"}]},"nvueCompiler":"uni-app","nvueStyleCompiler":"uni-app","renderer":"auto","splashscreen":{"alwaysShowBeforeRender":true,"autoclose":false},"appname":"testApp","compilerVersion":"3.4.7","entryPagePath":"pages/index/index","networkTimeout":{"request":60000,"connectSocket":60000,"uploadFile":60000,"downloadFile":60000}};
+var __uniRoutes = [{"path":"/pages/index/index","meta":{"isQuit":true,"isTabBar":true},"window":{"navigationBarTitleText":"","titleNView":false}},{"path":"/pages/wardrobe/index","meta":{"isQuit":true,"isTabBar":true},"window":{"navigationBarTitleText":"衣厨","titleNView":false}},{"path":"/pages/message/index","meta":{"isQuit":true,"isTabBar":true},"window":{"navigationBarTitleText":"消息"}},{"path":"/pages/shop/index","meta":{"isQuit":true,"isTabBar":true},"window":{"navigationBarTitleText":"商场"}},{"path":"/pages/user/index","meta":{"isQuit":true,"isTabBar":true},"window":{"navigationBarTitleText":"我的"}}];
+__uniConfig.onReady=function(callback){if(__uniConfig.ready){callback()}else{onReadyCallbacks.push(callback)}};Object.defineProperty(__uniConfig,"ready",{get:function(){return isReady},set:function(val){isReady=val;if(!isReady){return}const callbacks=onReadyCallbacks.slice(0);onReadyCallbacks.length=0;callbacks.forEach(function(callback){callback()})}});
+__uniConfig.onServiceReady=function(callback){if(__uniConfig.serviceReady){callback()}else{onServiceReadyCallbacks.push(callback)}};Object.defineProperty(__uniConfig,"serviceReady",{get:function(){return isServiceReady},set:function(val){isServiceReady=val;if(!isServiceReady){return}const callbacks=onServiceReadyCallbacks.slice(0);onServiceReadyCallbacks.length=0;callbacks.forEach(function(callback){callback()})}});
+service.register("uni-app-config",{create(a,b,c){if(!__uniConfig.viewport){var d=b.weex.config.env.scale,e=b.weex.config.env.deviceWidth,f=Math.ceil(e/d);Object.assign(__uniConfig,{viewport:f,defaultFontSize:Math.round(f/20)})}return{instance:{__uniConfig:__uniConfig,__uniRoutes:__uniRoutes,global:void 0,window:void 0,document:void 0,frames:void 0,self:void 0,location:void 0,navigator:void 0,localStorage:void 0,history:void 0,Caches:void 0,screen:void 0,alert:void 0,confirm:void 0,prompt:void 0,fetch:void 0,XMLHttpRequest:void 0,WebSocket:void 0,webkit:void 0,print:void 0}}}});

+ 154 - 0
unpackage/dist/dev/app-plus/app-config.js

@@ -0,0 +1,154 @@
+/******/ (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(Object.prototype.hasOwnProperty.call(installedChunks, chunkId) && 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 = {
+/******/ 		"app-config": 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 = this["webpackJsonp"] = this["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();
+/******/ })
+/************************************************************************/
+/******/ ([]);

تفاوت فایلی نمایش داده نمی شود زیرا این فایل بسیار بزرگ است
+ 9 - 0
unpackage/dist/dev/app-plus/app-service.js


تفاوت فایلی نمایش داده نمی شود زیرا این فایل بسیار بزرگ است
+ 215 - 0
unpackage/dist/dev/app-plus/app-view.js


تفاوت فایلی نمایش داده نمی شود زیرا این فایل بسیار بزرگ است
+ 0 - 0
unpackage/dist/dev/app-plus/manifest.json


BIN
unpackage/dist/dev/app-plus/static/aa.png


تفاوت فایلی نمایش داده نمی شود زیرا این فایل بسیار بزرگ است
+ 4 - 0
unpackage/dist/dev/app-plus/static/icon/iconfont.css


BIN
unpackage/dist/dev/app-plus/static/icon/iconfont.ttf


BIN
unpackage/dist/dev/app-plus/static/logo.png


تفاوت فایلی نمایش داده نمی شود زیرا این فایل بسیار بزرگ است
+ 0 - 0
unpackage/dist/dev/app-plus/view.css


تفاوت فایلی نمایش داده نمی شود زیرا این فایل بسیار بزرگ است
+ 0 - 0
unpackage/dist/dev/app-plus/view.umd.min.js


برخی فایل ها در این مقایسه diff نمایش داده نمی شوند زیرا تعداد فایل ها بسیار زیاد است