tanxue 14 часов назад
Родитель
Сommit
a46d0ef181

+ 23 - 0
common/styles/global/components.scss

@@ -325,7 +325,30 @@ $titleBar-tabBar-page: calc(100vh - var(--status-bar-height));
 	}
 	.tip-content{min-height: 240rpx;text-align: justify;}
 }
+// 一个确认按钮的弹窗
+.small-one-button-dialog{
+	.tip-content-box{
+		width: 625rpx;height: 365rpx;padding: 36rpx 48rpx;
+		@include ezy-no-repeat-cover;box-sizing: border-box;text-align:center;
+		background-image: url("@/static/images/common/tip-small-bj.png");
+	}
+	.tip-content{
+		color: #222;font-size: 38rpx;padding-bottom: 36rpx;
+		display: flex;justify-content: center;align-items: center;
+		border-bottom: 1px dashed #70cbf4;line-height: 1.6;
+		min-height: 150rpx;
+	}
+	.tip-btn-box{
+		width: 100%;display: flex;justify-content: space-between;justify-content: center;margin: 36rpx 0 0;
+		.tip-btn{
+			width: 394rpx;height: 88rpx;line-height: 88rpx;
+			color: #fff;@include ezy-no-repeat-cover;text-align: center;
+			background-image: url("@/static/images/common/tip-one-confirm-btn.png");
+		}
+	}
+}
 
+// 大鹅提示弹窗
 .tip-e-dialog{
 	width: 625rpx;height: 519rpx;padding: 42rpx 48rpx;@include ezy-no-repeat-cover;
 	background-image: url("@/static/images/common/tip-big-bj.png");position: relative;

+ 11 - 4
pages/chanpinMy/components/duihuanma/duihuanError.vue

@@ -1,12 +1,19 @@
 <template>
-	<uni-popup ref="dlRef" :animation="true" :is-mask-click="false" mask-background-color="rgba(255, 255, 255, 0.6);">
-		<view>{{ tex }}</view>
-		<view @click="handleConfirm">确认</view>
+	<uni-popup ref="dlRef" :animation="true" :is-mask-click="false" mask-background-color="rgba(0,0,0, 0.76);">
+		<view class="small-one-button-dialog">
+			<view class="tip-content-box">
+				<view class="tip-content">{{ tex }}</view>
+				<view class="tip-btn-box">
+					<ezyActiveVue class="ezy-btn-active tip-btn" @aclick="handleConfirm">确认</ezyActiveVue>
+				</view>
+			</view>
+		</view>
 	</uni-popup>
 </template>
 
 <script setup>
 import {ref} from "vue"
+import ezyActiveVue from "@/components/ezyActive/ezyActive.vue";
 
 const dlRef = ref(null);
 const tex = ref('兑换无效,请重新输入');
@@ -15,7 +22,7 @@ const emits =defineEmits(['confirm'])
 
 function handleConfirm() {
 	emits('confirm')
-  handleClose()
+	handleClose()
 }
 
 function handleShow(msg) {

+ 10 - 4
pages/chanpinMy/components/duihuanma/duihuanSuccess.vue

@@ -1,13 +1,19 @@
 <template>
-	<uni-popup ref="dlRef" :animation="true" :is-mask-click="false" mask-background-color="rgba(255, 255, 255, 0.6);">
-		<view>兑换成功</view>
-		<view @click="handleConfirm">确认</view>
+	<uni-popup ref="dlRef" :animation="true" :is-mask-click="false" mask-background-color="rgba(0,0,0, 0.76);">
+		<view class="small-one-button-dialog">
+			<view class="tip-content-box">
+				<view class="tip-content">兑换成功</view>
+				<view class="tip-btn-box">
+					<ezyActiveVue class="ezy-btn-active tip-btn" @aclick="handleConfirm">确认</ezyActiveVue>
+				</view>
+			</view>
+		</view>
 	</uni-popup>
 </template>
 
 <script setup>
 import {ref} from "vue"
-
+import ezyActiveVue from "@/components/ezyActive/ezyActive.vue";
 const dlRef = ref(null);
 
 const emits =defineEmits(['confirm'])