闫增涛
2024-03-26 5ca38e4ef60e35f08e87d6569b72c25433c311ca
答题器bug修改,添加请求地址
6个文件已修改
26 ■■■■■ 已修改文件
assets/js/config.js 3 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
packageBookService/pages/bookServices/detail/index.js 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
packageBookService/pages/bookServices/detail/index.wxml 17 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
packageBookService/pages/bookServices/detail/index.wxss 1 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
packageBookService/pages/bookServices/examination/examination.js 1 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
packageBookService/pages/bookServices/examination/questionOptions/index.wxml 2 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
assets/js/config.js
@@ -1,6 +1,7 @@
export const requestCtx = "http://182.92.203.7:3001"; // 请求地址
// export const requestCtx = "http://182.92.203.7:3001"; // 请求地址
export const appId = 27;
// export const requestCtx = "http://jsysf.bnuic.com"; // 请求地址
export const requestCtx = "https://jsek.bnuic.com"  // 请求地址
// export const appId = 3;
export const requestTimeOut = 300000; // 请求超时时间
export const tokenKey = "jsek-token";
packageBookService/pages/bookServices/detail/index.js
@@ -907,7 +907,7 @@
      }
    })
    this.setData({
      applyResourceState: false
      applyResourceState: false,
    })
    wx.hideLoading()
  },
packageBookService/pages/bookServices/detail/index.wxml
@@ -14,7 +14,11 @@
  <view class="navbar-title">{{options.name}}</view>
</view>
<t-toast id="t-toast" />
<scroll-view scroll-y="{{true}}" class="book" bindscrolltolower="onReachBottom">
  <scroll-view
    scroll-y="{{true}}"
    class="book"
    bindscrolltolower="onReachBottom"
  >
  <!-- 图书详情 -->
  <view class="book-box">
    <view class="book-detail">
@@ -96,7 +100,9 @@
        <!-- 电子书售价 -->
        <view class="electron-price">
          <view>
            <image src="/static/images/bookService/detail/electon-price.png" />
              <image
                src="/static/images/bookService/detail/electon-price.png"
              />
          </view>
          <view class="price">
            <view class="price-text"
@@ -172,7 +178,11 @@
          <t-empty icon="folder-open" description="暂无数据" />
        </view>
      </t-tab-panel>
      <t-tab-panel label="电子书" value="jsek_eBook" style="{{tabPanelstyle}}">
        <t-tab-panel
          label="电子书"
          value="jsek_eBook"
          style="{{tabPanelstyle}}"
        >
        <epub-view
          fileInfo="{{fileInfo}}"
          id="eBook"
@@ -339,5 +349,4 @@
    <view class="num" wx:if="{{num > 0}}">{{num}}</view>
  </view>
</view>
</view>
packageBookService/pages/bookServices/detail/index.wxss
@@ -223,6 +223,7 @@
.box-bottom {
  position: fixed;
  left: 0;
  bottom: constant(safe-area-inset-bottom);
  bottom: env(safe-area-inset-bottom);
  width: 100%;
  height: 110rpx;
packageBookService/pages/bookServices/examination/examination.js
@@ -472,6 +472,7 @@
        }
        if (mocklist.length && this.data.uuid) {
          const oldMockData = mocklist.find((mockItem) => mockItem.id == this.data.uuid)
          debugger
          this.setData({
            'mockData.state': oldMockData.state,
            'mockData.score': oldMockData.score,
packageBookService/pages/bookServices/examination/questionOptions/index.wxml
@@ -178,9 +178,7 @@
<t-dialog
  class="test-report"
  visible="{{testReportState}}"
  cancel-btn="{{null}}"
  confirm-btn="{{null}}"
  close-btn="{{true}}"
  title="测试报告"
  bind:close="closeTestReportDialog"
>