gxd-uni-library-editx 1.0.56 → 1.0.57

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": "gxd-uni-library-editx",
3
- "version": "1.0.56",
3
+ "version": "1.0.57",
4
4
  "private": false,
5
5
  "description": "聚福宝基础插件专用库",
6
6
  "main": "index.js",
@@ -7,7 +7,10 @@
7
7
  :color="mainColor"
8
8
  icon="iconchakan1"
9
9
  ></xd-font-icon>
10
- <view class="cha_kan">查看</view>
10
+ <view class="cha_kan" :style="{
11
+ backgroundColor: '#FFFFFF',
12
+ ...lookStyle
13
+ }">查看</view>
11
14
  </view>
12
15
  <view class="item-right">
13
16
  <view class="item_info">
@@ -31,7 +34,10 @@
31
34
  购买其他物品可抵:{{ cardInfo.other_card_point }}
32
35
  </view>
33
36
  </view>
34
- <view class="btn" :style="{ background: mainColor }">
37
+ <view class="btn" :style="{
38
+ backgroundColor: mainColor,
39
+ ...loginStyle
40
+ }">
35
41
  <view >{{ tabIndex === 1 ? loginName : "转换" }}</view>
36
42
  </view>
37
43
  </view>
@@ -64,6 +70,14 @@ export default {
64
70
  showLeft: {
65
71
  type: Boolean,
66
72
  default: true
73
+ },
74
+ loginStyle: {
75
+ type: Object,
76
+ default: () => ({})
77
+ },
78
+ lookStyle: {
79
+ type: Object,
80
+ default: () => ({})
67
81
  }
68
82
  },
69
83
  data(){
@@ -104,6 +118,9 @@ export default {
104
118
  .cha_kan{
105
119
  font-size: unit(22, rpx);
106
120
  color: #666666;
121
+ min-width: 60rpx;
122
+ padding: 4rpx 16rpx;
123
+ text-align: center;
107
124
  }
108
125
  }
109
126
  .item-right {