闫增涛
2024-03-26 1cad6ba03f8cb848352c6739c54395128e73485f
packageBookService/pages/bookServices/detail/index.wxml
@@ -21,7 +21,7 @@
        <view class="book-img">
          <image
            loading=""
            src="{{bookDetail.icon}}"
            src="{{bookDetail.icon ? bookDetail.icon : '/static/images/default-book-img.png'}}"
            mode="aspectFill"
            aria-label="{{bookDetail.name}}"
          />
@@ -99,7 +99,8 @@
          </view>
          <view class="price">
            <view class="price-text"
              >¥{{bookDetail.price == '0.00' ? '免费' :bookDetail.price}}</view
              >{{bookDetail.price == '0.00' ? '免费' : '¥'+
              bookDetail.price}}</view
            >
            <view class="price-old" wx:if="{{bookDetail.oldPrice != '0.00'}}"
              >¥{{bookDetail.oldPrice}}
@@ -108,13 +109,13 @@
          <view> </view>
        </view>
        <!-- 纸质书售价 -->
        <view class="paper-price">
        <view class="paper-price" wx:if="{{bookDetail.paperPrice}}">
          <view>
            <image src="/static/images/bookService/detail/paper-price.png" />
          </view>
          <view class="price"
            >¥{{bookDetail.paperPrice == '0.00' ? '免费' :
            bookDetail.paperPrice}}</view
            >{{bookDetail.paperPrice == '0.00' ? '免费' :
            '¥'+bookDetail.paperPrice}}</view
          >
        </view>
      </view>
@@ -161,7 +162,7 @@
        <book-brief
          content="{{bookDetail.content}}"
          authorIntroduction="{{bookDetail.authorIntroduction}}"
          wx:if="{{bookDetail.content && bookDetail.authorIntroduction}}"
          wx:if="{{bookDetail.content || bookDetail.authorIntroduction}}"
        ></book-brief>
        <view
          wx:if="{{!bookDetail.content && !bookDetail.authorIntroduction}}"
@@ -186,10 +187,12 @@
          <teach-resource
            applyState="{{applyState}}"
            rejectCause="{{rejectCause}}"
            deadline="{{deadline}}"
            bind:applyResource="applyResource"
            applyResourceLoading="{{applyResourceLoading}}"
          ></teach-resource>
          <tree
            openIds="{{openTeachids}}"
            bookInfo="{{bookDetail}}"
            treeList="{{teach}}"
            tab="{{tabValue}}"
@@ -224,6 +227,7 @@
          ></learn-resource>
          <tree
            id="tree"
            openIds="{{openLearnids}}"
            bookInfo="{{bookDetail}}"
            tab="{{tabValue}}"
            treeList="{{learn}}"
@@ -327,7 +331,7 @@
<view class="applyBox" bindtap="goApply">
  <view class="box">
    <t-image
      src="/static/images/home/yangshuForm.png"
      src="/static/images/home/yangshuForm1.png"
      mode="heightFix"
      class="img"
    />