From c0ff00c32bca4077b140d0d69b2863851ae31273 Mon Sep 17 00:00:00 2001 From: zhongshujie <2862698242@qq.com> Date: 星期二, 08 七月 2025 16:29:17 +0800 Subject: [PATCH] 优化 --- pages/digitalTextbooks/digitalTextbooksDetails/index.wxml | 47 ++++++++++++++++++++++++++++------------------- 1 files changed, 28 insertions(+), 19 deletions(-) diff --git a/pages/digitalTextbooks/digitalTextbooksDetails/index.wxml b/pages/digitalTextbooks/digitalTextbooksDetails/index.wxml index 95b0b7d..8027edd 100644 --- a/pages/digitalTextbooks/digitalTextbooksDetails/index.wxml +++ b/pages/digitalTextbooks/digitalTextbooksDetails/index.wxml @@ -13,7 +13,7 @@ <view class="textbookDetails"> <view class="book-img"> <view class="imageBox"> - <image src="{{digitalsData.icon}}" mode="" /> + <image src="{{digitalsData.icon}}" mode="" class="img" /> </view> <!-- <view class="setCoolect"> <image src="/static/images/bookService/detail/collect.png" style="width: 50rpx;" bind:tap="setCoolect" wx:if="{{isFavourite}}" /> @@ -53,22 +53,20 @@ </view> </view> <view class="certificate"> - <view class="proposal" bind:tap="suggestBtn"> + <!-- <view class="proposal" bind:tap="suggestBtn"> <view class="suggestion"> - <image - src="/static/images/digitalTextbooks/Suggestion@2x.png" - mode="" - /> + <image src="/static/images/digitalTextbooks/Suggestion@2x.png" mode="" class="img" /> </view> <view class="proposalText">鎴戣寤鸿</view> - </view> - <view class="frame"></view> + </view> --> + <!-- <view class="frame"></view> --> <view class="information"> <view class="proposal" bind:tap="onCertificate"> <view class="suggestion"> <image src="/static/images/digitalTextbooks/shengshu-t@2x.png" mode="" + class="img" /> </view> <view class="proposalText">璇佷功鐢宠</view> @@ -103,6 +101,7 @@ <image src="/static/images/bookService/detail/label.png" mode="" + class="img" /> </view> <view class="basic"> 鍩烘湰淇℃伅</view> @@ -124,6 +123,7 @@ <image src="/static/images/digitalTextbooks/zhengshu@2x.png" mode="" + class="img" /> </view> <view class="basic"> 璇佷功淇℃伅</view> @@ -133,12 +133,14 @@ <image src="https://jsek.bnuic.com/home/certificate/szjc.jpg" mode="" + class="img" /> </view> <view class="chart" bind:tap="onClick2"> <image src="https://jsek.bnuic.com/home/certificate/jczs.jpg" mode="" + class="img" /> </view> </view> @@ -153,6 +155,7 @@ <image src="/static/images/bookService/detail/author.png" mode="" + class="img" /> </view> <view class="basic"> 浣滆�呬俊鎭�</view> @@ -180,6 +183,7 @@ <image src="/static/images/digitalTextbooks/mulu@3x.png" mode="" + class="img" /> </view> <view class="basic"> 鐩綍</view> @@ -202,6 +206,7 @@ <image src="/static/images/digitalTextbooks/Link@3x.png" mode="" + class="img" /> </view> <view class="basic"> 鐩稿叧鏁欐潗</view> @@ -220,11 +225,12 @@ bind:tap="onCorrelationBook" > <view class="correlationImage"> - <image src="{{item.icon}}" mode="" /> + <image src="{{item.icon}}" mode="" class="img" /> <img wx:if="{{item.icon == ''}}" src="/static/images/default-book-img.png" alt="" + class="img" /> </view> <view class="correlationName">{{item.name}}</view> @@ -243,18 +249,23 @@ wx:if="{{!digitalsData.isFavourite}}" src="/static/images/digitalTextbooks/wodeshoucang@2x.png" mode="" + class="img" /> <image wx:else src="/static/images/bookService/detail/collecting.png" mode="" + class="img" /> </view> <view class="btn-text"> 鏀惰棌 </view> </view> - <view class="trialReading" bind:tap="goRead" wx:if="{{!isBuy}}"> + <view class="trialReading" bind:tap="goRead"> <view class="collectionImage"> - <image src="/static/images/digitalTextbooks/shidu@2x.png"></image> + <image + src="/static/images/digitalTextbooks/shidu@2x.png" + class="img" + ></image> </view> <view class="btn-text">璇曡</view> </view> @@ -286,13 +297,7 @@ </view> </view> </view> -<suggest - class="suggest-component" - id="suggest-component1" - showIndex="{{showIndex1}}" - bookIcon="{{digitalsData.icon}}" - bookName="{{digitalsData.name}}" -></suggest> +<!-- <suggest class="suggest-component" id="suggest-component1" showIndex="{{showIndex1}}" bookIcon="{{digitalsData.icon}}" bookName="{{digitalsData.name}}"></suggest> --> <!-- 寮圭獥 --> <view wx:if="{{dialogBox}}"> <view class="popup-box" bindtap="closeDialog"></view> @@ -314,7 +319,11 @@ ></t-input> </view> <view class="contentImg"> - <image src="{{userInfo.userPicture}}" mode="aspectFill" /> + <image + src="{{userInfo.userPicture}}" + mode="aspectFill" + class="img" + /> </view> <view class="buttonBox"> <t-button size="small" class="right-btn" bind:tap="uploadPicture" -- Gitblit v1.9.1