| | |
| | | <!--pages/bookServices/detail/index.wxml--> |
| | | <import src="index.skeleton.wxml" /> |
| | | <template is="skeleton" wx:if="{{pageLoading}}" /> |
| | | <!-- pageLoading --> |
| | | <!--导航区域 --> |
| | | |
| | | <suggest-dialog |
| | | class="suggest-dialog" |
| | |
| | | ></suggest-dialog> |
| | | <!-- <popup showIndex="{{showIndex}}"></popup> --> |
| | | <view class="page-bookService" wx:if="{{!pageLoading}}"> |
| | | <!-- <view style="width: 100%; height: {{barHeight}}px; "></view> |
| | | <view class="nacigationBar" style="width: 100%; height: {{navBarHeight}}px;"> |
| | | <view> |
| | | <t-icon |
| | | name="chevron-left" |
| | | size="30" |
| | | data-name="{{item}}" |
| | | bind:click="goBack" |
| | | /> |
| | | </view> |
| | | <view class="navbar-title" style="width: 100%"> |
| | | <text>{{options.name}}</text> |
| | | </view> |
| | | </view> --> |
| | | <t-toast id="t-toast" /> |
| | | <movable-area class="movable-area"> |
| | | <scroll-view |
| | |
| | | src="/static/images/bookService/detail/suggest.png" |
| | | /> |
| | | </view> |
| | | <view class="use-title">我要建议</view> |
| | | <view class="use-title">建议</view> |
| | | </view> |
| | | <view class="suggest" bindtap="editPhone"> |
| | | <t-icon |
| | | class="editIcon" |
| | | style="color: rgb(194, 194, 194)" |
| | | name="calendar-edit" |
| | | size="40rpx" |
| | | /> |
| | | <view class="use-title">联系</view> |
| | | </view> |
| | | </view> |
| | | </view> |
| | |
| | | value="jsek_teachingResources" |
| | | class="{{loading ? 'loading': ''}}" |
| | | > |
| | | <view |
| | | wx:if="{{!loading && teach.length && !noResources && applyState}}" |
| | | > |
| | | <view wx:if="{{!loading && applyState}}"> |
| | | <teach-resource |
| | | applyState="{{applyState}}" |
| | | rejectCause="{{rejectCause}}" |
| | | deadline="{{deadline}}" |
| | | bind:applyResource="applyResource" |
| | | md5List="{{md5List}}" |
| | | applyResourceLoading="{{applyResourceLoading}}" |
| | | bind:uploadFile="uploadFile" |
| | | ></teach-resource> |
| | |
| | | bind:updateCloudLearning="updateCloudLearning" |
| | | ></tree> |
| | | </view> |
| | | <!-- <t-loading |
| | | theme="circular" |
| | | size="60rpx" |
| | | class="loading" |
| | | loading="{{loading }}" |
| | | /> --> |
| | | <view wx:if="{{loading}}" style="width: 100%; height: min-content"> |
| | | <t-skeleton |
| | | row-col="{{rowCol}}" |
| | |
| | | ></t-skeleton> |
| | | </view> |
| | | <view wx:if="{{noResources && !loading}}" class="noData"> |
| | | <!-- <t-empty icon="folder-open" description="暂无数据" /> --> |
| | | <empty /> |
| | | </view> |
| | | </t-tab-panel> |
| | |
| | | isshowDrawBtn="{{isshowDrawBtn}}" |
| | | successOrderNumber="{{successOrderNumber}}" |
| | | isGoBuyResource="{{isGoBuyResource}}" |
| | | isShowBuyCloundMenu="{{isShowBuyCloundMenu}}" |
| | | isShowBuyCloundBtn="{{isShowBuyCloundBtn}}" |
| | | bind:buyCloudLearnClass="buyCloudLearnClass" |
| | | learnTaskData="{{learnTaskData}}" |
| | | ></learn-resource> |
| | | |
| | | <tree |
| | |
| | | bookInfo="{{bookDetail}}" |
| | | tab="{{tabValue}}" |
| | | treeList="{{learn}}" |
| | | learnList="{{learn}}" |
| | | buyIds="{{buyIdList}}" |
| | | openLearnids="{{openLearnids}}" |
| | | cloundMenuIsBuy="{{cloundMenuIsBuy}}" |
| | | learnMenu="{{learnMenu}}" |
| | | isCloundHaveSaleMethod="{{isCloundHaveSaleMethod}}" |
| | | bind:updateShoppingCartHidden="updateShoppingCartHidden" |
| | | bind:updateCloudLearning="updateCloudLearning" |
| | | bind:getCloundIsBuy="getCloundIsBuy" |
| | | ></tree> |
| | | </view> |
| | | <view wx:if="{{noResources && !loading}}" class="noData"> |
| | | <!-- <t-empty icon="folder-open" description="暂无数据" /> --> |
| | | <empty /> |
| | | </view> |
| | | </t-tab-panel> |
| | |
| | | <test-resource |
| | | id="test-resource" |
| | | list="{{test}}" |
| | | bankSaleData="{{bankSaleData}}" |
| | | isBuyBank="{{isBuyBank}}" |
| | | isShoppingBank="{{isShoppingBank}}" |
| | | bookInfo="{{bookDetail}}" |
| | | openIds="{{openLearnids}}" |
| | | mockData="{{mockData}}" |
| | |
| | | storeInfo="{{options.storeInfo}}" |
| | | jslx="{{jslx}}" |
| | | bind:buyMock="buyMock" |
| | | bind:buyBank="buyBank" |
| | | bind:handleShoppingBank="handleShoppingBank" |
| | | ></test-resource> |
| | | </view> |
| | | </t-tab-panel> |
| | |
| | | </view> |
| | | </movable-view> |
| | | </movable-area> |
| | | <!-- 联系编辑弹窗 --> |
| | | <t-dialog visible="{{editDialog}}" close-btn bind:close="closeEditDialog"> |
| | | <view slot="content" class="editContent"> |
| | | <view class="editText">图书编辑:{{bookDetail.bookEditor}}</view> |
| | | <view class="editText">联系方式:{{bookDetail.contactInformation}}</view> |
| | | </view> |
| | | </t-dialog> |
| | | <!-- 我要建议弹窗 --> |
| | | <suggest |
| | | class="suggest-component" |
| | |
| | | <view class="btn-text">纸质样书申请</view> |
| | | </view> |
| | | <view |
| | | class="{{!bookBuy && bookDetail.isSell ? 'bottom-btn tryRead' : 'bottom-btn try'}}" |
| | | class="{{!bookBuy ? 'bottom-btn tryRead' : 'bottom-btn try'}}" |
| | | bind:tap="goRead" |
| | | data-type="freeFile" |
| | | wx:if="{{!bookBuy || applicationState == 'overdue'}}" |
| | | > |
| | | <view> |
| | |
| | | <view |
| | | class="buy read" |
| | | bind:tap="goRead" |
| | | data-type="file" |
| | | wx:if="{{bookBuy || applicationState == 'Normal'}}" |
| | | >立即查看</view |
| | | > |
| | |
| | | <view class="from-item"> |
| | | <view class="label"> <text class="icon">*</text>资源类型: </view> |
| | | <view class="item-content"> |
| | | <view class="inputBox1"> |
| | | <t-input |
| | | placeholder="输入资源类型" |
| | | borderless |
| | | value="{{resourceInfo.fileType}}" |
| | | bindchange="onFileTypeInput" |
| | | /> |
| | | </view> |
| | | <!-- <view class="inputBox1"> |
| | | <t-input placeholder="输入资源类型" borderless value="{{resourceInfo.fileType}}" bindchange="onFileTypeInput" /> |
| | | </view> --> |
| | | <t-cell |
| | | class="mb-16" |
| | | title="" |
| | | arrow |
| | | hover |
| | | note="{{resourceInfo.fileType}}" |
| | | bind:click="onResourcePicker" |
| | | /> |
| | | <t-picker |
| | | visible="{{resourceVisible}}" |
| | | value="{{resourceValue}}" |
| | | data-key="resource" |
| | | title="选择资源类型" |
| | | cancelBtn="取消" |
| | | confirmBtn="确认" |
| | | usingCustomNavbar |
| | | bindchange="onPickerChange" |
| | | bindcancel="onPickerCancel" |
| | | > |
| | | <t-picker-item options="{{fileTypeList}}" /> |
| | | </t-picker> |
| | | </view> |
| | | </view> |
| | | <view class="from-item"> |
| | |
| | | wx:if="{{!isShowUp && fileList.length > 0}}" |
| | | class="fileList" |
| | | > |
| | | <text>{{fileList[0].name}}</text> |
| | | <text class="fileName">{{fileList[0].name}}</text> |
| | | <image |
| | | src="/static/images/bookService/detail/deleteHover.png" |
| | | class="deleteBtn" |
| | |
| | | </view> |
| | | </view> |
| | | </view> |
| | | |
| | | <view class="popupBox"> |
| | | <t-popup |
| | | visible="{{protocolShow}}" |