@tplc/business 0.4.141 → 0.4.143

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/CHANGELOG.md CHANGED
@@ -2,6 +2,20 @@
2
2
 
3
3
  All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
4
4
 
5
+ ### [0.4.143](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/compare/v0.4.142...v0.4.143) (2025-06-25)
6
+
7
+
8
+ ### ✨ Features | 新功能
9
+
10
+ * 页面点击 ([3af52a2](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/3af52a217341403dee7ecb2f096196d0c74a888d))
11
+
12
+ ### [0.4.142](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/compare/v0.4.141...v0.4.142) (2025-06-25)
13
+
14
+
15
+ ### ✨ Features | 新功能
16
+
17
+ * 修改销 ([9e78ead](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/9e78ead10c5186ed1805086e32f481e65c0e0b4d))
18
+
5
19
  ### [0.4.141](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/compare/v0.4.140...v0.4.141) (2025-06-25)
6
20
 
7
21
  ### [0.4.140](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/compare/v0.4.139...v0.4.140) (2025-06-25)
package/action.d.ts CHANGED
@@ -47,6 +47,7 @@ export interface LcbGlobal {
47
47
  }
48
48
  constantsStore?: () => {
49
49
  mainConfig?: Record<string, any>
50
+ otherConfig?: Record<string, any>
50
51
  }
51
52
  getIsTabbar: () => boolean
52
53
  layoutId: string
@@ -25,44 +25,49 @@
25
25
  class="bg-white rounded-2 pl-3 box-border py-2 mt-2 overflow-x-auto whitespace-nowrap"
26
26
  scroll-x
27
27
  >
28
- <view
29
- class="flex-col items-center justify-between inline-flex"
28
+ <lcb-action-view
30
29
  v-for="(item, index) in list"
31
30
  :key="index"
32
- :class="{
33
- 'full-room': !item.total,
34
- }"
31
+ v-bind="link"
32
+ custom-class="!inline-block"
35
33
  >
36
- <view class="day-title flex items-center justify-center gap-1 mr-2">
37
- <text>{{ item.dateChinese }}</text>
38
- <view
39
- class="day-title-tip"
40
- :class="{
41
- 'day-title-tip-rest': item.restNumber === 0,
42
- }"
43
- v-if="item.dateTip"
44
- >
45
- {{ item.dateTip }}
46
- </view>
47
- </view>
48
- <view class="day-info flex flex-col items-center justify-center p-1 box-border mr-0.75">
49
- <view class="day-info-top">余{{ item.total }}</view>
50
- <view class="day-info-bottom mt-1.5">
51
- <view v-if="item.pp">
52
- <text>{{ item.dp || item.sp ? '销:' : '' }}¥{{ item.pp }}/</text>
53
- <text class="text-2.5">起</text>
34
+ <view
35
+ class="flex-col items-center justify-between flex"
36
+ :class="{
37
+ 'full-room': !item.total,
38
+ }"
39
+ >
40
+ <view class="day-title flex items-center justify-center gap-1 mr-2">
41
+ <text>{{ item.dateChinese }}</text>
42
+ <view
43
+ class="day-title-tip"
44
+ :class="{
45
+ 'day-title-tip-rest': item.restNumber === 0,
46
+ }"
47
+ v-if="item.dateTip"
48
+ >
49
+ {{ item.dateTip }}
54
50
  </view>
55
- <view v-if="item.dp">
56
- <text>分:¥{{ item.dp }}/</text>
57
- <text class="text-2.5">起</text>
58
- </view>
59
- <view v-if="item.sp">
60
- <text>结:¥{{ item.sp }}/</text>
61
- <text class="text-2.5">起</text>
51
+ </view>
52
+ <view class="day-info flex flex-col items-center justify-center p-1 box-border mr-0.75">
53
+ <view class="day-info-top">余{{ item.total }}</view>
54
+ <view class="day-info-bottom mt-1.5">
55
+ <view v-if="item.pp">
56
+ <text>{{ item.dp || item.sp ? '销:' : '' }}¥{{ item.pp }}/</text>
57
+ <text class="text-2.5">起</text>
58
+ </view>
59
+ <view v-if="item.dp">
60
+ <text>分:¥{{ item.dp }}/</text>
61
+ <text class="text-2.5">起</text>
62
+ </view>
63
+ <view v-if="item.sp">
64
+ <text>结:¥{{ item.sp }}/</text>
65
+ <text class="text-2.5">起</text>
66
+ </view>
62
67
  </view>
63
68
  </view>
64
69
  </view>
65
- </view>
70
+ </lcb-action-view>
66
71
  </scroll-view>
67
72
  </view>
68
73
  </lcb-block>
@@ -148,7 +153,6 @@ const list = computed(() => {
148
153
  &-bottom {
149
154
  font-size: 24rpx;
150
155
  padding: 0 20rpx;
151
- color: #969696;
152
156
  }
153
157
  }
154
158
  // 满房
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tplc/business",
3
- "version": "0.4.141",
3
+ "version": "0.4.143",
4
4
  "keywords": [
5
5
  "业务组件"
6
6
  ],
package/utils/history.ts CHANGED
@@ -15,7 +15,7 @@ export const getHistoryCity = () => {
15
15
  if (
16
16
  history &&
17
17
  new Date().getTime() - history.time <
18
- (uni.$lcb.constantsStore?.().mainConfig?.cityExpirationTime || 0)
18
+ (uni.$lcb.constantsStore?.().otherConfig?.cityExpirationTime || 0)
19
19
  ) {
20
20
  return history.address as ChildHotAddress
21
21
  } else {