From d817d0c28b0a4f448eff7c4d791c85ac9a942fa2 Mon Sep 17 00:00:00 2001 From: Gdpao <1341331954@qq.com> Date: Fri, 31 Jul 2020 08:45:30 +0800 Subject: [PATCH] gyh change --- App.vue | 27 +- components/remaining/remaining.vue | 35 +- manifest.json | 25 +- pageA/login/login.vue | 144 ++++--- pageA/pactList/pactList.vue | 10 +- pageA/topick/topick.vue | 17 +- pageA/welcome/welcome.vue | 55 ++- pageB/photo/index.vue | 9 +- pageB/sdetails/index.vue | 14 +- pageB/search/index.vue | 5 +- pageE/setting/Index.vue | 13 +- pages.json | 52 ++- pages/index/index.vue | 171 ++++----- pages/mine/index.vue | 12 +- pages/shop/index.vue | 579 ++++++++++++++++------------- 15 files changed, 708 insertions(+), 460 deletions(-) diff --git a/App.vue b/App.vue index fb9005c..fe6063a 100644 --- a/App.vue +++ b/App.vue @@ -1,6 +1,27 @@ + /* #ifndef APP-PLUS-NVUE */ + @import "/static/css/normalize"; + /* #endif */ + /* 顶部自定义导航留白 */ + .status_bar { + width: 100%; + height: var(--status-bar-height); + } + diff --git a/components/remaining/remaining.vue b/components/remaining/remaining.vue index 533ac50..041b01b 100644 --- a/components/remaining/remaining.vue +++ b/components/remaining/remaining.vue @@ -48,7 +48,7 @@ export default { data() { return { - remaining: 4, + remaining: 11, type: true, banner: false, protocol: false, @@ -142,12 +142,19 @@ uni.getSystemInfo({ success: function(res) { that.heightOut = res.windowHeight; - console.log('666666666666666' + that.heightOut) + console.log(that.heightOut) } }); }, // 我同意 to_agree() { + uni.setStorage({ + key: 'launchFlag', + data: true, + success: function() { + console.log('error时存储launchFlag'); + } + }); uni.navigateTo({ url: '/pageA/login/login' }); @@ -174,8 +181,7 @@ }) }, videoErrorCallback: function(e) { - console.log('视频错误信息:') - console.log(e.target.errMsg) + console.log('视频错误信息:',e); }, getRandomColor: function() { const rgb = [] @@ -222,19 +228,18 @@ // height: 400rpx; } .welcome_jumpes { - width: 94rpx; - height: 36rpx; - opacity: 0.5; - border-radius: 18rpx; + z-index: 10; position: absolute; - right: 37rpx; - top: 66rpx; + top: 80rpx; + right: 60rpx; + width: 100rpx; + height: 40rpx; + border-radius: 20rpx; font-size: 22rpx; text-align: center; - line-height: 35rpx; + line-height: 40rpx; color: #fff; - background: #C4CAC6; - z-index: 10; + background-color: rgba(0,0,0,0.5); } #myVideo { @@ -257,8 +262,8 @@ .welcome_images { width: 100%; + height: 100vh; position: fixed; - height: 100% } uni-swiper, @@ -266,7 +271,7 @@ uni-image { width: 100%; // position: fixed; - height: 100% + height: 100vh; } uni-image { diff --git a/manifest.json b/manifest.json index 9486019..6f5dfdf 100644 --- a/manifest.json +++ b/manifest.json @@ -23,7 +23,9 @@ "Push" : {}, "Maps" : {}, "LivePusher" : {}, - "Payment" : {} + "Payment" : {}, + "VideoPlayer" : {}, + "Speech" : {} }, /* 应用发布信息 */ "distribute" : { @@ -64,6 +66,12 @@ "oauth" : { "qq" : { "appid" : "101884160" + }, + "apple" : {}, + "weixin" : { + "appid" : "wx556db1531ec35dc7", + "appsecret" : "f441fc15dd21543871a818f40ce92016", + "UniversalLinks" : "https://demo.dcloud.net.cn/ulink/" } }, "maps" : { @@ -72,7 +80,20 @@ "appkey_android" : "8045e8a4cd6d544690c786265b248f91" } }, - "share" : {} + "share" : { + "weixin" : { + "appid" : "wx556db1531ec35dc7", + "UniversalLinks" : "https://demo.dcloud.net.cn/ulink/" + } + }, + "speech" : {}, + "payment" : { + "alipay" : {}, + "weixin" : { + "appid" : "wx556db1531ec35dc7", + "UniversalLinks" : "https://demo.dcloud.net.cn/ulink/" + } + } } } }, diff --git a/pageA/login/login.vue b/pageA/login/login.vue index 5b71542..6cbb945 100644 --- a/pageA/login/login.vue +++ b/pageA/login/login.vue @@ -43,11 +43,11 @@ - + QQ登录 - + 微信登录 @@ -61,7 +61,9 @@ \ No newline at end of file +