123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127 |
- <template>
- <view class="videos">
- <view class="videos_e">
- <view class="videos_title">
- <view class="videos_titles">
- <text class="videos_titles_one">提示</text>
- </view>
- <view class="videos_titless">
- <text class="videos_titless_one">是否保存为草稿?</text>
- </view>
- </view>
- <view class="videos_operation">
- <view class="videos_operations">
- <text class="videos_operations_one" >取消</text>
- </view>
- <view class="videos_operationss">
- <text class="videos_operationss_one">确认</text>
- </view>
- </view>
- </view>
- </view>
- </template>
- <script>
- export default {
- data() {
- return {
- }
- },
- onLoad() {
- },
- onShow() {
- },
- methods: {
- // 默认给父级加一个定时器就不会出现点击关闭子窗体的问题了
- onEvents() {
- },
- // 取消
- onCancel() {
- //向原生子窗体传递数据
- uni.$emit('page-popup', {
- msg: "取消"
- });
- },
- // 确定
- onDetermine() {
- //向原生子窗体传递数据
- uni.$emit('page-popup', {
- msg: "确定"
- });
- }
- }
- }
- </script>
- <style>
- .videos {
- background-color: rgba(0, 0, 0, 0);
- align-items: center;
- justify-content: center;
- }
- .videos_e {
- background-color: #FFFFFF;
- height: 299rpx;
- width: 560rpx;
- border-radius: 30rpx;
- }
- .videos_title {
- width: 560rpx;
- height: 200rpx;
- align-items: center;
- justify-content: center;
- border-bottom-width: 1rpx;
- border-color: #E5E5E5;
- border-style: solid;
- }
- .videos_titles_one {
- font-size: 38rpx;
- font-weight: 700;
- }
- .videos_titless {
- margin-top: 15rpx;
- }
- .videos_titless_one {
- font-size: 32rpx;
- }
- .videos_operation {
- width: 560rpx;
- height: 99rpx;
- flex-direction: row;
- }
- .videos_operationss {
- border-left-width: 1rpx;
- border-color: #E5E5E5;
- border-style: solid;
- }
- .videos_operations,
- .videos_operationss {
- width: 280rpx;
- height: 99rpx;
- align-items: center;
- justify-content: center;
- }
- .videos_operations_one {
- font-size: 36rpx;
- color: #343434;
- }
- .videos_operationss_one {
- font-size: 36rpx;
- color: #FF0423;
- }
- </style>
|