mali-applet-ui 0.2.67 → 0.2.69

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.
@@ -12,7 +12,7 @@
12
12
  <view class="ml-approval-select-users">
13
13
  <view class="ml-approval-select-user-item" v-for="(item, uIndex) in group.users" :key="uIndex">
14
14
  <ml-checkbox>
15
- <image class="ml-approval-select-user-picture" src="https://img.ddscan.cn/saas/avatar.png" mode="scaleToFill"></image>
15
+ <image class="ml-approval-select-user-picture" src="https://csgc.saas.ddqrcode.com/applet/business/image/portrait2.png" mode="scaleToFill"></image>
16
16
  <view class="ml-approval-select-user-name">{{ item.name }}</view>
17
17
  </ml-checkbox>
18
18
  </view>
@@ -30,7 +30,7 @@
30
30
  <ml-list-menu-item v-for="(item, cIndex) in group.userList" :key="cIndex" :padding="false" disabled suffixIcon="none">
31
31
  <ml-row>
32
32
  <ml-col width="80rpx" shrink>
33
- <image class="ml-approval-picker-drawer-user-picture" src="https://img.ddscan.cn/saas/avatar.png" mode="scaleToFill"></image>
33
+ <image class="ml-approval-picker-drawer-user-picture" src="https://csgc.saas.ddqrcode.com/applet/business/image/portrait2.png" mode="scaleToFill"></image>
34
34
  </ml-col>
35
35
  <ml-col verticalAlign="center">{{ item.name }}</ml-col>
36
36
  </ml-row>
@@ -1,5 +1,5 @@
1
1
  <template>
2
- <view class="ml-card">
2
+ <view class="ml-card" :class="{'is-bg': background, 'is-padding': padding}">
3
3
  <view v-if="title || showHeader" class="ml-card-header">
4
4
  <view class="ml-card-title">
5
5
  <slot name="title">{{ title }}</slot>
@@ -22,6 +22,14 @@ export default {
22
22
  },
23
23
  props: {
24
24
  title: String,
25
+ background: {
26
+ type: Boolean,
27
+ default: true
28
+ },
29
+ padding: {
30
+ type: Boolean,
31
+ default: true
32
+ },
25
33
  showHeader: Boolean
26
34
  }
27
35
  }
@@ -31,7 +39,14 @@ export default {
31
39
  .ml-card {
32
40
  margin-bottom: 20rpx;
33
41
  border-radius: $ml-border-radius;
34
- background: #fff;
42
+ &.is-bg {
43
+ background: #fff;
44
+ }
45
+ &.is-padding {
46
+ .ml-card-body {
47
+ padding: 0 20rpx 20rpx 20rpx;
48
+ }
49
+ }
35
50
  .ml-card-header {
36
51
  display: flex;
37
52
  flex-direction: row;
@@ -56,8 +71,5 @@ export default {
56
71
  flex-shrink: 0;
57
72
  }
58
73
  }
59
- .ml-card-body {
60
- padding: 20rpx;
61
- }
62
74
  }
63
75
  </style>