From 4ca71d0987e47d2996144fad905f4b7a2d34bf83 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?lemon=E6=A9=AA?= <17633066053@163.com>
Date: Wed, 4 Aug 2021 18:14:31 +0800
Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E7=A7=BB=E5=8A=A8=E7=AB=AF?=
=?UTF-8?q?=E7=99=BB=E5=BD=95=E6=A0=B7=E5=BC=8F=E6=8C=89=E9=92=AE=E6=A0=B7?=
=?UTF-8?q?=E5=BC=8F=E9=97=AE=E9=A2=98?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
pages/navigation/search/searchPage.vue | 4 ++--
pages/passport/wechatMPLogin.vue | 29 ++++++++++++++++++++++----
2 files changed, 27 insertions(+), 6 deletions(-)
diff --git a/pages/navigation/search/searchPage.vue b/pages/navigation/search/searchPage.vue
index b6b8d8c..e1ddd57 100644
--- a/pages/navigation/search/searchPage.vue
+++ b/pages/navigation/search/searchPage.vue
@@ -597,7 +597,7 @@ export default {
/**
* 加载热门搜索
- * 1.30分钟之后更新缓存
+ * 1.5分钟之后更新缓存
* 2.如果有缓存热门关键字则去请求缓存
*/
async loadHotKeyword() {
@@ -615,7 +615,7 @@ export default {
});
let hotData = {
- time: new Date().getTime() / 1000 + 30 * 60,
+ time: new Date().getTime() / 1000 + 30 * 5,
keywords: keywords,
};
storage.setHotWords(hotData);
diff --git a/pages/passport/wechatMPLogin.vue b/pages/passport/wechatMPLogin.vue
index de0bc4b..256d869 100644
--- a/pages/passport/wechatMPLogin.vue
+++ b/pages/passport/wechatMPLogin.vue
@@ -19,7 +19,7 @@
您的公开信息(昵称、头像)
-
+
@@ -50,7 +50,6 @@ export default {
//微信小程序进入页面,先获取code,否则几率出现code和后续交互数据不对应情况
mounted() {
-
// 小程序默认分享
uni.showShareMenu({ withShareTicket: true });
@@ -73,7 +72,7 @@ export default {
*/
back() {
- whetherNavigate('wx');
+ whetherNavigate("wx");
},
//获取用户信息
getUserProfile(e) {
@@ -231,8 +230,15 @@ text.shop {
.btn-auth {
width: 92%;
margin: 0 auto 100rpx;
-
border-radius: 100px;
+ animation: mymove 5s infinite;
+ -webkit-animation: mymove 5s infinite; /*Safari and Chrome*/
+ animation-direction: alternate; /*轮流反向播放动画。*/
+ animation-timing-function: ease-in-out; /*动画的速度曲线*/
+ /* Safari 和 Chrome */
+ -webkit-animation: mymove 5s infinite;
+ -webkit-animation-direction: alternate; /*轮流反向播放动画。*/
+ -webkit-animation-timing-function: ease-in-out; /*动画的速度曲线*/
}
.btns {
@@ -241,4 +247,19 @@ text.shop {
width: 100%;
justify-content: center;
}
+
+@keyframes mymove {
+ 0% {
+ transform: scale(1); /*开始为原始大小*/
+ }
+ 25% {
+ transform: scale(1.1); /*放大1.1倍*/
+ }
+ 50% {
+ transform: scale(1);
+ }
+ 75% {
+ transform: scale(1.1);
+ }
+}