Commit 81ee5fd2 by sunerhu

我的团队页面提交

parent fe95b870
{
"id": "pyh-rdtpicker",
"name": "日期区间picker",
"version": "1.0.7",
"description": "日期区间选择组件,可选粒度,可自定义主题",
"keywords": [
"日期",
"区间",
"时间",
"组件",
"选择"
],
"dcloudext": {
"category": [
"前端组件",
"通用组件"
]
}
}
\ No newline at end of file
...@@ -321,7 +321,25 @@ ...@@ -321,7 +321,25 @@
"enablePullDownRefresh": false "enablePullDownRefresh": false
} }
} ,{
"path" : "pages/personalCenter/user-information",
"style" :
{
"navigationBarTitleText": "个人资料",
"enablePullDownRefresh": false
}
},{
"path" : "pages/personalCenter/system/settings",
"style" :
{
"navigationBarTitleText": "设置",
"enablePullDownRefresh": false
}
} }
], ],
// "tabBar": { // "tabBar": {
// "color": "#7A7E83", // tab 上的文字默认颜色 // "color": "#7A7E83", // tab 上的文字默认颜色
......
...@@ -11,7 +11,7 @@ ...@@ -11,7 +11,7 @@
<strong>{{customerBasicInfo.realName}}</strong> <strong>{{customerBasicInfo.realName}}</strong>
<text class="csTag">{{customerBasicInfo.partnerType}}</text> <text class="csTag">{{customerBasicInfo.partnerType}}</text>
</view> </view>
<view class="personalInfoBtn"> <view class="personalInfoBtn" @click="userinfo()">
<text>个人资料</text> <text>个人资料</text>
<i class="iconfont icon-bianji"></i> <i class="iconfont icon-bianji"></i>
</view> </view>
...@@ -122,7 +122,7 @@ ...@@ -122,7 +122,7 @@
{title:'我的认证',icon:'myCertify',link:'/pages/myCertify/myCertify',isOpen:true,isShow:true}, {title:'我的认证',icon:'myCertify',link:'/pages/myCertify/myCertify',isOpen:true,isShow:true},
{title:'申请修改公司周边',icon:'setting',link:'',isOpen:true,isShow:true}, {title:'申请修改公司周边',icon:'setting',link:'',isOpen:true,isShow:true},
{title:'我的消息',icon:'message',link:'/pages/systemMsg/system_msg',isOpen:true,isShow:true}, {title:'我的消息',icon:'message',link:'/pages/systemMsg/system_msg',isOpen:true,isShow:true},
{title:'系统设置',icon:'setting',link:'',isOpen:true,isShow:false} {title:'系统设置',icon:'setting',link:'/pages/personalCenter/system/settings',isOpen:true,isShow:true}
] ]
} }
...@@ -145,6 +145,11 @@ ...@@ -145,6 +145,11 @@
common.errorDialog(2,'该模块正在开发中,敬请期待!','提示'); common.errorDialog(2,'该模块正在开发中,敬请期待!','提示');
} }
}, },
userinfo(){
uni.navigateTo({
url:'/pages/personalCenter/user-information'
})
},
// 弹窗 // 弹窗
errorDialog(type,content){ errorDialog(type,content){
common.errorDialog(type,content); common.errorDialog(type,content);
......
<template>
<view>
<!-- <view class="personalInfo">
<view class="ulBox">
<view v-for="item in menuList.filter(v=>v.isShow)" :key="item.title" @click="goDetail(item)" class="liBox">
<view class="infoBox">
<image :src="'/static/moduleIcon/'+item.icon+'.png'" alt="" srcset="" mode="widthFix"></image>
<text>{{item.title}}</text>
</view>
<view class="iconBox">
<i class="iconfont icon-youjiantou"></i>
</view>
</view>
</view>
</view> -->
</view>
</template>
<script>
export default {
props: {
menuList: {
type: Array
}
},
data() {
return {
menuList:[]
}
},
mounted(){
console.log(this.menuList, 7412)
},
methods:{
// goDetail(item){
// if(item.isShow && item.isOpen){
// if(item.title==='我的邀请码'){
// this.$refs.popup1.open('bottom');
// }else{
// uni.navigateTo({
// url: item.link
// });
// }
// }else{
// common.errorDialog(2,'该模块正在开发中,敬请期待!','提示');
// }
// }
}
}
</script>
<style lang="scss">
.personalInfo{
}
</style>
<template>
<view>
<menu v-if="menuList != 'undefined '" :menuList="minorMenuLists"></menu>
</view>
</template>
<script>
import Menu from "./menu.vue"
export default {
components:{ Menu },
data() {
return {
minorMenuLists: [{
title: '我的邀请码',
icon: 'shareEcode',
link: '',
isOpen: true,
isShow: true
},
{
title: '我的卡包',
icon: 'card',
link: '',
isOpen: true,
isShow: false
},
{
title: '我的认证',
icon: 'myCertify',
link: '/pages/myCertify/myCertify',
isOpen: true,
isShow: true
},
{
title: '申请修改公司周边',
icon: 'setting',
link: '',
isOpen: true,
isShow: true
},
{
title: '我的消息',
icon: 'message',
link: '/pages/systemMsg/system_msg',
isOpen: true,
isShow: true
},
{
title: '系统设置',
icon: 'setting',
link: '/pages/personalCenter/system/settings',
isOpen: true,
isShow: true
}
]
}
}
}
</script>
<style>
</style>
...@@ -6,20 +6,15 @@ ...@@ -6,20 +6,15 @@
</time-picker> </time-picker>
</view> </view>
<view class="timeSelectContent"> <view class="timeSelectContent">
<!-- <picker mode="selector" @change="bindPickerChange" :value="index" :range="multiArray" range-key="name">
<view class="uni-input">{{multiArray[index].name}}</view>
</picker> -->
<view class="uni-list-cell-left">
当前选择
</view>
<picker @change="bindPickerChange" :value="index" :range="array"> <picker @change="bindPickerChange" :value="index" :range="array">
<view class="uni-input">{{array[index]}}</view> <view class="uni-input">{{array[index] || "选择季度"}} </view>
</picker> </picker>
</view> </view>
<view class="timeSelectContent"> <view class="timeSelectContent">
<time-picker @change="change" :fields="year"> <picker @change="mountdchange" :value="index" :range="mountdList">
</time-picker> <view class="uni-input"> {{mountdList[montdindex] || "选择月份"}} </view>
</picker>
</view> </view>
</view> </view>
<view class="content-btn"> <view class="content-btn">
...@@ -62,7 +57,6 @@ ...@@ -62,7 +57,6 @@
<script> <script>
import TimePicker from '@/components/myteam/time-picker.vue'; import TimePicker from '@/components/myteam/time-picker.vue';
import MyteamTable from '@/components/myteam/myteam-table.vue'; import MyteamTable from '@/components/myteam/myteam-table.vue';
import Picker from '@/components/picker/picker.vue';
export default { export default {
components: { components: {
TimePicker, TimePicker,
...@@ -74,7 +68,10 @@ ...@@ -74,7 +68,10 @@
datatitleList: ['排名', '所属组织', '姓名', '单数', '销售额'], datatitleList: ['排名', '所属组织', '姓名', '单数', '销售额'],
teamList: ['直属团队', '所辖团队', '其他'], teamList: ['直属团队', '所辖团队', '其他'],
teamtype: 0, teamtype: 0,
array:['一季度','二季度','三季度','四季度'], montdindex: 0,
array: ['一季度', '二季度', '三季度', '四季度'],
mountdList: [],
index: 0,
multiArray: [{ multiArray: [{
name: '', name: '',
id: 1 id: 1
...@@ -114,7 +111,28 @@ ...@@ -114,7 +111,28 @@
} }
}, },
methods: { methods: {
bindPickerChange() {}, bindPickerChange(e) {
this.index = e.detail.value
this.montdindex = 0
this.mountdList = []
switch (this.index) {
case 0:
this.mountdList.push('一月', '二月', '三月')
break
case 1:
this.mountdList.push('四月', '五月', '六月')
break
case 2:
this.mountdList.push('七月', '八月', '九月')
break
case 3:
this.mountdList.push('十月', '十一月', '十二月')
break
}
},
mountdchange(e) {
this.montdindex = e.detail.value
},
ckteam(e) { ckteam(e) {
this.teamtype = e this.teamtype = e
console.log(e, ) console.log(e, )
......
<template>
<view class="">
这里是个人信息
</view>
</template>
<script>
</script>
<style>
</style>
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment