@uxda/appkit 4.3.39 → 4.3.40

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.
package/dist/appkit.css CHANGED
@@ -1186,17 +1186,22 @@ page {
1186
1186
  font-weight: 700;
1187
1187
  color: #000;
1188
1188
  }
1189
- .operation-box .operation-list .box-detail .item-detail .item-info-type {
1190
- line-height: 15px;
1191
- }
1192
1189
  .operation-box .operation-list .box-detail .item-detail .item-info-title {
1193
1190
  font-weight: 400;
1194
1191
  opacity: 0.8;
1195
1192
  font-size: 11px;
1196
1193
  }
1194
+ .operation-box .operation-list .box-detail .item-detail .item-info-right {
1195
+ text-align: right;
1196
+ }
1197
1197
  .operation-box .operation-list .box-detail .item-detail .item-info-amount {
1198
1198
  color: #9e7b5a;
1199
1199
  }
1200
+ .operation-box .operation-list .box-detail .item-detail .item-info-time {
1201
+ font-weight: 400;
1202
+ opacity: 0.5;
1203
+ font-size: 11px;
1204
+ }
1200
1205
  .operation-box .operation-list .box-detail .item-detail-remark {
1201
1206
  opacity: 0.3;
1202
1207
  line-height: 15px;
package/dist/index.js CHANGED
@@ -5178,9 +5178,11 @@ const _hoisted_43 = { class: "item-detail" };
5178
5178
  const _hoisted_44 = { class: "item-info spa-between" };
5179
5179
  const _hoisted_45 = { class: "item-info-type" };
5180
5180
  const _hoisted_46 = { class: "item-info-title" };
5181
- const _hoisted_47 = { class: "item-info-amount number" };
5182
- const _hoisted_48 = { class: "item-detail-remark" };
5183
- const _hoisted_49 = {
5181
+ const _hoisted_47 = { class: "item-info-right" };
5182
+ const _hoisted_48 = { class: "item-info-amount number" };
5183
+ const _hoisted_49 = { class: "item-info-time number" };
5184
+ const _hoisted_50 = { class: "item-detail-remark" };
5185
+ const _hoisted_51 = {
5184
5186
  key: 0,
5185
5187
  class: "box-not-text"
5186
5188
  };
@@ -5222,6 +5224,9 @@ var script$t = /* @__PURE__ */ defineComponent({
5222
5224
  let endTime = (filtering.dateTo || "").replace(/-/g, ".").substring(2);
5223
5225
  return startTime + " - " + endTime;
5224
5226
  });
5227
+ function formatItemTime(time) {
5228
+ return dayjs(time).format("HH:mm:ss");
5229
+ }
5225
5230
  const consumptionGroups = ref([]);
5226
5231
  const balance = ref({
5227
5232
  total: 0,
@@ -5947,17 +5952,26 @@ var script$t = /* @__PURE__ */ defineComponent({
5947
5952
  /* TEXT */
5948
5953
  )
5949
5954
  ]),
5950
- createElementVNode(
5951
- "div",
5952
- _hoisted_47,
5953
- toDisplayString(it.\u6536\u5165\u8FD8\u662F\u652F\u51FA == "\u652F\u51FA" ? "-" : "+") + toDisplayString(it.amount),
5954
- 1
5955
- /* TEXT */
5956
- )
5955
+ createElementVNode("div", _hoisted_47, [
5956
+ createElementVNode(
5957
+ "div",
5958
+ _hoisted_48,
5959
+ toDisplayString(it.\u6536\u5165\u8FD8\u662F\u652F\u51FA == "\u652F\u51FA" ? "-" : "+") + toDisplayString(it.amount),
5960
+ 1
5961
+ /* TEXT */
5962
+ ),
5963
+ createElementVNode(
5964
+ "div",
5965
+ _hoisted_49,
5966
+ toDisplayString(formatItemTime(it.time)),
5967
+ 1
5968
+ /* TEXT */
5969
+ )
5970
+ ])
5957
5971
  ]),
5958
5972
  createElementVNode(
5959
5973
  "div",
5960
- _hoisted_48,
5974
+ _hoisted_50,
5961
5975
  toDisplayString(it.description),
5962
5976
  1
5963
5977
  /* TEXT */
@@ -5973,7 +5987,7 @@ var script$t = /* @__PURE__ */ defineComponent({
5973
5987
  128
5974
5988
  /* KEYED_FRAGMENT */
5975
5989
  )),
5976
- reachedLastPage.value ? (openBlock(), createElementBlock("div", _hoisted_49, "\u6CA1\u6709\u66F4\u591A\u4E86")) : createCommentVNode("v-if", true)
5990
+ reachedLastPage.value ? (openBlock(), createElementBlock("div", _hoisted_51, "\u6CA1\u6709\u66F4\u591A\u4E86")) : createCommentVNode("v-if", true)
5977
5991
  ])) : (openBlock(), createBlock(script$v, { key: 1 }))
5978
5992
  ]),
5979
5993
  _: 1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@uxda/appkit",
3
- "version": "4.3.39",
3
+ "version": "4.3.40",
4
4
  "description": "小程序应用开发包",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.ts",
@@ -167,8 +167,11 @@
167
167
  </div>
168
168
  <div class="item-info-title">{{ it.title }}</div>
169
169
  </div>
170
- <div class="item-info-amount number">
171
- {{ it.收入还是支出 == '支出' ? '-' : '+' }}{{ it.amount }}
170
+ <div class="item-info-right">
171
+ <div class="item-info-amount number">
172
+ {{ it.收入还是支出 == '支出' ? '-' : '+' }}{{ it.amount }}
173
+ </div>
174
+ <div class="item-info-time number">{{ formatItemTime(it.time) }}</div>
172
175
  </div>
173
176
  </div>
174
177
  <div class="item-detail-remark">{{ it.description }}</div>
@@ -255,6 +258,10 @@ const dateRangeDisplay = computed(() => {
255
258
  return startTime + ' - ' + endTime
256
259
  })
257
260
 
261
+ function formatItemTime(time: number) {
262
+ return dayjs(time).format('HH:mm:ss')
263
+ }
264
+
258
265
  const consumptionGroups = ref<ConsumptionGroup[]>([])
259
266
 
260
267
  /**
@@ -724,7 +731,6 @@ onMounted(() => {
724
731
  color: #000;
725
732
 
726
733
  &-type {
727
- line-height: 15px;
728
734
  }
729
735
 
730
736
  &-title {
@@ -733,9 +739,19 @@ onMounted(() => {
733
739
  font-size: 11px;
734
740
  }
735
741
 
742
+ &-right {
743
+ text-align: right;
744
+ }
745
+
736
746
  &-amount {
737
747
  color: #9e7b5a;
738
748
  }
749
+
750
+ &-time {
751
+ font-weight: 400;
752
+ opacity: 0.5;
753
+ font-size: 11px;
754
+ }
739
755
  }
740
756
 
741
757
  &-remark {
@@ -1 +0,0 @@
1
-
@@ -1 +0,0 @@
1
-