@kengic/uni 0.5.1 → 0.5.2-beta.1
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/dist/uni/uni-ui/uni-badge/uni-badge.vue +222 -219
- package/dist/uni/uni-ui/uni-breadcrumb/uni-breadcrumb.vue +29 -29
- package/dist/uni/uni-ui/uni-breadcrumb-item/uni-breadcrumb-item.vue +88 -88
- package/dist/uni/uni-ui/uni-calendar/calendar.js +936 -532
- package/dist/uni/uni-ui/uni-calendar/i18n/en.json +10 -10
- package/dist/uni/uni-ui/uni-calendar/i18n/index.js +8 -7
- package/dist/uni/uni-ui/uni-calendar/i18n/zh-Hans.json +10 -10
- package/dist/uni/uni-ui/uni-calendar/i18n/zh-Hant.json +10 -10
- package/dist/uni/uni-ui/uni-calendar/uni-calendar-item.vue +190 -168
- package/dist/uni/uni-ui/uni-calendar/uni-calendar.vue +459 -459
- package/dist/uni/uni-ui/uni-calendar/util.js +324 -340
- package/dist/uni/uni-ui/uni-card/uni-card.vue +8 -1
- package/dist/uni/uni-ui/uni-col/uni-col.vue +294 -287
- package/dist/uni/uni-ui/uni-collapse/uni-collapse.vue +139 -140
- package/dist/uni/uni-ui/uni-collapse-item/uni-collapse-item.vue +381 -378
- package/dist/uni/uni-ui/uni-combox/uni-combox.vue +280 -272
- package/dist/uni/uni-ui/uni-countdown/i18n/en.json +4 -4
- package/dist/uni/uni-ui/uni-countdown/i18n/index.js +8 -7
- package/dist/uni/uni-ui/uni-countdown/i18n/zh-Hans.json +4 -4
- package/dist/uni/uni-ui/uni-countdown/i18n/zh-Hant.json +4 -4
- package/dist/uni/uni-ui/uni-countdown/uni-countdown.vue +249 -257
- package/dist/uni/uni-ui/uni-data-checkbox/uni-data-checkbox.vue +832 -813
- package/dist/uni/uni-ui/uni-data-picker/keypress.js +42 -42
- package/dist/uni/uni-ui/uni-data-picker/uni-data-picker.vue +535 -516
- package/dist/uni/uni-ui/uni-data-pickerview/uni-data-picker.js +623 -618
- package/dist/uni/uni-ui/uni-data-pickerview/uni-data-pickerview.vue +293 -288
- package/dist/uni/uni-ui/uni-data-select/uni-data-select.vue +495 -509
- package/dist/uni/uni-ui/uni-dateformat/date-format.js +181 -184
- package/dist/uni/uni-ui/uni-dateformat/uni-dateformat.vue +81 -82
- package/dist/uni/uni-ui/uni-datetime-picker/calendar-item.vue +176 -170
- package/dist/uni/uni-ui/uni-datetime-picker/calendar.vue +926 -920
- package/dist/uni/uni-ui/uni-datetime-picker/i18n/en.json +20 -20
- package/dist/uni/uni-ui/uni-datetime-picker/i18n/index.js +8 -7
- package/dist/uni/uni-ui/uni-datetime-picker/i18n/zh-Hans.json +21 -21
- package/dist/uni/uni-ui/uni-datetime-picker/i18n/zh-Hant.json +21 -21
- package/dist/uni/uni-ui/uni-datetime-picker/time-picker.vue +921 -926
- package/dist/uni/uni-ui/uni-datetime-picker/uni-datetime-picker.vue +1059 -1012
- package/dist/uni/uni-ui/uni-datetime-picker/util.js +366 -377
- package/dist/uni/uni-ui/uni-drawer/keypress.js +42 -42
- package/dist/uni/uni-ui/uni-drawer/uni-drawer.vue +176 -167
- package/dist/uni/uni-ui/uni-easyinput/common.js +40 -42
- package/dist/uni/uni-ui/uni-easyinput/uni-easyinput.vue +628 -547
- package/dist/uni/uni-ui/uni-fab/uni-fab.vue +507 -483
- package/dist/uni/uni-ui/uni-fav/i18n/en.json +2 -2
- package/dist/uni/uni-ui/uni-fav/i18n/index.js +8 -7
- package/dist/uni/uni-ui/uni-fav/i18n/zh-Hans.json +2 -2
- package/dist/uni/uni-ui/uni-fav/i18n/zh-Hant.json +2 -2
- package/dist/uni/uni-ui/uni-fav/uni-fav.vue +155 -147
- package/dist/uni/uni-ui/uni-file-picker/choose-and-upload-file.js +172 -198
- package/dist/uni/uni-ui/uni-file-picker/uni-file-picker.vue +636 -634
- package/dist/uni/uni-ui/uni-file-picker/upload-file.vue +294 -293
- package/dist/uni/uni-ui/uni-file-picker/upload-image.vue +267 -270
- package/dist/uni/uni-ui/uni-file-picker/utils.js +81 -82
- package/dist/uni/uni-ui/uni-forms/uni-forms.vue +360 -372
- package/dist/uni/uni-ui/uni-forms/utils.js +170 -174
- package/dist/uni/uni-ui/uni-forms/validate.js +447 -456
- package/dist/uni/uni-ui/uni-forms-item/uni-forms-item.vue +497 -497
- package/dist/uni/uni-ui/uni-goods-nav/i18n/en.json +4 -4
- package/dist/uni/uni-ui/uni-goods-nav/i18n/index.js +8 -7
- package/dist/uni/uni-ui/uni-goods-nav/i18n/zh-Hans.json +4 -4
- package/dist/uni/uni-ui/uni-goods-nav/i18n/zh-Hant.json +4 -4
- package/dist/uni/uni-ui/uni-goods-nav/uni-goods-nav.vue +238 -222
- package/dist/uni/uni-ui/uni-grid/uni-grid.vue +134 -134
- package/dist/uni/uni-ui/uni-grid-item/uni-grid-item.vue +121 -119
- package/dist/uni/uni-ui/uni-group/uni-group.vue +121 -121
- package/dist/uni/uni-ui/uni-icons/icons.js +1170 -1168
- package/dist/uni/uni-ui/uni-icons/uni-icons.vue +91 -86
- package/dist/uni/uni-ui/uni-icons/uniicons.css +166 -166
- package/dist/uni/uni-ui/uni-indexed-list/uni-indexed-list-item.vue +129 -129
- package/dist/uni/uni-ui/uni-indexed-list/uni-indexed-list.vue +352 -347
- package/dist/uni/uni-ui/uni-link/uni-link.vue +134 -119
- package/dist/uni/uni-ui/uni-list/uni-list.vue +119 -110
- package/dist/uni/uni-ui/uni-list/uni-refresh.vue +14 -14
- package/dist/uni/uni-ui/uni-list/uni-refresh.wxs +14 -14
- package/dist/uni/uni-ui/uni-list-ad/uni-list-ad.vue +101 -95
- package/dist/uni/uni-ui/uni-list-chat/uni-list-chat.scss +18 -18
- package/dist/uni/uni-ui/uni-list-chat/uni-list-chat.vue +602 -586
- package/dist/uni/uni-ui/uni-list-item/uni-list-item.vue +507 -503
- package/dist/uni/uni-ui/uni-load-more/i18n/en.json +3 -3
- package/dist/uni/uni-ui/uni-load-more/i18n/index.js +8 -7
- package/dist/uni/uni-ui/uni-load-more/i18n/zh-Hans.json +3 -3
- package/dist/uni/uni-ui/uni-load-more/i18n/zh-Hant.json +3 -3
- package/dist/uni/uni-ui/uni-load-more/uni-load-more.vue +402 -392
- package/dist/uni/uni-ui/uni-nav-bar/uni-nav-bar.vue +328 -330
- package/dist/uni/uni-ui/uni-nav-bar/uni-status-bar.vue +17 -17
- package/dist/uni/uni-ui/uni-notice-bar/uni-notice-bar.vue +422 -401
- package/dist/uni/uni-ui/uni-number-box/uni-number-box.vue +211 -205
- package/dist/uni/uni-ui/uni-pagination/i18n/en.json +3 -3
- package/dist/uni/uni-ui/uni-pagination/i18n/es.json +3 -3
- package/dist/uni/uni-ui/uni-pagination/i18n/fr.json +3 -3
- package/dist/uni/uni-ui/uni-pagination/i18n/index.js +12 -11
- package/dist/uni/uni-ui/uni-pagination/i18n/zh-Hans.json +3 -3
- package/dist/uni/uni-ui/uni-pagination/i18n/zh-Hant.json +3 -3
- package/dist/uni/uni-ui/uni-pagination/uni-pagination.vue +450 -433
- package/dist/uni/uni-ui/uni-popup/uni-popup.vue +404 -404
- package/dist/uni/uni-ui/uni-popup-dialog/keypress.js +42 -42
- package/dist/uni/uni-ui/uni-popup-dialog/uni-popup-dialog.vue +1 -0
- package/dist/uni/uni-ui/uni-popup-message/uni-popup-message.vue +126 -125
- package/dist/uni/uni-ui/uni-popup-share/uni-popup-share.vue +172 -172
- package/dist/uni/uni-ui/uni-rate/uni-rate.vue +343 -347
- package/dist/uni/uni-ui/uni-row/uni-row.vue +180 -182
- package/dist/uni/uni-ui/uni-scss/changelog.md +11 -4
- package/dist/uni/uni-ui/uni-scss/package.json +73 -73
- package/dist/uni/uni-ui/uni-scss/readme.md +2 -1
- package/dist/uni/uni-ui/uni-scss/styles/setting/_border.scss +2 -2
- package/dist/uni/uni-ui/uni-scss/styles/setting/_color.scss +46 -47
- package/dist/uni/uni-ui/uni-scss/styles/setting/_radius.scss +49 -49
- package/dist/uni/uni-ui/uni-scss/styles/setting/_space.scss +52 -53
- package/dist/uni/uni-ui/uni-scss/styles/setting/_styles.scss +142 -147
- package/dist/uni/uni-ui/uni-scss/styles/setting/_text.scss +20 -20
- package/dist/uni/uni-ui/uni-scss/styles/setting/_variables.scss +111 -95
- package/dist/uni/uni-ui/uni-scss/styles/tools/functions.scss +28 -18
- package/dist/uni/uni-ui/uni-scss/theme.scss +10 -7
- package/dist/uni/uni-ui/uni-scss/variables.scss +42 -24
- package/dist/uni/uni-ui/uni-search-bar/i18n/en.json +3 -3
- package/dist/uni/uni-ui/uni-search-bar/i18n/index.js +8 -7
- package/dist/uni/uni-ui/uni-search-bar/i18n/zh-Hans.json +2 -2
- package/dist/uni/uni-ui/uni-search-bar/i18n/zh-Hant.json +2 -2
- package/dist/uni/uni-ui/uni-search-bar/uni-search-bar.vue +290 -281
- package/dist/uni/uni-ui/uni-section/uni-section.vue +149 -146
- package/dist/uni/uni-ui/uni-segmented-control/uni-segmented-control.vue +141 -131
- package/dist/uni/uni-ui/uni-steps/uni-steps.vue +255 -236
- package/dist/uni/uni-ui/uni-swipe-action/uni-swipe-action.vue +51 -51
- package/dist/uni/uni-ui/uni-swipe-action-item/bindingx.js +276 -282
- package/dist/uni/uni-ui/uni-swipe-action-item/isPC.js +10 -10
- package/dist/uni/uni-ui/uni-swipe-action-item/mpalipay.js +182 -187
- package/dist/uni/uni-ui/uni-swipe-action-item/mpother.js +235 -244
- package/dist/uni/uni-ui/uni-swipe-action-item/mpwxs.js +70 -75
- package/dist/uni/uni-ui/uni-swipe-action-item/render.js +238 -247
- package/dist/uni/uni-ui/uni-swipe-action-item/uni-swipe-action-item.vue +387 -313
- package/dist/uni/uni-ui/uni-swipe-action-item/wx.wxs +206 -215
- package/dist/uni/uni-ui/uni-swiper-dot/uni-swiper-dot.vue +241 -197
- package/dist/uni/uni-ui/uni-table/uni-table.vue +445 -447
- package/dist/uni/uni-ui/uni-tag/uni-tag.vue +234 -244
- package/dist/uni/uni-ui/uni-tbody/uni-tbody.vue +20 -23
- package/dist/uni/uni-ui/uni-td/uni-td.vue +79 -80
- package/dist/uni/uni-ui/uni-th/filter-dropdown.vue +510 -503
- package/dist/uni/uni-ui/uni-th/uni-th.vue +289 -273
- package/dist/uni/uni-ui/uni-thead/uni-thead.vue +115 -114
- package/dist/uni/uni-ui/uni-title/uni-title.vue +151 -154
- package/dist/uni/uni-ui/uni-tooltip/uni-tooltip.vue +55 -60
- package/dist/uni/uni-ui/uni-tr/table-checkbox.vue +162 -163
- package/dist/uni/uni-ui/uni-tr/uni-tr.vue +158 -157
- package/dist/uni/uni-ui/uni-transition/createAnimation.js +130 -113
- package/dist/uni/uni-ui/uni-transition/uni-transition.vue +274 -272
- package/package.json +1 -1
|
@@ -1,8 +1,9 @@
|
|
|
1
|
-
import en from './en.json'
|
|
2
|
-
import zhHans from './zh-Hans.json'
|
|
3
|
-
import zhHant from './zh-Hant.json'
|
|
1
|
+
import en from './en.json';
|
|
2
|
+
import zhHans from './zh-Hans.json';
|
|
3
|
+
import zhHant from './zh-Hant.json';
|
|
4
|
+
|
|
4
5
|
export default {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
}
|
|
6
|
+
en,
|
|
7
|
+
'zh-Hans': zhHans,
|
|
8
|
+
'zh-Hant': zhHant,
|
|
9
|
+
};
|
|
@@ -1,161 +1,169 @@
|
|
|
1
1
|
<template>
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
2
|
+
<view
|
|
3
|
+
:class="[circle === true || circle === 'true' ? 'uni-fav--circle' : '']"
|
|
4
|
+
:style="[{ backgroundColor: checked ? bgColorChecked : bgColor }]"
|
|
5
|
+
@click="onClick"
|
|
6
|
+
class="uni-fav"
|
|
7
|
+
>
|
|
8
|
+
<!-- #ifdef MP-ALIPAY -->
|
|
9
|
+
<view class="uni-fav-star" v-if="!checked && (star === true || star === 'true')">
|
|
10
|
+
<uni-icons :color="fgColor" :style="{ color: checked ? fgColorChecked : fgColor }" size="14" type="star-filled" />
|
|
11
|
+
</view>
|
|
12
|
+
<!-- #endif -->
|
|
13
|
+
<!-- #ifndef MP-ALIPAY -->
|
|
14
|
+
<uni-icons
|
|
15
|
+
:color="fgColor"
|
|
16
|
+
:style="{ color: checked ? fgColorChecked : fgColor }"
|
|
17
|
+
class="uni-fav-star"
|
|
18
|
+
size="14"
|
|
19
|
+
type="star-filled"
|
|
20
|
+
v-if="!checked && (star === true || star === 'true')"
|
|
21
|
+
/>
|
|
22
|
+
<!-- #endif -->
|
|
23
|
+
<text :style="{ color: checked ? fgColorChecked : fgColor }" class="uni-fav-text">{{ checked ? contentFav : contentDefault }}</text>
|
|
24
|
+
</view>
|
|
15
25
|
</template>
|
|
16
26
|
|
|
17
27
|
<script>
|
|
28
|
+
/**
|
|
29
|
+
* Fav 收藏按钮
|
|
30
|
+
* @description 用于收藏功能,可点击切换选中、不选中的状态
|
|
31
|
+
* @tutorial https://ext.dcloud.net.cn/plugin?id=864
|
|
32
|
+
* @property {Boolean} star = [true|false] 按钮是否带星星
|
|
33
|
+
* @property {String} bgColor 未收藏时的背景色
|
|
34
|
+
* @property {String} bgColorChecked 已收藏时的背景色
|
|
35
|
+
* @property {String} fgColor 未收藏时的文字颜色
|
|
36
|
+
* @property {String} fgColorChecked 已收藏时的文字颜色
|
|
37
|
+
* @property {Boolean} circle = [true|false] 是否为圆角
|
|
38
|
+
* @property {Boolean} checked = [true|false] 是否为已收藏
|
|
39
|
+
* @property {Object} contentText = [true|false] 收藏按钮文字
|
|
40
|
+
* @property {Boolean} stat 是否开启统计功能
|
|
41
|
+
* @event {Function} click 点击 fav按钮触发事件
|
|
42
|
+
* @example <uni-fav :checked="true"/>
|
|
43
|
+
*/
|
|
18
44
|
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
* @description 用于收藏功能,可点击切换选中、不选中的状态
|
|
22
|
-
* @tutorial https://ext.dcloud.net.cn/plugin?id=864
|
|
23
|
-
* @property {Boolean} star = [true|false] 按钮是否带星星
|
|
24
|
-
* @property {String} bgColor 未收藏时的背景色
|
|
25
|
-
* @property {String} bgColorChecked 已收藏时的背景色
|
|
26
|
-
* @property {String} fgColor 未收藏时的文字颜色
|
|
27
|
-
* @property {String} fgColorChecked 已收藏时的文字颜色
|
|
28
|
-
* @property {Boolean} circle = [true|false] 是否为圆角
|
|
29
|
-
* @property {Boolean} checked = [true|false] 是否为已收藏
|
|
30
|
-
* @property {Object} contentText = [true|false] 收藏按钮文字
|
|
31
|
-
* @property {Boolean} stat 是否开启统计功能
|
|
32
|
-
* @event {Function} click 点击 fav按钮触发事件
|
|
33
|
-
* @example <uni-fav :checked="true"/>
|
|
34
|
-
*/
|
|
45
|
+
import { initVueI18n } from '@dcloudio/uni-i18n';
|
|
46
|
+
import messages from './i18n';
|
|
35
47
|
|
|
36
|
-
|
|
37
|
-
initVueI18n
|
|
38
|
-
} from '@dcloudio/uni-i18n'
|
|
39
|
-
import messages from './i18n'
|
|
40
|
-
const { t } = initVueI18n(messages)
|
|
48
|
+
const { t } = initVueI18n(messages);
|
|
41
49
|
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
50
|
+
export default {
|
|
51
|
+
name: 'UniFav',
|
|
52
|
+
// TODO 兼容 vue3,需要注册事件
|
|
53
|
+
emits: ['click'],
|
|
54
|
+
props: {
|
|
55
|
+
star: {
|
|
56
|
+
type: [Boolean, String],
|
|
57
|
+
default: true,
|
|
58
|
+
},
|
|
59
|
+
bgColor: {
|
|
60
|
+
type: String,
|
|
61
|
+
default: '#eeeeee',
|
|
62
|
+
},
|
|
63
|
+
fgColor: {
|
|
64
|
+
type: String,
|
|
65
|
+
default: '#666666',
|
|
66
|
+
},
|
|
67
|
+
bgColorChecked: {
|
|
68
|
+
type: String,
|
|
69
|
+
default: '#007aff',
|
|
70
|
+
},
|
|
71
|
+
fgColorChecked: {
|
|
72
|
+
type: String,
|
|
73
|
+
default: '#FFFFFF',
|
|
74
|
+
},
|
|
75
|
+
circle: {
|
|
76
|
+
type: [Boolean, String],
|
|
77
|
+
default: false,
|
|
78
|
+
},
|
|
79
|
+
checked: {
|
|
80
|
+
type: Boolean,
|
|
81
|
+
default: false,
|
|
82
|
+
},
|
|
83
|
+
contentText: {
|
|
84
|
+
type: Object,
|
|
85
|
+
default() {
|
|
86
|
+
return {
|
|
87
|
+
contentDefault: '',
|
|
88
|
+
contentFav: '',
|
|
89
|
+
};
|
|
90
|
+
},
|
|
91
|
+
},
|
|
92
|
+
stat: {
|
|
93
|
+
type: Boolean,
|
|
94
|
+
default: false,
|
|
95
|
+
},
|
|
96
|
+
},
|
|
97
|
+
computed: {
|
|
98
|
+
contentDefault() {
|
|
99
|
+
return this.contentText.contentDefault || t('uni-fav.collect');
|
|
100
|
+
},
|
|
101
|
+
contentFav() {
|
|
102
|
+
return this.contentText.contentFav || t('uni-fav.collected');
|
|
103
|
+
},
|
|
104
|
+
},
|
|
105
|
+
watch: {
|
|
106
|
+
checked() {
|
|
107
|
+
if (uni.report && this.stat) {
|
|
108
|
+
if (this.checked) {
|
|
109
|
+
uni.report('收藏', '收藏');
|
|
110
|
+
} else {
|
|
111
|
+
uni.report('取消收藏', '取消收藏');
|
|
112
|
+
}
|
|
113
|
+
}
|
|
114
|
+
},
|
|
115
|
+
},
|
|
116
|
+
methods: {
|
|
117
|
+
onClick() {
|
|
118
|
+
this.$emit('click');
|
|
119
|
+
},
|
|
120
|
+
},
|
|
121
|
+
};
|
|
114
122
|
</script>
|
|
115
123
|
|
|
116
|
-
<style lang="scss"
|
|
117
|
-
|
|
124
|
+
<style lang="scss">
|
|
125
|
+
$fav-height: 25px;
|
|
118
126
|
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
127
|
+
.uni-fav {
|
|
128
|
+
/* #ifndef APP-NVUE */
|
|
129
|
+
display: flex;
|
|
130
|
+
/* #endif */
|
|
131
|
+
flex-direction: row;
|
|
132
|
+
align-items: center;
|
|
133
|
+
justify-content: center;
|
|
134
|
+
width: 60px;
|
|
135
|
+
height: $fav-height;
|
|
136
|
+
line-height: $fav-height;
|
|
137
|
+
text-align: center;
|
|
138
|
+
border-radius: 3px;
|
|
139
|
+
/* #ifdef H5 */
|
|
140
|
+
cursor: pointer;
|
|
141
|
+
/* #endif */
|
|
142
|
+
}
|
|
135
143
|
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
144
|
+
.uni-fav--circle {
|
|
145
|
+
border-radius: 30px;
|
|
146
|
+
}
|
|
139
147
|
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
148
|
+
.uni-fav-star {
|
|
149
|
+
/* #ifndef APP-NVUE */
|
|
150
|
+
display: flex;
|
|
151
|
+
/* #endif */
|
|
152
|
+
height: $fav-height;
|
|
153
|
+
line-height: 24px;
|
|
154
|
+
margin-right: 3px;
|
|
155
|
+
align-items: center;
|
|
156
|
+
justify-content: center;
|
|
157
|
+
}
|
|
150
158
|
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
159
|
+
.uni-fav-text {
|
|
160
|
+
/* #ifndef APP-NVUE */
|
|
161
|
+
display: flex;
|
|
162
|
+
/* #endif */
|
|
163
|
+
height: $fav-height;
|
|
164
|
+
line-height: $fav-height;
|
|
165
|
+
align-items: center;
|
|
166
|
+
justify-content: center;
|
|
167
|
+
font-size: 12px;
|
|
168
|
+
}
|
|
161
169
|
</style>
|