@nutui/nutui 3.2.6-beta.2 → 3.2.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.
- package/CHANGELOG.md +72 -0
- package/README.md +11 -1
- package/dist/nutui.es.js +682 -1156
- package/dist/nutui.umd.js +689 -1164
- package/dist/packages/_es/ActionSheet.js +1 -1
- package/dist/packages/_es/Address.js +1 -1
- package/dist/packages/_es/AddressList.js +1 -1
- package/dist/packages/_es/Animate.js +1 -1
- package/dist/packages/_es/Audio.js +1 -1
- package/dist/packages/_es/AudioOperate.js +1 -1
- package/dist/packages/_es/Avatar.js +1 -1
- package/dist/packages/_es/AvatarGroup.js +1 -1
- package/dist/packages/_es/BackTop.js +1 -1
- package/dist/packages/_es/Badge.js +1 -1
- package/dist/packages/_es/Barrage.js +1 -1
- package/dist/packages/_es/Button.js +1 -1
- package/dist/packages/_es/Calendar.js +11 -4
- package/dist/packages/_es/CalendarItem.js +1 -1
- package/dist/packages/_es/Card.js +1 -1
- package/dist/packages/_es/Cascader.js +1 -1
- package/dist/packages/_es/Category.js +1 -1
- package/dist/packages/_es/CategoryPane.js +1 -1
- package/dist/packages/_es/Cell.js +1 -1
- package/dist/packages/_es/CellGroup.js +1 -1
- package/dist/packages/_es/Checkbox.js +1 -1
- package/dist/packages/_es/CheckboxGroup.js +1 -1
- package/dist/packages/_es/CircleProgress.js +1 -1
- package/dist/packages/_es/Col.js +1 -1
- package/dist/packages/_es/Collapse.js +1 -1
- package/dist/packages/_es/CollapseItem.js +9 -12
- package/dist/packages/_es/Comment.js +1 -1
- package/dist/packages/_es/ConfigProvider.js +1 -1
- package/dist/packages/_es/CountDown.js +1 -1
- package/dist/packages/_es/CountUp.js +1 -1
- package/dist/packages/_es/DatePicker.js +1 -1
- package/dist/packages/_es/Dialog.js +1 -1
- package/dist/packages/_es/Divider.js +1 -1
- package/dist/packages/_es/Drag.js +1 -1
- package/dist/packages/_es/Ecard.js +1 -1
- package/dist/packages/_es/Elevator.js +8 -2
- package/dist/packages/_es/Ellipsis.js +3 -3
- package/dist/packages/_es/Empty.js +1 -1
- package/dist/packages/_es/FixedNav.js +1 -1
- package/dist/packages/_es/Form.js +1 -1
- package/dist/packages/_es/FormItem.js +1 -1
- package/dist/packages/_es/Grid.js +1 -1
- package/dist/packages/_es/GridItem.js +1 -1
- package/dist/packages/_es/Icon.js +1 -1
- package/dist/packages/_es/Image.js +1 -1
- package/dist/packages/_es/ImagePreview.js +16 -5
- package/dist/packages/_es/Indicator.js +1 -1
- package/dist/packages/_es/InfiniteLoading.js +9 -2
- package/dist/packages/_es/Input.js +5 -12
- package/dist/packages/_es/InputNumber.js +1 -1
- package/dist/packages/_es/Invoice.js +1 -1
- package/dist/packages/_es/Layout.js +1 -1
- package/dist/packages/_es/List.js +1 -1
- package/dist/packages/_es/Menu.js +1 -1
- package/dist/packages/_es/MenuItem.js +5 -2
- package/dist/packages/_es/Navbar.js +1 -1
- package/dist/packages/_es/NoticeBar.js +1 -1
- package/dist/packages/_es/Notify.js +1 -1
- package/dist/packages/_es/NumberKeyboard.js +1 -1
- package/dist/packages/_es/OverLay.js +1 -1
- package/dist/packages/_es/Pagination.js +1 -1
- package/dist/packages/_es/Picker.js +1 -1
- package/dist/packages/_es/Popover.js +1 -1
- package/dist/packages/_es/Popup.js +6 -47
- package/dist/packages/_es/Price.js +1 -1
- package/dist/packages/_es/Progress.js +1 -1
- package/dist/packages/_es/PullRefresh.js +1 -1
- package/dist/packages/_es/Radio.js +1 -1
- package/dist/packages/_es/RadioGroup.js +1 -1
- package/dist/packages/_es/Range.js +1 -1
- package/dist/packages/_es/Rate.js +1 -1
- package/dist/packages/_es/Row.js +1 -1
- package/dist/packages/_es/SearchBar.js +1 -1
- package/dist/packages/_es/ShortPassword.js +1 -1
- package/dist/packages/_es/SideNavBar.js +1 -1
- package/dist/packages/_es/SideNavBarItem.js +1 -1
- package/dist/packages/_es/Signature.js +1 -1
- package/dist/packages/_es/Skeleton.js +19 -24
- package/dist/packages/_es/Sku.js +1 -1
- package/dist/packages/_es/Step.js +1 -1
- package/dist/packages/_es/Steps.js +1 -1
- package/dist/packages/_es/Sticky.js +1 -1
- package/dist/packages/_es/SubSideNavBar.js +1 -1
- package/dist/packages/_es/Swipe.js +1 -1
- package/dist/packages/_es/Swiper.js +1 -1
- package/dist/packages/_es/SwiperItem.js +1 -1
- package/dist/packages/_es/Switch.js +1 -1
- package/dist/packages/_es/TabPane.js +1 -1
- package/dist/packages/_es/Tabbar.js +1 -1
- package/dist/packages/_es/TabbarItem.js +24 -10
- package/dist/packages/_es/Table.js +1 -1
- package/dist/packages/_es/Tabs.js +1 -1
- package/dist/packages/_es/Tag.js +1 -1
- package/dist/packages/_es/TextArea.js +1 -1
- package/dist/packages/_es/TimeDetail.js +1 -1
- package/dist/packages/_es/TimePannel.js +1 -1
- package/dist/packages/_es/TimeSelect.js +1 -1
- package/dist/packages/_es/Toast.js +1 -1
- package/dist/packages/_es/TrendArrow.js +1 -1
- package/dist/packages/_es/Uploader.js +6 -6
- package/dist/packages/_es/Video.js +3 -2
- package/dist/packages/_es/WaterMark.js +1 -1
- package/dist/packages/_es/common.js +1 -1
- package/dist/packages/_es/component.js +1 -1
- package/dist/packages/_es/index.js +1 -1
- package/dist/packages/_es/index2.js +1 -1
- package/dist/packages/_es/index3.js +1 -1
- package/dist/packages/_es/index4.js +1 -1
- package/dist/packages/_es/index5.js +8 -2
- package/dist/packages/_es/plugin-vue_export-helper.js +1 -1
- package/dist/packages/_es/pxCheck.js +1 -1
- package/dist/packages/_es/raf.js +1 -1
- package/dist/packages/address/index.scss +5 -1
- package/dist/packages/card/index.scss +1 -0
- package/dist/packages/ellipsis/index.scss +4 -0
- package/dist/packages/formitem/index.scss +2 -0
- package/dist/packages/imagepreview/index.scss +5 -0
- package/dist/packages/locale/lang/baseLang.js +1 -1
- package/dist/packages/locale/lang/en-US.js +1 -1
- package/dist/packages/locale/lang/id-ID.js +1 -1
- package/dist/packages/locale/lang/index.js +1 -1
- package/dist/packages/locale/lang/zh-CN.js +1 -1
- package/dist/packages/locale/lang/zh-TW.js +1 -1
- package/dist/packages/menuitem/index.scss +1 -0
- package/dist/packages/signature/index.scss +6 -2
- package/dist/packages/skeleton/index.scss +21 -19
- package/dist/packages/sticky/index.scss +3 -0
- package/dist/packages/tabbaritem/index.scss +4 -0
- package/dist/packages/timeselect/index.scss +0 -1
- package/dist/smartips/attributes.json +32 -56
- package/dist/smartips/tags.json +6 -16
- package/dist/smartips/web-types.json +48 -109
- package/dist/style.css +1 -1
- package/dist/styles/font/config.json +4 -0
- package/dist/styles/font/demo_index.html +118 -26
- package/dist/styles/font/iconfont.css +23 -7
- package/dist/styles/font/iconfont.js +6 -6
- package/dist/styles/font/iconfont.json +35 -7
- package/dist/styles/font/iconfont.ttf +0 -0
- package/dist/styles/font/iconfont.woff +0 -0
- package/dist/styles/font/iconfont.woff2 +0 -0
- package/dist/styles/themes/default.scss +53 -54
- package/dist/styles/themes/jdb.scss +53 -54
- package/dist/styles/themes/jddkh.scss +53 -54
- package/dist/styles/themes/jdt.scss +53 -54
- package/dist/styles/variables-jdb.scss +8 -1
- package/dist/styles/variables-jddkh.scss +8 -1
- package/dist/styles/variables-jdt.scss +8 -1
- package/dist/styles/variables.scss +8 -1
- package/dist/types/__VUE/address/index.vue.d.ts +2 -2
- package/dist/types/__VUE/audio/index.vue.d.ts +4 -4
- package/dist/types/__VUE/calendar/index.vue.d.ts +11 -0
- package/dist/types/__VUE/calendaritem/index.vue.d.ts +15 -5
- package/dist/types/__VUE/cell/index.vue.d.ts +1 -1
- package/dist/types/__VUE/countup/index.vue.d.ts +2 -2
- package/dist/types/__VUE/divider/index.vue.d.ts +1 -1
- package/dist/types/__VUE/elevator/index.vue.d.ts +2 -1
- package/dist/types/__VUE/fixednav/index.vue.d.ts +1 -1
- package/dist/types/__VUE/image/index.vue.d.ts +4 -4
- package/dist/types/__VUE/imagepreview/index.vue.d.ts +1 -1
- package/dist/types/__VUE/infiniteloading/index.vue.d.ts +4 -4
- package/dist/types/__VUE/input/index.vue.d.ts +1 -2
- package/dist/types/__VUE/inputnumber/index.vue.d.ts +1 -1
- package/dist/types/__VUE/menuitem/index.vue.d.ts +3 -1
- package/dist/types/__VUE/navbar/index.vue.d.ts +2 -2
- package/dist/types/__VUE/noticebar/index.vue.d.ts +2 -2
- package/dist/types/__VUE/picker/Column.vue.d.ts +4 -4
- package/dist/types/__VUE/picker/index.vue.d.ts +4 -4
- package/dist/types/__VUE/popover/index.vue.d.ts +1 -1
- package/dist/types/__VUE/range/index.vue.d.ts +7 -7
- package/dist/types/__VUE/rate/index.vue.d.ts +1 -1
- package/dist/types/__VUE/searchbar/index.vue.d.ts +1 -1
- package/dist/types/__VUE/skeleton/common.d.ts +2 -3
- package/dist/types/__VUE/skeleton/index.vue.d.ts +2 -3
- package/dist/types/__VUE/swiper/index.vue.d.ts +1 -1
- package/dist/types/__VUE/switch/index.vue.d.ts +1 -1
- package/dist/types/__VUE/tabbar/index.vue.d.ts +1 -1
- package/dist/types/__VUE/tabbaritem/index.vue.d.ts +1 -0
- package/dist/types/__VUE/timeselect/index.vue.d.ts +1 -1
- package/dist/types/__VUE/uploader/index.vue.d.ts +13 -4
- package/dist/types/__VUE/video/index.vue.d.ts +2 -2
- package/dist/types/__VUE/watermark/index.vue.d.ts +1 -1
- package/dist/types/index.d.ts +1 -1
- package/dist/types/nutui.d.ts +1 -2
- package/package.json +2 -1
- package/dist/packages/_es/OldPicker.js +0 -486
- package/dist/packages/oldpicker/index.scss +0 -133
- package/dist/types/__VUE/oldpicker/Column.vue.d.ts +0 -96
- package/dist/types/__VUE/oldpicker/commonProps.d.ts +0 -22
- package/dist/types/__VUE/oldpicker/index.vue.d.ts +0 -369
- package/dist/types/__VUE/oldpicker/types.d.ts +0 -24
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* @nutui/nutui v3.2.
|
|
2
|
+
* @nutui/nutui v3.2.7 Fri Nov 18 2022 19:57:44 GMT+0800 (中国标准时间)
|
|
3
3
|
* (c) 2022 @jdf2e.
|
|
4
4
|
* Released under the MIT License.
|
|
5
5
|
*/
|
|
6
6
|
import { c as createComponent } from "./component.js";
|
|
7
7
|
import { u as useRouter } from "./index.js";
|
|
8
|
-
import { inject, reactive, getCurrentInstance, computed, watch, resolveComponent, openBlock, createElementBlock, normalizeClass, normalizeStyle, createElementVNode, Fragment, toDisplayString, createCommentVNode,
|
|
8
|
+
import { inject, reactive, getCurrentInstance, computed, watch, resolveComponent, openBlock, createElementBlock, normalizeClass, normalizeStyle, createElementVNode, Fragment, toDisplayString, createCommentVNode, renderSlot, createVNode } from "vue";
|
|
9
9
|
import { _ as _export_sfc } from "./plugin-vue_export-helper.js";
|
|
10
10
|
import "../locale/lang";
|
|
11
11
|
const { create } = createComponent("tabbar-item");
|
|
@@ -52,7 +52,10 @@ const _sfc_main = create({
|
|
|
52
52
|
},
|
|
53
53
|
to: [Object, String]
|
|
54
54
|
},
|
|
55
|
-
setup(props,
|
|
55
|
+
setup(props, { emit, slots }) {
|
|
56
|
+
const isHaveSlot = (slot) => {
|
|
57
|
+
return slots[slot];
|
|
58
|
+
};
|
|
56
59
|
const parent = inject("parent");
|
|
57
60
|
const state = reactive({
|
|
58
61
|
size: parent.size,
|
|
@@ -114,6 +117,7 @@ const _sfc_main = create({
|
|
|
114
117
|
return {
|
|
115
118
|
state,
|
|
116
119
|
active,
|
|
120
|
+
isHaveSlot,
|
|
117
121
|
change
|
|
118
122
|
};
|
|
119
123
|
}
|
|
@@ -131,8 +135,12 @@ const _hoisted_4 = {
|
|
|
131
135
|
key: 1,
|
|
132
136
|
class: "nut-tabbar-item_icon-box_dot"
|
|
133
137
|
};
|
|
134
|
-
const _hoisted_5 = {
|
|
135
|
-
|
|
138
|
+
const _hoisted_5 = {
|
|
139
|
+
key: 2,
|
|
140
|
+
class: "nut-tabbar-item_icon-box_icon"
|
|
141
|
+
};
|
|
142
|
+
const _hoisted_6 = { key: 3 };
|
|
143
|
+
const _hoisted_7 = { key: 0 };
|
|
136
144
|
function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
137
145
|
const _component_nut_icon = resolveComponent("nut-icon");
|
|
138
146
|
return openBlock(), createElementBlock("div", {
|
|
@@ -147,7 +155,10 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
147
155
|
_ctx.num && _ctx.num <= 99 ? (openBlock(), createElementBlock("view", _hoisted_2, toDisplayString(_ctx.num), 1)) : _ctx.num && _ctx.num > 100 ? (openBlock(), createElementBlock("view", _hoisted_3, toDisplayString("99+"))) : createCommentVNode("", true)
|
|
148
156
|
], 64)) : createCommentVNode("", true),
|
|
149
157
|
_ctx.dot ? (openBlock(), createElementBlock("div", _hoisted_4)) : createCommentVNode("", true),
|
|
150
|
-
_ctx.icon ? (openBlock(), createElementBlock("
|
|
158
|
+
_ctx.isHaveSlot("icon") ? (openBlock(), createElementBlock("div", _hoisted_5, [
|
|
159
|
+
renderSlot(_ctx.$slots, "icon", { active: _ctx.active })
|
|
160
|
+
])) : createCommentVNode("", true),
|
|
161
|
+
_ctx.icon && !_ctx.isHaveSlot("icon") ? (openBlock(), createElementBlock("view", _hoisted_6, [
|
|
151
162
|
createVNode(_component_nut_icon, {
|
|
152
163
|
class: "nut-tabbar-item_icon-box_icon",
|
|
153
164
|
size: _ctx.state.size,
|
|
@@ -156,8 +167,8 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
156
167
|
"class-prefix": _ctx.classPrefix
|
|
157
168
|
}, null, 8, ["size", "name", "font-class-name", "class-prefix"])
|
|
158
169
|
])) : createCommentVNode("", true),
|
|
159
|
-
!_ctx.icon && _ctx.activeImg ? (openBlock(), createElementBlock("div", {
|
|
160
|
-
key:
|
|
170
|
+
!_ctx.icon && _ctx.activeImg && !_ctx.isHaveSlot("icon") ? (openBlock(), createElementBlock("div", {
|
|
171
|
+
key: 4,
|
|
161
172
|
class: "nut-tabbar-item_icon-box_icon",
|
|
162
173
|
style: normalizeStyle({
|
|
163
174
|
backgroundImage: `url(${_ctx.active ? _ctx.activeImg : _ctx.img})`,
|
|
@@ -166,9 +177,12 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
166
177
|
})
|
|
167
178
|
}, null, 4)) : createCommentVNode("", true),
|
|
168
179
|
createElementVNode("view", {
|
|
169
|
-
class: normalizeClass([
|
|
180
|
+
class: normalizeClass([
|
|
181
|
+
"nut-tabbar-item_icon-box_nav-word",
|
|
182
|
+
{ "nut-tabbar-item_icon-box_big-word": !_ctx.icon && !_ctx.activeImg && !_ctx.isHaveSlot("icon") }
|
|
183
|
+
])
|
|
170
184
|
}, [
|
|
171
|
-
_ctx.tabTitle ? (openBlock(), createElementBlock("view",
|
|
185
|
+
_ctx.tabTitle ? (openBlock(), createElementBlock("view", _hoisted_7, toDisplayString(_ctx.tabTitle), 1)) : createCommentVNode("", true),
|
|
172
186
|
!_ctx.tabTitle ? renderSlot(_ctx.$slots, "default", { key: 1 }) : createCommentVNode("", true)
|
|
173
187
|
], 2)
|
|
174
188
|
])
|
package/dist/packages/_es/Tag.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* @nutui/nutui v3.2.
|
|
2
|
+
* @nutui/nutui v3.2.7 Fri Nov 18 2022 19:57:44 GMT+0800 (中国标准时间)
|
|
3
3
|
* (c) 2022 @jdf2e.
|
|
4
4
|
* Released under the MIT License.
|
|
5
5
|
*/
|
|
6
|
-
import { reactive, computed, resolveComponent, openBlock, createElementBlock, normalizeClass, renderSlot, Fragment, createCommentVNode, renderList, createElementVNode, toDisplayString, createVNode, createBlock,
|
|
6
|
+
import { reactive, computed, resolveComponent, openBlock, createElementBlock, normalizeClass, renderSlot, Fragment, createCommentVNode, renderList, createElementVNode, toDisplayString, createVNode, createBlock, mergeProps, createTextVNode } from "vue";
|
|
7
7
|
import { c as createComponent, i as isPromise } from "./component.js";
|
|
8
8
|
import { _ as _export_sfc } from "./plugin-vue_export-helper.js";
|
|
9
9
|
import "../locale/lang";
|
|
@@ -138,6 +138,7 @@ const _sfc_main = create({
|
|
|
138
138
|
multiple: { type: Boolean, default: false },
|
|
139
139
|
disabled: { type: Boolean, default: false },
|
|
140
140
|
autoUpload: { type: Boolean, default: true },
|
|
141
|
+
deleteIcon: { type: String, default: "failure" },
|
|
141
142
|
beforeUpload: {
|
|
142
143
|
type: Function,
|
|
143
144
|
default: null
|
|
@@ -435,12 +436,11 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
435
436
|
}, null, 8, ["name"]),
|
|
436
437
|
createElementVNode("view", _hoisted_8, toDisplayString(item.message), 1)
|
|
437
438
|
])) : createCommentVNode("", true),
|
|
438
|
-
_ctx.isDeletable ? (openBlock(), createBlock(_component_nut_icon, {
|
|
439
|
-
key: 2,
|
|
439
|
+
_ctx.isDeletable ? (openBlock(), createBlock(_component_nut_icon, mergeProps({ key: 2 }, _ctx.$attrs, {
|
|
440
440
|
onClick: ($event) => _ctx.onDelete(item, index2),
|
|
441
441
|
class: "close",
|
|
442
|
-
name:
|
|
443
|
-
}, null,
|
|
442
|
+
name: _ctx.deleteIcon
|
|
443
|
+
}), null, 16, ["onClick", "name"])) : createCommentVNode("", true),
|
|
444
444
|
item.type.includes("image") && item.url ? (openBlock(), createElementBlock("img", {
|
|
445
445
|
key: 3,
|
|
446
446
|
class: "nut-uploader__preview-img__c",
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* @nutui/nutui v3.2.
|
|
2
|
+
* @nutui/nutui v3.2.7 Fri Nov 18 2022 19:57:44 GMT+0800 (中国标准时间)
|
|
3
3
|
* (c) 2022 @jdf2e.
|
|
4
4
|
* Released under the MIT License.
|
|
5
5
|
*/
|
|
@@ -100,7 +100,8 @@ const _sfc_main = create({
|
|
|
100
100
|
state.videoElm.load();
|
|
101
101
|
});
|
|
102
102
|
}
|
|
103
|
-
}
|
|
103
|
+
},
|
|
104
|
+
{ immediate: true, deep: true }
|
|
104
105
|
);
|
|
105
106
|
watch(
|
|
106
107
|
() => props.options,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* @nutui/nutui v3.2.
|
|
2
|
+
* @nutui/nutui v3.2.7 Fri Nov 18 2022 19:57:44 GMT+0800 (中国标准时间)
|
|
3
3
|
* (c) 2022 @jdf2e.
|
|
4
4
|
* Released under the MIT License.
|
|
5
5
|
*/
|
|
@@ -147,11 +147,16 @@ const _sfc_main = create({
|
|
|
147
147
|
endDate: {
|
|
148
148
|
type: String,
|
|
149
149
|
default: Utils.getDay(365)
|
|
150
|
+
},
|
|
151
|
+
firstDayOfWeek: {
|
|
152
|
+
type: Number,
|
|
153
|
+
default: 0
|
|
150
154
|
}
|
|
151
155
|
},
|
|
152
156
|
emits: ["choose", "update", "close", "select"],
|
|
153
157
|
setup(props, { emit, slots }) {
|
|
154
|
-
const
|
|
158
|
+
const weekdays = translate("weekdays");
|
|
159
|
+
const weeks = ref([...weekdays.slice(props.firstDayOfWeek, 7), ...weekdays.slice(0, props.firstDayOfWeek)]);
|
|
155
160
|
const months = ref(null);
|
|
156
161
|
const monthsPanel = ref(null);
|
|
157
162
|
const weeksPanel = ref(null);
|
|
@@ -340,6 +345,7 @@ const _sfc_main = create({
|
|
|
340
345
|
});
|
|
341
346
|
};
|
|
342
347
|
const getPreDaysStatus = (days, type, dateInfo, preCurrMonthDays) => {
|
|
348
|
+
days = days - props.firstDayOfWeek;
|
|
343
349
|
let { year, month } = dateInfo;
|
|
344
350
|
if (type == "prev" && days >= 7) {
|
|
345
351
|
days -= 7;
|
package/dist/packages/_es/raf.js
CHANGED
|
@@ -140,7 +140,7 @@
|
|
|
140
140
|
.region-item {
|
|
141
141
|
display: flex;
|
|
142
142
|
align-items: center;
|
|
143
|
-
|
|
143
|
+
|
|
144
144
|
font-size: $address-region-item-font-size;
|
|
145
145
|
color: $address-region-item-color;
|
|
146
146
|
&.active {
|
|
@@ -151,6 +151,10 @@
|
|
|
151
151
|
margin-right: 6px;
|
|
152
152
|
color: $address-icon-color !important;
|
|
153
153
|
}
|
|
154
|
+
|
|
155
|
+
> div {
|
|
156
|
+
margin: 10px 0;
|
|
157
|
+
}
|
|
154
158
|
}
|
|
155
159
|
}
|
|
156
160
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
.nut-signature {
|
|
2
2
|
.nut-signature-inner {
|
|
3
|
-
|
|
3
|
+
height: 10rem;
|
|
4
4
|
margin-bottom: 1rem;
|
|
5
5
|
border: 1px solid #dadada;
|
|
6
6
|
display: flex;
|
|
@@ -8,7 +8,11 @@
|
|
|
8
8
|
align-items: center;
|
|
9
9
|
}
|
|
10
10
|
.spcanvas_WEAPP {
|
|
11
|
-
|
|
11
|
+
width: 100%;
|
|
12
|
+
height: 100%;
|
|
13
|
+
#spcanvas {
|
|
14
|
+
width: 100%;
|
|
15
|
+
}
|
|
12
16
|
}
|
|
13
17
|
|
|
14
18
|
.nut-signature-btn {
|
|
@@ -7,30 +7,32 @@
|
|
|
7
7
|
display: flex;
|
|
8
8
|
.avatarClass {
|
|
9
9
|
margin-right: 20px;
|
|
10
|
-
background:
|
|
11
|
-
}
|
|
12
|
-
|
|
13
|
-
.blockClass,
|
|
14
|
-
.blockClass--round {
|
|
15
|
-
width: 100%;
|
|
16
|
-
height: 100%;
|
|
17
|
-
background: rgb(239, 239, 239);
|
|
18
|
-
margin-top: 10px;
|
|
19
|
-
&:last-child {
|
|
20
|
-
width: 70% !important;
|
|
21
|
-
}
|
|
22
|
-
}
|
|
23
|
-
.blockClass--round {
|
|
24
|
-
border-radius: 10px;
|
|
10
|
+
background-color: $skeleton-content-avatar-background-color;
|
|
25
11
|
}
|
|
26
12
|
|
|
27
13
|
.content-line {
|
|
28
14
|
display: flex;
|
|
29
15
|
flex-direction: column;
|
|
30
|
-
.
|
|
16
|
+
.blockTitle,
|
|
17
|
+
.blockLine {
|
|
18
|
+
width: 100%;
|
|
19
|
+
margin-bottom: 10px;
|
|
20
|
+
background-color: $skeleton-content-line-background-color;
|
|
21
|
+
}
|
|
22
|
+
.blockTitle {
|
|
31
23
|
width: 30%;
|
|
32
|
-
|
|
33
|
-
|
|
24
|
+
}
|
|
25
|
+
.blockLine ~ .blockLine:last-of-type {
|
|
26
|
+
width: 70%;
|
|
27
|
+
}
|
|
28
|
+
.blockTitle:last-of-type,
|
|
29
|
+
.blockLine:last-of-type {
|
|
30
|
+
margin-bottom: 0;
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
.blockTitle--round,
|
|
34
|
+
.blockLine--round {
|
|
35
|
+
border-radius: 10px;
|
|
34
36
|
}
|
|
35
37
|
}
|
|
36
38
|
}
|
|
@@ -42,7 +44,7 @@
|
|
|
42
44
|
width: 100%;
|
|
43
45
|
height: 100%;
|
|
44
46
|
z-index: 1;
|
|
45
|
-
background:
|
|
47
|
+
background: $skeleton-animation-background-color;
|
|
46
48
|
background-repeat: no-repeat;
|
|
47
49
|
animation: backpos 2s ease-in-out 0s infinite;
|
|
48
50
|
}
|