litian
2024-09-07 ce3a08b28c16f5cce2185167f8a9030ee16898ed
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
<view class="note">
  <view class="note-btn">
    <view>共{{pageCount.total}}个</view>
    <t-button theme="primary" class="make-note" bind:tap="openDialog" style="width: 240rpx">
      <view slot="content" class="btn-content">
        <image src="/static/images/digitalCourses/bianji.png" />
        <text class="note-btn-text">提问</text>
      </view>
    </t-button>
  </view>
  <view class="note-content">
    <t-collapse value="{{activeValues}}" bind:change="handleChange" wx:if="{{!loading && onlineQuestionsList.length}}">
      <t-collapse-panel value="{{item.id}}" expandIcon wx:for="{{onlineQuestionsList}}" wx:key="id">
        <view slot="header" class="collapse-header">
          <view class="note-icon"></view>
          <view class="header-name">{{item.title}}</view>
        </view>
        <view>
          <view class="note-content">{{item.feedBack}}</view>
          <view class="note-bottom">
            <view class="note-time">{{item.createDate}}</view>
          </view>
        </view>
      </t-collapse-panel>
    </t-collapse>
    <view wx:if="{{noList}}" class="noData">
      <!-- <t-empty icon="folder-open" description="暂无数据" /> -->
      <empty />
    </view>
  </view>
  <view class="bottom-box" wx:if="{{onlineQuestionsList.length}}">
    <t-loading wx:if="{{isMore == true}}"></t-loading>
    <text wx:if="{{isMore == false}}">没有更多了</text>
  </view>
</view>
<view class="loading-box" wx:if="{{loading}}">
  <t-skeleton row-col="{{[1,1,1,1,1,1]}}" theme="paragraph" animation="gradient" loading="{{loading}}"></t-skeleton>
</view>
 
<!-- 记笔记弹窗 -->
<t-popup visible="{{showNoteDialog}}" bind:visible-change="onVisibleChange" placement="center">
  <view class="popup">
    <view class="from-item">
      <view class="label"><text class="icon">*</text> 联系人: </view>
      <view class="item-content">
        <t-input placeholder="请输入联系人" borderless value="{{userName}}" bindchange="bindTnputBlur" style="{{inputStyle}}" />
      </view>
    </view>
    <view class="from-item">
      <view class="label"> <text class="icon">*</text>联系方式: </view>
      <view class="item-content">
        <t-input placeholder="输入联系方式" borderless value="{{mannder}}" type="number" tips="{{phoneError ? '手机号输入不正确' : ''}}" bindchange="onPhoneInput" style="{{inputStyle}}" />
      </view>
    </view>
    <view class="from-item">
      <view class="label"> <text class="icon">*</text>反馈内容: </view>
      <view class="item-content">
        <t-textarea placeholder="请输入反馈内容" value="{{content}}" disableDefaultPadding="{{true}}" autosize="{{true}}" maxlength="300" indicator bindchange="bindTextAreaBlur" style="{{inputStyle}}" />
      </view>
    </view>
    <view class="submit-btn">
      <t-button theme="primary" size="large" block bind:tap="confirmSuggest">提交</t-button>
    </view>
  </view>
  <t-icon t-class="close-btn" name="close-circle" size="32" color="#fff" bind:tap="closeDialog" />
</t-popup>