shish пре 10 месеци
родитељ
комит
b36730c14e
2 измењених фајлова са 30 додато и 2 уклоњено
  1. 4 0
      hdApp/src/admin/home/member.vue
  2. 26 2
      mallApp/src/pages/member/recharge.vue

+ 4 - 0
hdApp/src/admin/home/member.vue

@@ -6,6 +6,7 @@
       <view class="search-container">
         <AppSearchModule placeholder="这里搜索" v-model="searchText" @input="searchFn"/>
       </view>
+      <button class="admin-button-com middle blue" @click="getRechargeCode()">充值码</button>
       <button class="admin-button-com middle blue" @click="addCustom()">添加客户</button>
     </view>
     <view class="app-tabs">
@@ -158,6 +159,9 @@ export default {
     addCustom(){
       this.pageTo({url: '/admin/custom/addCustom'})
     },
+    getRechargeCode(){
+      this.pageTo({url: '/admin/recharge/rechargeCode'})
+    },
     init() {
       this.getMyCustomList()      
     },

+ 26 - 2
mallApp/src/pages/member/recharge.vue

@@ -54,7 +54,8 @@
 			</view>
 
 			<!-- 充值福利提示 -->
-			<view class="welfare-tip-container" v-if="hdInfo.balance >= 0 && Number(rechargeWeal)>0">
+			<view class="welfare-outer-container" v-if="hdInfo.balance >= 0 && Number(rechargeWeal)>0">
+				<view class="pointing-hand">👉</view>
 				<view class="welfare-tip-wrap" @click="showWelfareModal">
 					<view class="tip-icon">🎁</view>
 					<view class="tip-text">充值福利</view>
@@ -567,10 +568,33 @@ export default {
 }
 
 // 充值福利提示样式 - 超亮眼版
-.welfare-tip-container {
+.welfare-outer-container {
 	display: flex;
+	align-items: center;
 	justify-content: center;
 	margin: 20upx 20upx;
+	gap: 20upx;
+	
+	.pointing-hand {
+		font-size: 46upx;
+		animation: handPointing 1.5s infinite ease-in-out;
+		filter: drop-shadow(0 2upx 4upx rgba(0,0,0,0.2));
+	}
+}
+
+@keyframes handPointing {
+	0% {
+		opacity: 0.6;
+		transform: translateX(-10upx);
+	}
+	50% {
+		opacity: 1;
+		transform: translateX(0) scale(1.1);
+	}
+	100% {
+		opacity: 0.6;
+		transform: translateX(-10upx);
+	}
 }
 
 .welfare-tip-wrap {