소스 검색

订单管理模块

storeBelieveInLight 1 년 전
부모
커밋
2ff8fafe31

+ 6 - 0
pages.json

@@ -185,6 +185,12 @@
185 185
                     "style" : {
186 186
                         "navigationStyle" : "custom"
187 187
                     }
188
+                },
189
+                {
190
+                	"path" : "commodity/sendoutgoods",//发货
191
+                	"style" : {
192
+                		 "navigationStyle" : "custom"
193
+                	}
188 194
                 }
189 195
             ]
190 196
         },

+ 2 - 2
pages/my/index.vue

@@ -87,7 +87,7 @@
87 87
 			
88 88
 			
89 89
 			console.log('我的show===>>>>>>')
90
-				
90
+			
91 91
 			
92 92
 			this.authorization = uni.getStorageSync('authorization')
93 93
 			let userinfo = uni.getStorageSync('userinfo')
@@ -327,7 +327,7 @@
327 327
 			background: #1F7CFF;
328 328
 			border-radius: 8rpx;
329 329
 			position: fixed;
330
-			bottom: 26rpx;
330
+			bottom: 150rpx;
331 331
 			font-size: 36rpx;
332 332
 			font-weight: 400;
333 333
 			color: #FFFFFF;

+ 97 - 0
pages/ordermanagement/components/quickPickUp/quickPickUp.vue

@@ -0,0 +1,97 @@
1
+<template>
2
+	<!-- .设置了自提模式的商户展示该模块,没有自提模式的不展示; -->
3
+	<view class="quick-pick-up-wrapper">
4
+	   <view class="quick-pick-up-wrapper__text">快速提货</view>
5
+	   <view class="quick-pick-up-wrapper__input">
6
+		 <!-- 输入框 -->
7
+		    <input 
8
+		      class="input-box"
9
+		      type="text"
10
+		      placeholder="请输入提货码"
11
+		      v-model="pickupCode"
12
+		    />
13
+		 <!-- 查询按钮 -->
14
+		    <button 
15
+			type="primary"
16
+		      class="query-btn"
17
+		      @click="handleQuery"
18
+		    >查询</button>
19
+	   </view>
20
+	</view>
21
+</template>
22
+
23
+<script>
24
+	export default {
25
+		data() {
26
+			return {
27
+				pickupCode:""
28
+				
29
+			};
30
+		},
31
+		methods:{
32
+			handleQuery(){
33
+				if (!this.pickupCode){
34
+					uni.showToast({
35
+					  title: '请输入提货码',
36
+					  icon: 'none'
37
+					})
38
+					return
39
+				}
40
+			  console.log(this.pickupCode)
41
+			}
42
+			
43
+		}
44
+	}
45
+</script>
46
+
47
+<style lang="scss">
48
+.quick-pick-up-wrapper{
49
+	width: 100%;
50
+	min-height: 222rpx;
51
+	background: #FFFFFF;
52
+	 border-radius: 16rpx;
53
+	  display: flex;
54
+	  flex-direction: column;
55
+	&__text{
56
+	  font-size: 36rpx;
57
+	  font-weight: bold;
58
+	  color: #333;
59
+	  margin: 32rpx 0rpx 26rpx 26rpx;
60
+	  user-select: none;
61
+	}
62
+	&__input{
63
+		display: flex;
64
+		flex-direction: row;
65
+		width: calc(100% - 0rpx);
66
+		height: 74rpx;
67
+		border-radius: 6rpx;
68
+		padding: 0 26rpx;
69
+		box-sizing: border-box;
70
+		.input-box {
71
+		  width: 85%;
72
+		  border-radius: 12rpx;
73
+		  padding: 0 20rpx;
74
+		  font-size: 32rpx;
75
+		  height: 74rpx;
76
+		  background: #F5F5F5;
77
+		  border-radius: 6rpx;
78
+		  box-sizing: border-box;
79
+		}
80
+	.query-btn {
81
+		user-select: none;
82
+		display: flex;
83
+		align-items: center;
84
+		justify-content: center;
85
+	  width: 150rpx;
86
+	  height: 74rpx;
87
+	background: #1F7CFF;
88
+	  border-radius: 6rpx;
89
+	  font-family: PingFangSC, PingFang SC;
90
+	  font-weight: 400;
91
+	  font-size: 28rpx;
92
+	  color: #FFFFFF;
93
+	}
94
+		
95
+	}
96
+}
97
+</style>

+ 60 - 11
pages/ordermanagement/index.vue

@@ -32,11 +32,17 @@
32 32
 			</view>
33 33
 		</view>
34 34
 		<view class="ordermanagement-ding">
35
-			<view class="ordermanagement-ding-text">
36
-				我的订单
35
+			<view class="view-wrapper">
36
+				<view class="ordermanagement-ding-text">
37
+					我的订单
38
+				</view>
39
+				<view class="view-all" @click="jiru('all',0)">
40
+					<text>查看全部</text>
41
+					<image src="/static/images/new_ui/arrow-right.png" class="icon-img"></image>
42
+				</view>
37 43
 			</view>
38 44
 			<view class="ordermanagement-ding-nei">
39
-				<view class="ordermanagement-yisdf" v-for="(item,index) in dingdan" :key="index" @click="jiru(item.status,index)">
45
+				<view class="ordermanagement-yisdf" v-for="(item,index) in dingdan" :key="index" @click="jiru(item.status,index+1)">
40 46
 					<view class="ordermanagement-img">
41 47
 						<image :src="item.img" mode="widthFix"></image>
42 48
 						<view class="ordermanagement-img-biao" v-if="item.num==0?false:true">
@@ -49,6 +55,9 @@
49 55
 				</view>
50 56
 			</view>
51 57
 		</view>
58
+		
59
+		<quickPickUpVue class="custom_pick-up"></quickPickUpVue>
60
+		
52 61
 		<!-- 		<view class="ordermanagement-dingsss">
53 62
 			<view class="ordermanagement-ding-text">
54 63
 				售后管理
@@ -71,7 +80,9 @@
71 80
 	import {
72 81
 		getOrderStstusAmount
73 82
 	} from '@/commit/order.js'
83
+	import quickPickUpVue from './components/quickPickUp/quickPickUp.vue';
74 84
 	export default {
85
+		components:{quickPickUpVue},
75 86
 		data() {
76 87
 			return {
77 88
 				num: [], //正向订单状态数
@@ -79,23 +90,28 @@
79 90
 				dingdan: [{
80 91
 						img: 'https://cdn.bjtdba.com/vod/image/2022-08-12/20220812154736170.png',
81 92
 						name: '待付款',
93
+						status:1
82 94
 					},
83 95
 					{
84 96
 						img: 'https://cdn.bjtdba.com/vod/image/2022-08-12/20220812154723185.png',
85 97
 						name: '待发货',
98
+						status:2
86 99
 					},
87 100
 					{
88 101
 						img: 'https://cdn.bjtdba.com/vod/image/2022-08-12/20220812154804269.png',
89 102
 						name: '待收货',
103
+						status:3
90 104
 					},
91 105
 					{
92 106
 						img: 'https://cdn.bjtdba.com/vod/image/2022-08-12/20220812154750259.png',
93 107
 						name: '待评价',
108
+						status:4
94 109
 					}
95 110
 					// ,
96 111
 					// {
97 112
 					// 	img: 'https://cdn.bjtdba.com/vod/image/2022-08-12/20220812154847886.png',
98
-					// 	name: '已退款'
113
+					// 	name: '已退款',
114
+					//status:6
99 115
 					// }
100 116
 				],
101 117
 				dingdansss: [{
@@ -181,7 +197,11 @@
181 197
 				let authorization = uni.getStorageSync('authorization')
182 198
 				let userinfo = uni.getStorageSync('userinfo')
183 199
 				let selectmerchant = uni.getStorageSync('selectmerchant')
184
-				let uid = userinfo.uid
200
+				let uid = userinfo.uid
201
+				uni.redirectTo({
202
+					url: "../../shop/commodity/order?status="+e + "&index="+ i
203
+				})
204
+				return
185 205
 				if (authorization && uid) {
186 206
 					if (selectmerchant.merId >= 0 && selectmerchant.status == -1) {
187 207
 						uni.redirectTo({
@@ -260,8 +280,9 @@
260 280
 			.ordermanagement-list {
261 281
 				position: absolute;
262 282
 				top: 298rpx;
263
-				width: 686rpx;
264
-				height: 150rpx;
283
+				width: calc(100% - 54rpx);
284
+				min-height: 150rpx;
285
+				margin: 0 26rpx;
265 286
 				background: #FFFFFF;
266 287
 				border-radius: 16rpx;
267 288
 				display: flex;
@@ -291,14 +312,37 @@
291 312
 		}
292 313
 
293 314
 		.ordermanagement-ding {
294
-			width: 686rpx;
295
-			height: 216rpx;
296
-			margin: 156rpx 0 32rpx 0;
315
+			width: calc(100% - 54rpx);
316
+			min-height: 216rpx;
317
+			margin: 156rpx 26rpx 32rpx 26rpx;
297 318
 			display: flex;
298 319
 			flex-direction: column;
299 320
 			justify-content: space-between;
300 321
 			align-items: flex-start;
301
-
322
+            .view-wrapper{
323
+				display: flex;
324
+				justify-content: space-between;
325
+				align-items: center;
326
+				width:100%;
327
+				
328
+			}
329
+			.view-all{
330
+				display: flex;
331
+				justify-content:center;
332
+				align-items: center;
333
+				font-family: PingFangSC, PingFang SC;
334
+				font-weight: 400;
335
+				font-size: 24rpx;
336
+				>text:first-child{
337
+					padding-right: 8rpx;
338
+					color: #999999;
339
+				}
340
+				.icon-img{
341
+					width: 26rpx;
342
+					height: 26rpx;
343
+					
344
+				}
345
+			}
302 346
 			.ordermanagement-ding-text {
303 347
 				font-size: 30rpx;
304 348
 				font-weight: 600;
@@ -399,5 +443,10 @@
399 443
 				}
400 444
 			}
401 445
 		}
446
+	
447
+	    .custom_pick-up{
448
+			width: calc(100% - 54rpx);
449
+			margin:0 26rpx;
450
+		}
402 451
 	}
403 452
 </style>

+ 116 - 0
shop/commodity/components/fillLogisticsInfo.vue

@@ -0,0 +1,116 @@
1
+<template>
2
+	<view class="logistics-information">
3
+		 <view class="logistics-information__text">填写物流信息</view>
4
+		 <view class="logistics-information__form">
5
+		 	<view class="form_item">
6
+				<view class="form_item--left">
7
+					物流单号
8
+				</view>
9
+				<view class="form_item--right">
10
+					<view class="upop">
11
+						<input type="text" class="title upop_input" placeholder="请手动输入或扫描二维码"/>
12
+						<image src="/static/images/new_ui/qcode.png" mode="" class="image-box" @click="handleQrcode"></image>
13
+					</view>
14
+				</view>
15
+			</view>
16
+		 	<view class="form_item">
17
+			<view class="form_item--left">
18
+				物流公司
19
+			</view>
20
+			<view class="form_item--right">
21
+				<view class="upop">
22
+					<view class="title xcv">请选择物流公司</view>
23
+					<image src="/static/images/new_ui/arrow-right.png" mode=""></image>
24
+				</view>
25
+			</view>
26
+			</view>
27
+		 </view>
28
+	</view>
29
+</template>
30
+
31
+<script>
32
+	export default {
33
+		data() {
34
+			return {
35
+				
36
+			}
37
+		},
38
+		methods: {
39
+			handleQrcode(){
40
+				console.log("")
41
+			}
42
+		}
43
+	}
44
+</script>
45
+
46
+<style lang="scss" scoped>
47
+.logistics-information{
48
+	background: #FFFFFF;
49
+	 border-radius: 16rpx;
50
+    padding: 26rpx 21rpx 10rpx 32rpx;
51
+	  display: flex;
52
+	  flex-direction: column;
53
+	  &__text{
54
+        font-weight: 500;
55
+        font-size: 30rpx;
56
+        color: #333333;
57
+	    margin-bottom:10rpx ;
58
+	    user-select: none;
59
+	  }
60
+	  &__form{
61
+		  .form_item{
62
+			  display: flex;
63
+			  align-items: center;
64
+			  justify-content: space-between;
65
+			  height: 100rpx;
66
+			  border-bottom: 2rpx solid  #E5E5E5;
67
+			  &--left{
68
+				  width: 120rpx;
69
+				  font-family: PingFangSC, PingFang SC;
70
+				  font-weight: 400;
71
+				  font-size: 30rpx;
72
+				  color: #333333;
73
+				  line-height: 30rpx;
74
+			  }
75
+			  &--right{
76
+				  flex: 1;
77
+				  padding-left: 50rpx;
78
+				  padding-right: 12rpx;
79
+				  text-align: right;
80
+				  .title{
81
+				  	font-family: PingFangSC, PingFang SC;
82
+				  	 font-weight: 400;
83
+				  	 font-size: 28rpx;
84
+				  	color: #999999;
85
+				  }
86
+				  .upop{
87
+					  display: flex;
88
+					  width:100%;
89
+					  align-items: center;
90
+					  justify-content: flex-end;
91
+					  image{
92
+					  	 width: 30rpx;
93
+					  	height:30rpx;
94
+						margin-left:5rpx;
95
+					  }
96
+					  .image-box{
97
+						  width: 40rpx;
98
+						  height:38rpx;
99
+					  }
100
+				  }
101
+.upop_input{
102
+	padding: 15rpx 10rpx;
103
+	flex: 1;
104
+}
105
+.xcv{
106
+	flex: 1;
107
+}
108
+				  
109
+			  }
110
+			  &:last-child{
111
+				  border-bottom:none;
112
+			  }
113
+		  }
114
+	  }
115
+}
116
+</style>

+ 141 - 0
shop/commodity/components/orderDetailSendCard.vue

@@ -0,0 +1,141 @@
1
+<template>
2
+	<view class="detail-send-order">
3
+		<view class="detail-send-order-top">
4
+			<view class="detail-send-order-top-left">
5
+				订单编号:425676547654
6
+			</view>
7
+		</view>
8
+	<view class="detail-send-order-product">
9
+	 <view class="detail-send-order-product__wrapper">
10
+	 	<view class="detail-send-order-content" v-for="(items,indexs) in orderProduct" :key="indexs">
11
+	 		<view class="detail-send-order-content-left">
12
+	 			<view class="detail-send-order-content-left-img">
13
+					<image v-if="items.image" :src="items.image" mode="widthFix"></image>
14
+					<text  v-else>暂无照片</text>
15
+	 			</view>
16
+	 		</view>
17
+			<view class="detail-send-order-content-middle">
18
+				<view class="detail-send-order-content-middle-top" >
19
+					三个苹果 纯天然浓缩果蔬汁清汁苹果
20
+				</view>
21
+			<!-- 	<view class="detail-send-order-content-middle-top-bot" v-if="items.cart_info">
22
+					{{items.cart_info.product.sku}}
23
+				</view> -->
24
+			</view>
25
+	 		<view class="detail-send-order-content-right">
26
+	 			<view class="detail-send-order-yi-in-neibu-right-im">
27
+	 				¥1855555
28
+	 			</view>
29
+	 			<view class="detail-send-order-yi-in-neibu-right-in">
30
+	 				共10件
31
+	 			</view>
32
+	 		</view>
33
+	 	</view>
34
+	 	
35
+	 
36
+	 </view>
37
+	</view>
38
+	</view>
39
+</template>
40
+
41
+<script>
42
+	export default {
43
+		data() {
44
+			return {
45
+				orderProduct:[{
46
+					image:"https://cdn.bjtdba.com/chuxubao/images/2025-02-10/8198d202502101042344757.png"
47
+				}]
48
+				
49
+			};
50
+		}
51
+	}
52
+</script>
53
+
54
+<style lang="scss" scoped>
55
+.detail-send-order{
56
+	// width: 100%;
57
+	min-height: 267rpx;
58
+	background: #FFFFFF;
59
+	border-radius: 16rpx;
60
+	padding: 0 26rpx 20rpx;
61
+	.detail-send-order-top{
62
+		width: 100%;
63
+		padding: 32rpx 0 32rpx 0;
64
+		display: flex;
65
+		color: #333333;
66
+		justify-content: space-between;
67
+		align-items: center;
68
+		font-size: 26rpx;
69
+		.detail-send-order-top-left {
70
+			font-weight: 500;
71
+			color: #333333;
72
+		}
73
+	}
74
+.detail-send-order-product{
75
+	width: calc(100% - 54rpx);
76
+	margin:0 26rpx;
77
+	&__wrapper{
78
+		
79
+		display: flex;
80
+		flex-direction: column;
81
+		justify-content: space-between;
82
+		align-items: flex-end;
83
+		.detail-send-order-content{
84
+			width:100%;
85
+			display: flex;
86
+			align-items: center;
87
+			padding: 10rpx 0 15rpx 0;
88
+			gap:20rpx;
89
+			.detail-send-order-content-left{
90
+				height: 100%;
91
+				display: flex;
92
+				align-items: flex-start;
93
+				justify-content: space-between;
94
+				&-img{
95
+					width: 158rpx;
96
+					height: 158rpx;
97
+					background-color: #eee;
98
+					overflow: hidden;
99
+					border-radius: 10rpx;
100
+					flex-shrink: 0;
101
+					image {
102
+						width: 100%;
103
+						height: auto;
104
+					}
105
+				}
106
+			}
107
+}
108
+     }
109
+	 .detail-send-order-content-middle{
110
+		 height: 100%;
111
+		 &-top{
112
+		 	width: 100%;
113
+		 	font-weight: 400;
114
+		 	color: #333333;
115
+		 	font-size: 28rpx;
116
+		 	display: -webkit-box;
117
+		 	-webkit-box-orient: vertical;
118
+		 	-webkit-line-clamp: 2;
119
+		 	overflow: hidden;
120
+		 	justify-content: space-between;
121
+		 }
122
+	 }
123
+  
124
+  .detail-send-order-content-right{
125
+	  .detail-send-order-yi-in-neibu-right-im{
126
+		  font-weight: 500;
127
+		  font-size: 28rpx;
128
+		  color: #333333;
129
+	  }
130
+	  .detail-send-order-yi-in-neibu-right-in{
131
+		  font-weight: 400;
132
+		  font-size: 24rpx;
133
+		  color: #666666;
134
+		  text-align: center;
135
+		  padding-top:5rpx;                                                               
136
+	  }
137
+  }
138
+   }
139
+
140
+}
141
+</style>

+ 419 - 0
shop/commodity/components/orderList/orderListCard.vue

@@ -0,0 +1,419 @@
1
+<template>
2
+	<view class="order-list-card-wrapper" :class="[itemProduct.status==0?downP:incrseP]">
3
+		<view class="order-list-yi-top">
4
+			<view class="order-list-yi-top-left">
5
+				订单编号:{{itemProduct.order_sn}}
6
+			</view>
7
+			<view class="order-list-yi-top-right">
8
+			{{formatStatusValue(itemProduct.status)}}
9
+			</view>
10
+		</view>
11
+		<view class="order-list-address">
12
+			 <view class="order-list-address__container">
13
+				 <view class="order-list-address__remdk">
14
+				 		 <image src="https://cdn.bjtdba.com/vod/image/2022-08-13/20220813164638215.png"
15
+				 		 	mode="widthFix"></image>
16
+							<view class="order-list-address__content">
17
+								{{item.user_address || "暂无地址信息"}}
18
+							</view>
19
+				 </view>
20
+				 <view class="order-list-address__xadasrfe" >
21
+				 		<template v-if="item.real_name && item.user_phone">
22
+							<view class="">
23
+								{{item.real_name }}
24
+							</view>
25
+								 <text class="user_phone" >
26
+								 	{{item.user_phone.substr(0, 3) + '****' + item.user_phone.substr(7)}}
27
+								 </text>
28
+						</template>
29
+						<template v-else>
30
+							<view class="">
31
+								{{item.real_name || "暂无用户名" }}
32
+							</view>
33
+								 <text class="user_phone"v-if="item.user_phone" >
34
+								 	{{item.user_phone.substr(0, 3) + '****' + item.user_phone.substr(7)}}
35
+								 </text>
36
+								 <text class="user_phone"v-else >
37
+								 	暂无用户手机号码
38
+								 </text>
39
+						</template>
40
+				 </view>
41
+			 </view>
42
+		</view>
43
+		<view class="order-list-product">
44
+		 <view class="order-list-product__wrapper">
45
+		 	<view class="order-list-content" v-for="(items,indexs) in itemProduct.orderProduct" :key="indexs">
46
+		 		<view class="order-list-content-left">
47
+		 			<view class="order-list-content-left-img">
48
+						<template v-if="items.cart_info">
49
+							<image v-if="items.cart_info.product.image" :src="items.cart_info.product.image" mode="widthFix"></image>
50
+				      	<text  v-else>暂无照片</text>
51
+						</template>
52
+						<template v-else>
53
+							<text>暂无照片</text>
54
+						</template>
55
+		 				
56
+		 			</view>
57
+		 		</view>
58
+				<view class="order-list-content-middle">
59
+					<view class="order-list-content-middle-top" v-if="items.cart_info">
60
+						{{items.cart_info.product.store_name}}
61
+					</view>
62
+					<view class="order-list-content-middle-top-bot" v-if="items.cart_info">
63
+						{{items.cart_info.product.sku}}
64
+					</view>
65
+				</view>
66
+		 		<view class="order-list-content-right">
67
+		 			<view class="order-list-yi-in-neibu-right-im">
68
+		 				¥{{items.product_price}}
69
+		 			</view>
70
+		 			<view class="order-list-yi-in-neibu-right-in">
71
+		 				共10件
72
+		 			</view>
73
+		 		</view>
74
+		 	</view>
75
+		 	
76
+		 
77
+		 </view>
78
+		</view>
79
+	   <view class="order-list-btn">
80
+		<view v-if="itemProduct.status=='0'" class="btn-list" @click="handleSendOutGoods">
81
+	    	立即发货
82
+	    </view>
83
+		<!-- <view  class="btn-list" @click="handleSendOutGoods">
84
+			已送达
85
+		</view>
86
+		<view  class="btn-list" @click="handleSendOutGoods">
87
+			查看物流
88
+		</view> -->
89
+		</view>
90
+	</view>
91
+</template>
92
+
93
+<script>
94
+	export default {
95
+		props:{
96
+			item:{
97
+				type:Object,
98
+				default:()=>{}
99
+			}
100
+		},
101
+		
102
+		data() {
103
+			return {
104
+				incrseP: 'order-list-yi',
105
+				downP: 'order-list-yissss',//待发货
106
+				itemProduct:{}
107
+			};
108
+		},
109
+		mounted() {
110
+			this.itemProduct  =this.item
111
+		},
112
+		watch:{
113
+			item:{
114
+				handler(value){
115
+					this.$set(this,"itemProduct",value)
116
+				},
117
+				deep:true
118
+			}
119
+		},
120
+		methods:{
121
+			handleSendOutGoods(){
122
+				this.$emit("handleSendOutGoods",this.item)
123
+			},
124
+			getDataFormatValue(data,type){
125
+				console.log(this.item,"item======item")
126
+			},
127
+			formatStatusValue(status){
128
+				let obj = {
129
+					"6":'已取消',
130
+					"0":'待发货',
131
+					"1":'待收货',
132
+					"2":'待评价',
133
+					"3":'已完成',
134
+					"4":'已申请退款',
135
+					"-1":'已退款',
136
+					"5":'待付款',
137
+				}
138
+				return obj[status] || "--"
139
+			}
140
+		}
141
+	}
142
+</script>
143
+
144
+<style lang="scss" scoped>
145
+.order-list-card-wrapper{
146
+	width: 100%;
147
+	min-height: 450rpx;
148
+	background: #FFFFFF;
149
+	border-radius: 16rpx;
150
+	// border:2rpx solid #f00;
151
+	.order-list-yi-top {
152
+		width: 100%;
153
+		padding: 32rpx 0 32rpx 0;
154
+		border-bottom: 1rpx solid #E5E5E5;
155
+		display: flex;
156
+		justify-content: space-between;
157
+		align-items: center;
158
+		font-size: 26rpx;
159
+		.order-list-yi-top-left {
160
+			font-weight: 500;
161
+			color: #333333;
162
+			margin-left: 26rpx;
163
+		}
164
+		.order-list-yi-top-right {
165
+			font-weight: 400;
166
+			color: #1F7CFF;
167
+			margin-right: 26rpx;
168
+		}
169
+		}
170
+	&.order-list-yi{
171
+		margin-bottom: 20rpx;
172
+		display: flex;
173
+		flex-direction: column;
174
+		justify-content: flex-start;
175
+		align-items: center;
176
+		
177
+	}
178
+	.order-list-address{
179
+		width: calc(100% - 54rpx);
180
+		margin: 26rpx;
181
+		display: flex;
182
+		align-items: center;
183
+		justify-content: center;
184
+		background: #F8F8F8;
185
+		border-radius: 16rpx;
186
+		&__container{
187
+			width: 100%;
188
+			padding:20rpx 20rpx 9rpx 16rpx;
189
+			.order-list-address__remdk{
190
+				display: flex;
191
+				image {
192
+				width: 38rpx;
193
+				height: 38rpx;
194
+				flex-shrink: 0;
195
+				margin-right: 10rpx;
196
+				}
197
+				.order-list-address__content{
198
+					width: 100%;
199
+					font-size: 26rpx;
200
+					font-weight: 400;
201
+					color: #333333;
202
+					display: -webkit-box;
203
+					-webkit-box-orient: vertical;
204
+					-webkit-line-clamp: 2;
205
+					overflow: hidden;
206
+				}
207
+			}
208
+			.order-list-address__xadasrfe{
209
+				width:100%;
210
+				padding:10rpx ;
211
+				font-size: 28rpx;
212
+				font-weight: 400;
213
+				color: #999999;
214
+				display: flex;
215
+				align-items: center;
216
+				word-break: break-all;
217
+				box-sizing: border-box;
218
+				min-height:28rpx;
219
+				gap:32rpx;
220
+				.user_phone{
221
+					padding-top:6rpx;
222
+				}
223
+			}
224
+		}
225
+
226
+	}
227
+.order-list-product{
228
+	// border: 2rpx solid #F00;
229
+	width: calc(100% - 54rpx);
230
+	margin:0 26rpx;
231
+	&__wrapper{
232
+		
233
+		display: flex;
234
+		flex-direction: column;
235
+		justify-content: space-between;
236
+		align-items: flex-end;
237
+		.order-list-content{
238
+			width:100%;
239
+			display: flex;
240
+			align-items: center;
241
+			padding: 10rpx 0 15rpx 0;
242
+			gap:20rpx;
243
+			.order-list-content-left{
244
+				height: 100%;
245
+				display: flex;
246
+				align-items: flex-start;
247
+				justify-content: space-between;
248
+				&-img{
249
+					width: 158rpx;
250
+					height: 158rpx;
251
+					background-color: #eee;
252
+					overflow: hidden;
253
+					border-radius: 10rpx;
254
+					flex-shrink: 0;
255
+					image {
256
+						width: 100%;
257
+						height: auto;
258
+					}
259
+				}
260
+			}
261
+		}
262
+	.order-list-content-middle{
263
+		height: 100%;
264
+		width: calc(100% - 158rpx - 23.6%);
265
+		
266
+		&-top{
267
+			// width:100%;
268
+			
269
+			font-family: PingFangSC, PingFang SC;
270
+			font-weight: 400;
271
+			font-size: 28rpx;
272
+			color: #333333;
273
+			text-align: left;
274
+			overflow: hidden;
275
+            white-space: nowrap;
276
+			text-overflow: ellipsis;
277
+			line-height: 28rpx;
278
+			padding-bottom: 10rpx;
279
+		}
280
+		&-top-bot{
281
+			font-family: PingFangSC, PingFang SC;
282
+			font-weight: 400;
283
+			font-size: 22rpx;
284
+			color: #666666;
285
+			text-align: left;
286
+		}
287
+	}
288
+	.order-list-content-right{
289
+		height: 73rpx;
290
+		flex-shrink: 0;
291
+		font-size: 28rpx;
292
+		font-weight: 500;
293
+		color: #333333;
294
+		display: flex;
295
+		flex-direction: column;
296
+		justify-content: space-between;
297
+		align-items: flex-end;
298
+	}
299
+	}
300
+	.osjdhujfhueihfg {
301
+		// width: 634rpx;
302
+		// height: 272rpx;
303
+	
304
+		display: flex;
305
+		flex-direction: column;
306
+		justify-content: space-between;
307
+		align-items: flex-end;
308
+	
309
+	
310
+		.order-list-yi-in-neibu {
311
+			width: 634rpx;
312
+			// height: 158rpx;
313
+			// background-color: #1F7CFF;
314
+			display: flex;
315
+			justify-content: space-between;
316
+			align-items: flex-start;
317
+			padding: 10rpx 0 10rpx 0;
318
+	
319
+			.order-list-yi-in-neibu-left {
320
+				width: 474rpx;
321
+				height: 100%;
322
+				display: flex;
323
+				align-items: flex-start;
324
+				justify-content: space-between;
325
+	
326
+				.order-list-yi-in-neibu-left-img {
327
+					width: 158rpx;
328
+					height: 158rpx;
329
+					// background-color: #1F7CFF;
330
+					overflow: hidden;
331
+	
332
+					image {
333
+						width: 100%;
334
+						height: auto;
335
+					}
336
+				}
337
+	
338
+				.order-list-yi-in-neibu-left-url {
339
+					width: 290rpx;
340
+					height: 70rpx;
341
+					display: flex;
342
+					flex-direction: column;
343
+					justify-content: space-between;
344
+	
345
+					.order-list-yi-in-neibu-left-url-top {
346
+						width: 100%;
347
+						font-weight: 400;
348
+						color: #333333;
349
+						font-size: 28rpx;
350
+						display: inline-block;
351
+						overflow: hidden;
352
+						text-overflow: ellipsis;
353
+						white-space: nowrap;
354
+					}
355
+	
356
+					.order-list-yi-in-neibu-left-url-top-bot {
357
+						width: 100%;
358
+						font-size: 24rpx;
359
+						font-weight: 400;
360
+						color: #666666;
361
+						display: inline-block;
362
+						overflow: hidden;
363
+						text-overflow: ellipsis;
364
+						white-space: nowrap;
365
+					}
366
+				}
367
+			}
368
+	
369
+			.order-list-yi-in-neibu-right {
370
+				height: 73rpx;
371
+				font-size: 28rpx;
372
+				font-weight: 500;
373
+				color: #333333;
374
+				display: flex;
375
+				flex-direction: column;
376
+				justify-content: space-between;
377
+				align-items: flex-end;
378
+	
379
+				.order-list-yi-in-neibu-right-im {
380
+					font-size: 28rpx;
381
+					font-weight: 500;
382
+					color: #333333;
383
+				}
384
+	
385
+				.order-list-yi-in-neibu-right-in {
386
+					font-size: 24rpx;
387
+					font-weight: 400;
388
+					color: #666666;
389
+				}
390
+			}
391
+		}
392
+	}
393
+}
394
+
395
+.order-list-btn{
396
+	display: flex;
397
+	align-items: center;
398
+	justify-content: flex-end;
399
+	padding: 10rpx 26rpx 26rpx;
400
+	gap:10rpx;
401
+	.btn-list{
402
+		display: flex;
403
+		align-items: center;
404
+		justify-content: center;
405
+		width: 142rpx;
406
+		border-radius: 40rpx;
407
+		border: 1rpx solid #999999;
408
+		font-size: 24rpx;
409
+		font-weight: 400;
410
+		color: #333333;
411
+		text-align: center;
412
+		padding: 15rpx 10rpx;
413
+		// 
414
+	}
415
+}
416
+
417
+
418
+}
419
+</style>

+ 88 - 0
shop/commodity/components/search/search.vue

@@ -0,0 +1,88 @@
1
+<template>
2
+	<view class="search-wrapper">
3
+		      <view class=" flex-row justify-end">
4
+		        <image
5
+		          class="search__image"
6
+		          referrerpolicy="no-referrer"
7
+		          src="/static/images/new_ui/search_icon_blod.png"
8
+		        />
9
+				<input class="search__input" v-model="searchValue" type="text" placeholder="请输入订单号/收货人/联系方式/提货码" />
10
+		        <button class="search__btn" @click="haandleSearch">
11
+		          搜索
12
+		        </button>
13
+		      </view>
14
+	</view>
15
+</template>
16
+
17
+<script>
18
+	export default {
19
+		data() {
20
+			return {
21
+				searchValue:""
22
+			};
23
+		},
24
+		methods:{
25
+			haandleSearch(){
26
+				this.$emit("search",this.searchValue)
27
+			}
28
+		}
29
+	}
30
+</script>
31
+
32
+<style lang="scss">
33
+.search-wrapper{
34
+	background: #FFFFFF;
35
+	height: 110rpx;
36
+	display: flex;
37
+	align-items: center;
38
+	width: 100%;
39
+	
40
+	.search__image{
41
+		position: absolute;
42
+		  width: 32rpx;
43
+		  height: 32rpx;
44
+		  left:40rpx;
45
+		  top:28rpx;
46
+	}
47
+	.search__input{
48
+		border:2rpx solid #000;
49
+		flex:1;
50
+		height: 80rpx;
51
+		margin-left:26rpx;
52
+		padding: 0 120rpx 0 55rpx;
53
+		border-radius: 40rpx 0 0 40rpx;
54
+		margin-right: 20rpx;
55
+		border: none;
56
+			background: #F8F8F8;
57
+			font-size: 26rpx;
58
+			color: #333333;
59
+	}
60
+	.flex-row{
61
+		display: flex;
62
+		flex-direction: row;
63
+		align-items: center;
64
+		
65
+	}
66
+	.justify-end{
67
+		position: relative;
68
+		border-radius: 30rpx;
69
+		    flex: 1;
70
+		
71
+		
72
+	}
73
+	.search__btn{
74
+		position: absolute;
75
+		right:20rpx;
76
+		width: 108rpx;
77
+		 background-color: rgba(31, 124, 255, 1);
78
+		  border-radius: 30px;
79
+		   overflow-wrap: break-word;
80
+		   text-align: center;
81
+		    font-size: 28rpx;
82
+			 line-height: 40px;
83
+			 color: rgba(255, 255, 255, 1);
84
+			 
85
+	}
86
+	     
87
+}
88
+</style>

+ 95 - 0
shop/commodity/components/shipmentGoodsCard.vue

@@ -0,0 +1,95 @@
1
+<template>
2
+	
3
+	<view class="card-wrapper">
4
+	   <view class="card-wrapper__text">发货商品</view>
5
+	   <view class="card-wrapper__address">
6
+		   北京市通州区经开壹中心14号楼9层北京市通州区经开壹中心14号楼9层
7
+	   </view>
8
+	   <view class="card-wrapper__user">
9
+		   <view class="card-wrapper__user--info">
10
+		   	<view class="">
11
+		   		郭郭备份
12
+		   	</view>
13
+		   		 <text class="user_phone" >
14
+		   		 	{{user_phone.substr(0, 3) + '****' + user_phone.substr(7)}}
15
+		   		 </text>
16
+		   </view>
17
+		   <view class="card-wrapper__user--btn">
18
+		    <image src="/static/images/new_ui/look.png" ></image>
19
+			</view>
20
+	   </view>
21
+	</view>
22
+</template>
23
+
24
+<script>
25
+	export default {
26
+		data() {
27
+			return {
28
+				showDetailInfo:false,
29
+				user_phone:"18533332222"
30
+			};
31
+		},
32
+		methods:{
33
+			
34
+			changeDetailInfo(){
35
+				this.showDetailInfo = !this.showDetailInfo
36
+			}
37
+			
38
+		}
39
+	}
40
+</script>
41
+
42
+<style lang="scss">
43
+.card-wrapper{
44
+
45
+	background: #FFFFFF;
46
+	 border-radius: 16rpx;
47
+	 padding: 26rpx 21rpx 10rpx 32rpx;
48
+	  display: flex;
49
+	  flex-direction: column;
50
+	&__text{
51
+	  font-size: 36rpx;
52
+	  font-weight: bold;
53
+	  color: #333;
54
+	  margin: 0 0 26rpx;
55
+	}
56
+ &__address{
57
+	font-weight: 400;
58
+	font-size: 26rpx;
59
+	color: #333333;
60
+	line-height: 37rpx;
61
+	text-align: left;
62
+ }
63
+		
64
+	.card-wrapper__user{
65
+		display: flex;
66
+		justify-content: space-around;
67
+		align-items: center;
68
+		&--info{
69
+			width:100%;
70
+			padding:10rpx 10rpx 10rpx 0 ;
71
+			font-size: 28rpx;
72
+			font-weight: 400;
73
+			color: #999999;
74
+			display: flex;
75
+			align-items: center;
76
+			word-break: break-all;
77
+			box-sizing: border-box;
78
+			min-height:28rpx;
79
+			gap:32rpx;
80
+			flex:1;
81
+			.user_phone{
82
+				padding-top:6rpx;
83
+			}
84
+		}
85
+		&--btn{
86
+			width:45rpx;
87
+			flex-shrink: 0;
88
+			image{
89
+				width:41rpx;
90
+				height: 27rpx;
91
+			}
92
+		}
93
+	}
94
+}
95
+</style>

파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다.
+ 3143 - 0
shop/commodity/mockData.js


+ 133 - 479
shop/commodity/order.vue

@@ -9,85 +9,32 @@
9 9
 					</view>
10 10
 				</view>
11 11
 				<view class="order-header-text-title">
12
-					我的订单
12
+					订单列表
13 13
 				</view>
14 14
 			</view>
15 15
 		</view>
16
-		<view class="order-nbeirong">
17
-			<view class="order-nbeirong-yi" v-for="(item,index) in num" :key="index" @click="ysne(index,item.status)"
18
-				:style="index==indexs?'font-weight: 500;color: #1F7CFF;':'font-weight: 400;color: #333333;'">
19
-				{{item.name}}
20
-				<view class="order-nbeirong-yi-xiabiapo" v-if="index==indexs?true:false">
21
-
22
-				</view>
16
+		<view class="order-list-filter-wrapper">
17
+			<view class="order-search_customs">
18
+				<searchVue @search="search"></searchVue>
23 19
 			</view>
24
-		</view>
25
-		<view class="order-list">
26
-			<view :class="item.status=='待发货'?downP:incrseP" v-for="(item,index) in list" :key="index"
27
-				@click="details(item.order_id)">
28
-				<view class="order-list-yi-top">
29
-					<view class="order-list-yi-top-left">
30
-						订单编号:{{item.order_id}}
31
-					</view>
32
-					<view class="order-list-yi-top-right">
33
-						{{item.status}}
34
-					</view>
35
-				</view>
36
-				<view class="order-list-yi-in">
37
-					<view class="osjdhujfhueihfg">
38
-						<view class="order-list-yi-in-neibu" v-for="(items,indexs) in item.procductList" :key="indexs">
39
-							<view class="order-list-yi-in-neibu-left">
40
-								<view class="order-list-yi-in-neibu-left-img">
41
-									<image :src="items.image" mode="widthFix"></image>
42
-								</view>
43
-								<view class="order-list-yi-in-neibu-left-url">
44
-									<view class="order-list-yi-in-neibu-left-url-top">
45
-										{{items.store_name}}
46
-									</view>
47
-									<view class="order-list-yi-in-neibu-left-url-top-bot">
48
-										{{items.sku}}
49
-									</view>
50
-								</view>
51
-							</view>
52
-							<view class="order-list-yi-in-neibu-right">
53
-								<view class="order-list-yi-in-neibu-right-im">
54
-									¥{{items.pay_price}}
55
-								</view>
56
-								<view class="order-list-yi-in-neibu-right-in">
57
-									共{{items.cart_num}}件
58
-								</view>
59
-							</view>
60
-						</view>
61
-						
62
-						<view class="" v-if="item.status=='待发货'?true:false"
63
-							style="width: 142rpx;height: 58rpx;border-radius: 30rpx;border: 1rpx solid #999999;font-size: 24rpx;font-weight: 400;color: #333333;text-align: center;line-height: 58rpx;">
64
-							立即发货
65
-						</view>
66
-					</view>
67
-				</view>
68
-				<view class="order-list-yi-bot">
69
-					<view class="order-list-yi-bot-xiangxi">
70
-						<view class="order-list-yi-bot-xiangxier">
71
-							<image src="https://cdn.bjtdba.com/vod/image/2022-08-13/20220813164638215.png"
72
-								mode="widthFix"></image>
73
-						</view>
74
-						<view class="order-list-yi-bot-xadasrfe">
75
-							<view class="order-list-yi-bot-xadasrfe-top">
76
-								{{item.user_address}}
77
-							</view>
78
-							<view class="order-list-yi-bot-xadasrfe-bot">
79
-								<view class="">
80
-									{{item.real_name}}
81
-								</view>
82
-								<view class="" style="margin-left: 32rpx;">
83
-									{{item.user_phone.substr(0, 3) + '****' + item.user_phone.substr(7)}}
84
-								</view>
85
-							</view>
86
-						</view>
87
-					</view>
88
-				</view>
20
+			<view class="order-nbeirong_customs">
21
+				<tabsVue :category="num" :curruntActive="indexs" @tabs="tabsHandleClick"/>
89 22
 			</view>
90
-			<view class="" v-if="tihsi==0" style="margin: 60rpx 0 30rpx 0; color: #999999; font-size: 26rpx;">
23
+		</view>
24
+		
25
+		 <view class="order-list">
26
+			
27
+			<template v-if="listMock.length>0">
28
+				<template v-for="(item,index) in listMock">
29
+					 <orderListCardVue class="order-list__card" @handleSendOutGoods="handleSendOutGoods" :item="item" :key="index+'index'"/>
30
+				</template>
31
+			</template>
32
+			<template v-else>
33
+				<emptyDataVue/>
34
+			</template>
35
+			 </view>
36
+			
37
+			<view class="" v-if="tihsi==0&&listMock.length>0" style="margin: 60rpx 0 30rpx 0; color: #999999; font-size: 26rpx;">
91 38
 				—— 已经到最底部了哦 ——
92 39
 			</view>
93 40
 		</view>
@@ -98,9 +45,16 @@
98 45
 	import {
99 46
 		orderList
100 47
 	} from '@/commit/order.js'
48
+	import emptyDataVue from '../components/emptyData/emptyData.vue'
49
+	import tabsVue from '../components/tabs/tabs/tabs.vue'
50
+	import orderListCardVue from './components/orderList/orderListCard.vue'
51
+	import searchVue from './components/search/search.vue'
52
+	import {listData} from "./mockData.js"
101 53
 	export default {
54
+		components:{emptyDataVue,tabsVue,orderListCardVue,searchVue},
102 55
 		data() {
103 56
 			return {
57
+				listMock:[],
104 58
 				page: 1,
105 59
 				limit: 10,
106 60
 				tihsi: '',
@@ -114,33 +68,82 @@
114 68
 				downP: 'order-list-yissss',
115 69
 				list: [],
116 70
 				num: [{
71
+						name: "全部",
72
+						status: null,
73
+						totalNum:0,
74
+						show:true
75
+					},{
117 76
 						name: "待付款",
118
-						status: 5
77
+						status: 1,
78
+						totalNum:0,
79
+						show:true
119 80
 					},
120 81
 					{
121 82
 						name: "待发货",
122
-						status: 0
83
+						status: 2,
84
+						totalNum:0,
85
+						show:true
123 86
 					},
124 87
 					{
125 88
 						name: "待收货",
126
-						status: 1
89
+						status: 3,
90
+						totalNum:0,
91
+						show:true
92
+					},
93
+					{
94
+						name: "待评价",//售后中
95
+						status: 4,
96
+						totalNum:0,
97
+						show:true
98
+					},
99
+					{
100
+						name: "已完成",
101
+						status: 5,
102
+						totalNum:0,
103
+						show:true
127 104
 					},
128 105
 					{
129
-						name: "待评价",
130
-						status: 2
106
+						name: "已退款",
107
+						status: 6,
108
+						totalNum:0,
109
+						show:true
131 110
 					},
132
-					// {
133
-					// 	name: "已完成"
134
-					// }
111
+					{
112
+						name: "已删除",
113
+						status: 7,
114
+						totalNum:0,
115
+						show:true
116
+					}
135 117
 				]
118
+				// num: [{
119
+				// 		name: "待付款",
120
+				// 		status: 5
121
+				// 	},
122
+				// 	{
123
+				// 		name: "待发货",
124
+				// 		status: 0
125
+				// 	},
126
+				// 	{
127
+				// 		name: "待收货",
128
+				// 		status: 1
129
+				// 	},
130
+				// 	{
131
+				// 		name: "待评价",
132
+				// 		status: 2
133
+				// 	},
134
+				// 	// {
135
+				// 	// 	name: "已完成"
136
+				// 	// }
137
+				// ]
136 138
 			}
137 139
 		},
138 140
 		onLoad(e) {
139 141
 			let selectmerchant = uni.getStorageSync('selectmerchant')
140 142
 			this.mer_id = selectmerchant.merId
141 143
 			this.status = e.status //进入状态
142
-			this.indexs = e.index
143
-			this.orderList()
144
+			this.indexs = e.index==null?0:Number(e.index)
145
+			this.listMock = listData || []
146
+			// this.orderList()
144 147
 		},
145 148
 		onPullDownRefresh() {
146 149
 			uni.showLoading({
@@ -149,7 +152,7 @@
149 152
 			this.page = 1
150 153
 			this.is_panudn = true
151 154
 			this.list = []
152
-			this.orderList();
155
+			// this.orderList();
153 156
 		},
154 157
 		onReachBottom() {
155 158
 			if (this.is_panudn == true) {
@@ -160,6 +163,15 @@
160 163
 			}
161 164
 		},
162 165
 		methods: {
166
+			search(val){
167
+				console.log(val,"搜索")
168
+			},
169
+			handleSendOutGoods(v){
170
+				console.log("發貨",v)
171
+				uni.redirectTo({
172
+					url: './sendoutgoods?order_id=' + v.order_id + "&status=" + v.status + "&indexs=" + this.indexs
173
+				});
174
+			},
163 175
 			// 正向订单列表
164 176
 			orderList() {
165 177
 				uni.showLoading({
@@ -199,12 +211,19 @@
199 211
 					url: './details?order_id=' + e + "&status=" + this.status + "&indexs=" + this.indexs
200 212
 				});
201 213
 			},
202
-			ysne(e, i) {
203
-				this.status = i
204
-				this.indexs = e
214
+			tabsHandleClick({index,item}){
215
+				this.ysne(index,item.status)
216
+				
217
+			},
218
+			ysne(index, status) {
219
+				this.status = status
220
+				this.indexs = index
205 221
 				this.page = 1
206 222
 				this.is_panudn = true
207
-				this.orderList()
223
+				
224
+				console.log(index,this.indexs,"---tabsHandleClick")
225
+				console.log(status,this.status ,"---tabsHandleClickitem")
226
+				// this.orderList()
208 227
 			},
209 228
 			topgi() {
210 229
 				uni.switchTab({
@@ -237,7 +256,8 @@
237 256
 			height: 176rpx;
238 257
 			background: #FFFFFF;
239 258
 			display: flex;
240
-			justify-content: center;
259
+			// justify-content: center;
260
+			padding-left:20rpx;
241 261
 
242 262
 			.order-header-text {
243 263
 				width: 686rpx;
@@ -266,7 +286,7 @@
266 286
 				}
267 287
 			}
268 288
 		}
269
-
289
+        
270 290
 		.order-nbeirong {
271 291
 			width: 686rpx;
272 292
 			height: 30rpx;
@@ -274,402 +294,36 @@
274 294
 			display: flex;
275 295
 			justify-content: space-around;
276 296
 			align-items: center;
277
-
278
-			.order-nbeirong-yi {
279
-				font-size: 30rpx;
280
-				position: relative;
281
-				display: flex;
282
-				justify-content: center;
283
-
284
-				.order-nbeirong-yi-xiabiapo {
285
-					position: absolute;
286
-					top: 45rpx;
287
-					width: 50rpx;
288
-					height: 6rpx;
289
-					background: #1F7CFF;
290
-					border-radius: 3rpx;
291
-				}
297
+		}
298
+		.order-list-filter-wrapper{
299
+			margin: 176rpx 0rpx 0rpx;
300
+			width: 100%;
301
+			position: fixed;
302
+			top:0rpx;
303
+			z-index:99;
304
+			.order-nbeirong_customs{
305
+				width: 100%;
306
+				min-height: 30rpx;
307
+				
308
+				margin: 0rpx 0 26rpx 0;
292 309
 			}
310
+			.order-search_customs{
311
+			width: 100%;
312
+			min-height: 30rpx;
313
+			
314
+				}
315
+			
293 316
 		}
294
-
295 317
 		.order-list {
296 318
 			width: 100%;
297 319
 			height: 100%;
298 320
 			display: flex;
299 321
 			flex-direction: column;
300 322
 			align-items: center;
301
-
302
-			.order-list-yi {
303
-				width: 686rpx;
304
-				// height: 472rpx;
305
-				background: #FFFFFF;
306
-				border-radius: 16rpx;
307
-				margin-bottom: 20rpx;
308
-				display: flex;
309
-				flex-direction: column;
310
-				justify-content: space-between;
311
-				align-items: center;
312
-
313
-				.order-list-yi-top {
314
-					width: 100%;
315
-					// height: 90rpx;
316
-					padding: 32rpx 0 32rpx 0;
317
-					border-bottom: 1rpx solid #E5E5E5;
318
-					display: flex;
319
-					justify-content: space-between;
320
-					align-items: center;
321
-					font-size: 26rpx;
322
-
323
-					.order-list-yi-top-left {
324
-						font-weight: 500;
325
-						color: #333333;
326
-						margin-left: 26rpx;
327
-					}
328
-
329
-					.order-list-yi-top-right {
330
-						font-weight: 400;
331
-						color: #1F7CFF;
332
-						margin-right: 26rpx;
333
-					}
334
-				}
335
-
336
-				.order-list-yi-in {
337
-					width: 100%;
338
-					// height: 210rpx;
339
-					padding: 26rpx 0 26rpx 0;
340
-					border-bottom: 1rpx solid #E5E5E5;
341
-					display: flex;
342
-					align-items: center;
343
-					justify-content: center;
344
-
345
-					.order-list-yi-in-neibu {
346
-						width: 634rpx;
347
-						height: 158rpx;
348
-						display: flex;
349
-						margin: 10rpx 0 10rpx 0;
350
-						justify-content: space-between;
351
-						align-items: flex-start;
352
-
353
-						.order-list-yi-in-neibu-left {
354
-							width: 474rpx;
355
-							height: 100%;
356
-							display: flex;
357
-							align-items: flex-start;
358
-							justify-content: space-between;
359
-
360
-							.order-list-yi-in-neibu-left-img {
361
-								width: 158rpx;
362
-								height: 158rpx;
363
-								overflow: hidden;
364
-
365
-								image {
366
-									width: 100%;
367
-									height: 100%;
368
-								}
369
-							}
370
-
371
-							.order-list-yi-in-neibu-left-url {
372
-								width: 290rpx;
373
-								height: 70rpx;
374
-								display: flex;
375
-								flex-direction: column;
376
-								justify-content: space-between;
377
-
378
-								.order-list-yi-in-neibu-left-url-top {
379
-									width: 100%;
380
-									font-weight: 400;
381
-									color: #333333;
382
-									font-size: 28rpx;
383
-									display: inline-block;
384
-									overflow: hidden;
385
-									text-overflow: ellipsis;
386
-									white-space: nowrap;
387
-								}
388
-
389
-								.order-list-yi-in-neibu-left-url-top-bot {
390
-									width: 100%;
391
-									font-size: 24rpx;
392
-									font-weight: 400;
393
-									color: #666666;
394
-									display: inline-block;
395
-									overflow: hidden;
396
-									text-overflow: ellipsis;
397
-									white-space: nowrap;
398
-								}
399
-							}
400
-						}
401
-
402
-						.order-list-yi-in-neibu-right {
403
-							height: 73rpx;
404
-							font-size: 28rpx;
405
-							font-weight: 500;
406
-							color: #333333;
407
-							display: flex;
408
-							flex-direction: column;
409
-							justify-content: space-between;
410
-							align-items: flex-end;
411
-
412
-							.order-list-yi-in-neibu-right-im {
413
-								font-size: 28rpx;
414
-								font-weight: 500;
415
-								color: #333333;
416
-							}
417
-
418
-							.order-list-yi-in-neibu-right-in {
419
-								font-size: 24rpx;
420
-								font-weight: 400;
421
-								color: #666666;
422
-							}
423
-						}
424
-					}
425
-				}
426
-
427
-				.order-list-yi-bot {
428
-					width: 100%;
429
-					// height: 170rpx;
430
-					padding: 26rpx 0 32rpx 0;
431
-					display: flex;
432
-					align-items: center;
433
-					justify-content: center;
434
-
435
-					.order-list-yi-bot-xiangxi {
436
-						width: 634rpx;
437
-						height: 112rpx;
438
-						display: flex;
439
-						align-items: flex-start;
440
-
441
-						.order-list-yi-bot-xiangxier {
442
-							width: 38rpx;
443
-							height: 38rpx;
444
-
445
-							image {
446
-								width: 100%;
447
-								height: 100%;
448
-							}
449
-						}
450
-
451
-						.order-list-yi-bot-xadasrfe {
452
-							width: 544rpx;
453
-							height: 100%;
454
-							margin-left: 16rpx;
455
-							display: flex;
456
-							flex-direction: column;
457
-							justify-content: space-between;
458
-							align-items: flex-start;
459
-
460
-							.order-list-yi-bot-xadasrfe-top {
461
-								width: 100%;
462
-								font-size: 26rpx;
463
-								font-weight: 400;
464
-								color: #333333;
465
-								display: -webkit-box;
466
-								-webkit-box-orient: vertical;
467
-								-webkit-line-clamp: 2;
468
-								overflow: hidden;
469
-							}
470
-
471
-							.order-list-yi-bot-xadasrfe-bot {
472
-								font-size: 28rpx;
473
-								font-weight: 400;
474
-								color: #999999;
475
-								display: flex;
476
-							}
477
-						}
478
-					}
479
-				}
480
-			}
481
-
482
-			.order-list-yissss {
483
-				width: 686rpx;
484
-				// height: 556rpx;
485
-				background: #FFFFFF;
486
-				border-radius: 16rpx;
487
-				margin-bottom: 20rpx;
488
-				display: flex;
489
-				flex-direction: column;
490
-				justify-content: space-between;
491
-				align-items: center;
492
-
493
-				.order-list-yi-top {
494
-					width: 100%;
495
-					// height: 90rpx;
496
-					padding: 32rpx 0 32rpx 0;
497
-					border-bottom: 1rpx solid #E5E5E5;
498
-					display: flex;
499
-					justify-content: space-between;
500
-					align-items: center;
501
-					font-size: 26rpx;
502
-
503
-					.order-list-yi-top-left {
504
-						font-weight: 500;
505
-						color: #333333;
506
-						margin-left: 26rpx;
507
-					}
508
-
509
-					.order-list-yi-top-right {
510
-						font-weight: 400;
511
-						color: #1F7CFF;
512
-						margin-right: 26rpx;
513
-					}
514
-				}
515
-
516
-				.order-list-yi-in {
517
-					width: 100%;
518
-					// height: 294rpx;
519
-					border-bottom: 1rpx solid #E5E5E5;
520
-					display: flex;
521
-					align-items: center;
522
-					justify-content: center;
523
-					padding: 26rpx 0 26rpx 0;
524
-
525
-					.osjdhujfhueihfg {
526
-						width: 634rpx;
527
-						// height: 272rpx;
528
-
529
-						display: flex;
530
-						flex-direction: column;
531
-						justify-content: space-between;
532
-						align-items: flex-end;
533
-
534
-
535
-						.order-list-yi-in-neibu {
536
-							width: 634rpx;
537
-							height: 158rpx;
538
-							// background-color: #1F7CFF;
539
-							display: flex;
540
-							justify-content: space-between;
541
-							align-items: flex-start;
542
-							padding: 10rpx 0 10rpx 0;
543
-
544
-							.order-list-yi-in-neibu-left {
545
-								width: 474rpx;
546
-								height: 100%;
547
-								display: flex;
548
-								align-items: flex-start;
549
-								justify-content: space-between;
550
-
551
-								.order-list-yi-in-neibu-left-img {
552
-									width: 158rpx;
553
-									height: 158rpx;
554
-									// background-color: #1F7CFF;
555
-									overflow: hidden;
556
-
557
-									image {
558
-										width: 100%;
559
-										height: auto;
560
-									}
561
-								}
562
-
563
-								.order-list-yi-in-neibu-left-url {
564
-									width: 290rpx;
565
-									height: 70rpx;
566
-									display: flex;
567
-									flex-direction: column;
568
-									justify-content: space-between;
569
-
570
-									.order-list-yi-in-neibu-left-url-top {
571
-										width: 100%;
572
-										font-weight: 400;
573
-										color: #333333;
574
-										font-size: 28rpx;
575
-										display: inline-block;
576
-										overflow: hidden;
577
-										text-overflow: ellipsis;
578
-										white-space: nowrap;
579
-									}
580
-
581
-									.order-list-yi-in-neibu-left-url-top-bot {
582
-										width: 100%;
583
-										font-size: 24rpx;
584
-										font-weight: 400;
585
-										color: #666666;
586
-										display: inline-block;
587
-										overflow: hidden;
588
-										text-overflow: ellipsis;
589
-										white-space: nowrap;
590
-									}
591
-								}
592
-							}
593
-
594
-							.order-list-yi-in-neibu-right {
595
-								height: 73rpx;
596
-								font-size: 28rpx;
597
-								font-weight: 500;
598
-								color: #333333;
599
-								display: flex;
600
-								flex-direction: column;
601
-								justify-content: space-between;
602
-								align-items: flex-end;
603
-
604
-								.order-list-yi-in-neibu-right-im {
605
-									font-size: 28rpx;
606
-									font-weight: 500;
607
-									color: #333333;
608
-								}
609
-
610
-								.order-list-yi-in-neibu-right-in {
611
-									font-size: 24rpx;
612
-									font-weight: 400;
613
-									color: #666666;
614
-								}
615
-							}
616
-						}
617
-					}
618
-
619
-				}
620
-
621
-				.order-list-yi-bot {
622
-					width: 100%;
623
-					height: 170rpx;
624
-					display: flex;
625
-					align-items: center;
626
-					justify-content: center;
627
-
628
-					.order-list-yi-bot-xiangxi {
629
-						width: 634rpx;
630
-						height: 112rpx;
631
-						display: flex;
632
-						align-items: flex-start;
633
-
634
-						.order-list-yi-bot-xiangxier {
635
-							width: 38rpx;
636
-							height: 38rpx;
637
-
638
-							image {
639
-								width: 100%;
640
-								height: 100%;
641
-							}
642
-						}
643
-
644
-						.order-list-yi-bot-xadasrfe {
645
-							width: 544rpx;
646
-							height: 100%;
647
-							margin-left: 16rpx;
648
-							display: flex;
649
-							flex-direction: column;
650
-							justify-content: space-between;
651
-							align-items: flex-start;
652
-
653
-							.order-list-yi-bot-xadasrfe-top {
654
-								width: 100%;
655
-								font-size: 26rpx;
656
-								font-weight: 400;
657
-								color: #333333;
658
-								display: -webkit-box;
659
-								-webkit-box-orient: vertical;
660
-								-webkit-line-clamp: 2;
661
-								overflow: hidden;
662
-							}
663
-
664
-							.order-list-yi-bot-xadasrfe-bot {
665
-								font-size: 28rpx;
666
-								font-weight: 400;
667
-								color: #999999;
668
-								display: flex;
669
-							}
670
-						}
671
-					}
672
-				}
323
+			margin-top: 415rpx;
324
+            .order-list__card{
325
+				width: calc(100% - 40rpx);
326
+				margin:0 20rpx 26rpx;
673 327
 			}
674 328
 		}
675 329
 	}

+ 134 - 0
shop/commodity/sendoutgoods.vue

@@ -0,0 +1,134 @@
1
+<template>
2
+	<view class="order-send-out-goods">
3
+		<view class="order-send-out-goods-header">
4
+			<view class="order-send-out-goods-header-text">
5
+				<view class="order-send-out-goods-header-text-neishi" @click="topgi">
6
+					<view class="order-send-out-goods-header-text-neishi-icon">
7
+						<image src="https://cdn.bjtdba.com/vod/image/2022-08-11/20220811133828415.png" mode="widthFix">
8
+						</image>
9
+					</view>
10
+				</view>
11
+				<view class="order-send-out-goods-header-text-title">
12
+					发货
13
+				</view>
14
+			</view>
15
+		</view>
16
+		<view class="order-send-out-goods__content">
17
+			<shipmentGoodsCardVue />
18
+			<orderDetailSendCardVue class="custom_class"/>
19
+			<fillLogisticsInfoVue class="custom_class"/>
20
+			<view class="btn-box">
21
+			  <button type="primary" class="send-goods">发货</button>
22
+			</view>
23
+		</view>
24
+	</view>
25
+</template>
26
+
27
+<script>
28
+	import shipmentGoodsCardVue from './components/shipmentGoodsCard.vue'
29
+	import orderDetailSendCardVue from './components/orderDetailSendCard.vue'
30
+	import fillLogisticsInfoVue from './components/fillLogisticsInfo.vue'
31
+	export default {
32
+		components:{shipmentGoodsCardVue,orderDetailSendCardVue,fillLogisticsInfoVue},
33
+		data() {
34
+			return {
35
+				indexs: '',
36
+				status: '',
37
+				order_id: '', //订单ID
38
+			}
39
+		},
40
+		onLoad(e) {
41
+			this.order_id = e.order_id
42
+			this.indexs = e.indexs
43
+			this.status = e.status
44
+		},
45
+		methods: {
46
+			topgi(){
47
+               uni.redirectTo({
48
+					url: './order?status=' + this.status + '&index=' + this.indexs
49
+					// url: './order'
50
+				});
51
+			}
52
+		}
53
+	}
54
+</script>
55
+<style>
56
+	page {
57
+		background-color: #F7F8FC;
58
+	}
59
+</style>
60
+<style scoped lang="scss">
61
+	.order-send-out-goods{
62
+		width: 100%;
63
+		height: 100%;
64
+		display: flex;
65
+		flex-direction: column;
66
+		align-items: center;
67
+		// 头部 start 
68
+		&-header {
69
+			position: fixed;
70
+			top: 0;
71
+			left: 0;
72
+			z-index: 111;
73
+			width: 100%;
74
+			height: 176rpx;
75
+			background: #FFFFFF;
76
+			display: flex;
77
+			// justify-content: center;
78
+			padding-left:20rpx;
79
+		
80
+			&-text {
81
+				width: 686rpx;
82
+				font-size: 36rpx;
83
+				font-weight: 500;
84
+				color: #333333;
85
+				display: flex;
86
+				margin-top: 107rpx;
87
+				align-items: center;
88
+		
89
+				&-neishi {
90
+					width: 45rpx;
91
+					height: 45rpx;
92
+					margin-right: 17rpx;
93
+		
94
+					&-icon {
95
+						width: 36rpx;
96
+						height: 36rpx;
97
+						margin-top: 2rpx;
98
+		
99
+						image {
100
+							width: 100%;
101
+							height: 100%;
102
+						}
103
+					}
104
+				}
105
+			}
106
+		}
107
+	   // 头部 end
108
+	
109
+	&__content{
110
+		width: 100%;
111
+		margin: 190rpx 0 50rpx;
112
+		.btn-box{
113
+			width: 100%;
114
+			position: fixed;
115
+			
116
+           bottom:30rpx;
117
+		   .send-goods{
118
+			   margin:0 32rpx;
119
+		   }
120
+		}
121
+		
122
+	}
123
+	
124
+	.custom_class{
125
+		margin-top: 26rpx;
126
+	}
127
+	
128
+	
129
+	
130
+	}
131
+	
132
+
133
+
134
+</style>

+ 51 - 0
shop/components/emptyData/emptyData.vue

@@ -0,0 +1,51 @@
1
+<template>
2
+	    <view class="flex-col">
3
+	      <image
4
+	        class="image_wrapper"
5
+	        src="/static/images/new_ui/empty_data.png"
6
+	      />
7
+	      <text class="text_tilte">{{title}}</text>
8
+	    </view>
9
+</template>
10
+
11
+<script>
12
+	export default {
13
+		props:{
14
+			title:{
15
+				type:String,
16
+				default:"暂无数据"
17
+			}
18
+		},
19
+		data() {
20
+			return {
21
+				
22
+			};
23
+		}
24
+	}
25
+</script>
26
+
27
+<style lang="scss">
28
+.flex-col{
29
+	user-select: none;
30
+	position: absolute;
31
+	top:50%;
32
+	margin-top: -30%;
33
+	display: flex;
34
+	flex-direction: column;
35
+	.text_tilte{
36
+		font-family: PingFangSC, PingFang SC;
37
+		font-weight: 400;
38
+		font-size: 30rpx;
39
+		color: #333333;
40
+		line-height: 30rpx;
41
+		text-align: center;
42
+		font-style: normal;
43
+	}
44
+	.image_wrapper{
45
+		     width: 327px;
46
+		      height: 257px;
47
+			  
48
+		
49
+	}
50
+}
51
+</style>

+ 241 - 0
shop/components/tabs/tabs/tabs.vue

@@ -0,0 +1,241 @@
1
+<template>
2
+	<view class="content">
3
+		<view class="nav">
4
+			<!-- 选项卡水平方向滑动,scroll-with-animation是滑动到下一个选项时,有一个延时效果 -->
5
+			<scroll-view class="tab-scroll" scroll-x="true" scroll-with-animation :scroll-left="scrollLeft">
6
+				<view class="tab-scroll_box">
7
+					<!-- 选项卡类别列表 -->
8
+					<view class="tab-scroll_item" v-for=" (item,index) in category" 
9
+					:key="index"  :class="{'active':isActive==index}" @click="chenked(index,item)">
10
+							<span>{{item.name}}</span><span v-if="isShowNumber && item.show">({{item.totalNum|| 0}})</span>
11
+					</view>
12
+				</view>
13
+			</scroll-view>
14
+		</view>
15
+		<!-- <swiper @change="change" :current="isActive" class="swiper-content" :style="fullHeight">
16
+			<swiper-item class="swiperitem-content">
17
+				<scroll-view scroll-y style="height: 100%;">
18
+					<view class="nav_item" >
19
+						1
20
+					</view>
21
+				</scroll-view>	
22
+			</swiper-item>
23
+			<swiper-item class="swiperitem-content">
24
+				<scroll-view scroll-y style="height: 100%;">
25
+					<view class="nav_item" >
26
+						2
27
+					</view>
28
+				</scroll-view>	
29
+			</swiper-item>
30
+			<swiper-item class="swiperitem-content">
31
+				<scroll-view scroll-y style="height: 100%;">
32
+					<view class="nav_item" >
33
+						3
34
+					</view>
35
+				</scroll-view>
36
+			</swiper-item>
37
+			<swiper-item class="swiperitem-content">
38
+				<scroll-view scroll-y style="height: 100%;">
39
+					<view class="nav_item" >
40
+						4
41
+					</view>
42
+				</scroll-view>	
43
+			</swiper-item>
44
+			<swiper-item class="swiperitem-content">
45
+				<scroll-view scroll-y style="height: 100%;">
46
+					<view class="nav_item" >
47
+						5
48
+				    </view>
49
+				</scroll-view>	
50
+			</swiper-item>
51
+			<swiper-item class="swiperitem-content">
52
+				<scroll-view scroll-y style="height: 100%;">
53
+					<view class="nav_item" >
54
+						6
55
+				    </view>
56
+				</scroll-view>	
57
+			</swiper-item>
58
+		</swiper> -->
59
+	</view>
60
+</template>
61
+<script>
62
+	export default {
63
+		props:{
64
+			category:{
65
+				type:Array,
66
+				default:()=>[]
67
+			},
68
+			isShowNumber:{
69
+				type:Boolean,
70
+				default:true
71
+			},
72
+			curruntActive:{
73
+				type:[Number,String],
74
+				default:0
75
+			}
76
+		},
77
+		watch:{
78
+			// swiper与上面选项卡联动
79
+			currentindex(newval){
80
+				this.isActive = newval;
81
+				this.scrollLeft = 0;
82
+				// 滑动swiper后,每个选项距离其父元素最左侧的距离
83
+				for (let i = 0; i < newval - 1; i++) {
84
+					this.scrollLeft += this.category[i].width
85
+				};
86
+			},
87
+		},
88
+		data() {	
89
+			return {
90
+				isActive: 0,
91
+				index: 0,
92
+				currentindex:0,
93
+				// category:[
94
+				// 	{
95
+				// 		id:1,
96
+				// 		name:'选项',
97
+				// 	},
98
+				// 	{
99
+				// 		id:2,
100
+				// 		name:'选项卡二',
101
+				// 	},
102
+				// 	{
103
+				// 		id:3,
104
+				// 		name:'选项卡三',
105
+				// 	},
106
+				// 	{
107
+				// 		id:4,
108
+				// 		name:'选项卡四',
109
+				// 	},
110
+				// 	{
111
+				// 		id:5,
112
+				// 		name:'选项卡五',
113
+				// 	},
114
+				// 	{
115
+				// 		id:6,
116
+				// 		name:'选项卡六',
117
+				// 	},
118
+				// ],
119
+				contentScrollW: 0, // 导航区宽度
120
+				scrollLeft: 0, // 横向滚动条位置
121
+				fullHeight:"",	
122
+			}
123
+		},
124
+		mounted() {
125
+			var that = this;
126
+			this.isActive = this.curruntActive
127
+			 //获取手机屏幕的高度,让其等于swiper的高度,从而使屏幕充满
128
+			uni.getSystemInfo({
129
+			      success: function (res) {
130
+				         that.fullHeight ="height:" + res.windowHeight + "px";
131
+				  }
132
+				});
133
+			// 获取标题区域宽度,和每个子元素节点的宽度
134
+			this.getScrollW()
135
+		},
136
+		methods: {
137
+			// 获取标题区域宽度,和每个子元素节点的宽度以及元素距离左边栏的距离
138
+			getScrollW() {
139
+				const query = uni.createSelectorQuery().in(this);
140
+				query.select('.tab-scroll').boundingClientRect(data => {
141
+					  this.contentScrollW = data.width
142
+				 }).exec();
143
+				 query.selectAll('.tab-scroll_item').boundingClientRect(data => {
144
+					 let dataLen = data.length;
145
+					  for (let i = 0; i < dataLen; i++) {
146
+						  this.category[i].left = data[i].left;
147
+						 this.category[i].width = data[i].width
148
+					}
149
+				 }).exec()
150
+			},
151
+			// 当前点击子元素靠左留一个选项展示,子元素宽度不相同也可实现
152
+			chenked(index,item) {
153
+				this.isActive = index;
154
+				this.scrollLeft = 0;
155
+				for (let i = 0; i < index - 1; i++) {
156
+					this.scrollLeft += this.category[i].width
157
+				};
158
+				this.$emit('tabs',{index,item})
159
+			},
160
+			// swiper滑动时,获取其索引,也就是第几个
161
+			change(e){
162
+				const {current} = e.detail;
163
+				this.currentindex = current;
164
+			},	
165
+		}
166
+	}
167
+</script>
168
+<style lang="scss">
169
+	.content{
170
+		display: flex;
171
+		flex-direction: column;
172
+		width: 100%;
173
+		flex: 1;
174
+		.nav{
175
+			background-color: #fff;	
176
+			// position: fixed;
177
+			z-index: 99;
178
+			width: 100%;
179
+			align-items: center;
180
+			// min-height: 40rpx;
181
+			.tab-scroll{
182
+				flex: 1;
183
+				overflow: hidden;
184
+				box-sizing: border-box;
185
+				padding-left: 30rpx;
186
+				padding-right: 30rpx;
187
+				.tab-scroll_box{
188
+					display: flex;
189
+					align-items: center;
190
+					flex-wrap: nowrap;
191
+					box-sizing: border-box;
192
+					height:100rpx;
193
+					.tab-scroll_item{
194
+						line-height: 80rpx;
195
+						margin-right: 35rpx;
196
+						flex-shrink: 0;
197
+						display: flex;
198
+						justify-content: center;
199
+						font-size: 30rpx;
200
+						padding-top: 10rpx;
201
+						color:#333;
202
+					}
203
+				}
204
+			}
205
+		}
206
+		.swiper-content{
207
+			   padding-top: 120rpx;
208
+			   // flex: 1;
209
+			.swiperitem-content{
210
+			    background-color: #ffffff;
211
+				.nav_item{	
212
+					background-color: #FFFFFF;
213
+					padding:20rpx 40rpx 0rpx 40rpx ;
214
+				}
215
+			}
216
+		}	
217
+	}
218
+	.active {
219
+		position: relative;
220
+		color: #1F7CFF !important;
221
+		font-weight: 600;
222
+	}
223
+	.active::after {
224
+		content: "";
225
+		position: absolute;
226
+		width: 50rpx;
227
+		height: 8rpx;
228
+		background-color: #1F7CFF;
229
+		left: 0px;
230
+		right: 0px;
231
+		bottom: 0px;
232
+		margin: auto;
233
+        border-radius:8rpx ;
234
+        margin-top: 10rpx;
235
+        transition: all 0.3s;
236
+	}
237
+	/* 隐藏滚动条,但依旧具备可以滚动的功能 */
238
+	/deep/.uni-scroll-view::-webkit-scrollbar {
239
+		display: none
240
+	}
241
+</style>

BIN
static/images/new_ui/arrow-right.png


BIN
static/images/new_ui/arrow.png


BIN
static/images/new_ui/empty_data.png


BIN
static/images/new_ui/empty_user.png


BIN
static/images/new_ui/look.png


BIN
static/images/new_ui/qcode.png


BIN
static/images/new_ui/search_icon_blod.png


+ 23 - 0
uni_modules/lime-painter/package-lock.json

@@ -0,0 +1,23 @@
1
+{
2
+  "name": "lime-painter",
3
+  "version": "1.9.5.7",
4
+  "lockfileVersion": 3,
5
+  "requires": true,
6
+  "packages": {
7
+    "": {
8
+      "name": "lime-painter",
9
+      "version": "1.9.5.7",
10
+      "license": "ISC",
11
+      "dependencies": {
12
+        "lime-painter": "file:"
13
+      },
14
+      "engines": {
15
+        "HBuilderX": "^3.4.14"
16
+      }
17
+    },
18
+    "node_modules/lime-painter": {
19
+      "resolved": "",
20
+      "link": true
21
+    }
22
+  }
23
+}

+ 14 - 11
uni_modules/lime-painter/package.json

@@ -9,12 +9,12 @@
9 9
     "生成海报",
10 10
     "生成二维码",
11 11
     "JSON"
12
-],
13
-  "repository": "https://gitee.com/liangei/lime-painter", 
12
+  ],
13
+  "repository": "https://gitee.com/liangei/lime-painter",
14 14
   "engines": {
15 15
     "HBuilderX": "^3.4.14"
16 16
   },
17
-"dcloudext": {
17
+  "dcloudext": {
18 18
     "sale": {
19 19
       "regular": {
20 20
         "price": "0.00"
@@ -65,19 +65,19 @@
65 65
           "阿里": "y",
66 66
           "百度": "y",
67 67
           "字节跳动": "y",
68
-        "QQ": "y",
69
-        "钉钉": "u",
70
-        "快手": "u",
71
-        "飞书": "u",
72
-        "京东": "u"
68
+          "QQ": "y",
69
+          "钉钉": "u",
70
+          "快手": "u",
71
+          "飞书": "u",
72
+          "京东": "u"
73 73
         },
74 74
         "快应用": {
75 75
           "华为": "u",
76 76
           "联盟": "u"
77 77
         },
78 78
         "Vue": {
79
-            "vue2": "y",
80
-            "vue3": "y"
79
+          "vue2": "y",
80
+          "vue3": "y"
81 81
         }
82 82
       }
83 83
     }
@@ -88,5 +88,8 @@
88 88
     "test": "echo \"Error: no test specified\" && exit 1"
89 89
   },
90 90
   "author": "",
91
-  "license": "ISC"
91
+  "license": "ISC",
92
+  "dependencies": {
93
+    "lime-painter": "file:"
94
+  }
92 95
 }

+ 22 - 0
uni_modules/uview-ui/package-lock.json

@@ -0,0 +1,22 @@
1
+{
2
+	"name": "uview-ui",
3
+	"version": "2.0.37",
4
+	"lockfileVersion": 3,
5
+	"requires": true,
6
+	"packages": {
7
+		"": {
8
+			"name": "uview-ui",
9
+			"version": "2.0.37",
10
+			"dependencies": {
11
+				"uview-ui": "file:"
12
+			},
13
+			"engines": {
14
+				"HBuilderX": "^3.1.0"
15
+			}
16
+		},
17
+		"node_modules/uview-ui": {
18
+			"resolved": "",
19
+			"link": true
20
+		}
21
+	}
22
+}

+ 15 - 12
uni_modules/uview-ui/package.json

@@ -5,20 +5,20 @@
5 5
 	"version": "2.0.37",
6 6
 	"description": "uView UI已完美兼容nvue,全面的组件和便捷的工具会让您信手拈来,如鱼得水",
7 7
 	"keywords": [
8
-        "uview",
9
-        "uview",
10
-        "ui",
11
-        "ui",
12
-        "uni-app",
13
-        "uni-app",
14
-        "ui"
15
-    ],
8
+		"uview",
9
+		"uview",
10
+		"ui",
11
+		"ui",
12
+		"uni-app",
13
+		"uni-app",
14
+		"ui"
15
+	],
16 16
 	"repository": "https://github.com/umicro/uView2.0",
17 17
 	"engines": {
18 18
 		"HBuilderX": "^3.1.0"
19 19
 	},
20
-    "dcloudext": {
21
-        "sale": {
20
+	"dcloudext": {
21
+		"sale": {
22 22
 			"regular": {
23 23
 				"price": "0.00"
24 24
 			},
@@ -34,8 +34,8 @@
34 34
 			"data": "无",
35 35
 			"permissions": "无"
36 36
 		},
37
-        "npmurl": "https://www.npmjs.com/package/uview-ui",
38
-        "type": "component-vue"
37
+		"npmurl": "https://www.npmjs.com/package/uview-ui",
38
+		"type": "component-vue"
39 39
 	},
40 40
 	"uni_modules": {
41 41
 		"dependencies": [],
@@ -80,5 +80,8 @@
80 80
 				}
81 81
 			}
82 82
 		}
83
+	},
84
+	"dependencies": {
85
+		"uview-ui": "file:"
83 86
 	}
84 87
 }

+ 22 - 0
uni_modules/z-paging/package-lock.json

@@ -0,0 +1,22 @@
1
+{
2
+  "name": "z-paging",
3
+  "version": "2.6.3",
4
+  "lockfileVersion": 3,
5
+  "requires": true,
6
+  "packages": {
7
+    "": {
8
+      "name": "z-paging",
9
+      "version": "2.6.3",
10
+      "dependencies": {
11
+        "z-paging": "file:"
12
+      },
13
+      "engines": {
14
+        "HBuilderX": "^3.0.7"
15
+      }
16
+    },
17
+    "node_modules/z-paging": {
18
+      "resolved": "",
19
+      "link": true
20
+    }
21
+  }
22
+}

+ 12 - 9
uni_modules/z-paging/package.json

@@ -10,12 +10,12 @@
10 10
     "分页器",
11 11
     "nvue",
12 12
     "虚拟列表"
13
-],
13
+  ],
14 14
   "repository": "https://github.com/SmileZXLee/uni-z-paging",
15 15
   "engines": {
16 16
     "HBuilderX": "^3.0.7"
17 17
   },
18
-"dcloudext": {
18
+  "dcloudext": {
19 19
     "sale": {
20 20
       "regular": {
21 21
         "price": "0.00"
@@ -67,20 +67,23 @@
67 67
           "百度": "y",
68 68
           "字节跳动": "y",
69 69
           "QQ": "y",
70
-		  "钉钉": "y",
71
-		  "快手": "y",
72
-		  "飞书": "y",
73
-		  "京东": "y"
70
+          "钉钉": "y",
71
+          "快手": "y",
72
+          "飞书": "y",
73
+          "京东": "y"
74 74
         },
75 75
         "快应用": {
76 76
           "华为": "y",
77 77
           "联盟": "y"
78 78
         },
79 79
         "Vue": {
80
-            "vue2": "y",
81
-            "vue3": "y"
80
+          "vue2": "y",
81
+          "vue3": "y"
82 82
         }
83 83
       }
84 84
     }
85
+  },
86
+  "dependencies": {
87
+    "z-paging": "file:"
85 88
   }
86
-}
89
+}