@2kog/pkg-widget 0.1.16 → 0.1.17

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": "@2kog/pkg-widget",
3
- "version": "0.1.16",
3
+ "version": "0.1.17",
4
4
  "type": "module",
5
5
  "scripts": {
6
6
  "dev": "vite",
@@ -50,7 +50,7 @@
50
50
  <slot v-else name="placeholder" :activeMethod="activeMethod">
51
51
  <i
52
52
  class="placeholder-icon"
53
- :class="currentPaymentMethod?.icon || 'fas fa-qrcode text-gray-400'"
53
+ :class="currentPaymentMethod?.icon || 'fas fa-qrcode'"
54
54
  ></i>
55
55
  </slot>
56
56
  </div>
@@ -149,16 +149,16 @@ export default {
149
149
  {
150
150
  value: "wepay",
151
151
  label: payI18n.global.t("pay.wechat"),
152
- icon: "fab fa-weixin text-emerald-500",
153
- activeClass: "text-emerald-500",
152
+ icon: "fab fa-weixin wepay-icon",
153
+ activeClass: "",
154
154
  customClass: "wechat",
155
155
  channel: "wepay",
156
156
  },
157
157
  {
158
158
  value: "alipay",
159
159
  label: payI18n.global.t("pay.alipay"),
160
- icon: "fab fa-alipay text-blue-500",
161
- activeClass: "text-blue-500",
160
+ icon: "fab fa-alipay alipay-icon",
161
+ activeClass: "",
162
162
  customClass: "alipay",
163
163
  channel: {
164
164
  mobile: "alipay_wap",
@@ -475,6 +475,14 @@ export default {
475
475
  font-size: 0.75rem;
476
476
  font-weight: 500;
477
477
  }
478
+
479
+ }
480
+ .wepay-icon {
481
+ color: #10b981;
482
+ }
483
+
484
+ .alipay-icon {
485
+ color: #3b82f6;
478
486
  }
479
487
 
480
488
  .pay-method-btn.active.wechat {