瀏覽代碼

添加页面

lex 2 年之前
父節點
當前提交
7b8c52bec9
共有 3 個文件被更改,包括 34 次插入0 次删除
  1. 8 0
      src/router/routes-teacher.ts
  2. 5 0
      src/teacher/income-consus/index.module.less
  3. 21 0
      src/teacher/income-consus/index.tsx

+ 8 - 0
src/router/routes-teacher.ts

@@ -203,6 +203,14 @@ export default [
         meta: {
         meta: {
           title: '结算协议'
           title: '结算协议'
         }
         }
+      },
+      {
+        path: '/incomeConsus',
+        name: 'incomeConsus',
+        component: () => import('@/teacher/income-consus/index'),
+        meta: {
+          title: '收入结算'
+        }
       }
       }
     ]
     ]
   },
   },

+ 5 - 0
src/teacher/income-consus/index.module.less

@@ -0,0 +1,5 @@
+.incomeConsus {
+  margin: 14px;
+  border-radius: 10px;
+  background-color: #fff;
+}

+ 21 - 0
src/teacher/income-consus/index.tsx

@@ -0,0 +1,21 @@
+import { Cell } from 'vant'
+import { defineComponent } from 'vue'
+import styles from './index.module.less'
+
+export default defineComponent({
+  name: 'IncomeConsus',
+  render() {
+    return (
+      <div class={styles.incomeConsus}>
+        <Cell
+          class={styles.income}
+          title="总收入(元)"
+          value={'2022'}
+          v-slots={{
+            label: () => <span>124,323.00</span>
+          }}
+        ></Cell>
+      </div>
+    )
+  }
+})