guhongwei 2 anni fa
parent
commit
6c218eff56

+ 37 - 1
manifest.json

@@ -43,7 +43,43 @@
             /* ios打包配置 */
             "ios" : {},
             /* SDK配置 */
-            "sdkConfigs" : {}
+            "sdkConfigs" : {},
+            "icons" : {
+                "android" : {
+                    "hdpi" : "unpackage/res/icons/72x72.png",
+                    "xhdpi" : "unpackage/res/icons/96x96.png",
+                    "xxhdpi" : "unpackage/res/icons/144x144.png",
+                    "xxxhdpi" : "unpackage/res/icons/192x192.png"
+                },
+                "ios" : {
+                    "appstore" : "unpackage/res/icons/1024x1024.png",
+                    "ipad" : {
+                        "app" : "unpackage/res/icons/76x76.png",
+                        "app@2x" : "unpackage/res/icons/152x152.png",
+                        "notification" : "unpackage/res/icons/20x20.png",
+                        "notification@2x" : "unpackage/res/icons/40x40.png",
+                        "proapp@2x" : "unpackage/res/icons/167x167.png",
+                        "settings" : "unpackage/res/icons/29x29.png",
+                        "settings@2x" : "unpackage/res/icons/58x58.png",
+                        "spotlight" : "unpackage/res/icons/40x40.png",
+                        "spotlight@2x" : "unpackage/res/icons/80x80.png"
+                    },
+                    "iphone" : {
+                        "app@2x" : "unpackage/res/icons/120x120.png",
+                        "app@3x" : "unpackage/res/icons/180x180.png",
+                        "notification@2x" : "unpackage/res/icons/40x40.png",
+                        "notification@3x" : "unpackage/res/icons/60x60.png",
+                        "settings@2x" : "unpackage/res/icons/58x58.png",
+                        "settings@3x" : "unpackage/res/icons/87x87.png",
+                        "spotlight@2x" : "unpackage/res/icons/80x80.png",
+                        "spotlight@3x" : "unpackage/res/icons/120x120.png"
+                    }
+                }
+            },
+            "splashscreen" : {
+                "androidStyle" : "common",
+                "useOriginalMsgbox" : false
+            }
         }
     },
     /* 快应用特有相关 */

+ 7 - 3
pages/index/index.vue

@@ -1,7 +1,12 @@
 <template>
 	<view class="content">
-		<button @tap="toPath('/pagesCommon/test/index')" size="mini">分包一测试页面</button>
-		<button @tap="toPath('/pagesHome/home/index')" size="mini">系统首页</button>
+		<view class="one">
+			首页
+		</view>
+		<view class="two">
+			<button @tap="toPath('/pagesCommon/test/index')" size="mini">分包一测试页面</button>
+			<button @tap="toPath('/pagesHome/home/index')" size="mini">系统首页</button>
+		</view>
 	</view>
 </template>
 
@@ -14,7 +19,6 @@
 		},
 		onLoad() {
 			const that = this;
-			that.toPath('/pagesHome/home/index')
 		},
 		methods: {
 			toPath(e) {

File diff suppressed because it is too large
+ 1 - 1
unpackage/dist/dev/.sourcemap/mp-weixin/pages/index/index.js.map


File diff suppressed because it is too large
+ 121 - 118
unpackage/dist/dev/app-plus/app-service.js


+ 30 - 20
unpackage/dist/dev/app-plus/app-view.js

@@ -254,29 +254,39 @@ var render = function () {
     "uni-view",
     { staticClass: _vm._$g(0, "sc"), attrs: { _i: 0 } },
     [
+      _c("uni-view", { staticClass: _vm._$g(1, "sc"), attrs: { _i: 1 } }, [
+        _vm._v("首页"),
+      ]),
       _c(
-        "v-uni-button",
-        {
-          attrs: { size: "mini", _i: 1 },
-          on: {
-            click: function ($event) {
-              return _vm.$handleViewEvent($event)
+        "uni-view",
+        { staticClass: _vm._$g(2, "sc"), attrs: { _i: 2 } },
+        [
+          _c(
+            "v-uni-button",
+            {
+              attrs: { size: "mini", _i: 3 },
+              on: {
+                click: function ($event) {
+                  return _vm.$handleViewEvent($event)
+                },
+              },
             },
-          },
-        },
-        [_vm._v("分包一测试页面")]
-      ),
-      _c(
-        "v-uni-button",
-        {
-          attrs: { size: "mini", _i: 2 },
-          on: {
-            click: function ($event) {
-              return _vm.$handleViewEvent($event)
+            [_vm._v("分包一测试页面")]
+          ),
+          _c(
+            "v-uni-button",
+            {
+              attrs: { size: "mini", _i: 4 },
+              on: {
+                click: function ($event) {
+                  return _vm.$handleViewEvent($event)
+                },
+              },
             },
-          },
-        },
-        [_vm._v("系统首页")]
+            [_vm._v("系统首页")]
+          ),
+        ],
+        1
       ),
     ],
     1

File diff suppressed because it is too large
+ 1 - 1
unpackage/dist/dev/app-plus/manifest.json


+ 5 - 1
unpackage/dist/dev/mp-weixin/pages/index/index.js

@@ -148,13 +148,17 @@ exports.default = void 0;
 //
 //
 //
+//
+//
+//
+//
+//
 var _default = {
   data: function data() {
     return {};
   },
   onLoad: function onLoad() {
     var that = this;
-    that.toPath('/pagesHome/home/index');
   },
   methods: {
     toPath: function toPath(e) {

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

@@ -1 +1 @@
-<view class="content"><button size="mini" data-event-opts="{{[['tap',[['toPath',['/pagesCommon/test/index']]]]]}}" bindtap="__e">分包一测试页面</button><button size="mini" data-event-opts="{{[['tap',[['toPath',['/pagesHome/home/index']]]]]}}" bindtap="__e">系统首页</button></view>
+<view class="content"><view class="one">首页</view><view class="two"><button size="mini" data-event-opts="{{[['tap',[['toPath',['/pagesCommon/test/index']]]]]}}" bindtap="__e">分包一测试页面</button><button size="mini" data-event-opts="{{[['tap',[['toPath',['/pagesHome/home/index']]]]]}}" bindtap="__e">系统首页</button></view></view>

BIN
unpackage/res/icons/1024x1024.png


BIN
unpackage/res/icons/120x120.png


BIN
unpackage/res/icons/144x144.png


BIN
unpackage/res/icons/152x152.png


BIN
unpackage/res/icons/167x167.png


BIN
unpackage/res/icons/180x180.png


BIN
unpackage/res/icons/192x192.png


BIN
unpackage/res/icons/20x20.png


BIN
unpackage/res/icons/29x29.png


BIN
unpackage/res/icons/40x40.png


BIN
unpackage/res/icons/58x58.png


BIN
unpackage/res/icons/60x60.png


BIN
unpackage/res/icons/72x72.png


BIN
unpackage/res/icons/76x76.png


BIN
unpackage/res/icons/80x80.png


BIN
unpackage/res/icons/87x87.png


BIN
unpackage/res/icons/96x96.png