赞
踩
- isHide(){
-
- console.log(this.data.deadline);
-
- var value=new Date() -new Date(this.data.deadline)
- console.log(value)
- if(value>0){
- this.setData({
- isHide:1
- })
- }else{
- this.setData({
- isHide:0
- })
- }
-
- <view class="{{isHide===0?'hide':''}}">
- <view class="price_table">
- <view class="tr bg-w">
- <view class="th">编号</view>
- <view class="th">公司名称</view>
- <view class="th">报价</view>
- <view class="th ">联系方式</view>
- </view>
- .hide{
- display: none;
- }
赞
踩
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。