aromeEvent.axml 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. <view>
  2. <container title="小程序-应用通信{{number || ''}}">
  3. <view slot="headerRight">
  4. <icon onTap="reset" type="RedoOutline" style="font-size: 25px; margin-right: 15px" />
  5. <icon onTap="close" type="CloseCircleOutline" style="font-size: 25px; margin-right: 15px" />
  6. </view>
  7. <view class="content">
  8. <view class="container-btn" onTap="doEvent">
  9. <view class="container-btn-text">
  10. {{name || "调用事件"}}
  11. </view>
  12. <view class="container-btn-tips">
  13. {{tips || ""}}
  14. </view>
  15. <view class="container-btn-subtext">
  16. HHCommunication
  17. </view>
  18. </view>
  19. <!-- <ant-button type="primary" subText="HHCommunication" onTap="doEvent">
  20. {{name || "调用事件"}}
  21. </ant-button> -->
  22. <view class="result">
  23. <view style="font-size: 0.18rem;line-height: 0.5rem;height: 0.5rem;">入参:</view>
  24. <textarea
  25. placeholder="请编辑入参"
  26. class="form-textarea"
  27. value="{{params}}"
  28. auto-height
  29. style="width:100%"
  30. onInput="handleChange"
  31. maxlength="-1"
  32. >
  33. </textarea>
  34. </view>
  35. <view a:if="{{ eventResult }}" class="result" style="font-size: 0.18rem;">
  36. <view style="font-size: 0.18rem;line-height: 0.5rem;height: 0.5rem;">结果:</view>
  37. {{eventResult}}
  38. </view>
  39. </view>
  40. </container>
  41. </view>