liuyg
2022-03-18 b0ceecaa861a5748182824cf937fb103c9bbdc8a
uview-ui/components/u-full-screen/u-full-screen.vue
@@ -1,5 +1,6 @@
<template>
   <u-modal v-model="show" :show-cancel-button="true" confirm-text="升级" title="发现新版本" @cancel="cancel" @confirm="confirm">
   <u-modal v-model="show" :show-cancel-button="true" confirm-text="升级" title="发现新版本" @cancel="cancel"
      @confirm="confirm">
      <view class="u-update-content">
         <rich-text :nodes="content"></rich-text>
      </view>
@@ -17,7 +18,12 @@
               3. 新增压窗屏组件,可以在APP上以弹窗的形式遮盖导航栏和底部tabbar<br>
               4. 修复键盘组件在微信小程序上遮罩无效的问题
            `,
            src: '',
         }
      },
      onLoad(option) {
         this.content = option.content;
         this.src = option.src;
      },
      onReady() {
         this.show = true;
@@ -28,6 +34,7 @@
         },
         confirm() {
            this.closeModal();
            console.log(this.src)
         },
         closeModal() {
            uni.navigateBack();
@@ -38,11 +45,11 @@
<style scoped lang="scss">
   @import "../../libs/css/style.components.scss";
   .u-full-content {
      background-color: #00C777;
   }
   .u-update-content {
      font-size: 26rpx;
      color: $u-content-color;