@kengic/uni 0.5.2-beta.5 → 0.5.2-beta.7

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.
@@ -10,7 +10,7 @@
10
10
  <uni-icons type="clear" color="#c0c4cc" size="16" />
11
11
  </view>
12
12
  <view v-else>
13
- <uni-icons :type="showSelector ? 'top' : 'bottom'" size="14" color="#999" />
13
+ <Icon :icon="showSelector ? 'ant-design:caret-up-filled' : 'ant-design:caret-down-filled'" />
14
14
  </view>
15
15
  </view>
16
16
  <view class="uni-select--mask" v-if="showSelector" @click="toggleSelector" />
@@ -44,10 +44,12 @@
44
44
  * @property {Boolean} disabled 是否禁用
45
45
  * @event {Function} change 选中发生变化触发
46
46
  */
47
+ import { Icon } from '@iconify/vue';
47
48
 
48
49
  export default {
49
50
  name: 'UniDataSelect',
50
51
  mixins: [uniCloud.mixinDatacom || {}],
52
+ components: { Icon: Icon },
51
53
  props: {
52
54
  localdata: {
53
55
  type: Array,
@@ -609,7 +609,7 @@
609
609
  flex: 1;
610
610
  line-height: 1;
611
611
  font-size: 14px;
612
- height: 35px;
612
+ height: 24px;
613
613
  // min-height: 36px;
614
614
 
615
615
  /*ifdef H5*/
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kengic/uni",
3
- "version": "0.5.2-beta.5",
3
+ "version": "0.5.2-beta.7",
4
4
  "scripts": {
5
5
  "build": "npm run switch-node-version && rimraf dist && vue-tsc && vite build",
6
6
  "------ -------------------------------------------": "",
@@ -29,7 +29,6 @@
29
29
  "publish:npm": "npm run switch-node-version && npmrc kengic && npm publish ./ --registry https://registry.npmjs.org/ --access public"
30
30
  },
31
31
  "dependencies": {
32
- "@ant-design/icons-vue": "6.1.0",
33
32
  "@dcloudio/types": "~3.3.3",
34
33
  "@dcloudio/uni-app": "3.0.0-alpha-3080220230428001",
35
34
  "@iconify-icons/ant-design": "~1.2.5",