xiaoe_mp_npm 0.5.42-test2 → 0.5.42-test21

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (123) hide show
  1. package/miniprogram_dist/ConfirmOrder/components/ConfirmOrderContent/index.scss +45 -0
  2. package/miniprogram_dist/ConfirmOrder/components/ConfirmOrderContent/index.wxss +37 -1
  3. package/miniprogram_dist/ConfirmOrder/components/GoodsInfo/index.scss +223 -0
  4. package/miniprogram_dist/ConfirmOrder/components/GoodsInfo/index.wxss +522 -36
  5. package/miniprogram_dist/ConfirmOrder/components/IntegralSelect/index.scss +91 -0
  6. package/miniprogram_dist/ConfirmOrder/components/IntegralSelect/index.wxss +170 -14
  7. package/miniprogram_dist/ConfirmOrder/components/Invoice/index.scss +61 -0
  8. package/miniprogram_dist/ConfirmOrder/components/Invoice/index.wxss +68 -2
  9. package/miniprogram_dist/ConfirmOrder/components/LeaveWord/index.scss +40 -0
  10. package/miniprogram_dist/ConfirmOrder/components/LeaveWord/index.wxss +26 -2
  11. package/miniprogram_dist/ConfirmOrder/components/PayBar/index.scss +62 -0
  12. package/miniprogram_dist/ConfirmOrder/components/PayBar/index.wxss +81 -3
  13. package/miniprogram_dist/ConfirmOrder/components/PayDetail/index.scss +41 -0
  14. package/miniprogram_dist/ConfirmOrder/components/PayDetail/index.wxss +35 -3
  15. package/miniprogram_dist/CouponList/components/CouponItem/index.css +1715 -1715
  16. package/miniprogram_dist/CouponList/components/CouponItem/index.js +31 -22
  17. package/miniprogram_dist/CouponList/components/CouponItem/index.min.css +1 -1
  18. package/miniprogram_dist/CouponList/components/CouponItem/index.wxml +6 -2
  19. package/miniprogram_dist/CouponList/components/CouponItem/index.wxss +1037 -79
  20. package/miniprogram_dist/CouponList/couponColumn/index.js +5 -1
  21. package/miniprogram_dist/CouponList/couponColumn/index.scss +118 -0
  22. package/miniprogram_dist/CouponList/couponColumn/index.wxml +1 -0
  23. package/miniprogram_dist/CouponList/couponColumn/index.wxss +221 -32
  24. package/miniprogram_dist/CouponReceivePopup/index.js +75 -0
  25. package/miniprogram_dist/CouponReceivePopup/index.json +6 -0
  26. package/miniprogram_dist/CouponReceivePopup/index.scss +99 -0
  27. package/miniprogram_dist/CouponReceivePopup/index.wxml +85 -0
  28. package/miniprogram_dist/CouponReceivePopup/index.wxss +75 -0
  29. package/miniprogram_dist/GoodsItem/index.js +7 -5
  30. package/miniprogram_dist/GoodsItem/index.scss +45 -22
  31. package/miniprogram_dist/GoodsItem/index.wxml +11 -11
  32. package/miniprogram_dist/GoodsItem/index.wxs +18 -18
  33. package/miniprogram_dist/GoodsItem/index.wxss +1273 -116
  34. package/miniprogram_dist/GoodsRecommend/index.scss +162 -0
  35. package/miniprogram_dist/GoodsRecommend/index.wxss +418 -33
  36. package/miniprogram_dist/LiveGoodsList/Header/index.scss +79 -0
  37. package/miniprogram_dist/LiveGoodsList/Header/index.wxss +148 -10
  38. package/miniprogram_dist/LiveGoodsList/index.js +167 -25
  39. package/miniprogram_dist/LiveGoodsList/index.scss +93 -0
  40. package/miniprogram_dist/LiveGoodsList/index.wxml +41 -19
  41. package/miniprogram_dist/LiveGoodsList/index.wxss +187 -19
  42. package/miniprogram_dist/PayModule/button/index.scss +45 -0
  43. package/miniprogram_dist/PayModule/button/index.wxss +46 -4
  44. package/miniprogram_dist/TeacherGoodsList/index.js +778 -585
  45. package/miniprogram_dist/TeacherGoodsList/index.scss +5 -2
  46. package/miniprogram_dist/TeacherGoodsList/index.wxml +42 -24
  47. package/miniprogram_dist/TeacherGoodsList/index.wxss +132 -14
  48. package/miniprogram_dist/common/api/liveGoodsList.js +10 -2
  49. package/miniprogram_dist/common/utils/index.js +14 -0
  50. package/miniprogram_dist/coupon/components/CouponItem/index.less +1 -0
  51. package/miniprogram_dist/coupon/components/CouponItem/index.scss +247 -0
  52. package/miniprogram_dist/coupon/components/CouponItem/index.wxss +677 -86
  53. package/miniprogram_dist/coupon/components/CouponSelect/index.scss +331 -0
  54. package/miniprogram_dist/coupon/components/CouponSelect/index.wxss +861 -59
  55. package/miniprogram_dist/coupon/index.scss +83 -0
  56. package/miniprogram_dist/coupon/index.wxss +171 -15
  57. package/package.json +2 -2
  58. package/src/ConfirmOrder/components/ConfirmOrderContent/index.scss +45 -0
  59. package/src/ConfirmOrder/components/ConfirmOrderContent/index.wxss +42 -1
  60. package/src/ConfirmOrder/components/GoodsInfo/index.scss +223 -0
  61. package/src/ConfirmOrder/components/GoodsInfo/index.wxss +552 -39
  62. package/src/ConfirmOrder/components/IntegralSelect/index.scss +91 -0
  63. package/src/ConfirmOrder/components/IntegralSelect/index.wxss +182 -14
  64. package/src/ConfirmOrder/components/Invoice/index.scss +61 -0
  65. package/src/ConfirmOrder/components/Invoice/index.wxss +75 -2
  66. package/src/ConfirmOrder/components/LeaveWord/index.scss +40 -0
  67. package/src/ConfirmOrder/components/LeaveWord/index.wxss +30 -2
  68. package/src/ConfirmOrder/components/PayBar/index.scss +62 -0
  69. package/src/ConfirmOrder/components/PayBar/index.wxss +87 -3
  70. package/src/ConfirmOrder/components/PayDetail/index.scss +41 -0
  71. package/src/ConfirmOrder/components/PayDetail/index.wxss +39 -3
  72. package/src/CouponList/components/CouponItem/index.css +1715 -1715
  73. package/src/CouponList/components/CouponItem/index.js +31 -22
  74. package/src/CouponList/components/CouponItem/index.min.css +1 -1
  75. package/src/CouponList/components/CouponItem/index.wxml +6 -2
  76. package/src/CouponList/components/CouponItem/index.wxss +1039 -85
  77. package/src/CouponList/couponColumn/index.js +5 -1
  78. package/src/CouponList/couponColumn/index.scss +118 -0
  79. package/src/CouponList/couponColumn/index.wxml +1 -0
  80. package/src/CouponList/couponColumn/index.wxss +236 -32
  81. package/src/CouponReceivePopup/index.js +75 -0
  82. package/src/CouponReceivePopup/index.json +6 -0
  83. package/src/CouponReceivePopup/index.scss +99 -0
  84. package/src/CouponReceivePopup/index.wxml +85 -0
  85. package/src/CouponReceivePopup/index.wxss +1 -0
  86. package/src/GoodsItem/index.js +7 -5
  87. package/src/GoodsItem/index.scss +45 -22
  88. package/src/GoodsItem/index.wxml +11 -11
  89. package/src/GoodsItem/index.wxs +18 -18
  90. package/src/GoodsItem/index.wxss +1331 -116
  91. package/src/GoodsRecommend/index.scss +162 -0
  92. package/src/GoodsRecommend/index.wxss +441 -33
  93. package/src/LiveGoodsList/Header/index.scss +79 -0
  94. package/src/LiveGoodsList/Header/index.wxss +156 -10
  95. package/src/LiveGoodsList/index.js +167 -25
  96. package/src/LiveGoodsList/index.scss +93 -0
  97. package/src/LiveGoodsList/index.wxml +41 -19
  98. package/src/LiveGoodsList/index.wxss +230 -50
  99. package/src/PayModule/button/index.scss +45 -0
  100. package/src/PayModule/button/index.wxss +50 -4
  101. package/src/TeacherGoodsList/index.js +778 -585
  102. package/src/TeacherGoodsList/index.scss +5 -2
  103. package/src/TeacherGoodsList/index.wxml +42 -24
  104. package/src/TeacherGoodsList/index.wxss +151 -14
  105. package/src/common/api/liveGoodsList.js +10 -2
  106. package/src/common/utils/index.js +14 -0
  107. package/src/coupon/components/CouponItem/index.less +1 -0
  108. package/src/coupon/components/CouponItem/index.scss +247 -0
  109. package/src/coupon/components/CouponItem/index.wxss +712 -86
  110. package/src/coupon/components/CouponSelect/index.scss +331 -0
  111. package/src/coupon/components/CouponSelect/index.wxss +910 -59
  112. package/src/coupon/index.scss +83 -0
  113. package/src/coupon/index.wxss +181 -15
  114. package/miniprogram_dist/GoodsItem/index.css +0 -1364
  115. package/miniprogram_dist/GoodsItem/index.less +0 -299
  116. package/miniprogram_dist/GoodsItem/index.min.css +0 -1
  117. package/miniprogram_dist/TeacherGoodsList/index.css +0 -187
  118. package/miniprogram_dist/TeacherGoodsList/index.min.css +0 -1
  119. package/src/GoodsItem/index.css +0 -1364
  120. package/src/GoodsItem/index.less +0 -299
  121. package/src/GoodsItem/index.min.css +0 -1
  122. package/src/TeacherGoodsList/index.css +0 -187
  123. package/src/TeacherGoodsList/index.min.css +0 -1
@@ -0,0 +1,75 @@
1
+ .coupon-receive .receive-box {
2
+ display: flex;
3
+ flex-direction: column;
4
+ }
5
+ .coupon-receive .receive-box-scale {
6
+ transform: scale(80%);
7
+ transform-origin: 50% 10%;
8
+ }
9
+ .coupon-receive .receive-popup {
10
+ background-color: transparent;
11
+ display: flex;
12
+ flex-direction: column;
13
+ }
14
+ .coupon-receive .receive-popup .receive-container {
15
+ width: 68.26667vmin;
16
+ height: 101.33333vmin;
17
+ background-size: 100% 100%;
18
+ }
19
+ .coupon-receive .receive-popup .receive-container__content {
20
+ display: flex;
21
+ flex-direction: column;
22
+ margin: 37.33333vmin 4.26667vmin 4.26667vmin;
23
+ padding: 4.26667vmin 3.2vmin 3.2vmin;
24
+ }
25
+ .coupon-receive .receive-popup .receive-container__content-price {
26
+ font-weight: 500;
27
+ font-family: "PingFang SC";
28
+ text-align: left;
29
+ display: flex;
30
+ align-items: baseline;
31
+ }
32
+ .coupon-receive .receive-popup .receive-container__content-price .smallIcon {
33
+ color: #fd2b54;
34
+ font-size: 5.33333vmin;
35
+ line-height: 5.33333vmin;
36
+ }
37
+ .coupon-receive .receive-popup .receive-container__content-price .boldIcon {
38
+ color: #fd2b54;
39
+ font-size: 10.66667vmin;
40
+ line-height: 10.66667vmin;
41
+ }
42
+ .coupon-receive .receive-popup .receive-container__content-describe {
43
+ margin-top: 3.73333vmin;
44
+ color: #333333;
45
+ font-size: 3.73333vmin;
46
+ font-weight: 400;
47
+ font-family: "PingFang SC";
48
+ text-align: left;
49
+ line-height: 5.33333vmin;
50
+ }
51
+ .coupon-receive .receive-popup .receive-container__content-describe span {
52
+ display: block;
53
+ margin-bottom: 1.06667vmin;
54
+ }
55
+ .coupon-receive .receive-popup .receive-container__btn {
56
+ width: 53.33333vmin;
57
+ height: 10.66667vmin;
58
+ border-radius: 1.06667vmin;
59
+ opacity: 1;
60
+ background: linear-gradient(270deg, #ff5820 0%, #ff4067 100%);
61
+ color: #ffffff;
62
+ font-size: 4.26667vmin;
63
+ font-weight: 500;
64
+ font-family: "PingFang SC";
65
+ text-align: left;
66
+ margin: 5.33333vmin 7.46667vmin 7.46667vmin;
67
+ display: flex;
68
+ align-items: center;
69
+ justify-content: center;
70
+ }
71
+ .coupon-receive .receive-popup .receive-container__close {
72
+ width: 8.53333vmin;
73
+ height: 8.53333vmin;
74
+ margin: 4.26667vmin auto 0;
75
+ }
@@ -73,8 +73,10 @@ Component({
73
73
  checked
74
74
  }, () => {
75
75
  if (
76
- (newVal.is_activity && currentActive && newVal.activity_order_num === newVal.activity_stock) ||
77
- newVal.stock === 0
76
+ newVal.stock === 0 ||
77
+ (newVal.is_activity &&
78
+ (newVal.activity_type === 8 || newVal.activity_type === 3) &&
79
+ newVal.activity_stock - newVal.activity_order_num === 0)
78
80
  ) {
79
81
  this.setData({
80
82
  isOver: true,
@@ -236,9 +238,9 @@ Component({
236
238
  if (data.allContactPay || (data.isIOS && !data.IOSMiniProgramCanBuy)) {
237
239
  // IOS小程序中不能买的展示去查看,跳转到小程序客服
238
240
  return "购买"
239
- } else if (data.goodsItem.hasStock && data.goodsItem.leftStock === 0) {
241
+ } else if (data.isOver) {
240
242
  // 库存为0,已售罄
241
- return "抢光了"
243
+ return "已抢光"
242
244
  } else if (data.goodsItem.err_code) {
243
245
  // 券后价接口报错,领取不了优惠券的情况
244
246
  return "查看详情"
@@ -247,7 +249,7 @@ Component({
247
249
  return "免费领取"
248
250
  } else if (data.showPreferentialPrice) {
249
251
  // 展示券后价
250
- return "券后"
252
+ return "购买"
251
253
  } else {
252
254
  return "购买"
253
255
  }
@@ -1,19 +1,4 @@
1
- /* 主题色 */
2
- .theme-customize-bg {
3
- background: linear-gradient(180.25deg, #fe6500 0%, #ff4102 100%) !important;
4
- }
5
- .theme-customize-font {
6
- color: #1472FF !important;
7
- }
8
- .theme-customize-light-new {
9
- background-color: #9db8f1 !important;
10
- }
11
- .theme-customize-bg-light {
12
- background-color: #fff3eb !important;
13
- }
14
- .theme-customize-border {
15
- border-color: #FF781F !important;
16
- }
1
+ @import "..\\common\\css\\theme.wxss";
17
2
 
18
3
  $deviceWidth: 750;
19
4
  @function vmin($rpx) {
@@ -26,7 +11,8 @@ $deviceWidth: 750;
26
11
  background: #ffffff;
27
12
  border-radius: vmin(16);
28
13
  flex-direction: column;
29
- margin-top: vmin(32);
14
+ padding: vmin(16);
15
+ margin: vmin(16) vmin(16) vmin(0) vmin(16);
30
16
  .main-card{
31
17
  display: flex;
32
18
  flex-direction: row;
@@ -34,6 +20,10 @@ $deviceWidth: 750;
34
20
  position: relative;
35
21
  width: vmin(224);
36
22
  height: vmin(224);
23
+ image{
24
+ width: vmin(224);
25
+ height: vmin(224);
26
+ }
37
27
  .index {
38
28
  border-radius: vmin(16) 0 vmin(16) 0;
39
29
  position: absolute;
@@ -80,6 +70,20 @@ $deviceWidth: 750;
80
70
  background: rgba(0,0,0,0.25) !important;
81
71
  backdrop-filter: blur(vmin(24));
82
72
  }
73
+ .is-over {
74
+ border-radius: vmin(10.67) vmin(10.67) 0 0;
75
+ position: absolute;
76
+ top: 0;
77
+ left: 0;
78
+ width: vmin(264);
79
+ height: 100%;
80
+ background: rgba(0, 0, 0, 0.4);
81
+ display: flex;
82
+ justify-content: center;
83
+ align-items: center;
84
+ color: #ffffff;
85
+ font-size: vmin(24);
86
+ }
83
87
  }
84
88
  .right {
85
89
  flex: 1;
@@ -277,7 +281,7 @@ $deviceWidth: 750;
277
281
  }
278
282
  .no-stock-btn{
279
283
  font-size: vmin(24);
280
- border-radius: vmin(40);
284
+ border-radius: vmin(8);
281
285
  width: vmin(128);
282
286
  height: vmin(48);
283
287
  display: flex;
@@ -291,7 +295,7 @@ $deviceWidth: 750;
291
295
  }
292
296
  .see-btn {
293
297
  font-size: vmin(24);
294
- border-radius: vmin(40);
298
+ border-radius: vmin(8);
295
299
  width: vmin(128);
296
300
  height: vmin(48);
297
301
  display: flex;
@@ -302,11 +306,11 @@ $deviceWidth: 750;
302
306
  font-weight: 500;
303
307
  margin-left: inherit;
304
308
  margin-right: inherit;
305
- background: linear-gradient(270deg, rgba(254,101,0,1) 0%, rgba(255,65,2,1) 100%);
309
+ background: linear-gradient(270deg, #ff2e57 0%, #ff4d82 100%);
306
310
  }
307
311
  .buy-btn-preferential{
308
312
  font-size: vmin(24);
309
- border-radius: vmin(40);
313
+ border-radius: vmin(8);
310
314
  padding: 0 vmin(10);
311
315
  min-width: vmin(160);
312
316
  height: vmin(68);
@@ -316,7 +320,7 @@ $deviceWidth: 750;
316
320
  color: white;
317
321
  flex-flow: column;
318
322
  line-height: vmin(32);
319
- background: linear-gradient(270deg, rgba(254,101,0,1) 0%, rgba(255,65,2,1) 100%);
323
+ background: linear-gradient(270deg, #ff2e57 0%, #ff4d82 100%);
320
324
  .go-buy{
321
325
  font-size: vmin(24);
322
326
  font-weight: 500;
@@ -332,6 +336,9 @@ $deviceWidth: 750;
332
336
  }
333
337
  }
334
338
  }
339
+ .manage-right{
340
+ width: vmin(374);
341
+ }
335
342
  .teacher-switch{
336
343
  height: vmin(32);
337
344
  background: #fff;
@@ -347,6 +354,22 @@ $deviceWidth: 750;
347
354
  }
348
355
  }
349
356
  }
357
+ .hide-tip {
358
+ width: vmin(240);
359
+ height: vmin(48);
360
+ border-radius: vmin(24);
361
+ background: #f5f5f5;
362
+ font-size: vmin(20);
363
+ color: #666666;
364
+ font-weight: 500;
365
+ display: flex;
366
+ justify-content: center;
367
+ align-items: center;
368
+ margin-top: vmin(8);
369
+ }
370
+ .full-hide-tip{
371
+ width: 100%;
372
+ }
350
373
  }
351
374
 
352
375
  @keyframes turn {
@@ -24,8 +24,9 @@
24
24
  class="goods-explaining"
25
25
  src="../../common/assets/images/liveGoodsList/explaining.png"
26
26
  />
27
+ <view class="is-over" wx:if="{{isOver}}">- 已抢光 -</view>
27
28
  </view>
28
- <view class="right">
29
+ <view class="right {{isManage?'manage-right':''}}">
29
30
  <!-- 标题 -->
30
31
  <view class="line-one">
31
32
  <view class="super-activity-type" wx:if="{{isSupperVip}}">
@@ -50,11 +51,11 @@
50
51
  <!-- <view></view> -->
51
52
 
52
53
  <!-- 券后价 -->
53
- <view wx:if="{{ btnTxt === '券后'}}" class="preferential-price">{{ '券后' + goodsItem.preferentialShowInt }}</view>
54
+ <view wx:if="{{showPreferentialPrice}}" class="preferential-price">{{ '券后¥' + goodsItem.preferentialShowInt }}</view>
54
55
  </view>
55
56
 
56
57
  <!-- 商品销量 -->
57
- <view class="order-stock" wx:if="{{hasSaleNum}}">{{ saleNum }}</view>
58
+ <view class="order-stock" wx:if="{{hasSaleNum}}">{{ '已售' + goodsItem.order_num }}</view>
58
59
  </view>
59
60
 
60
61
  <!-- 活动进度条 -->
@@ -94,13 +95,12 @@
94
95
  <text class="price-flow">¥</text>
95
96
  <text class="price-show">{{ goodsItem.priceShowInt }}</text>
96
97
  <text class="price-show" wx:if="{{ goodsItem.priceShowFlow !== '00'}}">.{{ goodsItem.priceShowFlow }}</text>
97
- <text class="price-line" wx:if="{{ showPriceLine }}">
98
+ <text class="price-line" wx:if="{{ showPriceLine && !isManage }}">
98
99
  <text>¥{{ goodsItem.priceLineShowInt }}</text>
99
100
  <text wx:if="{{ goodsItem.priceLineShowFlow !== '00'}}">.{{ goodsItem.priceLineShowFlow }}</text>
100
101
  </text>
101
102
  </view>
102
103
  </view>
103
-
104
104
  <!-- 购买按钮 start -->
105
105
  <block wx:if="{{isStudent}}">
106
106
  <!-- IOS虚拟商品 -->
@@ -111,11 +111,11 @@
111
111
  show-message-card="{{true}}"
112
112
  send-message-img="{{goodsItem.img_url}}"
113
113
  send-message-title="{{goodsItem.title}}"
114
- wx:if="{{btnTxt === '购买'}}"
114
+ wx:if="{{btnTxt === '去查看'}}"
115
115
  send-message-path="{{params_url}}"
116
116
  >{{ btnTxt }}</button>
117
117
  <!-- 库存为0的情况 -->
118
- <view class="no-stock-btn" wx:if="{{ btnTxt === '抢光了' }}" catchtap="()=>{}">{{ btnTxt }}</view>
118
+ <view class="no-stock-btn" wx:if="{{ btnTxt === '已抢光' }}" catchtap="()=>{}">{{ btnTxt }}</view>
119
119
  <!-- 正常情况 -->
120
120
  <view class="buy-btn" catchtap="snapUpCheck" wx:if="{{ btnTxt === '购买' }}">{{ btnTxt }}</view>
121
121
  <!-- 0元商品/超级会员免费/券后价、领券接口熔断的情况 -->
@@ -156,8 +156,8 @@
156
156
  </view>
157
157
  </view>
158
158
  </view>
159
- <!-- <view class="teacher-switch" wx:if="{{!isStudent}}" catchtap="stopEvent">
160
- <van-switch checked="{{checked}}" bind:change="changeShowType" loading="{{switchLoading}}" size="3.73vmin" />
161
- <text class="switch-txt">学员端展示商品</text>
162
- </view>-->
159
+ <view
160
+ class="hide-tip {{isFullScreen?'full-hide-tip':''}}"
161
+ wx:if="{{!goodsItem.is_display_package && !isStudent}}"
162
+ >用户端已隐藏该商品</view>
163
163
  </view>
@@ -1,19 +1,19 @@
1
- var timeFormat = function (time) {
2
- if (!time) return
3
-
4
- // 将毫秒转换为天、小时、分钟和秒
5
- var days = Math.floor(time / (1000 * 60 * 60 * 24))
6
- var hours = Math.floor((time % (1000 * 60 * 60 * 24)) / (1000 * 60 * 60))
7
- var minutes = Math.floor((time % (1000 * 60 * 60)) / (1000 * 60))
8
- var seconds = Math.floor((time % (1000 * 60)) / 1000)
9
- days = days > 0 ? days + '天 ' : ''
10
- hours = hours < 10 ? '0' + hours : hours
11
- minutes = minutes < 10 ? '0' + minutes : minutes
12
- seconds = seconds < 10 ? '0' + seconds : seconds
13
-
14
- return days + hours + ':' + minutes + ':' + seconds
15
- }
16
-
17
- module.exports = {
18
- timeFormat:timeFormat
1
+ var timeFormat = function (time) {
2
+ if (!time) return
3
+
4
+ // 将毫秒转换为天、小时、分钟和秒
5
+ var days = Math.floor(time / (1000 * 60 * 60 * 24))
6
+ var hours = Math.floor((time % (1000 * 60 * 60 * 24)) / (1000 * 60 * 60))
7
+ var minutes = Math.floor((time % (1000 * 60 * 60)) / (1000 * 60))
8
+ var seconds = Math.floor((time % (1000 * 60)) / 1000)
9
+ days = days > 0 ? days + '天 ' : ''
10
+ hours = hours < 10 ? '0' + hours : hours
11
+ minutes = minutes < 10 ? '0' + minutes : minutes
12
+ seconds = seconds < 10 ? '0' + seconds : seconds
13
+
14
+ return days + hours + ':' + minutes + ':' + seconds
15
+ }
16
+
17
+ module.exports = {
18
+ timeFormat:timeFormat
19
19
  }