litian
2024-07-11 3f62d09217740b02d45bad3e6791916a9f11695c
sudu
12个文件已修改
101 ■■■■ 已修改文件
packageBookService/pages/bookServices/detail/index.js 10 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
packageDomain/pages/resourceDetails/myVideo/index.js 11 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
packageDomain/pages/resourceDetails/myVideo/index.wxml 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
pages/digitalTextbooks/digitalTextbooksDetails/index.js 4 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
pages/digitalTextbooks/digitalTextbooksDetails/index.wxml 26 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
pages/index/bookDetail.wxml 8 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
pages/index/bookDetail.wxss 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
pages/index/resourceCover.wxml 8 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
pages/index/resourceCover.wxss 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
pages/test/testCover.wxml 8 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
pages/test/testCover.wxss 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
services/home/home.js 12 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
packageBookService/pages/bookServices/detail/index.js
@@ -190,7 +190,7 @@
    // this.getResourceClass(); // 获取资源所属分类
    const token = wx.getStorageSync(app.config.tokenKey);
    if (token) {
      this.getShoppingCartProductGet();
      this.getApplyInfo(options.id);
      this.getAlreadyPBookList();
      this.getAlreadyEBookList();
@@ -573,6 +573,9 @@
          });
        }
      }
      if (!this.data.buy && this.data.bookDetail.isSell == '1') {
        this.getShoppingCartProductGet();
      }
    });
  },
  // 获取图书分类
@@ -900,6 +903,7 @@
          loading: false,
        });
      }
      console.log(res.datas.cmsDatas[0].datas, "资源")
      let list = []
      // 测试 6位// 正式 5位//  测试调用传20,内部7  正式调用传17 内部传6
      //教学资源 云学习
@@ -937,7 +941,7 @@
            })
          }
        }
        const addNum = query.cmsPath.length > 12 ? 7 : query.cmsPath.length > 14 ? 8 : 6
        const addNum = query.cmsPath.length > 10 ? 7 : query.cmsPath.length > 13 ? 8 : 6
        const num = query.cmsPath.length + addNum
        this.getTreeList(res.datas.cmsDatas[0].datas, num, list, '\\', addNum)
        list = this.ensureTreeConsistency(list)
@@ -1028,7 +1032,7 @@
            if (data.length > 0) {
              let list = []
              // 测试 6位// 正式 5位//  测试调用传20,内部7  正式调用传17 内部传6
              const addNum = query.cmsPath.length > 12 ? 7 : query.cmsPath.length > 14 ? 8 : 6
              const addNum = query.cmsPath.length > 10 ? 7 : query.cmsPath.length > 13 ? 8 : 6
              const num = query.cmsPath.length + addNum
              this.getTreeList(data, num, list, '\\', addNum)
              list = this.ensureTreeConsistency(list)
packageDomain/pages/resourceDetails/myVideo/index.js
@@ -87,7 +87,7 @@
      })
    }
    this.resourceDetailsData()
    this.getNoteList()
  },
  /**
@@ -173,12 +173,13 @@
  },
  onTabsChange(event) {
    console.log(event, 234)
    let tabValue = event.detail.value
    if (tabValue == '1') {
      this.getNoteList()
    }
  },
  onTabsClick(event) {
  },
  handleChange(e) {
    this.setData({
      activeValues: e.detail.value,
packageDomain/pages/resourceDetails/myVideo/index.wxml
@@ -23,7 +23,7 @@
  <!-- 标题 -->
  <view class="titleBox">{{titleName}}</view>
  <view class="contentBox">
    <t-tabs defaultValue="{{0}}" bind:change="onTabsChange" bind:click="onTabsClick" t-class="custom-tabs" t-class-content="custom-panel" split="{{false}}">
    <t-tabs defaultValue="{{0}}" bind:change="onTabsChange" t-class="custom-tabs" t-class-content="custom-panel" split="{{false}}">
      <!-- 资源列表 -->
      <t-tab-panel label="资源列表" value="0" style="{{tabPanelstyle}}" style="width: 750rpx">
        <view class="demo-section__content" wx:if="{{loading}}">
pages/digitalTextbooks/digitalTextbooksDetails/index.js
@@ -56,7 +56,9 @@
    catalogueClickIcon: {
      name: "/static/images/digitalTextbooks/mulu-t-click@3x.png",
    },
    userInfo: {
      fullName: '' //名称
    }
  },
  /**
pages/digitalTextbooks/digitalTextbooksDetails/index.wxml
@@ -46,7 +46,7 @@
            </view>
            <view class="frame"></view>
            <view class="information">
              <view class="proposal">
              <view class="proposal" bind:tap="onCertificate">
                <view class="suggestion">
                  <image src="/static/images/digitalTextbooks/shengshu-t@2x.png" mode="" />
                </view>
@@ -87,8 +87,6 @@
              </view>
              <view class="basic"> 证书信息</view>
            </view>
            <!-- <view class="certificateChart">
            <view class="chart">
              <image src="" mode="" />
@@ -192,5 +190,27 @@
  </view>
</view>
<!-- 弹窗 -->
<view wx:if="{{dialogBox}}">
  <view class="popup-box" bindtap="closeDialog"></view>
  <view class="info-center" style="top:{{height*0.4}}px;">
    <view>
      <view class="row-info">
        <view class="body">
          <view class="dialog-title">学习证书申请</view>
          <view style="width: 100%; height: 2rpx; background-color: #F4F4F4;"></view>
          <view class="input-box">
            <t-input class="input" borderless placeholder="请输入真实姓名" value="{{input}}" bind:change="inputChange"></t-input>
          </view>
        </view>
        <view class="row-btn">
          <view class="left-btn" bindtap="closeDialog">取消</view>
          <view class="right-btn" bindtap="confirmM">确认</view>
        </view>
      </view>
    </view>
  </view>
</view>
<t-toast id="t-toast" />
pages/index/bookDetail.wxml
@@ -1,4 +1,12 @@
<!--pages/index/bookDetail.wxml-->
<view class="box">
  <view class="list">
  <t-skeleton theme="paragraph" animation="gradient" loading="true"></t-skeleton>
</view>
  <view class="list">
    <t-skeleton theme="paragraph" animation="gradient" loading="true"></t-skeleton>
  </view>
  <view class="list">
    <t-skeleton theme="paragraph" animation="gradient" loading="true"></t-skeleton>
  </view>
</view>
pages/index/bookDetail.wxss
@@ -6,3 +6,7 @@
  text-align: center;
  margin: 40rpx;
}
.list {
  margin-top: 20rpx;
}
pages/index/resourceCover.wxml
@@ -4,5 +4,13 @@
</view>
<web-view wx:if="{{webpageSrc}}" src="{{webpageSrc}}"></web-view>
<view class="box" wx:if='{{!copyUrl && !webpageSrc}}'>
  <view class="list">
  <t-skeleton theme="paragraph" animation="gradient" loading="true"></t-skeleton>
</view>
  <view class="list">
    <t-skeleton theme="paragraph" animation="gradient" loading="true"></t-skeleton>
  </view>
  <view class="list">
    <t-skeleton theme="paragraph" animation="gradient" loading="true"></t-skeleton>
  </view>
</view>
pages/index/resourceCover.wxss
@@ -15,3 +15,7 @@
  text-align: center;
  margin: 40rpx;
}
.list {
  margin-top: 20rpx;
}
pages/test/testCover.wxml
@@ -1,4 +1,12 @@
<!--pages/test/testCover.wxml-->
<view class="box">
  <view class="list">
  <t-skeleton theme="paragraph" animation="gradient" loading="true"></t-skeleton>
</view>
  <view class="list">
    <t-skeleton theme="paragraph" animation="gradient" loading="true"></t-skeleton>
  </view>
  <view class="list">
    <t-skeleton theme="paragraph" animation="gradient" loading="true"></t-skeleton>
  </view>
</view>
pages/test/testCover.wxss
@@ -6,3 +6,7 @@
  text-align: center;
  margin: 40rpx;
}
.list {
  margin-top: 20rpx;
}
services/home/home.js
@@ -21,22 +21,22 @@
          text: '数字课程',
          key: 2,
          icon: '/static/images/home/shuzikecheng@2x.png',
          // url: '/pages/digitalCourses/index',
          url: ''
          url: '/pages/digitalCourses/index',
          // url: ''
        },
        {
          text: '数字教材',
          key: 3,
          icon: '/static/images/home/shuzijiaocai@2x.png',
          // url: '/pages/digitalTextbooks/index',
          url: ''
          url: '/pages/digitalTextbooks/index',
          // url: ''
        },
        {
          text: '专题讨论',
          key: 4,
          icon: '/static/images/home/zhuantitaolun@2x.png',
          // url: '/pages/specialDiscussion/index',
          url: ''
          url: '/pages/specialDiscussion/index',
          // url: ''
        },
        {
          text: '线上书展',