<!--
 * @Author: wjc
 * @Date: 2024-07-02 10:07:46
 * @LastEditors: wjc
 * @LastEditTime: 2024-07-04 14:27:51
 * @Description: 
-->
<template>
  <MNavBar title="测试页面" :right-menu="rightMenu" @right-click="handleRightClick">
    <!-- <template #right><view>123</view></template> -->
  </MNavBar>
  <view>需要登录才能查看的页面</view>
</template>

<script setup lang="ts">
  defineOptions({ name: 'Auth' })

  const rightMenu = ref([
    {
      icon: 'i-ep-link',
      text: '扫一扫',
      command: 'qrcode',
    },
    {
      icon: 'i-ep-full-screen',
      text: '投屏',
      command: 'view',
    },
    {
      icon: 'i-ep-credit-card',
      text: '收付款',
      command: 'money',
    },
  ])

  const handleRightClick = () => {}
</script>
