File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 8282 {{ statusStore.userWallte.total_balance_amount || 0
8383 }}<span >{{ $t('btnProfile.userInfo.coin') }}</span >
8484 </n-tooltip >
85- <span class =" btn" @click =" orderStore.showProduct = true " >{{
85+ <span class =" btn" @click =" handleRechargeClick " >{{
8686 $t('btnProfile.userInfo.recharge')
8787 }}</span >
8888 </div >
203203<script setup lang="ts">
204204 import { NModal , NTooltip } from ' naive-ui'
205205 import { useStatusStore } from ' @/stores/userStatus'
206- import { useOrderStore } from ' @/stores/orderStore'
207206 import { useI18n } from ' vue-i18n'
208207 import { computed } from ' vue'
208+ import { useConfirm } from ' @/components/modules/vConfirm'
209209
210210 useI18n ()
211211 const statusStore = useStatusStore ()
212- const orderStore = useOrderStore ()
213212 const toUploadInfo = () => {
214213 statusStore .showInfoDialog = false
215214 statusStore .showUploadInfoDialog = true
245244 statusStore .coinsParam .expire_days = 365
246245 statusStore .handlePropertyDialog (true )
247246 }
247+
248+ const handleRechargeClick = async () => {
249+ const res = await useConfirm ({
250+ title: ' 提示' ,
251+ content: ' 插件不再支持支付功能,请前往 bizyair.cn 操作' ,
252+ cancelText: ' 取消' ,
253+ continueText: ' 前往 bizyair.cn'
254+ })
255+ if (res ) window .open (' https://bizyair.cn' , ' _blank' )
256+ }
248257 </script >
249258<style scoped lang="less">
250259 p ,
Original file line number Diff line number Diff line change 1- 1.2.66
1+ 1.2.67
You can’t perform that action at this time.
0 commit comments