diff --git a/yudao-ui-app/App.vue b/yudao-ui-app/App.vue index 755454fb3..d1cd86338 100644 --- a/yudao-ui-app/App.vue +++ b/yudao-ui-app/App.vue @@ -15,7 +15,9 @@ import { mapActions } from 'vuex' - + import { + memberGradeInfo + } from '@/api/member.js'; export default { globalData: { spid: 0, @@ -27,6 +29,16 @@ id: 0 }, onLaunch: function(option) { + const res = memberGradeInfo().then((res) =>{ + if(res.data.some((item) => !!!parseInt(item.isExist))){ + uni.setTabBarItem({ + index: 2, + text: 'text', + pagePath: '/pages/member_equity/index' + }) + } + }) + let that = this; // #ifdef H5 uni.getSystemInfo({ diff --git a/yudao-ui-app/pages.json b/yudao-ui-app/pages.json index 25c9a715e..dee55e5e6 100644 --- a/yudao-ui-app/pages.json +++ b/yudao-ui-app/pages.json @@ -573,7 +573,7 @@ "text": "分类" }, { - "pagePath": "pages/member_record/index", + "pagePath": "pages/member_application/index", "iconPath": "static/images/2-001.png", "selectedIconPath": "static/images/2-002.png", "text": "会员申请" diff --git a/yudao-ui-app/pages/member_application/index.vue b/yudao-ui-app/pages/member_application/index.vue index e26a09936..ed40e667e 100644 --- a/yudao-ui-app/pages/member_application/index.vue +++ b/yudao-ui-app/pages/member_application/index.vue @@ -1,144 +1,166 @@ diff --git a/yudao-ui-app/static/images/bg.png b/yudao-ui-app/static/images/bg.png new file mode 100644 index 000000000..c77579935 Binary files /dev/null and b/yudao-ui-app/static/images/bg.png differ diff --git a/yudao-ui-app/static/images/memberBg.png b/yudao-ui-app/static/images/memberBg.png new file mode 100644 index 000000000..1642d2464 Binary files /dev/null and b/yudao-ui-app/static/images/memberBg.png differ diff --git a/yudao-ui-app/static/images/memberEquity.png b/yudao-ui-app/static/images/memberEquity.png new file mode 100644 index 000000000..827a534eb Binary files /dev/null and b/yudao-ui-app/static/images/memberEquity.png differ diff --git a/yudao-ui-app/static/images/memberTitle.png b/yudao-ui-app/static/images/memberTitle.png new file mode 100644 index 000000000..46ef7fb7b Binary files /dev/null and b/yudao-ui-app/static/images/memberTitle.png differ diff --git a/yudao-ui-app/static/images/phoneMoney.png b/yudao-ui-app/static/images/phoneMoney.png new file mode 100644 index 000000000..1b985012b Binary files /dev/null and b/yudao-ui-app/static/images/phoneMoney.png differ diff --git a/yudao-ui-app/static/images/vip1.png b/yudao-ui-app/static/images/vip1.png new file mode 100644 index 000000000..fd9e19d33 Binary files /dev/null and b/yudao-ui-app/static/images/vip1.png differ diff --git a/yudao-ui-app/static/images/vipStar.png b/yudao-ui-app/static/images/vipStar.png new file mode 100644 index 000000000..b1b318c0c Binary files /dev/null and b/yudao-ui-app/static/images/vipStar.png differ