Commit 9a7007d3 authored by chuan.liu's avatar chuan.liu

首页新增秩序入口 修复二级选择事件监听问题

parent 90f5265b
<script> <script>
import {mapMutations} from 'vuex' import {
mapMutations
} from 'vuex'
export default { export default {
onLaunch: function() { onLaunch: function() {
console.log('App Launch') console.log('App Launch')
uni.getSystemInfo({ // 获取当前设备的具体信息 uni.getSystemInfo({ // 获取当前设备的具体信息
success: (sysinfo) => { success: (sysinfo) => {
console.log('sysinfo',sysinfo); console.log('sysinfo', sysinfo);
this.sysinfo = sysinfo; this.sysinfo = sysinfo;
this.$uStore({name:'sysinfo',value:sysinfo}); this.$uStore({
} name: 'sysinfo',
}); value: sysinfo
});
}
});
}, },
onShow: function() { onShow: function() {
// console.log('App Show') // console.log('App Show')
}, },
onHide: function() { onHide: function() {
// console.log('App Hide') // console.log('App Hide')
}, },
data() { onTabItemTap(e) {
return { console.log('onTabItemTap----', e)
sysinfo: {} },
} data() {
}, return {
methods:{ sysinfo: {}
...mapMutations(['$uStore']) }
},
methods: {
...mapMutations(['$uStore'])
} }
} }
</script> </script>
<style lang="scss"> <style lang="scss">
@import "uview-ui/index.scss"; @import "uview-ui/index.scss";
/*每个页面公共css */ /*每个页面公共css */
/* #ifndef APP-NVUE */ /* #ifndef APP-NVUE */
uni-page-body { uni-page-body {
......
...@@ -291,6 +291,7 @@ ...@@ -291,6 +291,7 @@
default: default:
break; break;
} }
this.condition.PENGMETHOD = this.paintDesignPicker[this.paintDesignIndex].key
}, },
selectGroupClient() { selectGroupClient() {
uni.navigateTo({ uni.navigateTo({
......
...@@ -19,47 +19,66 @@ ...@@ -19,47 +19,66 @@
</uni-swiper-dot> </uni-swiper-dot>
</view> </view>
<view class="content"> <view class="content">
<!-- <view class="amount-block"> <view class="todo-box block">
<view class="order-amount"> <text class="title">市场秩序</text>
<view class="order-amount--wrapper"> <view class="amount-block">
<text class="order-amount--des">本年订单金额</text> <view class="order-amount" @click="entryHandle">
<text class="order-amount--num">50.000</text> <view class="order-amount--wrapper">
<image class="entry-icon" src="@/static/image/home_report@3x.png" mode="aspectFit">
</image>
<text class="order-amount--num">提报线索</text>
</view>
</view> </view>
</view> <view class="order-amount" @click="entryHandle">
<view class="order-amount bill-amount"> <view class="order-amount--wrapper">
<view class="order-amount--wrapper"> <image class="entry-icon" src="@/static/image/home_marketclue@3x.png" mode="aspectFit">
<text class="order-amount--des">本年订单金额</text> </image>
<text class="order-amount--num">50.000</text> <text class="order-amount--num">市场线索</text>
</view>
</view>
<view class="order-amount" @click="entryHandle">
<view class="order-amount--wrapper">
<image class="entry-icon" src="@/static/image/home_breakmission@3x.png" mode="aspectFit">
</image>
<text class="order-amount--num">违约任务</text>
</view>
</view>
<view class="order-amount" @click="entryHandle">
<view class="order-amount--wrapper">
<image class="entry-icon" src="@/static/image/home_breakrule@3x.png" mode="aspectFit">
</image>
<text class="order-amount--num">违约处理</text>
</view>
</view> </view>
</view> </view>
</view> --> </view>
<!-- <view class="notice-block block"> <!-- <view class="notice-block block">
<image class="icon-notic" src="../../static/image/notice@3x.png" mode=""></image> <image class="icon-notic" src="../../static/image/notice@3x.png" mode=""></image>
<uni-notice-bar single="true" showGetMore="false" backgroundColor='#feebe6' color="#333" <uni-notice-bar single="true" showGetMore="false" backgroundColor='#feebe6' color="#333"
:text="noticeContent"> :text="noticeContent">
</uni-notice-bar> </uni-notice-bar>
</view> --> </view> -->
<view class="todo-box block"> <!-- <view class="todo-box block">
<text class="title">待办</text> <text class="title">待办</text>
<view class="cell-list"> <view class="cell-list">
<view class="cell-list-block" @click="goFundsConfirm"> <view class="cell-list-block" @click="goFundsConfirm">
<image class="icon-address" src="@/static/image/funds@3x.png" mode="aspectFit"></image> <image class="icon-address" src="@/static/image/funds@3x.png" mode="aspectFit"></image>
<view class="cell-list-block__content"> <view class="cell-list-block__content">
<text class="cell-list-block__title">打款500,000.00 ,请确认用途</text> <text class="cell-list-block__title">打款500,000.00 ,请确认用途</text>
<text class="cell-list-block__desc">3月27日 14:00</text> <text class="cell-list-block__desc">3月27日 14:00</text>
</view>
<image class="icon-arrow" src="@/static/image/arrow_r@3x.png" mode="aspectFit"></image>
</view> </view>
<view class="cell-list-block"> <image class="icon-arrow" src="@/static/image/arrow_r@3x.png" mode="aspectFit"></image>
<image class="icon-address" src="@/static/image/funds@3x.png" mode="aspectFit"></image> </view>
<view class="cell-list-block__content"> <view class="cell-list-block">
<text class="cell-list-block__title">打款500,000.00 ,请确认用途</text> <image class="icon-address" src="@/static/image/funds@3x.png" mode="aspectFit"></image>
<text class="cell-list-block__desc">3月27日 14:00</text> <view class="cell-list-block__content">
</view> <text class="cell-list-block__title">打款500,000.00 ,请确认用途</text>
<image class="icon-arrow" src="@/static/image/arrow_r@3x.png" mode="aspectFit"></image> <text class="cell-list-block__desc">3月27日 14:00</text>
</view> </view>
<image class="icon-arrow" src="@/static/image/arrow_r@3x.png" mode="aspectFit"></image>
</view> </view>
</view> </view>
</view> -->
<view class="charts-box block"> <view class="charts-box block">
<view class="title"> <view class="title">
<text class="title-text">订单执行情况</text> <text class="title-text">订单执行情况</text>
...@@ -255,6 +274,13 @@ ...@@ -255,6 +274,13 @@
}, },
change(e) { change(e) {
this.current = e.detail.current; this.current = e.detail.current;
},
entryHandle() {
uni.showToast({
title: '开发中...',
icon: 'none',
duration: 1500
});
} }
} }
} }
...@@ -375,30 +401,23 @@ ...@@ -375,30 +401,23 @@
.order-amount { .order-amount {
flex: 1; flex: 1;
background: url('~@/static/image/home_order_bg@3x.png') no-repeat;
background-size: 100% 100%;
height: 70px; height: 70px;
border-radius: 4px;
padding-top: 8px;
padding-left: 20px;
margin-right: 8px;
} }
.order-amount--wrapper { .order-amount--wrapper {
display: flex; display: flex;
flex-direction: column; flex-direction: column;
align-items: center;
} }
.order-amount--des { .entry-icon {
font-size: 14px; width: 58px;
color: #fff; height: 58px;
margin-bottom: 2px;
} }
.order-amount--num { .order-amount--num {
font-size: 20px; font-size: 12px;
color: #fff; color: #333;
font-weight: 500;
} }
.bill-amount { .bill-amount {
......
...@@ -207,6 +207,20 @@ ...@@ -207,6 +207,20 @@
}, },
...mapState(['sysinfo']) ...mapState(['sysinfo'])
}, },
onShow() {
uni.showToast({
title: '要货功能开发中...',
icon: 'none',
duration: 1200,
mask: true,
complete: () => {
uni.switchTab({
url: '/pages/usercenter/usercenter'
})
}
});
},
methods: { methods: {
selectClient() { selectClient() {
uni.navigateTo({ uni.navigateTo({
...@@ -252,8 +266,8 @@ ...@@ -252,8 +266,8 @@
background: #f0f4f5; background: #f0f4f5;
overflow-y: scroll; overflow-y: scroll;
} }
.scroll-area{ .scroll-area {
flex: 1; flex: 1;
} }
...@@ -353,4 +367,4 @@ ...@@ -353,4 +367,4 @@
.btn-text-l { .btn-text-l {
color: $wly-primary-color; color: $wly-primary-color;
} }
</style> </style>
...@@ -133,7 +133,7 @@ ...@@ -133,7 +133,7 @@
goPage(page) { goPage(page) {
if (page === 'my-purchase') { if (page === 'my-purchase') {
uni.showToast({ uni.showToast({
title: '开发中...', title: '要货功能开发中...',
icon: 'none', icon: 'none',
duration: 1500 duration: 1500
}); });
......
This diff is collapsed.
This diff is collapsed.
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