sh-view 2.8.6 → 2.8.8

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": "sh-view",
3
- "version": "2.8.6",
3
+ "version": "2.8.8",
4
4
  "description": "基于vxe-table二次封装,更包含Alert,Badge,Card,CodeEditor,Col,Corner,CountTo,Drawer,Empty,Form,Header,Icon,List,Loading,Modal,Noticebar,Poptip,Progress,PullRefresh,Query,Result,Row,Split,Grid,Table,Tabs,Tag,Toolbar,Tree,Upload,WaterFall,WaterMark等丰富组件库",
5
5
  "main": "packages/index.js",
6
6
  "typings": "types/index.d.ts",
@@ -65,8 +65,8 @@ export default defineComponent({
65
65
  minDate: [String, Number, Date],
66
66
  maxDate: [String, Number, Date],
67
67
  startDay: { type: [String, Number] },
68
- labelFormat: { type: String, default: 'yyyy-MM-dd' },
69
- valueFormat: { type: String, default: 'yyyy-MM-dd' },
68
+ labelFormat: { type: String },
69
+ valueFormat: { type: String },
70
70
  editable: { type: Boolean, default: true },
71
71
  festivalMethod: { type: Function },
72
72
  disabledMethod: { type: Function },
@@ -127,7 +127,6 @@ export default defineComponent({
127
127
  &-img {
128
128
  width: 100%;
129
129
  height: 100%;
130
- vertical-align: middle;
131
130
  }
132
131
  }
133
132
  </style>
@@ -57,16 +57,16 @@
57
57
  <div v-if="slots.toolbarRight" class="sh-table-toolbar-item">
58
58
  <slot name="toolbarRight"></slot>
59
59
  </div>
60
- <div v-if="tableMoneyConfig.enabled" class="sh-table-toolbar-item">单位:<sh-select v-model="tableMoneyUnit" v-bind="tableMoneyConfig" /></div>
61
- <div v-if="tableGlobalConfig.zoom" class="sh-table-toolbar-item">
62
- <vxe-button v-if="!tableIsFullscreen" v-ripple :size="size" icon="vxe-icon-zoom-out" @click="handleTableZoomBtn(true)">全屏</vxe-button>
63
- <vxe-button v-else v-ripple :size="size" icon="vxe-icon-zoom-in" @click="handleTableZoomBtn(false)">退出全屏</vxe-button>
64
- </div>
65
60
  <template v-for="(tool, toolIndex) in tableTools" :key="toolIndex">
66
61
  <div class="sh-table-toolbar-item">
67
62
  <vxe-button v-ripple :size="size" v-bind="tool" @click="handleTableTool(tool)"></vxe-button>
68
63
  </div>
69
64
  </template>
65
+ <div v-if="tableMoneyConfig.enabled" class="sh-table-toolbar-item">单位:<sh-select v-model="tableMoneyUnit" v-bind="tableMoneyConfig" /></div>
66
+ <div v-if="tableGlobalConfig.zoom" class="sh-table-toolbar-item">
67
+ <vxe-button v-if="!tableIsFullscreen" v-ripple :size="size" icon="vxe-icon-zoom-out" @click="handleTableZoomBtn(true)">全屏</vxe-button>
68
+ <vxe-button v-else v-ripple :size="size" icon="vxe-icon-zoom-in" @click="handleTableZoomBtn(false)">退出全屏</vxe-button>
69
+ </div>
70
70
  </div>
71
71
  </div>
72
72
  </template>
@@ -31,12 +31,12 @@
31
31
  <div v-if="slots.toolbarRight" class="sh-table-toolbar-item">
32
32
  <slot name="toolbarRight"></slot>
33
33
  </div>
34
- <div v-if="tableMoneyConfig.enabled" @click.stop class="sh-table-toolbar-item">单位:<sh-select v-model="tableMoneyUnit" v-bind="tableMoneyConfig" /></div>
35
34
  <template v-for="(tool, toolIndex) in tableTools" :key="toolIndex">
36
35
  <div class="sh-table-toolbar-item">
37
36
  <vxe-button v-ripple :size="size" v-bind="tool" @click="handleTableTool(tool)"></vxe-button>
38
37
  </div>
39
38
  </template>
39
+ <div v-if="tableMoneyConfig.enabled" @click.stop class="sh-table-toolbar-item">单位:<sh-select v-model="tableMoneyUnit" v-bind="tableMoneyConfig" /></div>
40
40
  </div>
41
41
  </div>
42
42
  </slot>
@@ -84,7 +84,7 @@ button:focus, .vxe-button.type--button:not(.is--disabled):focus{
84
84
 
85
85
  // 下拉容器
86
86
  .vxe-pulldown--panel{
87
- .vxe-pulldown--wrapper{
87
+ &-wrapper{
88
88
  box-shadow: 0 0 6px 2px rgba(0,0,0,0.1);
89
89
  padding: 0;
90
90
  border-radius: 4px;