From abbd7d18ea431ee8b6b8e634abf3e8ccb1fbb1b3 Mon Sep 17 00:00:00 2001 From: 闫增涛 <1829501689@qq.com> Date: 星期五, 28 三月 2025 18:43:33 +0800 Subject: [PATCH] 登录迁移 --- pages/digitalTextbooks/digitalTextbooksDetails/index.wxml | 53 ++++++++++++++++++++++++++++------------------------- 1 files changed, 28 insertions(+), 25 deletions(-) diff --git a/pages/digitalTextbooks/digitalTextbooksDetails/index.wxml b/pages/digitalTextbooks/digitalTextbooksDetails/index.wxml index 78e1c2f..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> @@ -97,13 +95,13 @@ icon="{{ tabValue == 'brief' ? briefIconClick : briefIcon}}" value="brief" label="鍩烘湰淇℃伅" - style="{{tabPanelstyle}}" > <view class="rubricBox"> <view class="rubricimgBox"> <image src="/static/images/bookService/detail/label.png" mode="" + class="img" /> </view> <view class="basic"> 鍩烘湰淇℃伅</view> @@ -112,7 +110,6 @@ <rich-text nodes="{{digitalsData.content}}"></rich-text> </view> <view class="noDataBox" wx:else> - <!-- <t-empty icon="folder-open" description="鏆傛棤鏁版嵁" font-size="80" /> --> <empty /> </view> </t-tab-panel> @@ -120,13 +117,13 @@ icon="{{tabValue == 'jsek_cloudLearning' ? learnResourceClickIcon : learnResourceIcon}}" value="jsek_cloudLearning" label="璇佷功淇℃伅" - style="{{tabPanelstyle}}" > <view class="rubricBox"> <view class="rubricimgBox"> <image src="/static/images/digitalTextbooks/zhengshu@2x.png" mode="" + class="img" /> </view> <view class="basic"> 璇佷功淇℃伅</view> @@ -136,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> @@ -150,13 +149,13 @@ icon="{{tabValue == 'jsek_teachingResources' ? teachResourcesClickIcon : teachResourcesIcon}}" value="jsek_teachingResources" label="浣滆�呬俊鎭�" - style="{{tabPanelstyle}}" > <view class="rubricBox"> <view class="rubricimgBox"> <image src="/static/images/bookService/detail/author.png" mode="" + class="img" /> </view> <view class="basic"> 浣滆�呬俊鎭�</view> @@ -178,13 +177,13 @@ icon="{{tabValue == 'catalogue' ? catalogueClickIcon : catalogue}}" value="catalogue" label="鐩綍" - style="{{tabPanelstyle}}" > <view class="rubricBox"> <view class="rubricimgBox"> <image src="/static/images/digitalTextbooks/mulu@3x.png" mode="" + class="img" /> </view> <view class="basic"> 鐩綍</view> @@ -201,13 +200,13 @@ icon="{{tabValue == 'questionBank' ? testResourceClickIocn : testResourceIocn}}" value="questionBank" label="鐩稿叧鏁欐潗" - style="{{tabPanelstyle}}" > <view class="rubricBox"> <view class="rubricimgBox"> <image src="/static/images/digitalTextbooks/Link@3x.png" mode="" + class="img" /> </view> <view class="basic"> 鐩稿叧鏁欐潗</view> @@ -226,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> @@ -249,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> @@ -292,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> @@ -320,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