diff --git a/package.json b/package.json index b4c1a0225ea6cc6552381c043bf5388f67046563..685de296f2756825a99a1404963f3fa83015cdd5 100644 --- a/package.json +++ b/package.json @@ -1,4 +1,4 @@ -{ + { "name": "mpshaodai", "version": "0.0.2", "description": "A WePY project", diff --git a/project.config.json b/project.config.json index debae9658774e26c83b13514bbc7489ea2f94fd7..06614f383a8daf73a1d4ca99e17b11c689c91bbe 100644 --- a/project.config.json +++ b/project.config.json @@ -1,7 +1,7 @@ { "description": "A WePY project", "setting": { - "urlCheck": false, + "urlCheck": true, "es6": true, "postcss": false, "minified": false, diff --git a/src/app.wpy b/src/app.wpy index 520a508ed855d69ed9ffac3e4e86c8952e23de4f..6ba9f8777c320df77db4311fd27638c08e621e58 100644 --- a/src/app.wpy +++ b/src/app.wpy @@ -55,6 +55,8 @@ wepy.app({ wx.getSystemInfo({ success: res => { //导航高度 + this.$options.config.screenHeight = res.windowHeight + this.$options.config.screenWidth = res.windowWidth this.$options.config.title_height = res.statusBarHeight + 46; this.$options.config.statusbarHeight = res.statusBarHeight; @@ -77,6 +79,8 @@ wepy.app({ } }, config:{ + screenHeight: 0, + screenWidth: 0, title_height: "64", statusbarHeight: "24", titleIcon_height: "32", @@ -84,17 +88,17 @@ wepy.app({ title_top: "24", title_text: "xxx", // iphone X + 24 prefix: 24, - // urlPrefix: 'https://sd.tmallab.com/spring/api' - urlPrefix: "http://127.0.0.1:8888/api" + urlPrefix: 'https://api.favormylikes.com/spring/api' + // urlPrefix: "http://127.0.0.1:8888/api" } }); { pages: [ + 'pages/index', 'pages/progress', - 'pages/index', ], diff --git a/src/assets/hint.png b/src/assets/hint.png index 09efc8c71ef0f8b4f524a9cd63518cd8bc854126..4a16df95897fe33f9e0c02af7689b15b510c6af5 100644 Binary files a/src/assets/hint.png and b/src/assets/hint.png differ diff --git a/src/assets/logo.png b/src/assets/logo.png new file mode 100644 index 0000000000000000000000000000000000000000..483df06d7f2158513ca075cd9e9043de1f995635 Binary files /dev/null and b/src/assets/logo.png differ diff --git a/src/assets/ty.png b/src/assets/ty.png new file mode 100644 index 0000000000000000000000000000000000000000..cc175092cd08e53484bc9e7bcad5406ae60c992f Binary files /dev/null and b/src/assets/ty.png differ diff --git a/src/pages/index.wpy b/src/pages/index.wpy index 2acdead872b24bb185545952ced78de31ff7c94b..3b3bcbf4aa55d23f3fa20ab5a23b7782e21b6f32 100644 --- a/src/pages/index.wpy +++ b/src/pages/index.wpy @@ -36,12 +36,14 @@ justify-content: center; border-radius: 50%; overflow: hidden; + z-index: 90; background: white; width: 98rpx; height: 98rpx; } .avatar-big { + z-index: 90; display: flex;flex-direction: row; align-items: center; justify-content: center; @@ -155,7 +157,7 @@ .bt-update { color: white !important; - margin-top: 13rpx; + margin-top: 33rpx; height: 91rpx !important; width: 322rpx; } @@ -294,7 +296,7 @@ flex-direction: column; align-items: center; background: white; - height: 820rpx; + height: 880rpx; width: 100%; } @@ -352,7 +354,8 @@ height: 66rpx; align-items: flex-end; label { - font-size: 26rpx; + letter-spacing:1px; + font-size: 24rpx; margin-left: 26rpx } @@ -409,18 +412,13 @@ } .bt-service{ --button-normal-font-size: 30rpx!important; - display: flex!important; - flex-direction: row!important; - align-items: center!important; - padding-left: 33rpx!important; background: white!important; - box-shadow:0 2rpx 4rpx rgba(0, 0, 0, .3)!important; - --button-default-height: 86rpx!important; - border-top-left-radius: 43rpx!important; - border-bottom-left-radius: 43rpx!important; + box-shadow:0px 0px 20px 10px #EAEAEA; + border-radius: 43rpx!important; position: fixed!important; - right: -3rpx!important; - bottom: 460rpx!important; + --button-default-height: 88rpx; + width: 200rpx; + right: -30rpx!important; } .pay-sheet-container{ align-items: center; @@ -461,11 +459,18 @@ --action-sheet-header-height: 120rpx!important; } .auto-get{ - width: 250rpx;font-size: 33rpx;background: white;border: 0px;font-weight: 500;letter-spacing: 2px;color: #0F8BFC; + width: 250rpx;font-size: 30rpx;background: white;border: 0px;font-weight: 500;letter-spacing: 1px;color: #0F8BFC; } .auto-get::after { border: none; } +movable-view { + pointer-events: auto; +} +movable-area { + pointer-events: none; +} + @@ -480,13 +485,13 @@