<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">
|
<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>
|