优化权限问题
This commit is contained in:
parent
d03a4cc4e7
commit
09517a1eea
@ -1,22 +1,16 @@
|
||||
Component({
|
||||
data: {
|
||||
selected: 0,
|
||||
selected: '1',
|
||||
color: "#7A7E83",
|
||||
selectedColor: "#3cc51f",
|
||||
list: [{
|
||||
pagePath: "/index/index",
|
||||
iconPath: "/image/icon_component.png",
|
||||
selectedIconPath: "/image/icon_component_HL.png",
|
||||
text: "组件"
|
||||
}, {
|
||||
pagePath: "/index/index2",
|
||||
iconPath: "/image/icon_API.png",
|
||||
selectedIconPath: "/image/icon_API_HL.png",
|
||||
text: "66666"
|
||||
}]
|
||||
tabBarList: []
|
||||
},
|
||||
attached() {
|
||||
console.log(JSON.parse(uni.getStorageSync('dynamicTabbar') || '[]') || [])
|
||||
console.log(JSON.parse(wx.getStorageSync('dynamicTabbar') || '[]') || [])
|
||||
const tabBarList = JSON.parse(wx.getStorageSync('dynamicTabbar') || '[]') || [];
|
||||
this.setData({
|
||||
tabBarList
|
||||
})
|
||||
},
|
||||
methods: {
|
||||
switchTab(e) {
|
||||
@ -25,9 +19,9 @@ Component({
|
||||
wx.switchTab({
|
||||
url
|
||||
})
|
||||
this.setData({
|
||||
selected: data.index
|
||||
})
|
||||
// this.setData({
|
||||
// selected: data.index
|
||||
// })
|
||||
}
|
||||
}
|
||||
})
|
@ -1,8 +1,8 @@
|
||||
<!--miniprogram/custom-tab-bar/index.wxml-->
|
||||
<view class="tab-bar">
|
||||
<view class="tab-bar-border"></view>
|
||||
<view wx:for="{{list}}" wx:key="index" class="tab-bar-item" data-path="{{item.pagePath}}" data-index="{{index}}" bindtap="switchTab">
|
||||
<image src="{{selected === index ? item.selectedIconPath : item.iconPath}}"></image>
|
||||
<view style="color: {{selected === index ? selectedColor : color}}">{{item.text}}</view>
|
||||
<view wx:for="{{tabBarList}}" wx:key="index" class="tab-bar-item" data-path="{{item.pagePath}}" data-index="{{index}}" bindtap="switchTab">
|
||||
<image src="{{selected === item.id ? item.selectedIconPath : item.iconPath}}"></image>
|
||||
<view style="color: {{selected === item.id ? selectedColor : color}}">{{item.text}}</view>
|
||||
</view>
|
||||
</view>
|
||||
|
12
pages.json
12
pages.json
@ -267,12 +267,12 @@
|
||||
"iconPath": "/static/logon/manage.png",
|
||||
"selectedIconPath": "/static/logon/manage_active.png"
|
||||
},
|
||||
// {
|
||||
// "pagePath": "pages/shortPlay/performance/performance",
|
||||
// "text": "业绩",
|
||||
// "iconPath": "",
|
||||
// "selectedIconPath": ""
|
||||
// },
|
||||
{
|
||||
"pagePath": "pages/shortPlay/performance/performance",
|
||||
"text": "业绩",
|
||||
"iconPath": "/static/logon/performance.png",
|
||||
"selectedIconPath": "/static/logon/performance_active.png"
|
||||
},
|
||||
{
|
||||
"pagePath": "pages/shortPlay/my/my",
|
||||
"text": "我的",
|
||||
|
@ -125,14 +125,15 @@
|
||||
// getApp().globalData.commTabbarList = commTabbarList;
|
||||
this.$store.dispatch('changeTabbar', novelManage)
|
||||
this.$myStorage.isSetStorageSync('dynamicTabbar', JSON.stringify(novelManage))
|
||||
this.setTabBarList(novelManage)
|
||||
// this.setTabBarList(novelManage)
|
||||
uni.reLaunch({
|
||||
url: `/pages/novel/performance/performance`
|
||||
})
|
||||
},
|
||||
toPsthShortPlayFn() {
|
||||
// this.$store.dispatch('changeTabbar', shortPlayManage)
|
||||
this.$store.dispatch('changeTabbar', shortPlayPerson)
|
||||
// this.$store.dispatch('changeTabbar', shortPlayPerson)
|
||||
this.$myStorage.isSetStorageSync('dynamicTabbar', JSON.stringify(shortPlayPerson))
|
||||
uni.reLaunch({
|
||||
url: `/pages/shortPlay/performance/performance`
|
||||
})
|
||||
|
@ -100,7 +100,7 @@
|
||||
</view>
|
||||
</scroll-view>
|
||||
</view>
|
||||
<CommTabbar :tabBarActive="3" />
|
||||
<!-- <CommTabbar :tabBarActive="3" /> -->
|
||||
</view>
|
||||
</template>
|
||||
|
||||
@ -116,6 +116,9 @@
|
||||
PerHeadSculpture,
|
||||
}
|
||||
},
|
||||
onShow() {
|
||||
this.setTabBarIndex('3');
|
||||
},
|
||||
methods: {
|
||||
toBookDetail() {
|
||||
uni.navigateTo({
|
||||
|
@ -83,7 +83,7 @@
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
<CommTabbar :tabBarActive="1" />
|
||||
<!-- <CommTabbar :tabBarActive="1" /> -->
|
||||
</view>
|
||||
</template>
|
||||
|
||||
|
@ -131,7 +131,7 @@
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
<CommTabbar :tabBarActive="2" />
|
||||
<!-- <CommTabbar :tabBarActive="2" /> -->
|
||||
</view>
|
||||
</template>
|
||||
|
||||
@ -158,6 +158,9 @@
|
||||
]
|
||||
}
|
||||
},
|
||||
onShow() {
|
||||
this.setTabBarIndex('2');
|
||||
},
|
||||
methods: {
|
||||
datetimePickerChange() {
|
||||
|
||||
|
@ -71,7 +71,7 @@
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
<CommTabbar :tabBarActive="5" />
|
||||
<!-- <CommTabbar :tabBarActive="5" /> -->
|
||||
</view>
|
||||
</template>
|
||||
|
||||
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
6
unpackage/dist/dev/mp-weixin/app.json
vendored
6
unpackage/dist/dev/mp-weixin/app.json
vendored
@ -57,6 +57,12 @@
|
||||
"iconPath": "/static/logon/manage.png",
|
||||
"selectedIconPath": "/static/logon/manage_active.png"
|
||||
},
|
||||
{
|
||||
"pagePath": "pages/shortPlay/performance/performance",
|
||||
"text": "业绩",
|
||||
"iconPath": "/static/logon/performance.png",
|
||||
"selectedIconPath": "/static/logon/performance_active.png"
|
||||
},
|
||||
{
|
||||
"pagePath": "pages/shortPlay/my/my",
|
||||
"text": "我的",
|
||||
|
@ -31060,6 +31060,11 @@ var _default = {
|
||||
"text": "书籍管理",
|
||||
"iconPath": "/static/logon/manage.png",
|
||||
"selectedIconPath": "/static/logon/manage_active.png"
|
||||
}, {
|
||||
"pagePath": "pages/shortPlay/performance/performance",
|
||||
"text": "业绩",
|
||||
"iconPath": "/static/logon/performance.png",
|
||||
"selectedIconPath": "/static/logon/performance_active.png"
|
||||
}, {
|
||||
"pagePath": "pages/shortPlay/my/my",
|
||||
"text": "我的",
|
||||
|
@ -1,22 +1,16 @@
|
||||
Component({
|
||||
data: {
|
||||
selected: 0,
|
||||
selected: '1',
|
||||
color: "#7A7E83",
|
||||
selectedColor: "#3cc51f",
|
||||
list: [{
|
||||
pagePath: "/index/index",
|
||||
iconPath: "/image/icon_component.png",
|
||||
selectedIconPath: "/image/icon_component_HL.png",
|
||||
text: "组件"
|
||||
}, {
|
||||
pagePath: "/index/index2",
|
||||
iconPath: "/image/icon_API.png",
|
||||
selectedIconPath: "/image/icon_API_HL.png",
|
||||
text: "66666"
|
||||
}]
|
||||
tabBarList: []
|
||||
},
|
||||
attached() {
|
||||
console.log(JSON.parse(uni.getStorageSync('dynamicTabbar') || '[]') || [])
|
||||
console.log(JSON.parse(wx.getStorageSync('dynamicTabbar') || '[]') || [])
|
||||
const tabBarList = JSON.parse(wx.getStorageSync('dynamicTabbar') || '[]') || [];
|
||||
this.setData({
|
||||
tabBarList
|
||||
})
|
||||
},
|
||||
methods: {
|
||||
switchTab(e) {
|
||||
@ -25,9 +19,9 @@ Component({
|
||||
wx.switchTab({
|
||||
url
|
||||
})
|
||||
this.setData({
|
||||
selected: data.index
|
||||
})
|
||||
// this.setData({
|
||||
// selected: data.index
|
||||
// })
|
||||
}
|
||||
}
|
||||
})
|
@ -1,8 +1,8 @@
|
||||
<!--miniprogram/custom-tab-bar/index.wxml-->
|
||||
<view class="tab-bar">
|
||||
<view class="tab-bar-border"></view>
|
||||
<view wx:for="{{list}}" wx:key="index" class="tab-bar-item" data-path="{{item.pagePath}}" data-index="{{index}}" bindtap="switchTab">
|
||||
<image src="{{selected === index ? item.selectedIconPath : item.iconPath}}"></image>
|
||||
<view style="color: {{selected === index ? selectedColor : color}}">{{item.text}}</view>
|
||||
<view wx:for="{{tabBarList}}" wx:key="index" class="tab-bar-item" data-path="{{item.pagePath}}" data-index="{{index}}" bindtap="switchTab">
|
||||
<image src="{{selected === item.id ? item.selectedIconPath : item.iconPath}}"></image>
|
||||
<view style="color: {{selected === item.id ? selectedColor : color}}">{{item.text}}</view>
|
||||
</view>
|
||||
</view>
|
||||
|
@ -295,14 +295,15 @@ var _default = {
|
||||
// getApp().globalData.commTabbarList = commTabbarList;
|
||||
this.$store.dispatch('changeTabbar', _tabBar.novelManage);
|
||||
this.$myStorage.isSetStorageSync('dynamicTabbar', JSON.stringify(_tabBar.novelManage));
|
||||
this.setTabBarList(_tabBar.novelManage);
|
||||
// this.setTabBarList(novelManage)
|
||||
uni.reLaunch({
|
||||
url: "/pages/novel/performance/performance"
|
||||
});
|
||||
},
|
||||
toPsthShortPlayFn: function toPsthShortPlayFn() {
|
||||
// this.$store.dispatch('changeTabbar', shortPlayManage)
|
||||
this.$store.dispatch('changeTabbar', _tabBar.shortPlayPerson);
|
||||
// this.$store.dispatch('changeTabbar', shortPlayPerson)
|
||||
this.$myStorage.isSetStorageSync('dynamicTabbar', JSON.stringify(_tabBar.shortPlayPerson));
|
||||
uni.reLaunch({
|
||||
url: "/pages/shortPlay/performance/performance"
|
||||
});
|
||||
|
@ -295,6 +295,9 @@ var _default = {
|
||||
PerHeadSculpture: _per_head_sculpture.default
|
||||
};
|
||||
},
|
||||
onShow: function onShow() {
|
||||
this.setTabBarIndex('3');
|
||||
},
|
||||
methods: {
|
||||
toBookDetail: function toBookDetail() {
|
||||
uni.navigateTo({
|
||||
|
@ -1 +1 @@
|
||||
<view class="bookManagement_content"><view class="bookManagement_con_nav_bar"><u-navbar vue-id="5cdfeb1a-1" title="书籍管理" placeholder="{{true}}" bgColor="transparent" bind:__l="__l" vue-slots="{{['left']}}"><view class="u_nav_slot" slot="left" data-event-opts="{{[['tap',[['exitAccountFn',['$event']]]]]}}" bindtap="__e"><image class="is_image" src="{{PerHeadSculpture}}"></image></view></u-navbar><view class="bookManagement_con_header"><view class="con_header_image"></view></view></view><view class="bookManagement_container"><scroll-view class="bookManagement_scroll_Y" scroll-y="true"><view class="_scroll_Y_box"><view class="_book_detail_box"><view class="_book_detail_header"><view class="_header_left"><view class="_header_left_image"><image class="is_image" src="/static/novel/bookManagement/book_detail_title.png"></image></view><view class="_header_left_title ml10">书籍详细</view></view><view data-event-opts="{{[['tap',[['toBookDetail',['$event']]]]]}}" class="_header_right" bindtap="__e"><view>查看跟多</view><u-icon vue-id="5cdfeb1a-2" name="arrow-right" size="24rpx" color="#9E9E9E" bind:__l="__l"></u-icon></view></view><view class="_book_detail_container mt24"><view class="_book_detail_table_header"><u-row vue-id="5cdfeb1a-3" justify="space-between" gutter="10" bind:__l="__l" vue-slots="{{['default']}}"><u-col vue-id="{{('5cdfeb1a-4')+','+('5cdfeb1a-3')}}" span="3" bind:__l="__l" vue-slots="{{['default']}}"><view class="_header_item">书编号</view></u-col><u-col vue-id="{{('5cdfeb1a-5')+','+('5cdfeb1a-3')}}" span="6" bind:__l="__l" vue-slots="{{['default']}}"><view class="_header_item">书名</view></u-col><u-col vue-id="{{('5cdfeb1a-6')+','+('5cdfeb1a-3')}}" span="3" bind:__l="__l" vue-slots="{{['default']}}"><view class="_header_item _header_item_last">总消耗</view></u-col></u-row></view><view class="_book_detail_table_body"><block wx:for="{{3}}" wx:for-item="m" wx:for-index="__i0__" wx:key="*this"><u-row vue-id="{{'5cdfeb1a-7-'+__i0__}}" justify="space-between" gutter="10" bind:__l="__l" vue-slots="{{['default']}}"><u-col vue-id="{{('5cdfeb1a-8-'+__i0__)+','+('5cdfeb1a-7-'+__i0__)}}" span="3" bind:__l="__l" vue-slots="{{['default']}}"><view class="_header_item">640</view></u-col><u-col vue-id="{{('5cdfeb1a-9-'+__i0__)+','+('5cdfeb1a-7-'+__i0__)}}" span="6" bind:__l="__l" vue-slots="{{['default']}}"><view class="_header_item">洗净总裁今天也在掉马甲</view></u-col><u-col vue-id="{{('5cdfeb1a-10-'+__i0__)+','+('5cdfeb1a-7-'+__i0__)}}" span="3" bind:__l="__l" vue-slots="{{['default']}}"><view class="_header_item _header_item_last">64245.12</view></u-col></u-row></block></view></view></view><view class="_book_list_box mt24"><view class="_book_list_header"><view class="_header_left"><view class="_header_left_image"><image class="is_image" src="/static/novel/bookManagement/book_list_title.png"></image></view><view class="_header_left_title ml10">书籍列表</view></view><view data-event-opts="{{[['tap',[['toBooksList',['$event']]]]]}}" class="_header_right" bindtap="__e"><view>查看跟多</view><u-icon vue-id="5cdfeb1a-11" name="arrow-right" size="24rpx" color="#9E9E9E" bind:__l="__l"></u-icon></view></view><view class="_book_list_container"><view class="_list_con_item_box"><block wx:for="{{6}}" wx:for-item="m" wx:for-index="__i1__" wx:key="*this"><view class="_item_box_li mt50"><view class="_li_title">娘娘她一心只想高升</view><view class="_li_other_info mt16"><text>编辑:邓莎</text><text class="ml16">作者:李思瑶</text></view><view class="_li_money_info mt16"><view class="_li_money_info_item"><view class="_item_commission">0</view><view class="_item_name mt16">作者提成</view></view><view class="_li_money_info_item"><view class="_item_edit">0</view><view class="_item_name mt16">编辑提成</view></view><view class="_li_money_info_item"><view class="_item_number">665</view><view class="_item_name mt16">书编号</view></view></view></view></block></view></view></view></view></scroll-view></view><comm-tabbar vue-id="5cdfeb1a-12" tabBarActive="{{3}}" bind:__l="__l"></comm-tabbar></view>
|
||||
<view class="bookManagement_content"><view class="bookManagement_con_nav_bar"><u-navbar vue-id="5cdfeb1a-1" title="书籍管理" placeholder="{{true}}" bgColor="transparent" bind:__l="__l" vue-slots="{{['left']}}"><view class="u_nav_slot" slot="left" data-event-opts="{{[['tap',[['exitAccountFn',['$event']]]]]}}" bindtap="__e"><image class="is_image" src="{{PerHeadSculpture}}"></image></view></u-navbar><view class="bookManagement_con_header"><view class="con_header_image"></view></view></view><view class="bookManagement_container"><scroll-view class="bookManagement_scroll_Y" scroll-y="true"><view class="_scroll_Y_box"><view class="_book_detail_box"><view class="_book_detail_header"><view class="_header_left"><view class="_header_left_image"><image class="is_image" src="/static/novel/bookManagement/book_detail_title.png"></image></view><view class="_header_left_title ml10">书籍详细</view></view><view data-event-opts="{{[['tap',[['toBookDetail',['$event']]]]]}}" class="_header_right" bindtap="__e"><view>查看跟多</view><u-icon vue-id="5cdfeb1a-2" name="arrow-right" size="24rpx" color="#9E9E9E" bind:__l="__l"></u-icon></view></view><view class="_book_detail_container mt24"><view class="_book_detail_table_header"><u-row vue-id="5cdfeb1a-3" justify="space-between" gutter="10" bind:__l="__l" vue-slots="{{['default']}}"><u-col vue-id="{{('5cdfeb1a-4')+','+('5cdfeb1a-3')}}" span="3" bind:__l="__l" vue-slots="{{['default']}}"><view class="_header_item">书编号</view></u-col><u-col vue-id="{{('5cdfeb1a-5')+','+('5cdfeb1a-3')}}" span="6" bind:__l="__l" vue-slots="{{['default']}}"><view class="_header_item">书名</view></u-col><u-col vue-id="{{('5cdfeb1a-6')+','+('5cdfeb1a-3')}}" span="3" bind:__l="__l" vue-slots="{{['default']}}"><view class="_header_item _header_item_last">总消耗</view></u-col></u-row></view><view class="_book_detail_table_body"><block wx:for="{{3}}" wx:for-item="m" wx:for-index="__i0__" wx:key="*this"><u-row vue-id="{{'5cdfeb1a-7-'+__i0__}}" justify="space-between" gutter="10" bind:__l="__l" vue-slots="{{['default']}}"><u-col vue-id="{{('5cdfeb1a-8-'+__i0__)+','+('5cdfeb1a-7-'+__i0__)}}" span="3" bind:__l="__l" vue-slots="{{['default']}}"><view class="_header_item">640</view></u-col><u-col vue-id="{{('5cdfeb1a-9-'+__i0__)+','+('5cdfeb1a-7-'+__i0__)}}" span="6" bind:__l="__l" vue-slots="{{['default']}}"><view class="_header_item">洗净总裁今天也在掉马甲</view></u-col><u-col vue-id="{{('5cdfeb1a-10-'+__i0__)+','+('5cdfeb1a-7-'+__i0__)}}" span="3" bind:__l="__l" vue-slots="{{['default']}}"><view class="_header_item _header_item_last">64245.12</view></u-col></u-row></block></view></view></view><view class="_book_list_box mt24"><view class="_book_list_header"><view class="_header_left"><view class="_header_left_image"><image class="is_image" src="/static/novel/bookManagement/book_list_title.png"></image></view><view class="_header_left_title ml10">书籍列表</view></view><view data-event-opts="{{[['tap',[['toBooksList',['$event']]]]]}}" class="_header_right" bindtap="__e"><view>查看跟多</view><u-icon vue-id="5cdfeb1a-11" name="arrow-right" size="24rpx" color="#9E9E9E" bind:__l="__l"></u-icon></view></view><view class="_book_list_container"><view class="_list_con_item_box"><block wx:for="{{6}}" wx:for-item="m" wx:for-index="__i1__" wx:key="*this"><view class="_item_box_li mt50"><view class="_li_title">娘娘她一心只想高升</view><view class="_li_other_info mt16"><text>编辑:邓莎</text><text class="ml16">作者:李思瑶</text></view><view class="_li_money_info mt16"><view class="_li_money_info_item"><view class="_item_commission">0</view><view class="_item_name mt16">作者提成</view></view><view class="_li_money_info_item"><view class="_item_edit">0</view><view class="_item_name mt16">编辑提成</view></view><view class="_li_money_info_item"><view class="_item_number">665</view><view class="_item_name mt16">书编号</view></view></view></view></block></view></view></view></view></scroll-view></view></view>
|
@ -1 +1 @@
|
||||
<view class="performance_content"><view class="performance_con_nav_bar"><u-navbar vue-id="55664a51-1" title="秦九后台" placeholder="{{true}}" bgColor="transparent" bind:__l="__l" vue-slots="{{['left']}}"><view class="u_nav_slot" slot="left" data-event-opts="{{[['tap',[['exitAccountFn',['$event']]]]]}}" bindtap="__e"><image class="is_image" src="{{PerHeadSculpture}}"></image></view></u-navbar><view class="performance_con_header"><view class="con_header_image"><image class="is_image" src="{{PerNavBarBg}}"></image></view></view><block wx:if="{{guideFlag}}"><view class="performance_con_guide"><view data-event-opts="{{[['tap',[['handelGuideFn',['$event']]]]]}}" class="_guide_image" bindtap="__e"><image class="is_image" src="/static/novel/performance/guide.png"></image></view></view></block></view><view class="performance_con_body"><view class="con_body_search"><u-input vue-id="55664a51-2" placeholder="请输入员工姓名查找业绩" prefixIcon="search" prefixIconStyle="font-size: 24px;color: #C0C4CC" bind:__l="__l"></u-input></view><view class="con_body_tabs"><u-tabs vue-id="55664a51-3" list="{{tabsList}}" scrollable="{{false}}" lineWidth="66rpx" lineHeight="66rpx" lineColor="{{'url('+PerBodyTabs+') 100% 100%'}}" activeStyle="{{({color:'#FFFFFF',fontWeight:'bold',transform:'scale(1.2)'})}}" inactiveStyle="{{({color:'#FFFFFF',transform:'scale(1)'})}}" itemStyle="padding:0; font-size:40rpx; height: 128rpx;" data-event-opts="{{[['^change',[['handelTabsFn']]]]}}" bind:change="__e" bind:__l="__l"></u-tabs></view><view class="con_body_tabel_box"><view class="tabel_item_row"><view class="tabel_box_header"></view><view class="tabel_item_con"><view class="tabel_item_con_tr item_con_tr_he_date"><view data-event-opts="{{[['tap',[['handelPerBubble',['$event']]]]]}}" class="_con_tr_name" bindtap="__e"><view>整月数据</view><view class="item_con_tr_iamge"><image class="is_image" src="{{PerBubble}}"></image></view></view><block wx:if="{{PerBubbleOpen}}"><view class="item_con_tr_bubble"><view class="tr_bubble_list"><view class="{{['tr_bubble_list_item',PerBubbleType=='1'?'active':'']}}">今日数据</view><view class="{{['tr_bubble_list_item',PerBubbleType=='2'?'active':'']}}">整月数据</view><view class="{{['tr_bubble_list_item',PerBubbleType=='3'?'active':'']}}">今年数据</view></view></view></block></view><view class="tabel_item_con_tr item_con_tr_name">姓名</view><view class="tabel_item_con_tr item_con_tr_num"><view>提成</view><view class="item_con_tr_iamge"><image class="is_image" src="{{PerSequence}}"></image></view></view><view class="tabel_item_con_tr item_con_tr_btn"></view></view></view><view class="tabel_box_body tabel_item_row"><scroll-view class="tabel_scroll_y" scroll-y="true" enable-flex="{{true}}" data-event-opts="{{[['scrolltolower',[['tabelScrolltolower',['$event']]]]]}}" bindscrolltolower="__e"><view class="tabel_scroll_y_box "><block wx:for="{{20}}" wx:for-item="m" wx:for-index="__i0__" wx:key="*this"><view data-event-opts="{{[['tap',[['toHandelPerformance',['$event']]]]]}}" class="tabel_item_con" bindtap="__e"><view class="tabel_item_con_tr item_con_tr_he_date item_con_tr_date">01.01-01.31</view><view class="tabel_item_con_tr item_con_tr_name">徐颖</view><view class="tabel_item_con_tr item_con_tr_num">2528.97</view><view class="tabel_item_con_tr item_con_tr_btn"><u-icon vue-id="{{'55664a51-4-'+__i0__}}" name="arrow-right" color="#939599" bind:__l="__l"></u-icon></view></view></block></view></scroll-view></view></view></view><comm-tabbar vue-id="55664a51-5" tabBarActive="{{1}}" bind:__l="__l"></comm-tabbar></view>
|
||||
<view class="performance_content"><view class="performance_con_nav_bar"><u-navbar vue-id="55664a51-1" title="秦九后台" placeholder="{{true}}" bgColor="transparent" bind:__l="__l" vue-slots="{{['left']}}"><view class="u_nav_slot" slot="left" data-event-opts="{{[['tap',[['exitAccountFn',['$event']]]]]}}" bindtap="__e"><image class="is_image" src="{{PerHeadSculpture}}"></image></view></u-navbar><view class="performance_con_header"><view class="con_header_image"><image class="is_image" src="{{PerNavBarBg}}"></image></view></view><block wx:if="{{guideFlag}}"><view class="performance_con_guide"><view data-event-opts="{{[['tap',[['handelGuideFn',['$event']]]]]}}" class="_guide_image" bindtap="__e"><image class="is_image" src="/static/novel/performance/guide.png"></image></view></view></block></view><view class="performance_con_body"><view class="con_body_search"><u-input vue-id="55664a51-2" placeholder="请输入员工姓名查找业绩" prefixIcon="search" prefixIconStyle="font-size: 24px;color: #C0C4CC" bind:__l="__l"></u-input></view><view class="con_body_tabs"><u-tabs vue-id="55664a51-3" list="{{tabsList}}" scrollable="{{false}}" lineWidth="66rpx" lineHeight="66rpx" lineColor="{{'url('+PerBodyTabs+') 100% 100%'}}" activeStyle="{{({color:'#FFFFFF',fontWeight:'bold',transform:'scale(1.2)'})}}" inactiveStyle="{{({color:'#FFFFFF',transform:'scale(1)'})}}" itemStyle="padding:0; font-size:40rpx; height: 128rpx;" data-event-opts="{{[['^change',[['handelTabsFn']]]]}}" bind:change="__e" bind:__l="__l"></u-tabs></view><view class="con_body_tabel_box"><view class="tabel_item_row"><view class="tabel_box_header"></view><view class="tabel_item_con"><view class="tabel_item_con_tr item_con_tr_he_date"><view data-event-opts="{{[['tap',[['handelPerBubble',['$event']]]]]}}" class="_con_tr_name" bindtap="__e"><view>整月数据</view><view class="item_con_tr_iamge"><image class="is_image" src="{{PerBubble}}"></image></view></view><block wx:if="{{PerBubbleOpen}}"><view class="item_con_tr_bubble"><view class="tr_bubble_list"><view class="{{['tr_bubble_list_item',PerBubbleType=='1'?'active':'']}}">今日数据</view><view class="{{['tr_bubble_list_item',PerBubbleType=='2'?'active':'']}}">整月数据</view><view class="{{['tr_bubble_list_item',PerBubbleType=='3'?'active':'']}}">今年数据</view></view></view></block></view><view class="tabel_item_con_tr item_con_tr_name">姓名</view><view class="tabel_item_con_tr item_con_tr_num"><view>提成</view><view class="item_con_tr_iamge"><image class="is_image" src="{{PerSequence}}"></image></view></view><view class="tabel_item_con_tr item_con_tr_btn"></view></view></view><view class="tabel_box_body tabel_item_row"><scroll-view class="tabel_scroll_y" scroll-y="true" enable-flex="{{true}}" data-event-opts="{{[['scrolltolower',[['tabelScrolltolower',['$event']]]]]}}" bindscrolltolower="__e"><view class="tabel_scroll_y_box "><block wx:for="{{20}}" wx:for-item="m" wx:for-index="__i0__" wx:key="*this"><view data-event-opts="{{[['tap',[['toHandelPerformance',['$event']]]]]}}" class="tabel_item_con" bindtap="__e"><view class="tabel_item_con_tr item_con_tr_he_date item_con_tr_date">01.01-01.31</view><view class="tabel_item_con_tr item_con_tr_name">徐颖</view><view class="tabel_item_con_tr item_con_tr_num">2528.97</view><view class="tabel_item_con_tr item_con_tr_btn"><u-icon vue-id="{{'55664a51-4-'+__i0__}}" name="arrow-right" color="#939599" bind:__l="__l"></u-icon></view></view></block></view></scroll-view></view></view></view></view>
|
@ -202,6 +202,9 @@ var _default = {
|
||||
}]
|
||||
};
|
||||
},
|
||||
onShow: function onShow() {
|
||||
this.setTabBarIndex('2');
|
||||
},
|
||||
methods: {
|
||||
datetimePickerChange: function datetimePickerChange() {}
|
||||
}
|
||||
|
@ -1 +1 @@
|
||||
<view class="_ranking_c"><view class="_ranking_c_header"><u-navbar vue-id="18ac6976-1" bgColor="transparent" placeholder="{{true}}" bind:__l="__l" vue-slots="{{['left']}}"><view class="u_nav_slot" slot="left"><view class="u_n_slot_user_icon"><image class="is_image" src="/static/novel/performance/per_head_sculpture.png"></image></view><view class="u_n_slot_date"><uni-datetime-picker vue-id="{{('18ac6976-2')+','+('18ac6976-1')}}" type="daterange" clear-icon="{{false}}" data-event-opts="{{[['^change',[['datetimePickerChange']]]]}}" bind:change="__e" bind:__l="__l"></uni-datetime-picker></view></view></u-navbar><view class="_ranking_c_h_bg"><image class="is_image" src="/static/novel/ranking/header_bg.png"></image></view></view><view class="_ranking_c_body"><view class="_ranking_c_b_container"><view class="_ranking_c_b_cbox"><view class="_ranking_c_b_c_mm"><view class="_b_c_mm_header"><u-tabs vue-id="18ac6976-3" list="{{tabsList}}" scrollable="{{false}}" activeStyle="{{({color:'#446BFA',fontSize:'36rpx',fontWeight:700,transform:'scale(1.05)'})}}" inactiveStyle="{{({color:'#393966',fontSize:'36rpx',transform:'scale(1)'})}}" itemStyle="{{({height:'100rpx'})}}" lineWidth="58rpx" lineColor="#446BFA" bind:__l="__l"></u-tabs></view><view class="_c_mm_jj_container"><view class="_jj_co_box"><view class="_j_c_b_container"><view class="_c_b_c_image"><image class="is_image" src="/static/novel/ranking/ranking_user_bg.png"></image></view><view class="_c_b_c_info"><view class="_c_info_left"><view class="_c_i_left_tips"><view>我的</view><view>排行</view></view><view class="_c_i_left_user_image"><image class="is_image" src="/static/novel/performance/per_head_sculpture.png"></image></view><view class="_c_i_left_ranking">NO·5</view><view class="_c_i_left_user_name">吴雨晴</view></view><view class="_c_info_right"><text>¥35645.14</text></view></view></view></view><view class="_c_mm_tabel"><view class="mm_tabel_header"><view class="mm_t_h_box"><view class="mm_t_h_li ranking">排名</view><view class="mm_t_h_li users">员工</view><view class="mm_t_h_li performance">业绩</view><view style="width:40rpx;"></view></view></view><view class="mm_tabel_body"><scroll-view class="mm_scroll_Y" scroll-y="true"><view class="scroll_Y_container"><uni-collapse vue-id="18ac6976-4" accordion="{{true}}" bind:__l="__l" vue-slots="{{['default']}}"><block wx:for="{{14}}" wx:for-item="m" wx:for-index="__i0__" wx:key="*this"><uni-collapse-item vue-id="{{('18ac6976-5-'+__i0__)+','+('18ac6976-4')}}" border="{{false}}" show-arrow="{{true}}" bind:__l="__l" vue-slots="{{['default','title']}}"><view class="_y_c_solt_title" slot="title"><view class="c_s_title_ranking"><block wx:if="{{m<3}}"><view class="_s_t_r_image"><block wx:if="{{m===0}}"><image class="is_image" src="/static/novel/personalMoney/ranking_one.png"></image></block><block wx:if="{{m===1}}"><image class="is_image" src="/static/novel/personalMoney/ranking_two.png"></image></block><block wx:if="{{m===2}}"><image class="is_image" src="/static/novel/personalMoney/ranking_three.png"></image></block></view></block><block wx:else><view class="_s_t_r_idx">{{''+(m+1)+''}}</view></block></view><view class="c_s_title_users"><view class="_s_t_u_image"><image class="is_image" src="/static/novel/performance/per_head_sculpture.png"></image></view><view class="_s_t_u_name">化成雨</view></view><view class="c_s_title_performance"><text>¥20140.05</text></view></view><view class="y_collapse_item_content"><view class="_i_c_li"><u-icon vue-id="{{('18ac6976-6-'+__i0__)+','+('18ac6976-5-'+__i0__)}}" name="arrow-up-fill" color="#F23D3D" size="24rpx" bind:__l="__l"></u-icon><text class="ml10">据上一名差</text><text class="ml10">356468.546</text></view><view class="_i_c_li"><u-icon vue-id="{{('18ac6976-7-'+__i0__)+','+('18ac6976-5-'+__i0__)}}" name="arrow-down-fill" color="#446BFA" size="24rpx" bind:__l="__l"></u-icon><text class="ml10">据上一名差</text><text class="ml10">356468.546</text></view></view></uni-collapse-item></block></uni-collapse></view></scroll-view></view></view></view></view></view></view></view><comm-tabbar vue-id="18ac6976-8" tabBarActive="{{2}}" bind:__l="__l"></comm-tabbar></view>
|
||||
<view class="_ranking_c"><view class="_ranking_c_header"><u-navbar vue-id="18ac6976-1" bgColor="transparent" placeholder="{{true}}" bind:__l="__l" vue-slots="{{['left']}}"><view class="u_nav_slot" slot="left"><view class="u_n_slot_user_icon"><image class="is_image" src="/static/novel/performance/per_head_sculpture.png"></image></view><view class="u_n_slot_date"><uni-datetime-picker vue-id="{{('18ac6976-2')+','+('18ac6976-1')}}" type="daterange" clear-icon="{{false}}" data-event-opts="{{[['^change',[['datetimePickerChange']]]]}}" bind:change="__e" bind:__l="__l"></uni-datetime-picker></view></view></u-navbar><view class="_ranking_c_h_bg"><image class="is_image" src="/static/novel/ranking/header_bg.png"></image></view></view><view class="_ranking_c_body"><view class="_ranking_c_b_container"><view class="_ranking_c_b_cbox"><view class="_ranking_c_b_c_mm"><view class="_b_c_mm_header"><u-tabs vue-id="18ac6976-3" list="{{tabsList}}" scrollable="{{false}}" activeStyle="{{({color:'#446BFA',fontSize:'36rpx',fontWeight:700,transform:'scale(1.05)'})}}" inactiveStyle="{{({color:'#393966',fontSize:'36rpx',transform:'scale(1)'})}}" itemStyle="{{({height:'100rpx'})}}" lineWidth="58rpx" lineColor="#446BFA" bind:__l="__l"></u-tabs></view><view class="_c_mm_jj_container"><view class="_jj_co_box"><view class="_j_c_b_container"><view class="_c_b_c_image"><image class="is_image" src="/static/novel/ranking/ranking_user_bg.png"></image></view><view class="_c_b_c_info"><view class="_c_info_left"><view class="_c_i_left_tips"><view>我的</view><view>排行</view></view><view class="_c_i_left_user_image"><image class="is_image" src="/static/novel/performance/per_head_sculpture.png"></image></view><view class="_c_i_left_ranking">NO·5</view><view class="_c_i_left_user_name">吴雨晴</view></view><view class="_c_info_right"><text>¥35645.14</text></view></view></view></view><view class="_c_mm_tabel"><view class="mm_tabel_header"><view class="mm_t_h_box"><view class="mm_t_h_li ranking">排名</view><view class="mm_t_h_li users">员工</view><view class="mm_t_h_li performance">业绩</view><view style="width:40rpx;"></view></view></view><view class="mm_tabel_body"><scroll-view class="mm_scroll_Y" scroll-y="true"><view class="scroll_Y_container"><uni-collapse vue-id="18ac6976-4" accordion="{{true}}" bind:__l="__l" vue-slots="{{['default']}}"><block wx:for="{{14}}" wx:for-item="m" wx:for-index="__i0__" wx:key="*this"><uni-collapse-item vue-id="{{('18ac6976-5-'+__i0__)+','+('18ac6976-4')}}" border="{{false}}" show-arrow="{{true}}" bind:__l="__l" vue-slots="{{['default','title']}}"><view class="_y_c_solt_title" slot="title"><view class="c_s_title_ranking"><block wx:if="{{m<3}}"><view class="_s_t_r_image"><block wx:if="{{m===0}}"><image class="is_image" src="/static/novel/personalMoney/ranking_one.png"></image></block><block wx:if="{{m===1}}"><image class="is_image" src="/static/novel/personalMoney/ranking_two.png"></image></block><block wx:if="{{m===2}}"><image class="is_image" src="/static/novel/personalMoney/ranking_three.png"></image></block></view></block><block wx:else><view class="_s_t_r_idx">{{''+(m+1)+''}}</view></block></view><view class="c_s_title_users"><view class="_s_t_u_image"><image class="is_image" src="/static/novel/performance/per_head_sculpture.png"></image></view><view class="_s_t_u_name">化成雨</view></view><view class="c_s_title_performance"><text>¥20140.05</text></view></view><view class="y_collapse_item_content"><view class="_i_c_li"><u-icon vue-id="{{('18ac6976-6-'+__i0__)+','+('18ac6976-5-'+__i0__)}}" name="arrow-up-fill" color="#F23D3D" size="24rpx" bind:__l="__l"></u-icon><text class="ml10">据上一名差</text><text class="ml10">356468.546</text></view><view class="_i_c_li"><u-icon vue-id="{{('18ac6976-7-'+__i0__)+','+('18ac6976-5-'+__i0__)}}" name="arrow-down-fill" color="#446BFA" size="24rpx" bind:__l="__l"></u-icon><text class="ml10">据上一名差</text><text class="ml10">356468.546</text></view></view></uni-collapse-item></block></uni-collapse></view></scroll-view></view></view></view></view></view></view></view></view>
|
@ -1 +1 @@
|
||||
<view class="performance_content"><view class="performance_con_nav_bar"><u-navbar vue-id="a00f4a86-1" title="秦九后台" placeholder="{{true}}" bgColor="transparent" bind:__l="__l" vue-slots="{{['left']}}"><view class="u_nav_slot" slot="left" data-event-opts="{{[['tap',[['exitAccountFn',['$event']]]]]}}" bindtap="__e"><image class="is_image" src="{{PerHeadSculpture}}"></image></view></u-navbar><view class="performance_con_header"><view class="con_header_image"><image class="is_image" src="{{PerNavBarBg}}"></image></view></view><block wx:if="{{guideFlag}}"><view class="performance_con_guide"><view data-event-opts="{{[['tap',[['handelGuideFn',['$event']]]]]}}" class="_guide_image" bindtap="__e"><image class="is_image" src="/static/novel/performance/guide.png"></image></view></view></block></view><view class="performance_con_body"><view class="con_body_search"><u-input vue-id="a00f4a86-2" placeholder="请输入员工姓名查找业绩" prefixIcon="search" prefixIconStyle="font-size: 24px;color: #C0C4CC" bind:__l="__l"></u-input></view><view class="con_body_tabel_box"><view class="tabel_item_row"><view class="tabel_box_header"></view><view class="tabel_item_con"><view class="tabel_item_con_tr item_con_tr_he_date"><view data-event-opts="{{[['tap',[['handelPerBubble',['$event']]]]]}}" class="_con_tr_name" bindtap="__e"><view>整月数据</view><view class="item_con_tr_iamge"><image class="is_image" src="{{PerBubble}}"></image></view></view><block wx:if="{{PerBubbleOpen}}"><view class="item_con_tr_bubble"><view class="tr_bubble_list"><view class="{{['tr_bubble_list_item',PerBubbleType=='1'?'active':'']}}">今日数据</view><view class="{{['tr_bubble_list_item',PerBubbleType=='2'?'active':'']}}">整月数据</view><view class="{{['tr_bubble_list_item',PerBubbleType=='3'?'active':'']}}">今年数据</view></view></view></block></view><view class="tabel_item_con_tr item_con_tr_name">姓名</view><view class="tabel_item_con_tr item_con_tr_num"><view>提成</view><view class="item_con_tr_iamge"><image class="is_image" src="{{PerSequence}}"></image></view></view><view class="tabel_item_con_tr item_con_tr_btn"></view></view></view><view class="tabel_box_body tabel_item_row"><scroll-view class="tabel_scroll_y" scroll-y="true" enable-flex="{{true}}" data-event-opts="{{[['scrolltolower',[['tabelScrolltolower',['$event']]]]]}}" bindscrolltolower="__e"><view class="tabel_scroll_y_box "><block wx:for="{{20}}" wx:for-item="m" wx:for-index="__i0__" wx:key="*this"><view data-event-opts="{{[['tap',[['toHandelPerformance',['$event']]]]]}}" class="tabel_item_con" bindtap="__e"><view class="tabel_item_con_tr item_con_tr_he_date item_con_tr_date">01.01-01.31</view><view class="tabel_item_con_tr item_con_tr_name">徐颖</view><view class="tabel_item_con_tr item_con_tr_num">2528.97</view><view class="tabel_item_con_tr item_con_tr_btn"><u-icon vue-id="{{'a00f4a86-3-'+__i0__}}" name="arrow-right" color="#939599" bind:__l="__l"></u-icon></view></view></block></view></scroll-view></view></view></view><comm-tabbar vue-id="a00f4a86-4" tabBarActive="{{5}}" bind:__l="__l"></comm-tabbar></view>
|
||||
<view class="performance_content"><view class="performance_con_nav_bar"><u-navbar vue-id="a00f4a86-1" title="秦九后台" placeholder="{{true}}" bgColor="transparent" bind:__l="__l" vue-slots="{{['left']}}"><view class="u_nav_slot" slot="left" data-event-opts="{{[['tap',[['exitAccountFn',['$event']]]]]}}" bindtap="__e"><image class="is_image" src="{{PerHeadSculpture}}"></image></view></u-navbar><view class="performance_con_header"><view class="con_header_image"><image class="is_image" src="{{PerNavBarBg}}"></image></view></view><block wx:if="{{guideFlag}}"><view class="performance_con_guide"><view data-event-opts="{{[['tap',[['handelGuideFn',['$event']]]]]}}" class="_guide_image" bindtap="__e"><image class="is_image" src="/static/novel/performance/guide.png"></image></view></view></block></view><view class="performance_con_body"><view class="con_body_search"><u-input vue-id="a00f4a86-2" placeholder="请输入员工姓名查找业绩" prefixIcon="search" prefixIconStyle="font-size: 24px;color: #C0C4CC" bind:__l="__l"></u-input></view><view class="con_body_tabel_box"><view class="tabel_item_row"><view class="tabel_box_header"></view><view class="tabel_item_con"><view class="tabel_item_con_tr item_con_tr_he_date"><view data-event-opts="{{[['tap',[['handelPerBubble',['$event']]]]]}}" class="_con_tr_name" bindtap="__e"><view>整月数据</view><view class="item_con_tr_iamge"><image class="is_image" src="{{PerBubble}}"></image></view></view><block wx:if="{{PerBubbleOpen}}"><view class="item_con_tr_bubble"><view class="tr_bubble_list"><view class="{{['tr_bubble_list_item',PerBubbleType=='1'?'active':'']}}">今日数据</view><view class="{{['tr_bubble_list_item',PerBubbleType=='2'?'active':'']}}">整月数据</view><view class="{{['tr_bubble_list_item',PerBubbleType=='3'?'active':'']}}">今年数据</view></view></view></block></view><view class="tabel_item_con_tr item_con_tr_name">姓名</view><view class="tabel_item_con_tr item_con_tr_num"><view>提成</view><view class="item_con_tr_iamge"><image class="is_image" src="{{PerSequence}}"></image></view></view><view class="tabel_item_con_tr item_con_tr_btn"></view></view></view><view class="tabel_box_body tabel_item_row"><scroll-view class="tabel_scroll_y" scroll-y="true" enable-flex="{{true}}" data-event-opts="{{[['scrolltolower',[['tabelScrolltolower',['$event']]]]]}}" bindscrolltolower="__e"><view class="tabel_scroll_y_box "><block wx:for="{{20}}" wx:for-item="m" wx:for-index="__i0__" wx:key="*this"><view data-event-opts="{{[['tap',[['toHandelPerformance',['$event']]]]]}}" class="tabel_item_con" bindtap="__e"><view class="tabel_item_con_tr item_con_tr_he_date item_con_tr_date">01.01-01.31</view><view class="tabel_item_con_tr item_con_tr_name">徐颖</view><view class="tabel_item_con_tr item_con_tr_num">2528.97</view><view class="tabel_item_con_tr item_con_tr_btn"><u-icon vue-id="{{'a00f4a86-3-'+__i0__}}" name="arrow-right" color="#939599" bind:__l="__l"></u-icon></view></view></block></view></scroll-view></view></view></view></view>
|
Loading…
x
Reference in New Issue
Block a user