| | |
| | | // pages/digitalCourses/index.js |
| | | const app = getApp() |
| | | import { |
| | | setSessionGuid, |
| | | setNewView, |
| | | storage |
| | | } from "../../assets/js/userAction"; |
| | | Page({ |
| | | |
| | | /** |
| | |
| | | console.log(e); |
| | | const item = e.currentTarget.dataset.item |
| | | |
| | | setNewView('productId', item.id) |
| | | this.getCourseTypeListList() |
| | | |
| | | wx.navigateTo({ |
| | | url: '/pages/digitalCourses/digitalCoursesDetails/index?id=' + item.id, |
| | | }) |
| | |
| | | <view class="book-name"> |
| | | {{item.name}} |
| | | </view> |
| | | <view class="viewCount"> |
| | | {{item.viewCount }}次点击 |
| | | |
| | | </view> |
| | | <view class="author"> |
| | | <view> |
| | | {{ item.courseLeader}} |
| | |
| | | |
| | | .informationBox { |
| | | width: 340rpx; |
| | | height: 470rpx; |
| | | min-height: 470rpx; |
| | | border-radius: 9rpx 9rpx 9rpx 9rpx; |
| | | background-color: #fff; |
| | | margin-bottom: 40rpx; |
| | |
| | | justify-content: space-between; |
| | | margin-bottom: 15rpx; |
| | | font-weight: bold; |
| | | font-weight: 400; |
| | | font-size: 25rpx; |
| | | color: #333333; |
| | | } |
| | | |
| | | .money { |
| | |
| | | flex-direction: row; |
| | | justify-content: space-between; |
| | | color: #ff6c00; |
| | | margin-bottom: 30rpx; |
| | | |
| | | } |
| | | |
| | |
| | | justify-content: center; |
| | | align-items: center; |
| | | } |
| | | |
| | | .viewCount { |
| | | margin: 10rpx 30rpx; |
| | | font-weight: 400; |
| | | font-size: 22rpx; |
| | | color: #AEAFC0; |
| | | } |
| | |
| | | <view style="width: 150rpx;"> 出版时间: </view> |
| | | <view>{{ publicationDate}}</view> |
| | | </view> |
| | | |
| | | </view> |
| | | <image src="/static/images/bookService/detail/square.png" class="right-background" /> |
| | | </view> |
| | |
| | | </view> |
| | | </view> |
| | | </view> |
| | | |
| | | |
| | | </view> |
| | | </view> |
| | | |
| | |
| | | <image src="/static/images/digitalTextbooks/zhengshu@2x.png" mode="" /> |
| | | </view> |
| | | <view class="basic"> 证书信息</view> |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | </view> |
| | | |
| | | |
| | |
| | | <image src="{{item.icon}}" mode="" /> |
| | | <img wx:if="{{item.icon == ''}}" src="/static/images/default-book-img.png" alt="" /> |
| | | </view> |
| | | |
| | | <view class="correlationName">{{item.name}}</view> |
| | | |
| | | <view class="correlationAuthor">{{digitalsData.author}}</view> |
| | | </view> |
| | | |