闫增涛
2 天以前 d7b7435558c15789e9a2c650389cd28ce88d443b
packageDomain/pages/resourceDetails/myVideo/index.wxml
@@ -16,6 +16,7 @@
      src="{{showDataVod}}"
      style="width: 100%"
      bindvideoloaded="loadedmetadata"
      bindEnded="videoEnd"
      bindTimeupdate="timeUpdate"
      wx:if="{{!videoLoading}}"
    >
@@ -50,25 +51,33 @@
            loading="true"
          ></t-skeleton>
        </view>
        <view class="wrapper" wx:if="{{!loading}}">
          <view class="outsideDetailsName">
            <view class="titleBox">{{parentName}}</view>
            <view
              class="detailsName"
              wx:for="{{threeLeveData}}"
              wx:key="index"
              wx:for-item="item"
              wx:for-index="index"
              bind:tap="onVideo"
              data-item="{{item}}"
              data-index="{{index}}"
            >
              <view style="color: {{selectedId == index ? '#ff6c00' : '#000'}}"
                >{{item.name}}</view
        <scroll-view
          style="height: 700rpx"
          scroll-y
          scroll-into-view="{{toView}}"
        >
          <view class="wrapper" wx:if="{{!loading}}">
            <view class="outsideDetailsName">
              <view class="titleBox">{{parentName}}</view>
              <view
                wx:for="{{threeLeveData}}"
                wx:key="index"
                wx:for-item="item"
                wx:for-index="index"
                bind:tap="onVideo"
                data-item="{{item}}"
                data-index="{{index}}"
                class="detailsName"
                id="{{selectedId == index ? 'activeName'+index : ''}}"
              >
                <view
                  style="color: {{selectedId == index ? '#ff6c00' : '#000'}}"
                  >{{item.name}}</view
                >
              </view>
            </view>
          </view>
        </view>
        </scroll-view>
      </t-tab-panel>
      <!-- 笔记展示 -->
      <t-tab-panel label="笔记" value="1" style="{{tabPanelstyle}}">
@@ -191,3 +200,12 @@
    />
  </t-popup>
</view>
<t-dialog
  class="prompDialog"
  visible="{{promptVisable}}"
  title="提示"
  content="试看结束,请购买正式资源"
  confirm-btn="{{ confirmBtn }}"
  bind:confirm="closePromapDialog"
/>