yiming
2024-03-27 3963ae3ae3ebc2908905bb1409799d7b883a802f
书目bug
6个文件已修改
2个文件已添加
85 ■■■■ 已修改文件
pages/bibliographyList/index.js 11 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
pages/bibliographyList/index.wxml 31 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
pages/bibliographyList/index.wxss 16 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
pages/bookExhibitionList/index.js 1 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
pages/bookExhibitionList/index.wxss 18 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
pages/cart/index.wxss 8 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
static/images/bibliographyList/email-click.png 补丁 | 查看 | 原始文档 | blame | 历史
static/images/bibliographyList/email.png 补丁 | 查看 | 原始文档 | blame | 历史
pages/bibliographyList/index.js
@@ -7,6 +7,7 @@
     * 页面的初始数据
     */
    data: {
      downloadLoadin: false,
      isMore: null,
      higherList: [],
      vocationalList: [],
@@ -253,6 +254,9 @@
    },
    downloadData(event) {
      this.setData({
        downloadLoadin: true
      })
      console.log(111);
      const item = event.currentTarget.dataset.item;
      // console.log(item.datas.freeFile.Value);
@@ -282,6 +286,13 @@
          console.log('下载文件失败', res);
        }
      });
      setTimeout(() => {
        this.setData({
          downloadLoadin: false
        });
      }, 2000);
    },
    onSearchSubmit: function (e) {
      const keyword = e.detail.value;
pages/bibliographyList/index.wxml
@@ -1,4 +1,8 @@
<!--pages/bibliographyList/index.wxml-->
<view wx:if="{{downloadLoadin}}" class="loadinBox">
  <t-loading class="colors" theme="circular" size="70rpx" class="wrapper" />
</view>
<view class="bibliographyListBox">
  <view class="titleBox">
    <view style="width: 100%; height: {{barHeight}}px; "></view>
@@ -19,13 +23,13 @@
  <t-tabs class="contentBox" defaultValue="{{0}}" bind:change="onTabsChange" bind:click="onTabsClick" t-class="custom-tabs" t-class-content="custom-panel">
    <t-tab-panel label="高等教育({{higherTotal}})" value="0">
      <view class="outsideHigherBox">
        <view class="higherBox" wx:for="{{higherList}}" wx:key="index" wx:for-item="item" wx:for-index="index">
        <view class="higherBox" wx:for="{{higherList}}" 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" bind:tap="downloadData" data-item="{{item}}">
            <view class="downloadIcon" data-item="{{item}}">
              <image wx:if="{{determine}}" class="download" src="/static/images/bibliographyList/downloadshiftin.png" mode="" />
              <image wx:else="" class="downloadshiftin" src="/static/images/bibliographyList/download.png" mode="" />
              <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>
          </view>
@@ -40,13 +44,12 @@
    </t-tab-panel>
    <t-tab-panel label="职业教育({{vocationalTotal}})" value="1">
      <view class="outsideHigherBox">
        <view class="higherBox" wx:for="{{vocationalList}}" wx:key="index" wx:for-item="item" wx:for-index="index">
        <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" bind:tap="downloadData" data-item="{{item}}">
              <image wx:if="{{determine}}" class="download" src="/static/images/bibliographyList/downloadshiftin.png" mode="" />
              <image wx:else="" class="downloadshiftin" src="/static/images/bibliographyList/download.png" 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>
          </view>
@@ -62,13 +65,12 @@
    </t-tab-panel>
    <t-tab-panel label="教师教育({{teacherTotal}})" value="2">
      <view class="outsideHigherBox">
        <view class="higherBox" wx:for="{{teacherList}}" wx:key="index" wx:for-item="item" wx:for-index="index">
        <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" bind:tap="downloadData" data-item="{{item}}">
              <image wx:if="{{determine}}" class="download" src="/static/images/bibliographyList/downloadshiftin.png" mode="" />
              <image wx:else="" class="downloadshiftin" src="/static/images/bibliographyList/download.png" 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>
          </view>
@@ -80,6 +82,7 @@
        <t-loading theme="circular" size="40rpx" class="wrapper" wx:if="{{isMore == true}}" />
        <text wx:if="{{isMore == false}}">没有更多了</text>
      </view>
    </t-tab-panel>
  </t-tabs>
pages/bibliographyList/index.wxss
@@ -129,3 +129,19 @@
  font-size: 28rpx;
  --td-loading-color: #ff6c00
}
.loadinBox {
  position: fixed;
  top: 50%;
  left: 50%;
  z-index: 999;
  color: #FF6C00;
}
.loadinBox .colors {
  color: #FF6C00;
}
.t-loading__spinner {
  color: #FF6C00 !important;
}
pages/bookExhibitionList/index.js
@@ -26,7 +26,6 @@
    },
    product: {
      value: '*',
      options: [
        {
          value: '*',
pages/bookExhibitionList/index.wxss
@@ -189,12 +189,28 @@
  height: 0 !important;
}
.t-button--primary {
/* .t-button--primary {
  color: #fff !important;
  background-color: #FF6C00 !important;
  border: 1rpx #fff solid !important;
} */
.t-button--primary {
  color: var(--td-button-primary-color, var(--td-font-white-1, #ffffff)) !important;
  background-color: var(--td-button-primary-bg-color, var(--td-brand-color, var(--td-primary-color-7, #FF6C00))) !important;
}
.t-button--primary::after {
  border-width: var(--td-button-border-width, 4rpx);
  border-color: var(--td-button-primary-border-color, var(--td-brand-color, var(--td-primary-color-7, #FF6C00))) !important;
}
.t-button--primary.t-button--hover::after {
  background-color: var(--td-button-primary-active-bg-color, var(--td-brand-color-active, var(--td-primary-color-8, #FF6C00))) !important;
  border-color: var(--td-button-primary-active-border-color, var(--td-brand-color-active, var(--td-primary-color-8, #FF6C00))) !important;
}
.t-button--light {
  color: #000 !important;
  background-color: #fff !important;
pages/cart/index.wxss
@@ -43,12 +43,12 @@
  display: flex;
  align-items: center;
  position: fixed;
  bottom: 0;
  bottom: calc(env(safe-area-inset-bottom) + 100rpx);
  left: 0;
  right: 0;
  height: 44px;
  padding-bottom: 80px;
  padding-top: 10rpx;
  /* height: 44px; */
  /* padding-bottom: 90px; */
  /* padding-top: 10rpx; */
}
.checkGroupBox {
static/images/bibliographyList/email-click.png
static/images/bibliographyList/email.png