作者 lihongjuan

1

@@ -145,6 +145,13 @@ @@ -145,6 +145,13 @@
145 color: #3C444C; 145 color: #3C444C;
146 font-size: 28rpx; 146 font-size: 28rpx;
147 font-weight: bold; 147 font-weight: bold;
  148 +
  149 +}
  150 +.tailnamek{
  151 + height:40rpx;
  152 + overflow: hidden;
  153 + text-overflow:ellipsis;
  154 + white-space: nowrap;
148 } 155 }
149 156
150 .heziprice { 157 .heziprice {
@@ -157,7 +164,7 @@ @@ -157,7 +164,7 @@
157 } 164 }
158 165
159 .tailhezi { 166 .tailhezi {
160 - margin-top: 24rpx; 167 + margin-top:8rpx;
161 } 168 }
162 169
163 .send { 170 .send {
@@ -15,7 +15,7 @@ @@ -15,7 +15,7 @@
15 </view> 15 </view>
16 <view class="proselect flexthree" @click="selprovince"> 16 <view class="proselect flexthree" @click="selprovince">
17 <text class="proname">{{provincename}}</text> 17 <text class="proname">{{provincename}}</text>
18 - <image class="down-ico" src="../../static/xiala.png" /> 18 + <image class="down-ico" src="../../static/xiahuang.png" />
19 </view> 19 </view>
20 <!-- <picker @change="bindproChange" :value="index" :range="provincelist" range-key="name"> 20 <!-- <picker @change="bindproChange" :value="index" :range="provincelist" range-key="name">
21 21
@@ -24,6 +24,10 @@ @@ -24,6 +24,10 @@
24 </view> 24 </view>
25 <!-- nav --> 25 <!-- nav -->
26 <view class="nav-wrap nav-wrapk"> 26 <view class="nav-wrap nav-wrapk">
  27 + <view class="navigator" @click="zhaopin" :data-id="4">
  28 + <image src="../../static/zhonglogo.png"></image>
  29 + <text>视频专区</text>
  30 + </view>
27 <view class="navigator" @click="zhaopin" :data-id="1"> 31 <view class="navigator" @click="zhaopin" :data-id="1">
28 <image src="../../static/helppeople.png"></image> 32 <image src="../../static/helppeople.png"></image>
29 <text>帮工招聘求职</text> 33 <text>帮工招聘求职</text>
@@ -36,10 +40,7 @@ @@ -36,10 +40,7 @@
36 <image src="../../static/friend.png"></image> 40 <image src="../../static/friend.png"></image>
37 <text>征婚交友</text> 41 <text>征婚交友</text>
38 </view> 42 </view>
39 - <view class="navigator" @click="zhaopin" :data-id="4">  
40 - <image src="../../static/zhonglogo.png"></image>  
41 - <text>中面集团</text>  
42 - </view> 43 +
43 </view> 44 </view>
44 <!-- 最新发布 --> 45 <!-- 最新发布 -->
45 <view class="new-release-wrap"> 46 <view class="new-release-wrap">
@@ -88,14 +89,10 @@ @@ -88,14 +89,10 @@
88 </view> 89 </view>
89 </view> 90 </view>
90 </view> 91 </view>
91 -  
92 </view> 92 </view>
93 -  
94 -  
95 </view> 93 </view>
96 - </view>  
97 -  
98 - <!-- 发布 --> 94 + </view>ssss
  95 + <!-- 发布 -->sss
99 <view class="release-news" v-if="publish"> 96 <view class="release-news" v-if="publish">
100 <view class="release-content"> 97 <view class="release-content">
101 <view class="nav-wrap publishnav"> 98 <view class="nav-wrap publishnav">
@@ -455,6 +452,7 @@ @@ -455,6 +452,7 @@
455 padding: 0 10rpx; 452 padding: 0 10rpx;
456 box-sizing: border-box; 453 box-sizing: border-box;
457 margin-left: 16rpx; 454 margin-left: 16rpx;
  455 + background: #fff;
458 } 456 }
459 457
460 .proname { 458 .proname {
@@ -463,6 +461,7 @@ @@ -463,6 +461,7 @@
463 text-overflow: ellipsis; 461 text-overflow: ellipsis;
464 white-space: nowrap; 462 white-space: nowrap;
465 margin-right: 5rpx; 463 margin-right: 5rpx;
  464 + color:#FF9417
466 } 465 }
467 466
468 .down-ico { 467 .down-ico {
@@ -7,7 +7,7 @@ @@ -7,7 +7,7 @@
7 <!-- 面坊商品 --> 7 <!-- 面坊商品 -->
8 <view v-if="type==1"> 8 <view v-if="type==1">
9 <view class="tailbox boxsizing" v-if="goodtail.is_seckill==2||timestatus==3"> 9 <view class="tailbox boxsizing" v-if="goodtail.is_seckill==2||timestatus==3">
10 - <view class="tailname"> 10 + <view class="tailname tailnamek">
11 {{goodtail.name}} 11 {{goodtail.name}}
12 </view> 12 </view>
13 <view class="tailhezi flextwo"> 13 <view class="tailhezi flextwo">
@@ -24,7 +24,7 @@ @@ -24,7 +24,7 @@
24 </view> 24 </view>
25 25
26 <view class="tailbox boxsizing" v-else> 26 <view class="tailbox boxsizing" v-else>
27 - <view class="tailname"> 27 + <view class="tailname tailnamek">
28 <text class='miaobox'>限时秒杀</text> 28 <text class='miaobox'>限时秒杀</text>
29 {{goodtail.name}} 29 {{goodtail.name}}
30 </view> 30 </view>
@@ -61,7 +61,7 @@ @@ -61,7 +61,7 @@
61 61
62 <!-- 积分商品 --> 62 <!-- 积分商品 -->
63 <view class="tailbox boxsizing" v-else-if="type==2"> 63 <view class="tailbox boxsizing" v-else-if="type==2">
64 - <view class="tailname"> 64 + <view class="tailname tailnamek">
65 {{goodtail.name}} 65 {{goodtail.name}}
66 </view> 66 </view>
67 <view class="tailhezi flextwo"> 67 <view class="tailhezi flextwo">
@@ -77,7 +77,7 @@ @@ -77,7 +77,7 @@
77 </view> 77 </view>
78 <!-- 店铺商品 --> 78 <!-- 店铺商品 -->
79 <view class="tailbox boxsizing" v-else-if="type==3"> 79 <view class="tailbox boxsizing" v-else-if="type==3">
80 - <view class="tailname"> 80 + <view class="tailname tailnamek">
81 {{goodtail.name}} 81 {{goodtail.name}}
82 </view> 82 </view>
83 <view class="tailhezi flextwo"> 83 <view class="tailhezi flextwo">
@@ -93,15 +93,16 @@ @@ -93,15 +93,16 @@
93 </view> 93 </view>
94 94
95 <view class="send" v-if="type==1"> 95 <view class="send" v-if="type==1">
96 - 运费{{mianpostage.postage}} 店铺满{{mianpostage.free_postage}}包邮 96 + 运费{{mianpostage.postage}} <text style='margin-left:20rpx;'>店铺满{{mianpostage.free_postage}}包邮</text>
97 <!-- 包邮 店铺满100元包邮 --> 97 <!-- 包邮 店铺满100元包邮 -->
98 </view> 98 </view>
  99 +
99 <view class="send" v-if="type==2"> 100 <view class="send" v-if="type==2">
100 - 运费{{jifenpostpage.postage}} 店铺满{{mianpostage.free_postage}}包邮 101 + 运费{{jifenpostpage.postage}} <text style='margin-left:20rpx;'>店铺满{{mianpostage.free_postage}}包邮</text>
101 <!-- 包邮 店铺满100元包邮 --> 102 <!-- 包邮 店铺满100元包邮 -->
102 </view> 103 </view>
103 <view class="send" v-if="type==3"> 104 <view class="send" v-if="type==3">
104 - 运费{{shoppostage.postage}} 店铺满{{mianpostage.free_postage}}包邮 105 + 运费{{shoppostage.postage}} <text style='margin-left:20rpx;'>店铺满{{mianpostage.free_postage}}包邮</text>
105 <!-- 包邮 店铺满100元包邮 --> 106 <!-- 包邮 店铺满100元包邮 -->
106 </view> 107 </view>
107 <view class="tapnav flextwo"> 108 <view class="tapnav flextwo">
@@ -852,9 +853,10 @@ @@ -852,9 +853,10 @@
852 icon: 'none' 853 icon: 'none'
853 }) 854 })
854 setTimeout(function() { 855 setTimeout(function() {
855 - uni.navigateTo({  
856 - url: '/pages/nearshop/cartlist'  
857 - }) 856 + that.shuwrap=false;
  857 + // uni.navigateTo({
  858 + // url: '/pages/nearshop/cartlist'
  859 + // })
858 }, 1500) 860 }, 1500)
859 861
860 862
@@ -893,7 +895,7 @@ @@ -893,7 +895,7 @@
893 // }, 895 // },
894 buynowk() { 896 buynowk() {
895 let that = this; 897 let that = this;
896 - uni.setStorageSync("addressitem", ""); 898 + // uni.setStorageSync("addressitem", "");
897 uni.setStorageSync("couponitem", "") 899 uni.setStorageSync("couponitem", "")
898 var url = 'order/confirm_order'; 900 var url = 'order/confirm_order';
899 let obj = {} 901 let obj = {}
@@ -139,10 +139,12 @@ @@ -139,10 +139,12 @@
139 <view class="tapprice">价格</view> 139 <view class="tapprice">价格</view>
140 <view class="tapbox flexfour"> 140 <view class="tapbox flexfour">
141 <view class="tapboxtop"> 141 <view class="tapboxtop">
142 - <image src="../../static/toprow.png" mode=""></image> 142 + <image src="../../static/shangsan.png" mode="" v-if="order==3"></image>
  143 + <image src="../../static/toprow.png" mode="" v-else></image>
143 </view> 144 </view>
144 <view class="tapboxtop"> 145 <view class="tapboxtop">
145 - <image src="../../static/xiarow.png" mode=""></image> 146 + <image src="../../static/xiasan.png" mode="" v-if="order==4"></image>
  147 + <image src="../../static/xiarow.png" mode="" v-else></image>
146 </view> 148 </view>
147 </view> 149 </view>
148 </view> 150 </view>
@@ -240,18 +242,18 @@ @@ -240,18 +242,18 @@
240 // 排序 242 // 排序
241 orderrange(e) { 243 orderrange(e) {
242 this.order = e.currentTarget.dataset.id; 244 this.order = e.currentTarget.dataset.id;
243 - this.shoplist = [], 245 + this.goodlist = [],
244 this.page = 1; 246 this.page = 1;
245 this.getgoodlist(); 247 this.getgoodlist();
246 }, 248 },
247 selprice() { 249 selprice() {
248 this.price = !this.price; 250 this.price = !this.price;
249 if (this.price == true) { 251 if (this.price == true) {
250 - this.order = 4; 252 + this.order = 3;
251 } else { 253 } else {
252 - this.order = 5; 254 + this.order = 4;
253 } 255 }
254 - this.shoplist = [], 256 + this.goodlist = [],
255 this.page = 1; 257 this.page = 1;
256 this.getgoodlist(); 258 this.getgoodlist();
257 }, 259 },
1 <template> 1 <template>
2 <view class="page"> 2 <view class="page">
3 - <view class="searchbox"> 3 + <!-- <view class="searchbox">
4 <view class="flexone"> 4 <view class="flexone">
5 <text class="tipsword">开始日期</text> 5 <text class="tipsword">开始日期</text>
6 <picker mode="date" :value="date" :start="startDate" :end="endDate" @change="bindDateChange"> 6 <picker mode="date" :value="date" :start="startDate" :end="endDate" @change="bindDateChange">
@@ -15,7 +15,7 @@ @@ -15,7 +15,7 @@
15 </view> 15 </view>
16 16
17 <view class="searchbtn" @click="search">搜索</view> 17 <view class="searchbtn" @click="search">搜索</view>
18 - </view> 18 + </view> -->
19 19
20 <view class="nodata" v-if="publishlist.length==0">暂无数据</view> 20 <view class="nodata" v-if="publishlist.length==0">暂无数据</view>
21 <view class="box" v-else> 21 <view class="box" v-else>
@@ -29,10 +29,11 @@ @@ -29,10 +29,11 @@
29 <image src="../../static/del.png" mode="widthFix" class="del" @click.stop="del(item)"></image> 29 <image src="../../static/del.png" mode="widthFix" class="del" @click.stop="del(item)"></image>
30 </view> 30 </view>
31 <view class="wordarea"> 31 <view class="wordarea">
  32 +
32 {{item.content}} 33 {{item.content}}
33 </view> 34 </view>
34 <view class="numbox"> 35 <view class="numbox">
35 - <view class="time">{{item.createtime}}</view> 36 + <view class="time">{{item.creatssssetime}}</view>
36 <view class="btnbox"> 37 <view class="btnbox">
37 <view class="zan"> 38 <view class="zan">
38 <image src="../../static/zan.png" mode="widthFix" class="icon"></image>{{item.praise}} 39 <image src="../../static/zan.png" mode="widthFix" class="icon"></image>{{item.praise}}
@@ -131,22 +132,22 @@ @@ -131,22 +132,22 @@
131 getpublish() { 132 getpublish() {
132 let that = this; 133 let that = this;
133 // 将时间转换成时间戳 134 // 将时间转换成时间戳
134 - if(that.CompareDate(that.date,that.dateone)==true){  
135 - uni.showToast({  
136 - title:'结束日期要大于开始日期',  
137 - icon:"none"  
138 - }) 135 + // if(that.CompareDate(that.date,that.dateone)==true){
  136 + // uni.showToast({
  137 + // title:'结束日期要大于开始日期',
  138 + // icon:"none"
  139 + // })
139 140
140 - return false  
141 - } 141 + // return false
  142 + // }
142 143
143 var url = 'forum/get_my_forum'; 144 var url = 'forum/get_my_forum';
144 var params = { 145 var params = {
145 - starttime: that.date,  
146 - endtime: that.dateone, 146 + starttime:'',
  147 + endtime: '',
147 user_id: uni.getStorageSync("user_id"), 148 user_id: uni.getStorageSync("user_id"),
148 - page: that.page,  
149 - pageNum: 10 149 + page: '',
  150 + pageNum: ''
150 } 151 }
151 console.log('7766554', params) 152 console.log('7766554', params)
152 app.post(url, params).then((res) => { 153 app.post(url, params).then((res) => {
@@ -285,6 +286,7 @@ @@ -285,6 +286,7 @@
285 background: #fff; 286 background: #fff;
286 padding: 0 32rpx; 287 padding: 0 32rpx;
287 box-sizing: border-box; 288 box-sizing: border-box;
  289 + margin-top:20rpx;
288 } 290 }
289 291
290 .item { 292 .item {
@@ -340,7 +342,7 @@ @@ -340,7 +342,7 @@
340 -webkit-box-orient: vertical; 342 -webkit-box-orient: vertical;
341 -webkit-line-clamp: 3; 343 -webkit-line-clamp: 3;
342 overflow: hidden; 344 overflow: hidden;
343 - height: 120rpx; 345 + height: auto;
344 } 346 }
345 347
346 .numbox { 348 .numbox {