| | |
| | | <t-dialog visible="{{showWithInput}}" title="我要建议" confirm-btn="确定" cancel-btn="取消" bind:confirm="confirmSuggest" bind:cancel="closeDialog" class="suggest-dialog"> |
| | | <!-- <t-dialog visible="{{showWithInput}}" title="我要建议" confirm-btn="确定" cancel-btn="取消" bind:confirm="confirmSuggest" bind:cancel="closeDialog" class="suggest-dialog"> |
| | | <view slot="content"> |
| | | <view class="demo-rate"> |
| | | <view class="demo-rate__title">实心评分</view> |
| | | <view class="demo-rate__title">评分</view> |
| | | <t-rate value="{{ratevalue}}" catch:change="onChangeRate" /> |
| | | </view> |
| | | <t-input clearable value="{{inputvalue}}" slot="content" label="联系方式" placeholder="请输入联系方式" placeholder-class="placeholder" bind:change="inputChange" type="number" maxlength="{{11}}" tips="{{phoneError ? '手机号输入不正确' : ''}}" /> |
| | | <t-textarea value="{{textvalue}}" t-class="external-class" label="标签文字" placeholder="设置最大字符个数,一个汉字表示两个字符" maxcharacter="200" disableDefaultPadding="{{true}}" indicator bind:change="textareaChange" /> |
| | | <t-textarea value="{{textvalue}}" t-class="external-class" label="意见反馈" placeholder="请输入内容" maxcharacter="200" disableDefaultPadding="{{true}}" indicator bind:change="textareaChange" /> |
| | | </view> |
| | | </t-dialog> |
| | | </t-dialog> --> |
| | | <!-- <view class="suggest"> --> |
| | | <t-popup visible="{{showWithInput}}" bind:visible-change="onVisibleChange" placement="center"> |
| | | <view class="top-icon"> |
| | | <t-image src="/static/images/bookService/detail/feedback.png"></t-image> |
| | | </view> |
| | | <view slot="content" class="content"> |
| | | <view class="top-title">我要建议</view> |
| | | <view class="demo-rate"> |
| | | <t-rate value="{{ratevalue}}" catch:change="onChangeRate" size="{{30}}" color="#FFB400" /> |
| | | </view> |
| | | <view class="phone-input"> |
| | | <t-input clearable value="{{inputvalue}}" slot="content" label="" placeholder="请输入联系方式" placeholder-class="placeholder" bind:change="inputChange" type="number" maxlength="{{11}}" class="phone" style="{{inputStyle}}" placeholder-style="{{placeholderstyle}}" /> |
| | | </view> |
| | | <t-textarea value="{{textvalue}}" t-class="external-class" label="" placeholder="请输入反馈内容" maxcharacter="200" disableDefaultPadding="{{true}}" indicator bind:change="textareaChange" style="{{inputStyle}}" placeholder-style="{{placeholderstyle}}" /> |
| | | </view> |
| | | <view class="submit-btn"> |
| | | <t-button theme="primary" size="large" block bind:tap="confirmSuggest">提交</t-button> |
| | | </view> |
| | | <t-icon t-class="close-btn" name="close-circle" size="32" color="#fff" bind:tap="closeDialog" /> |
| | | </t-popup> |
| | | <!-- </view> --> |