|
|
@@ -1,20 +1,25 @@
|
|
|
<template>
|
|
|
- <view class="icon-title-navBar-box1">
|
|
|
- <view @click="handleBack" class="nav-bar-icon"></view>
|
|
|
- <text class="nav-bar-title">使用兑换码</text>
|
|
|
- </view>
|
|
|
- <view>
|
|
|
- <view class="tip-content-box">
|
|
|
- <icon class="head-img-box" :style="{backgroundImage: 'url(' + myInfoData.icon + ')'}"></icon>
|
|
|
- <view>{{ myInfoData.nickName }}</view>
|
|
|
- <view>{{ myInfoData.userName }}</view>
|
|
|
- <input class="duihuan-input" type="text" focus v-model="duihuamaValue" placeholder="请输入兑换码" />
|
|
|
- <view class="tip-btn-box">
|
|
|
- <view class="confirm-btn" @click="confirmBtn">兑换码</view>
|
|
|
+ <view class="ezy-dhm-page">
|
|
|
+ <view class="icon-title-navBar-box">
|
|
|
+ <view @click="handleBack" class="nav-bar-icon"></view>
|
|
|
+ <text class="nav-bar-title">使用兑换码</text>
|
|
|
+ </view>
|
|
|
+ <view class="ezy-page-body dhm-body">
|
|
|
+ <view class="dhm-head-box">
|
|
|
+ <icon class="head-img-box" :style="{backgroundImage: 'url(' + myInfoData.icon + ')'}"></icon>
|
|
|
+ <view class="head-content-box">
|
|
|
+ <view>{{ myInfoData.nickName }}</view>
|
|
|
+ <view>{{ myInfoData.userName }}</view>
|
|
|
+ </view>
|
|
|
</view>
|
|
|
+ <view class="duihuan-input-box">
|
|
|
+ <icon class="duihuan-prefix-icon">+86</icon>
|
|
|
+ <input class="duihuan-input" type="text" focus v-model="duihuamaValue" placeholder="请输入兑换码" />
|
|
|
+ </view>
|
|
|
+ <ezyActiveVue class="ezy-btn-active duihuan-confirm-btn" @aclick="confirmBtn">确定兑换
|
|
|
+ </ezyActiveVue>
|
|
|
</view>
|
|
|
</view>
|
|
|
-
|
|
|
<!-- 失败 -->
|
|
|
<duihuanError ref="dhErrRef"></duihuanError>
|
|
|
<!-- 成功 -->
|
|
|
@@ -25,6 +30,7 @@
|
|
|
import {
|
|
|
ref,reactive
|
|
|
} from 'vue';
|
|
|
+ import ezyActiveVue from "@/components/ezyActive/ezyActive.vue"
|
|
|
import duihuanError from "./components/duihuanma/duihuanError";
|
|
|
import duihuanSuccess from "./components/duihuanma/duihuanSuccess";
|
|
|
import {
|