litian
2024-04-03 d44f1c3412aeb61709e58c737279ac2b2f60e018
样式修改
15个文件已修改
125 ■■■■ 已修改文件
packageBookService/pages/bookServices/detail/index.js 6 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
packagePersonal/pages/activateProduct/index.js 10 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
packagePersonal/pages/activateProduct/index.wxml 8 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
packagePersonal/pages/downloads/index.js 24 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
packagePersonal/pages/downloads/index.wxml 5 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
packagePersonal/pages/downloads/index.wxss 13 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
packagePersonal/pages/feedBack/index.wxml 1 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
packagePersonal/pages/feedBack/index.wxss 7 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
packagePersonal/pages/myCollection/index.wxml 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
packagePersonal/pages/myOrder/index.js 11 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
packagePersonal/pages/myOrder/index.wxml 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
packagePersonal/pages/sampleBooks/index.js 17 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
packagePersonal/pages/sampleBooks/index.wxml 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
packagePersonal/pages/sampleBooks/index.wxss 14 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
pages/home/digitalRead/index.js 1 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
packageBookService/pages/bookServices/detail/index.js
@@ -884,8 +884,12 @@
    console.log(this.data.bookItemDetail.defaultSaleMethodId, 'this.data.bookItemDetail.defaultSaleMethodId');
    if (!this.data.expire) {
      let bookOrdersId = ''
      let pBookInfo = {
        type: "电子书",
        pId: this.data.bookItemDetail ? this.data.bookDetail.id : ''
      }
      let query = {
        remarks: '电子书',
        remarks: JSON.stringify(pBookInfo),
        requests: [{
          saleMethodId: this.data.bookItemDetail.defaultSaleMethodId ? this.data.bookItemDetail.defaultSaleMethodId : this.data.bookDetail.defaultSaleMethodId,
          count: 1
packagePersonal/pages/activateProduct/index.js
@@ -123,7 +123,15 @@
    })
  },
  goBookDetails(e) {
    const {
      book
    } = e.currentTarget.dataset;
    console.log(book)
    wx.navigateTo({
      url: `/packageBookService/pages/bookServices/detail/index?id=${book.id}&name=${book.name}`,
    });
  },
  /**
   * 页面相关事件处理函数--监听用户下拉动作
   */
packagePersonal/pages/activateProduct/index.wxml
@@ -34,7 +34,7 @@
              <view class="listBox">
                <scroll-view class="srcolbox" scroll-x scroll-with-animation='true'>
                  <view class="order-centent">
                    <view class="bookBox" wx:for="{{items.productList}}" wx:for-item="itemes" wx:for-index="idx" wx:key="idx" bindtap="onOrderDetail" data-info="{{itemes}}">
                    <view class="bookBox" wx:for="{{items.productList}}" wx:for-item="itemes" wx:for-index="idx" wx:key="idx" bindtap="goBookDetails" data-book="{{itemes}}">
                      <view class="leftCon">
                        <!-- 获取图片 -->
                        <image class="purchasedIcon" wx:if="{{itemes.icon}}" src="{{itemes.icon}}" mode="aspectFit" />
@@ -44,11 +44,7 @@
                      <view class="rightCon">
                        <view class="productTitle">{{itemes.name}}</view>
                        <view class="typeBox">
                          <text class="typeCon">{{
                            itemes.orderSaleMethod.type == 'defaultSaleMethod'
                            ? '电子书'
                            : itemes.orderSaleMethod.type == 'createProductSaleMethod' && itemes.orderSaleMethod.cmsItemList == 0 ? '组卷' : '云学习'
                            }}</text>
                          <text class="typeCon">电子书</text>
                        </view>
                      </view>
                    </view>
packagePersonal/pages/downloads/index.js
@@ -29,15 +29,15 @@
  getDataList(isReachBottom) {
    app.MG.ugc.getTopicMessageList({
      appRefCode: app.config.appRefCode,
      topicIdOrRefCode: "productDownLoad",
      start: this.data.page * this.data.limit - this.data.limit,
      size: this.data.limit,
      sort: {
        type: "Desc",
        field: "CreateDate"
      }
    })
        appRefCode: app.config.appRefCode,
        topicIdOrRefCode: "productDownLoad",
        start: this.data.page * this.data.limit - this.data.limit,
        size: this.data.limit,
        sort: {
          type: "Desc",
          field: "CreateDate"
        }
      })
      .then(res => {
        try {
          if (res.datas.length > 0) {
@@ -77,9 +77,11 @@
  },
  goBookDetails(e) {
    const { book } = e.currentTarget.dataset;
    const {
      book
    } = e.currentTarget.dataset;
    wx.navigateTo({
      url: `/packageBookService/pages/bookServices/detail/index?id=${book.id}&name=${book.name}`,
      url: `/packageBookService/pages/bookServices/detail/index?id=${book.product.id}&name=${book.name}`,
    });
  },
packagePersonal/pages/downloads/index.wxml
@@ -7,9 +7,10 @@
    </view>
    <view class="pageInfo" wx:if="{{list.length > 0 && !skeletonLoding}}">
      <view class="content-item" wx:for="{{list}}" wx:for-item="item" wx:for-index="index" wx:key="index">
        <view class="item-con" data-info="{{item}}" bindtap="toList">
        <view class="item-con" data-book="{{item}}" bindtap="goBookDetails">
          <view class="icon">
            <t-image src="{{item.product.icon}}" mode="aspectFill" class="img" />
            <t-image src="{{item.product.icon}}" mode="aspectFill" class="img" wx:if="{{item.product.icon}}" />
            <image class="purchasedIcon" src="/static/images/default-book-img.png" mode="aspectFit" wx:else />
          </view>
          <view class="titleBox">
            <view class="item-title">{{item.name}}</view>
packagePersonal/pages/downloads/index.wxss
@@ -10,7 +10,7 @@
}
.pageInfo {
  padding: 40rpx;
  padding: 24rpx;
}
.content-item {
@@ -22,6 +22,7 @@
.content-item .icon {
  width: 150rpx;
  height: 200rpx;
  box-shadow: 0px 3px 6px 1px rgba(0, 0, 0, 0.16);
}
.content-item .icon .img {
@@ -42,6 +43,14 @@
.titleBox .item-title {
  font-weight: bold;
  margin-bottom: 20rpx;
  max-height: 88rpx;
  color: #333333;
  line-height: 44rpx;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  text-overflow: ellipsis;
}
.createDate {
@@ -62,7 +71,7 @@
}
.stateBox {
  width: 120rpx;
  width: 110rpx;
  text-align: right;
  font-size: 28rpx;
  line-height: 60rpx;
packagePersonal/pages/feedBack/index.wxml
@@ -4,6 +4,7 @@
      <t-tab-panel wx:for="{{tabList}}" wx:for-index="index" wx:key="index" label="{{item.label}}" value="{{index}}">
      </t-tab-panel>
    </t-tabs>
    <view class="con-bg"></view>
  </view>
  <view class="pageInfo">
    <scroll-view class="scroll content" bind:scroll="onPageScroll" model:scroll-top="{{setScrollValue}}" scroll-y refresher-enabled="{{true}}" lower-threshold="{{200}}" refresher-threshold="{{80}}" refresher-default-style="none" refresher-triggered="{{triggered}}" bindrefresherpulling="{{refresh.onPulling}}" bindrefresherrefresh="onPullDownRefresh" bindscrolltolower="onReachBottom">
packagePersonal/pages/feedBack/index.wxss
@@ -8,6 +8,7 @@
}
.page-header {
  background-color: #f0f2f5;
  width: 100%;
  position: fixed;
  top: 0;
@@ -15,6 +16,12 @@
  z-index: 1;
}
.con-bg {
  background: #fff;
  height: 30rpx;
  margin-top: -30rpx;
}
.pageInfo {
  padding-top: 90rpx;
}
packagePersonal/pages/myCollection/index.wxml
@@ -21,7 +21,7 @@
              <view class="author">{{item.author}}</view>
            </view>
            <view class="currentBtn" data-info="{{item}}" bindtap="setCoolect">
              <t-image src="/static/images/personal/quxiaoshoucang.png" mode="heightFix" class="img" />
              <image src="/static/images/personal/quxiaoshoucang.png" mode="aspectFit" class="img" />
            </view>
          </view>
        </view>
packagePersonal/pages/myOrder/index.js
@@ -173,7 +173,16 @@
    })
    this.getDataList(false);
  },
  goBookDetails(e) {
    const {
      book,
      remarks
    } = e.currentTarget.dataset;
    let id = remarks != null && JSON.stringify(remarks).slice(1, -1) == 'object' && JSON.parse(remarks).pId ? JSON.parse(remarks).pId : book.orderSaleMethod.product.id;
    wx.navigateTo({
      url: `/packageBookService/pages/bookServices/detail/index?id=${id}&name=${book.name}`,
    });
  },
  /**
   * 页面相关事件处理函数--监听用户下拉动作
packagePersonal/pages/myOrder/index.wxml
@@ -22,7 +22,7 @@
          </view>
          <view class="order-centent">
            <scroll-view class="srcolbox" scroll-x scroll-with-animation='true'>
              <view class="bookBox {{items.saleMethodLinks.length == 1 ? 'flex' : ''}}" wx:for="{{items.saleMethodLinks}}" wx:for-item="itemes" wx:for-index="idx" wx:key="idx" bindtap="onOrderDetail" data-info="{{itemes}}">
              <view class="bookBox {{items.saleMethodLinks.length == 1 ? 'flex' : ''}}" wx:for="{{items.saleMethodLinks}}" wx:for-item="itemes" wx:for-index="idx" wx:key="idx" bindtap="goBookDetails" data-book="{{itemes}}" data-remarks="{{items.remarks}}">
                <view class="leftCon {{items.saleMethodLinks.length == 1 ? 'fl' : ''}}">
                  <!-- 获取图片 -->
                  <image class="purchasedIcon" wx:if="{{itemes.icon}}" src="{{itemes.icon}}" mode="aspectFit" />
packagePersonal/pages/sampleBooks/index.js
@@ -9,8 +9,7 @@
    active: 0,
    topicIdOrRefCode: "applyEntityBook",
    active1: 0,
    tabList: [
      {
    tabList: [{
        label: '全部',
        value: 'all',
      },
@@ -94,7 +93,10 @@
    that.setData({
      skeletonLoding: true,
      active1: item.detail.value,
      queryFilter: info.value == 'all' ? [] : [{ field: 'State', value: info.value }],
      queryFilter: info.value == 'all' ? [] : [{
        field: 'State',
        value: info.value
      }],
      list: [],
      page: 1,
      bottomLoading: false,
@@ -151,6 +153,15 @@
    })
  },
  goBookDetails(e) {
    const {
      book
    } = e.currentTarget.dataset;
    wx.navigateTo({
      url: `/packageBookService/pages/bookServices/detail/index?id=${book.id}&name=${book.title}`,
    });
  },
  /**
   * 页面相关事件处理函数--监听用户下拉动作
   */
packagePersonal/pages/sampleBooks/index.wxml
@@ -35,14 +35,14 @@
              <text wx:if="{{items.state =='Reject'}}">原因:{{items.feedBack.reason}}</text>
              <view wx:if="{{active == '0' && items.state =='Normal'}}" class="mailInfo">
                <text class="mailNum">快递单号:{{items.feedBack && items.feedBack.mailNum ? items.feedBack.mailNum : '-'}}</text>
                <text>快递公司:{{items.feedBack.mailName ? items.feedBack.mailName : '-'}}</text>
                <text class="mailName">快递公司:{{items.feedBack.mailName ? items.feedBack.mailName : '-'}}</text>
              </view>
            </view>
          </view>
          <view class="listBox">
            <scroll-view class="srcolbox" scroll-x scroll-with-animation='true'>
              <view class="order-centent">
                <view class="bookBox" wx:for="{{items.productList}}" wx:for-item="itemes" wx:for-index="idx" wx:key="idx" bindtap="onOrderDetail" data-info="{{itemes}}">
                <view class="bookBox" wx:for="{{items.productList}}" wx:for-item="itemes" wx:for-index="idx" wx:key="idx" bindtap="goBookDetails" data-book="{{itemes}}">
                  <view class="leftCon">
                    <!-- 获取图片 -->
                    <image class="purchasedIcon" wx:if="{{itemes.icon}}" src="{{itemes.icon}}" mode="aspectFit" />
packagePersonal/pages/sampleBooks/index.wxss
@@ -107,7 +107,7 @@
.content-item {
  margin-bottom: 30rpx;
  padding: 30rpx;
  padding: 24rpx;
  background: #fff;
  border-radius: 10rpx;
}
@@ -132,7 +132,15 @@
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  max-width: 440rpx;
  max-width: 420rpx;
}
.mailName {
  white-space: nowrap;
  /* 保证文本在一行内显示 */
  overflow: hidden;
  /* 隐藏超出容器的文本 */
  text-overflow: ellipsis;
}
.success {
@@ -161,7 +169,7 @@
.bookBox .leftCon {
  width: 180rpx;
  height: 240rpx;
  box-shadow: 0px 0px 20rpx 2px #f1f1f1;
  box-shadow: 0px 0px 20rpx 2px #EDECEC;
}
.bookBox .leftCon .purchasedIcon {
pages/home/digitalRead/index.js
@@ -14,7 +14,6 @@
   * 生命周期函数--监听页面加载
   */
  onLoad(options) {
    console.log(options)
    if (options && options.link) {
      this.setData({
        src: decodeURIComponent(options.link),