gxd-uni-library-editx 1.0.159 → 1.0.160

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.159",
3
+ "version": "1.0.160",
4
4
  "private": false,
5
5
  "description": "聚福宝基础插件专用库",
6
6
  "main": "index.js",
@@ -9,11 +9,12 @@
9
9
  <text class="uni-numbox--text" :class="{ 'uni-numbox--disabled': inputValue <= uiMin || disabled }">-</text>
10
10
  </view>
11
11
  <input
12
- :disabled="disabled"
12
+ :disabled="disabled || circle"
13
13
  @focus="_onFocus"
14
14
  @blur="_onBlur"
15
15
  class="uni-numbox__value"
16
- :class="{disabled: disabled}"
16
+ :class="{disabled: (disabled || circle), circle: circle}"
17
+
17
18
  type="number"
18
19
  v-model="inputValue" />
19
20
  <view @click="_calcValue('plus')" class="uni-numbox__plus uni-cursor-point" :class="{'numbox--disabled': inputValue >= uiMax || disabled }">
@@ -253,11 +254,14 @@ export default {
253
254
  width: 0;
254
255
  color: #333;
255
256
 
256
-
257
257
  &.disabled {
258
258
  color: #bbb;
259
259
  }
260
260
 
261
+ &.circle {
262
+ color: #333!important;
263
+ }
264
+
261
265
  }
262
266
 
263
267
  .uni-numbox__minus {
@@ -305,14 +309,14 @@ export default {
305
309
  }
306
310
 
307
311
  .uni-numbox--text {
308
- font-size: 28rpx;
312
+ font-size: 32rpx;
309
313
  color: $uni-text-color;
310
- //#ifdef h5
311
- margin-top: -2rpx;
312
- //#endif
313
- //#ifdef MP-WEIXIN
314
+ /* #ifdef H5 */
315
+ margin-top:-8rpx;
316
+ /* #endif */
317
+ /* #ifdef MP-WEIXIN */
314
318
  margin-top: -8rpx;
315
- //#endif
319
+ /* #endif */
316
320
  }
317
321
 
318
322
  .uni-numbox--disabled {
@@ -673,9 +673,16 @@ export function getContainerPropsValue(
673
673
  //已设置值处理
674
674
  if(bsValue) {
675
675
  if(bsValue.type === 'Y') {
676
- color = bsValue.value.color;
677
- if(isBorder) style = bsValue.value.style;
678
- width = bsValue.value.width;
676
+ if(bsValue.value === null) {
677
+ color = dDataValue.color;
678
+ if(isBorder) style = dDataValue.style;
679
+ width = dDataValue.width;
680
+ }else {
681
+ color = bsValue.value.color;
682
+ if(isBorder) style = bsValue.value.style;
683
+ width = bsValue.value.width;
684
+ }
685
+
679
686
  }
680
687
  else if(bsValue.type === 'N'){
681
688
  isNone = true;