wangguoyu 1 月之前
父节点
当前提交
ee37620c49
共有 3 个文件被更改,包括 47 次插入0 次删除
  1. 12 0
      api/zhuanti.js
  2. 5 0
      components/custom-tabbar/custom-tabbar.vue
  3. 30 0
      pages/zhuanti/index.vue

+ 12 - 0
api/zhuanti.js

@@ -0,0 +1,12 @@
+import request from '@/utils/request'
+export function myInfo(data = {}) {
+  return request({
+    'url': '/app/user/my/info',
+    headers: {
+      isToken: true
+    },
+    method: 'post',
+    data,
+    timeout: 20000
+  })
+}

+ 5 - 0
components/custom-tabbar/custom-tabbar.vue

@@ -41,6 +41,11 @@
 						path: `/pages/study/index`
 					},
 					{
+						iconPath: 'static/images/tabbar/unselect/plan-sj.png',
+						activePath: 'static/images/tabbar/select/plan-sj.png',
+						path: `/pages/zhuanti/index`
+					},
+					{
 						iconPath: 'static/images/tabbar/unselect/partner-sj.png',
 						activePath: 'static/images/tabbar/select/partner-sj.png',
 						path: '/pages/game/index'

+ 30 - 0
pages/zhuanti/index.vue

@@ -0,0 +1,30 @@
+<template>
+
+</template>
+
+<script setup>
+	import {
+		toast,
+		getUserIdentity
+	} from "@/utils/common";
+	import cacheManager from '@/utils/cacheManager.js';
+	import {
+
+	} from '@/api/zhuanti.js'
+
+	import CustomTabBar from '@/components/custom-tabbar/custom-tabbar.vue';
+	import {
+		onLoad
+	} from '@dcloudio/uni-app';
+	import {
+		reactive,
+		ref
+	} from "vue";
+	import {
+		onShow
+	} from '@dcloudio/uni-app';
+	onShow(() => {
+
+	})
+	const agreeType = ref(null);
+</script>