|
@@ -1,13 +1,17 @@
|
|
|
<!-- 小弹窗 一行文字 -->
|
|
<!-- 小弹窗 一行文字 -->
|
|
|
<template>
|
|
<template>
|
|
|
- <uni-popup ref="tipSmallPopup" :animation="false" :is-mask-click="false"
|
|
|
|
|
|
|
+ <uni-popup ref="tipSmallPopup" :animation="true" :is-mask-click="false"
|
|
|
mask-background-color="rgba(255, 255, 255, 0.6);">
|
|
mask-background-color="rgba(255, 255, 255, 0.6);">
|
|
|
- <view class="ezy-tip-dialog tip-small-dialog duihuan-dialog">
|
|
|
|
|
|
|
+ <view class="ezy-tip-dialog tip-small-dialog duihuan-dialog" style="height: 100vh">
|
|
|
<view class="tip-content-box">
|
|
<view class="tip-content-box">
|
|
|
- <view class="tip-title">{{title}}</view>
|
|
|
|
|
|
|
+ <view class="icon-title-navBar-box">
|
|
|
|
|
+ <view class="nav-bar-title">{{title}}</view>
|
|
|
|
|
+
|
|
|
|
|
+ </view>
|
|
|
|
|
+ <view>{{nickName}}</view>
|
|
|
|
|
+ <view>{{userName}}</view>
|
|
|
<input class="duihuan-input" type="text" focus v-model="duihuamaValue" placeholder="请输入兑换码" />
|
|
<input class="duihuan-input" type="text" focus v-model="duihuamaValue" placeholder="请输入兑换码" />
|
|
|
<view class="tip-btn-box">
|
|
<view class="tip-btn-box">
|
|
|
- <view class="not-confirm-btn" @click="handleClose"></view>
|
|
|
|
|
<view class="confirm-btn" @click="confirmBtn"></view>
|
|
<view class="confirm-btn" @click="confirmBtn"></view>
|
|
|
</view>
|
|
</view>
|
|
|
</view>
|
|
</view>
|
|
@@ -27,13 +31,21 @@
|
|
|
require: true,
|
|
require: true,
|
|
|
default: ''
|
|
default: ''
|
|
|
},
|
|
},
|
|
|
|
|
+ userName: {
|
|
|
|
|
+ type: String,
|
|
|
|
|
+ default: ''
|
|
|
|
|
+ },
|
|
|
|
|
+ nickName: {
|
|
|
|
|
+ type: String,
|
|
|
|
|
+ default: ''
|
|
|
|
|
+ },
|
|
|
});
|
|
});
|
|
|
const tipSmallPopup = ref(null); // 索引
|
|
const tipSmallPopup = ref(null); // 索引
|
|
|
const duihuamaValue = ref(''); // 索引
|
|
const duihuamaValue = ref(''); // 索引
|
|
|
const $emit = defineEmits(['confirm-btn'])
|
|
const $emit = defineEmits(['confirm-btn'])
|
|
|
// 打开弹窗
|
|
// 打开弹窗
|
|
|
function handleShow() {
|
|
function handleShow() {
|
|
|
- tipSmallPopup.value.open();
|
|
|
|
|
|
|
+ tipSmallPopup.value.open('bottom');
|
|
|
}
|
|
}
|
|
|
// 取消
|
|
// 取消
|
|
|
function handleClose() {
|
|
function handleClose() {
|