AI销管
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

преди 2 години
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. <template>
  2. <u-modal v-model="show" :show-cancel-button="true" confirm-text="升级" title="发现新版本" @cancel="cancel" @confirm="confirm">
  3. <view class="u-update-content">
  4. <rich-text :nodes="content"></rich-text>
  5. </view>
  6. </u-modal>
  7. </template>
  8. <script>
  9. export default {
  10. data() {
  11. return {
  12. show: false,
  13. content: `
  14. 1. 修复badge组件的size参数无效问题<br>
  15. 2. 新增Modal模态框组件<br>
  16. 3. 新增压窗屏组件,可以在APP上以弹窗的形式遮盖导航栏和底部tabbar<br>
  17. 4. 修复键盘组件在微信小程序上遮罩无效的问题
  18. `,
  19. }
  20. },
  21. onReady() {
  22. this.show = true;
  23. },
  24. methods: {
  25. cancel() {
  26. this.closeModal();
  27. },
  28. confirm() {
  29. this.closeModal();
  30. },
  31. closeModal() {
  32. uni.navigateBack();
  33. }
  34. }
  35. }
  36. </script>
  37. <style scoped lang="scss">
  38. @import "../../libs/css/style.components.scss";
  39. .u-full-content {
  40. background-color: #00C777;
  41. }
  42. .u-update-content {
  43. font-size: 26rpx;
  44. color: $u-content-color;
  45. line-height: 1.7;
  46. padding: 30rpx;
  47. }
  48. </style>