yiming
2024-04-03 d19d4d7523eaf8e0a0d00467681a55c0c49c2d3d
书目
6个文件已修改
39 ■■■■■ 已修改文件
packageBookService/pages/bookServices/detail/components/tree/index.js 1 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
packageBookService/pages/bookServices/detail/index.wxml 3 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
packageDomain/pages/resourceDetails/myVideo/index.js 3 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
pages/bibliographyList/index.wxml 21 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
pages/bookExhibitionList/index.wxss 6 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
pages/cart/index.js 5 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
packageBookService/pages/bookServices/detail/components/tree/index.js
@@ -217,6 +217,7 @@
    // 拿到所有项
    getAllChildren(id) {
      let result = [];
      function findChildren(item) {
        if (item.id === id) {
          if (item.children && item.children.length > 0) {
packageBookService/pages/bookServices/detail/index.wxml
@@ -122,7 +122,8 @@
        <t-tab-panel label="云学习" icon="{{tabValue == 'jsek_cloudLearning' ? learnResourceClickIcon : learnResourceIcon}}" value="jsek_cloudLearning" style="{{tabPanelstyle}}">
          <view wx:if="{{!loading && learn.length}}">
            <learn-resource bind:getFreeResource="getFreeResource" bind:allAddShoppiingCar="allAddShoppiingCar" id="learn-resource" buyResourceData="{{buyResourceData}}" bookId="{{bookDetail.id}}" isshowDrawBtn="{{isshowDrawBtn}}"></learn-resource>
            <tree id="tree" openIds="{{openLearnids}}" bookInfo="{{bookDetail}}" tab="{{tabValue}}" treeList="{{learn}}" buyIds="{{buyIdList}}" openLearnids="{{openLearnids}}"></tree>
            <tree id="tree" openIds="{{openLearnids}}" bookInfo="{{bookDetail}}" tab="{{tabValue}}" treeList="{{learn}}" buyIds="{{buyIdList}}" openLearnids="{{openLearnids}}" bind:updateShoppingCartHidden="updateShoppingCartHidden" bind:updateCloudLearning="updateCloudLearning"></tree>
          </view>
          <view wx:if="{{noResources}}" class="noData">
            <t-empty icon="folder-open" description="暂无数据" />
packageDomain/pages/resourceDetails/myVideo/index.js
@@ -328,12 +328,11 @@
  },
  confirmSuggest() {
    if (!this.data.textvalue) {
    if (!this.data.textvalue.trim()) {
      return wx.showToast({
        icon: 'error',
        title: '请填写笔记内容',
      })
    } else if (!this.data.titleName) {
      return wx.showToast({
        icon: 'error',
pages/bibliographyList/index.wxml
@@ -68,10 +68,12 @@
      <view wx:else class="outsideHigherBox">
        <view class="higherBox" wx:for="{{vocationalList}}" wx:key="index" wx:for-item="item" wx:for-index="index" bind:tap="downloadData" data-item="{{item}}">
          <view class="outsideHigherImageBox">
            <image class="higherImageBox" src="{{item.icon}}" mode="" />
            <view class="downloadIcon">
              <image wx:if="{{determine}}" class="download" src="/static/images/bibliographyList/email-click.png" mode="" />
              <image wx:else="" class="downloadshiftin" src="/static/images/bibliographyList/email.png" mode="" />
            <view class="higherImageBox">
              <image data-item="{{item}}" bind:tap="downloadData" src="{{item.icon}}" mode="aspectFill" />
              <view class="downloadIcon" data-item="{{item}}" data-key="showWithInput" bind:tap="mailbox">
                <image wx:if="{{determine}}" class="download" src="/static/images/bibliographyList/email-click.png" mode="aspectFit" />
                <image wx:else="" class="downloadshiftin" src="/static/images/bibliographyList/email.png" mode="aspectFit" />
              </view>
            </view>
          </view>
@@ -93,13 +95,14 @@
      <view wx:else class="outsideHigherBox">
        <view class="higherBox" wx:for="{{teacherList}}" wx:key="index" wx:for-item="item" wx:for-index="index" data-item="{{item}}" bind:tap="downloadData">
          <view class="outsideHigherImageBox">
            <image class="higherImageBox" src="{{item.icon}}" mode="" />
            <view class="downloadIcon">
              <image wx:if="{{determine}}" class="download" src="/static/images/bibliographyList/email-click.png" mode="" />
              <image wx:else="" class="downloadshiftin" src="/static/images/bibliographyList/email.png" mode="" />
            <view class="higherImageBox">
              <image data-item="{{item}}" bind:tap="downloadData" src="{{item.icon}}" mode="aspectFill" />
              <view class="downloadIcon" data-item="{{item}}" data-key="showWithInput" bind:tap="mailbox">
                <image wx:if="{{determine}}" class="download" src="/static/images/bibliographyList/email-click.png" mode="aspectFit" />
                <image wx:else="" class="downloadshiftin" src="/static/images/bibliographyList/email.png" mode="aspectFit" />
              </view>
            </view>
          </view>
          <view class="higherTextBox">{{item.name}}</view>
        </view>
pages/bookExhibitionList/index.wxss
@@ -254,4 +254,10 @@
  height: calc(100vh - 300rpx);
  /* width: calc(100vw - 60rpx); */
  /* height: 700rpx; */
}
.bottom-box {
  margin-top: 100rpx;
  display: flex;
  justify-content: center;
}
pages/cart/index.js
@@ -279,11 +279,12 @@
    this.shoppingCartGet()
  },
  onBook(e) {
    // console.log(e);
    const item = e.currentTarget.dataset.item
    console.log(item);
    console.log(item.productMonWithLinkDto.product.id);
    console.log(item.productMonWithLinkDto.product.name);
    // wx.navigateTo({
    //   url: '/packageBookService/pages/bookServices/detail/index?id=' + item.id + '&name=' + item.name
    //   url: '/packageBookService/pages/bookServices/detail/index?id=' + item.productMonWithLinkDto.product.id + '&name=' + item.productMonWithLinkDto.product.name
    // })
  }
});