w-ui-v1 1.1.13 → 1.1.15

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "w-ui-v1",
3
- "version": "1.1.13",
3
+ "version": "1.1.15",
4
4
  "description": "w-ui",
5
5
  "author": "wgxshh",
6
6
  "license": "ISC",
package/w-card/w-card.vue CHANGED
@@ -431,7 +431,7 @@ function EditButtonLabel(){
431
431
  }
432
432
 
433
433
  position: relative; // 添加定位上下文
434
- padding-bottom: 80rpx; // 为按钮预留空间
434
+ padding-bottom: 20rpx; // 为按钮预留空间
435
435
 
436
436
  .expand-btn-container {
437
437
  /* 尺寸调整 */
@@ -443,7 +443,7 @@ function EditButtonLabel(){
443
443
  position: absolute;
444
444
  right: 50%;
445
445
  transform: translateX(50%);
446
- bottom: 0;
446
+ bottom: -23px;
447
447
  width: auto !important;
448
448
  margin-top: 0;
449
449
 
@@ -50,6 +50,14 @@ const prop = defineProps({
50
50
  baseUrl:{
51
51
  type: String,
52
52
  default: '',
53
+ },
54
+ sourceId:{
55
+ type: String,
56
+ default: '',
57
+ },
58
+ appId:{
59
+ type: String,
60
+ default: '',
53
61
  }
54
62
  })
55
63
  // 计算属性,弹窗开关
@@ -89,7 +97,7 @@ const beforeEnter = async () => {
89
97
  uni.request({
90
98
  url:
91
99
  prop.baseUrl +
92
- '/v3/mstruc/data?sourceId=x6PQag0EbU&depth=1&sortColIds=创建时间_DESC&pageNo=1&pageSize=1&c_app编码_equals=418907889311981574&c_标记删除_equals=否',
100
+ `/v3/mstruc/data?sourceId=${prop.sourceId}&depth=1&sortColIds=创建时间_DESC&pageNo=1&pageSize=1&c_app编码_equals=${prop.appId}&c_标记删除_equals=否`,
93
101
  method: 'GET',
94
102
  header: {
95
103
  'hydrocarbon-program-token': prop.hydrocarbonProgramToken,