@pisell/materials 1.0.694 → 1.0.696

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.
@@ -288,7 +288,6 @@ var WalletCard = function WalletCard(props) {
288
288
  };
289
289
  }
290
290
  }, [props.customBackgroundImage, mode]);
291
- console.log(isLogin, props, 'wh987976');
292
291
  return /*#__PURE__*/React.createElement("div", {
293
292
  className: classNames('pisell-wallet-card-wrapper', className),
294
293
  style: style,
@@ -323,7 +322,7 @@ var WalletCard = function WalletCard(props) {
323
322
  symbol: symbol
324
323
  })) : /*#__PURE__*/React.createElement(Guest, {
325
324
  setting: props
326
- })), cardStyle === 'full' && /*#__PURE__*/React.createElement("div", {
325
+ })), cardStyle === 'full' && isLogin && /*#__PURE__*/React.createElement("div", {
327
326
  className: classNames('pisell-wallet-card-showCode', codeDirection === 'top' ? 'code-top' : 'code-bottom')
328
327
  }, /*#__PURE__*/React.createElement(CodeDisplay, {
329
328
  codeType: codeType,
@@ -233,7 +233,6 @@ var WalletCard = (props) => {
233
233
  };
234
234
  }
235
235
  }, [props.customBackgroundImage, mode]);
236
- console.log(isLogin, props, "wh987976");
237
236
  return /* @__PURE__ */ import_react.default.createElement(
238
237
  "div",
239
238
  {
@@ -283,7 +282,7 @@ var WalletCard = (props) => {
283
282
  }
284
283
  )) : /* @__PURE__ */ import_react.default.createElement(import_Guest.default, { setting: props })
285
284
  ),
286
- cardStyle === "full" && /* @__PURE__ */ import_react.default.createElement(
285
+ cardStyle === "full" && isLogin && /* @__PURE__ */ import_react.default.createElement(
287
286
  "div",
288
287
  {
289
288
  className: (0, import_classnames.default)(
@@ -221,23 +221,19 @@ export default {
221
221
  },
222
222
  {
223
223
  name: 'align',
224
- title: { label: '对齐方式', tip: '内容区域文字对齐方式 left | center' },
224
+ title: {
225
+ label: '对齐方式',
226
+ tip: '内容区域文字对齐方式 left | center'
227
+ },
225
228
  setter: {
226
229
  componentName: 'RadioGroupSetter',
227
230
  props: {
228
231
  options: [
229
- {
230
- title: '左对齐',
231
- value: 'left',
232
- },
233
- {
234
- title: '居中对齐',
235
- value: 'center',
236
- },
232
+ { title: '左对齐', value: 'left' },
233
+ { title: '居中对齐', value: 'center' },
237
234
  ],
238
235
  },
239
236
  },
240
- propType: { type: 'oneOf', value: ['left', 'center'] },
241
237
  defaultValue: 'left',
242
238
  },
243
239
  {
@@ -14,6 +14,7 @@ export default [
14
14
  showCardNo: true,
15
15
  showCode: true,
16
16
  symbol: '$',
17
+ align: 'left',
17
18
  items: [
18
19
  {
19
20
  key: 'points',
@@ -36,7 +37,6 @@ export default [
36
37
  value: 0,
37
38
  }
38
39
  ],
39
- // align: 'left'
40
40
  },
41
41
  },
42
42
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pisell/materials",
3
- "version": "1.0.694",
3
+ "version": "1.0.696",
4
4
  "main": "./lib/index.js",
5
5
  "module": "./es/index.js",
6
6
  "types": "./lib/index.d.ts",