From aff8d054df4a638f399dc8f15d98c19b9c9aa785 Mon Sep 17 00:00:00 2001 From: litian <C21AF165> Date: 星期二, 29 四月 2025 10:11:25 +0800 Subject: [PATCH] 扫码视频播放 --- packageDomain/pages/resourceDetails/document/index.wxss | 64 ++++++++++++++++++++++++++++++- 1 files changed, 61 insertions(+), 3 deletions(-) diff --git a/packageDomain/pages/resourceDetails/document/index.wxss b/packageDomain/pages/resourceDetails/document/index.wxss index ddde10d..118f1e9 100644 --- a/packageDomain/pages/resourceDetails/document/index.wxss +++ b/packageDomain/pages/resourceDetails/document/index.wxss @@ -49,7 +49,6 @@ background: #FFFFFF; box-shadow: 0rpx 9rpx 9rpx 2rpx rgba(0, 0, 0, 0.06); padding: 20rpx 50rpx; - margin-bottom: 100rpx; font-family: PingFang SC, PingFang SC; font-weight: 400; font-size: 29rpx; @@ -59,12 +58,71 @@ .pictureBox { display: flex; justify-content: center; - margin-top: 160rpx; + margin-top: 20rpx; width: 100%; height: 100%; } .pictureBox image { + /* width: 100%; + height: auto; */ +} + +.download-btn { width: 100%; - height: 100%; +} + +.heart { + animation-name: scaleDraw; + /*鍏抽敭甯у悕绉�*/ + animation-timing-function: ease-in-out; + /*鍔ㄧ敾鐨勯�熷害鏇茬嚎*/ + animation-iteration-count: infinite; + /*鍔ㄧ敾鎾斁鐨勬鏁�*/ + animation-duration: 2s; + /*鍔ㄧ敾鎵�鑺辫垂鐨勬椂闂�*/ +} + +@keyframes scaleDraw { + + /*瀹氫箟鍏抽敭甯с�乻caleDrew鏄渶瑕佺粦瀹氬埌閫夋嫨鍣ㄧ殑鍏抽敭甯у悕绉�*/ + 0% { + transform: scale(1); + /*寮�濮嬩负鍘熷澶у皬*/ + } + + 25% { + transform: scale(1.5); + /*鏀惧ぇ1.1鍊�*/ + } + + 50% { + transform: scale(1.75); + } + + 75% { + transform: scale(2.0); + } +} + +.img-box { + display: flex; + flex-direction: column; + justify-content: center; + align-items: center; + box-shadow: 0 3px 6px 1px #00000029; +} + +.excelBox { + margin: 30rpx auto; +} + +.textBox { + display: flex; + font-size: 24rpx; +} + +.textWidth { + text-align: center; + flex: 1; } \ No newline at end of file -- Gitblit v1.9.1