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

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

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