闫增涛
2024-09-18 c96612e8a63ecef9590be0f8b5199277ec94e5b9
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
<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
        value="{{inputvalue}}"
        placeholder="请输入联系方式"
        bind:change="inputChange"
        type="number"
        maxlength="{{11}}"
        class="phone"
        style="{{inputStyle}}"
      />
    </view>
    <view style="width: 100%">
      <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>
  <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>