@kyfe/ks-query-table 0.0.21 → 0.0.22
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/.bitmap +38 -0
- package/.editorconfig +5 -0
- package/.env.dev +2 -0
- package/.env.gray +2 -0
- package/.env.prod +2 -0
- package/.env.stg +3 -0
- package/.env.uat +2 -0
- package/.eslintignore +1 -0
- package/.eslintrc.js +25 -0
- package/.gitmodules +4 -0
- package/.prettierrc +11 -0
- package/README.md +15 -0
- package/babel.config.js +10 -0
- package/build-apm.sh +9 -0
- package/build.sh +16 -0
- package/config/index.js +20 -0
- package/jsconfig.json +7 -0
- package/kuasheng-sdk/index.js +80 -0
- package/kuasheng-sdk/lib/assets.js +304 -0
- package/kuasheng-sdk/lib/context.js +199 -0
- package/kuasheng-sdk/lib/layout.js +346 -0
- package/kuasheng-sdk/lib/location.js +46 -0
- package/kuasheng-sdk/lib/media.js +342 -0
- package/kuasheng-sdk/lib/navigation.js +30 -0
- package/kuasheng-sdk/lib/request.js +76 -0
- package/kuasheng-sdk/lib/system.js +190 -0
- package/kuasheng-sdk/lib/userinfo.js +98 -0
- package/kuasheng-sdk/util/check.js +102 -0
- package/kuasheng-sdk/util/config.js +47 -0
- package/kuasheng-sdk/util/device.js +25 -0
- package/kuasheng-sdk/util/error.js +19 -0
- package/kuasheng-sdk/util/funtional.js +153 -0
- package/kuasheng-sdk/util/mixin.js +36 -0
- package/kuasheng-sdk/util/requestUtil.js +41 -0
- package/kuasheng-sdk/util/response.js +33 -0
- package/kuasheng-sdk/util/warn.js +35 -0
- package/kuasheng-ui/CHANGELOG.md +9 -0
- package/kuasheng-ui/components/card.vue +57 -0
- package/kuasheng-ui/components/ks-area-select/README.md +43 -0
- package/kuasheng-ui/components/ks-area-select/area-picker.vue +554 -0
- package/kuasheng-ui/components/ks-area-select/area-search.vue +363 -0
- package/kuasheng-ui/components/ks-area-select/areas-pop.vue +56 -0
- package/kuasheng-ui/components/ks-area-select/common.js +183 -0
- package/kuasheng-ui/components/ks-area-select/index.vue +355 -0
- package/kuasheng-ui/components/ks-area-select/mixins.js +216 -0
- package/kuasheng-ui/components/ks-area-single-select/README.md +50 -0
- package/kuasheng-ui/components/ks-area-single-select/hot-city.js +45 -0
- package/kuasheng-ui/components/ks-area-single-select/index.vue +324 -0
- package/kuasheng-ui/components/ks-calendar/index.vue +269 -0
- package/kuasheng-ui/components/ks-call-phone/call-tips.vue +70 -0
- package/kuasheng-ui/components/ks-call-phone/call.vue +178 -0
- package/kuasheng-ui/components/ks-call-phone/index.js +48 -0
- package/kuasheng-ui/components/ks-call-phone/index.vue +131 -0
- package/kuasheng-ui/components/ks-call-phone//345/221/274/345/217/253/347/273/204/344/273/266.md +0 -0
- package/kuasheng-ui/components/ks-date-picker/README.md +23 -0
- package/kuasheng-ui/components/ks-date-picker/date-picker-bottom.vue +123 -0
- package/kuasheng-ui/components/ks-date-picker/date-picker-dropdown.vue +80 -0
- package/kuasheng-ui/components/ks-date-picker/date-picker-right.vue +87 -0
- package/kuasheng-ui/components/ks-date-picker/date-picker-top.vue +88 -0
- package/kuasheng-ui/components/ks-date-picker/date-picker.js +15 -0
- package/kuasheng-ui/components/ks-date-picker/date-range-select.vue +92 -0
- package/kuasheng-ui/components/ks-date-picker/date-select.vue +65 -0
- package/kuasheng-ui/components/ks-date-picker/date-week-month.vue +131 -0
- package/kuasheng-ui/components/ks-date-picker/index.js +12 -0
- package/kuasheng-ui/components/ks-date-picker/mixin.js +92 -0
- package/kuasheng-ui/components/ks-date-picker/month-range-select.vue +129 -0
- package/kuasheng-ui/components/ks-date-picker/month-select.vue +85 -0
- package/kuasheng-ui/components/ks-date-picker/quarter-select.vue +94 -0
- package/kuasheng-ui/components/ks-date-picker/style.less +121 -0
- package/kuasheng-ui/components/ks-date-picker/utils.js +109 -0
- package/kuasheng-ui/components/ks-date-picker/week-select.vue +99 -0
- package/kuasheng-ui/components/ks-decrypt/index.vue +159 -0
- package/kuasheng-ui/components/ks-employee/README.md +78 -0
- package/kuasheng-ui/components/ks-employee/employee-input.vue +173 -0
- package/kuasheng-ui/components/ks-employee/employee-list.vue +662 -0
- package/kuasheng-ui/components/ks-employee/employee-popup.vue +197 -0
- package/kuasheng-ui/components/ks-employee/employee-search.vue +250 -0
- package/kuasheng-ui/components/ks-employee/employee-selected.vue +173 -0
- package/kuasheng-ui/components/ks-employee/index.js +17 -0
- package/kuasheng-ui/components/ks-employee/package-lock.json +5 -0
- package/kuasheng-ui/components/ks-employee/package.json +15 -0
- package/kuasheng-ui/components/ks-employee/yarn.lock +4 -0
- package/kuasheng-ui/components/ks-field-money/index.js +8 -0
- package/kuasheng-ui/components/ks-field-money/index.vue +212 -0
- package/kuasheng-ui/components/ks-field-money/package.json +11 -0
- package/kuasheng-ui/components/ks-field-money/utils.js +65 -0
- package/kuasheng-ui/components/ks-field-money//351/207/221/351/242/235/350/275/254/346/215/242/345/231/250.md +0 -0
- package/kuasheng-ui/components/ks-history-search/history-input.vue +131 -0
- package/kuasheng-ui/components/ks-history-search/history-list.vue +188 -0
- package/kuasheng-ui/components/ks-history-search/img/delete.png +0 -0
- package/kuasheng-ui/components/ks-history-search/index.js +9 -0
- package/kuasheng-ui/components/ks-history-search/index.vue +125 -0
- package/kuasheng-ui/components/ks-history-search/package-lock.json +5 -0
- package/kuasheng-ui/components/ks-history-search/package.json +15 -0
- package/kuasheng-ui/components/ks-history-search/utils.js +35 -0
- package/kuasheng-ui/components/ks-input-search/index.vue +106 -0
- package/kuasheng-ui/components/ks-list/index.vue +75 -0
- package/kuasheng-ui/components/ks-loading/index.js +16 -0
- package/kuasheng-ui/components/ks-month/index.vue +47 -0
- package/kuasheng-ui/components/ks-month/package.json +3 -0
- package/kuasheng-ui/components/ks-month/range.vue +172 -0
- package/kuasheng-ui/components/ks-month/single.vue +136 -0
- package/kuasheng-ui/components/ks-month/style.less +125 -0
- package/kuasheng-ui/components/ks-month/utils.js +35 -0
- package/kuasheng-ui/components/ks-nav/index.vue +264 -0
- package/kuasheng-ui/components/ks-nav-bar.js +35 -0
- package/kuasheng-ui/components/ks-org/ks-org-tree.vue +247 -0
- package/kuasheng-ui/components/ks-org/ks-popup-tree.vue +154 -0
- package/kuasheng-ui/components/ks-org/ks-tree-input.vue +240 -0
- package/kuasheng-ui/components/ks-org/ks-tree-node.vue +94 -0
- package/kuasheng-ui/components/ks-org/ks-tree.vue +229 -0
- package/kuasheng-ui/components/ks-org/utils.js +54 -0
- package/kuasheng-ui/components/ks-popover/index.vue +457 -0
- package/kuasheng-ui/components/ks-popover/mixin.js +28 -0
- package/kuasheng-ui/components/ks-popover/utils.js +60 -0
- package/kuasheng-ui/components/ks-pull-refresh/index.vue +43 -0
- package/kuasheng-ui/components/ks-quarter/index.vue +256 -0
- package/kuasheng-ui/components/ks-table/README.md +103 -0
- package/kuasheng-ui/components/ks-table/cell.vue +31 -0
- package/kuasheng-ui/components/ks-table/index.js +8 -0
- package/kuasheng-ui/components/ks-table/index.less +486 -0
- package/kuasheng-ui/components/ks-table/index.vue +1088 -0
- package/kuasheng-ui/components/ks-table/package.json +12 -0
- package/kuasheng-ui/components/ks-table/release.md +7 -0
- package/kuasheng-ui/components/ks-toast.js +35 -0
- package/kuasheng-ui/components/ks-upload/index.vue +174 -0
- package/kuasheng-ui/components/ks-user-access.vue +229 -0
- package/kuasheng-ui/components/no-data/README.md +45 -0
- package/kuasheng-ui/components/no-data/image.js +1 -0
- package/kuasheng-ui/components/no-data/index.vue +83 -0
- package/kuasheng-ui/components/notice-bar.vue +16 -0
- package/kuasheng-ui/components/steps.js +11 -0
- package/kuasheng-ui/components/tabs.vue +40 -0
- package/kuasheng-ui/index.js +239 -0
- package/kuasheng-ui/patch/datetime-picker/datetimePicker.md +0 -0
- package/kuasheng-ui/patch/datetime-picker/index.js +46 -0
- package/kuasheng-ui/patch/datetime-picker/utils.js +78 -0
- package/kuasheng-ui/patch/field/field.md +1 -0
- package/kuasheng-ui/patch/field/index.js +122 -0
- package/kuasheng-ui/patch/field/utils.js +36 -0
- package/kuasheng-ui/patch/form/form.md +7 -0
- package/kuasheng-ui/patch/form/index.js +106 -0
- package/kuasheng-ui/patch/index.js +12 -0
- package/kuasheng-ui/patch/pagination/index.js +78 -0
- package/kuasheng-ui/style/animation-ui.less +31 -0
- package/kuasheng-ui/style/font/number/font-number1.otf +0 -0
- package/kuasheng-ui/style/font/number/font-number2.ttf +0 -0
- package/kuasheng-ui/style/images/checked.svg +1 -0
- package/kuasheng-ui/style/images/success.svg +1 -0
- package/kuasheng-ui/style/index.less +6 -0
- package/kuasheng-ui/style/kuasheng-ui.less +207 -0
- package/kuasheng-ui/style/reset-vant.less +307 -0
- package/kuasheng-ui/style/vant-var.less +138 -0
- package/kuasheng-ui/utils/apis.js +17 -0
- package/kuasheng-ui/utils/axios-adapter.js +47 -0
- package/kuasheng-ui/utils/bem.js +39 -0
- package/kuasheng-ui/utils/bus.js +97 -0
- package/kuasheng-ui/utils/common.js +88 -0
- package/kuasheng-ui/utils/decrypt/config.js +12 -0
- package/kuasheng-ui/utils/decrypt/decrypt-api.js +139 -0
- package/kuasheng-ui/utils/decrypt/index.js +6 -0
- package/kuasheng-ui/utils/decrypt/mask.js +36 -0
- package/kuasheng-ui/utils/decrypt/virtual.js +44 -0
- package/kuasheng-ui/utils/directive.js +57 -0
- package/kuasheng-ui/utils/directive.md +23 -0
- package/kuasheng-ui/utils/drcheck-plugin.js +219 -0
- package/kuasheng-ui/utils/error-plugin.js +88 -0
- package/kuasheng-ui/utils/filter.js +149 -0
- package/kuasheng-ui/utils/http-interceptors.js +18 -0
- package/kuasheng-ui/utils/http.js +140 -0
- package/kuasheng-ui/utils/index.js +5 -0
- package/kuasheng-ui/utils/init-event.js +20 -0
- package/kuasheng-ui/utils/log.js +309 -0
- package/kuasheng-ui/utils/token.js +9 -0
- package/kuasheng-ui/utils/type.js +45 -0
- package/kuasheng-ui/utils/validate.js +20 -0
- package/kuasheng-ui/utils/watermark.js +67 -0
- package/kuasheng-ui/version.js +1 -0
- package/ky-apm/client.js +37 -0
- package/ky-apm/customHttp.js +38 -0
- package/ky-apm/index.js +68 -0
- package/ky-apm/plugins/performance.js +84 -0
- package/ky-apm/plugins/self-error.js +26 -0
- package/ky-apm/warn-log.js +3 -0
- package/package.json +81 -10
- package/plugin/ks-chii-webpack-html/index.js +53 -0
- package/plugin/ks-chii-webpack-html/package.json +16 -0
- package/postcss.config.js +15 -0
- package/public/capsule-positon.js +50 -0
- package/public/fonts/DingTalkJinBuTi.ttf +0 -0
- package/public/framework/axios@0.19.0.min.js +9 -0
- package/public/framework/fastclick@1.0.6.min.js +1 -0
- package/public/framework/iconfont/iconfont.css +91 -0
- package/public/framework/iconfont/iconfont.js +1 -0
- package/public/framework/iconfont/iconfont.json +142 -0
- package/public/framework/iconfont/iconfont.ttf +0 -0
- package/public/framework/iconfont/iconfont.woff +0 -0
- package/public/framework/iconfont/iconfont.woff2 +0 -0
- package/public/framework/vant@2.5.6.min.js +7 -0
- package/public/framework/vue-router@3.1.3.min.js +6 -0
- package/public/framework/vue@2.6.10.runtime.min.js +6 -0
- package/public/framework/vuex@3.1.1.min.js +6 -0
- package/public/index.html +260 -0
- package/public/ks@3.0.8.umd.min.js +1 -0
- package/public/ksui@4.0.27.umd.min.js +10 -0
- package/public/status-bar-preset.js +39 -0
- package/{index.js → qt-npm/index.js} +3 -3
- package/qt-npm/package.json +13 -0
- package/src/App.vue +204 -0
- package/src/README.md +15 -0
- package/src/common/README.md +94 -0
- package/src/common/http/axios-adapter.js +47 -0
- package/src/common/http/common.js +88 -0
- package/src/common/http/http-interceptors.js +18 -0
- package/src/common/http/http-lock.js +45 -0
- package/src/common/http/index.js +163 -0
- package/src/common/http/token.js +9 -0
- package/src/common/styles/font/AlibabaSans102Ver2-Md.ttf +0 -0
- package/src/common/styles/font.less +12 -0
- package/src/common/styles/variables.less +43 -0
- package/src/common/utils/index.js +1 -0
- package/src/common/utils/platform/README.md +1 -0
- package/src/common/utils/platform/android/.gitkeep +0 -0
- package/src/common/utils/platform/core/index.js +24 -0
- package/src/common/utils/platform/index.js +164 -0
- package/src/common/utils/platform/ios/.gitkeep +0 -0
- package/src/common/utils/platform/subscribe/helper.js +38 -0
- package/src/common/utils/platform/subscribe/index.js +204 -0
- package/src/common/utils/platform/subscribe/table-animation.js +75 -0
- package/src/config/index.js +31 -0
- package/src/config.js +1 -0
- package/src/main.js +73 -0
- package/src/router.js +52 -0
- package/src/view/home/config.js +101 -0
- package/src/view/home/demo1.vue +223 -0
- package/src/view/home/demo2.vue +124 -0
- package/src/view/home/demo3.vue +51 -0
- package/src/view/home/demo4.vue +140 -0
- package/src/view/home/index.vue +97 -0
- package/src/view/home/query-table/README.md +45 -0
- package/src/view/home/query-table/api/index.js +12 -0
- package/src/view/home/query-table/assets/horizontal-back.svg +1 -0
- package/src/view/home/query-table/components/pe-table/cell.js +181 -0
- package/src/view/home/query-table/components/pe-table/collapse.js +334 -0
- package/src/view/home/query-table/components/pe-table/empty.vue +48 -0
- package/src/view/home/query-table/components/pe-table/header.js +328 -0
- package/src/view/home/query-table/components/pe-table/images/abnormal.png +0 -0
- package/src/view/home/query-table/components/pe-table/images/empty.png +0 -0
- package/src/view/home/query-table/components/pe-table/images/fold.svg +1 -0
- package/src/view/home/query-table/components/pe-table/images/sort.svg +1 -0
- package/src/view/home/query-table/components/pe-table/images/sorting.svg +1 -0
- package/src/view/home/query-table/components/pe-table/images/unfold.svg +1 -0
- package/src/view/home/query-table/components/pe-table/index.vue +847 -0
- package/src/view/home/query-table/components/pe-table/load-more.js +46 -0
- package/src/view/home/query-table/components/pe-table/props/index.js +193 -0
- package/src/view/home/query-table/components/pe-table/row.vue +118 -0
- package/src/view/home/query-table/components/pe-table/scrollbar.js +424 -0
- package/src/view/home/query-table/components/pe-table/stretch-damping.js +112 -0
- package/src/view/home/query-table/components/pe-table/style/cell.less +89 -0
- package/src/view/home/query-table/components/pe-table/style/empty.less +48 -0
- package/src/view/home/query-table/components/pe-table/style/header.less +141 -0
- package/src/view/home/query-table/components/pe-table/style/index.less +88 -0
- package/src/view/home/query-table/components/pe-table/style/load-more.less +61 -0
- package/src/view/home/query-table/components/pe-table/style/row.less +6 -0
- package/src/view/home/query-table/components/pe-table/table-loading.vue +120 -0
- package/src/view/home/query-table/components/pe-table/table-total.vue +57 -0
- package/src/view/home/query-table/components/pe-table/utils/animate.js +80 -0
- package/src/view/home/query-table/components/pe-table/utils/columns.js +290 -0
- package/src/view/home/query-table/components/pe-table/utils/data.js +12 -0
- package/src/view/home/query-table/components/pe-table/utils/fixed.js +69 -0
- package/src/view/home/query-table/components/pe-table/utils/formatter.js +327 -0
- package/src/view/home/query-table/components/pe-table/utils/render-cells.js +424 -0
- package/src/view/home/query-table/components/pe-table/utils/slot.js +28 -0
- package/src/view/home/query-table/components/pe-table/utils/tools.js +84 -0
- package/src/view/home/query-table/components/pe-table/utils/touch-scroll.js +417 -0
- package/src/view/home/query-table/components/query-table/index.vue +497 -0
- package/src/view/home/query-table/components/query-table/mixins/column-mixin.js +102 -0
- package/src/view/home/query-table/components/query-table/mixins/column-setting.js +143 -0
- package/src/view/home/query-table/components/query-table/mixins/data-mixin.js +519 -0
- package/src/view/home/query-table/components/query-table/mixins/pagination-mixin.js +26 -0
- package/src/view/home/query-table/components/query-table/mixins/table-fixed.js +130 -0
- package/src/view/home/query-table/components/query-table/mixins/table-horizontal.js +119 -0
- package/src/view/home/query-table/components/table-horizontal.vue +99 -0
- package/src/view/home/query-table/components/table-pagination.vue +32 -0
- package/src/view/home/query-table/components/table-settings/assets/arrpw-up.svg +1 -0
- package/src/view/home/query-table/components/table-settings/assets/disabled-down.svg +1 -0
- package/src/view/home/query-table/components/table-settings/assets/disabled-up.svg +1 -0
- package/src/view/home/query-table/components/table-settings/assets/down.svg +1 -0
- package/src/view/home/query-table/components/table-settings/assets/up.svg +1 -0
- package/src/view/home/query-table/components/table-settings/index.less +294 -0
- package/src/view/home/query-table/components/table-settings/index.vue +260 -0
- package/src/view/home/query-table/components/table-settings/settings.vue +479 -0
- package/src/view/home/query-table/components/table-settings/test.js +626 -0
- package/src/view/home/query-table/components/table-settings//344/270/252/346/200/247/350/256/276/347/275/256.md +0 -0
- package/src/view/home/query-table/components/tooltip.js +124 -0
- package/src/view/home/query-table/hooks/use-cache-promise.js +27 -0
- package/src/view/home/query-table/hooks/use-column-config.js +190 -0
- package/src/view/home/query-table/hooks/use-encryption.js +0 -0
- package/src/view/home/query-table/hooks/use-generic-search.js +95 -0
- package/src/view/home/query-table/index.js +7 -0
- package/src/view/home/query-table/store/column-store.js +0 -0
- package/src/view/home/query-table/styles/table.less +24 -0
- package/src/view/home/query-table/utils/column.js +36 -0
- package/src/view/home/query-table/utils/config.js +12 -0
- package/src/view/home/query-table/utils/encryption.js +32 -0
- package/src/view/home/query-table/utils/http.js +1 -0
- package/src/view/home/query-table/utils/localStorage.js +35 -0
- package/src/view/home//351/246/226/351/241/265.md +0 -0
- package/src/web.js +99 -0
- package/vue.config.js +131 -0
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
function makePage(relNumber, text, active) {
|
|
2
|
+
let number = relNumber < 1 ? 1 : relNumber
|
|
3
|
+
return { number, text, active }
|
|
4
|
+
}
|
|
5
|
+
|
|
6
|
+
function pages() {
|
|
7
|
+
// jump 默认跳5页
|
|
8
|
+
let jump = this.__jump__ || 5
|
|
9
|
+
const pages = []
|
|
10
|
+
const pageCount = this.count
|
|
11
|
+
const showPageSize = +this.showPageSize
|
|
12
|
+
|
|
13
|
+
if (this.mode !== 'multi') {
|
|
14
|
+
return pages
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
let startPage = 1
|
|
18
|
+
let endPage = pageCount
|
|
19
|
+
const isMaxSized = showPageSize < pageCount
|
|
20
|
+
|
|
21
|
+
if (isMaxSized) {
|
|
22
|
+
// startPage = Math.max(this.value - Math.floor(showPageSize / 2), 1)
|
|
23
|
+
startPage = this.value > showPageSize ? Math.max(this.value - Math.floor(showPageSize / 2), 1) : 1
|
|
24
|
+
endPage = startPage + showPageSize - 1
|
|
25
|
+
|
|
26
|
+
if (endPage > pageCount) {
|
|
27
|
+
endPage = pageCount
|
|
28
|
+
startPage = endPage - showPageSize + 1
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
for (let number = startPage; number <= endPage; number++) {
|
|
33
|
+
const page = makePage(number, number, number === this.value)
|
|
34
|
+
pages.push(page)
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
if (isMaxSized && showPageSize > 0 && this.forceEllipses) {
|
|
38
|
+
// if (startPage > jump) {
|
|
39
|
+
// const previousPageSet = makePage(startPage - jump, '...', false)
|
|
40
|
+
// pages.unshift(previousPageSet);
|
|
41
|
+
// }
|
|
42
|
+
|
|
43
|
+
// if (endPage < pageCount - 5) {
|
|
44
|
+
// const nextPageSet = makePage(endPage + jump, '...', false)
|
|
45
|
+
// pages.push(nextPageSet)
|
|
46
|
+
// }
|
|
47
|
+
if (this.value > showPageSize) {
|
|
48
|
+
const previousPageSet = makePage(this.value - jump, '...', false)
|
|
49
|
+
pages.unshift(previousPageSet)
|
|
50
|
+
|
|
51
|
+
// 显示第一页
|
|
52
|
+
let hasPage1 = pages.some(function(item) {
|
|
53
|
+
return item.text === 1
|
|
54
|
+
})
|
|
55
|
+
|
|
56
|
+
if (!hasPage1) {
|
|
57
|
+
pages.unshift(makePage(1, 1, false))
|
|
58
|
+
}
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
if (endPage < pageCount) {
|
|
62
|
+
const nextPageSet = makePage(this.value + jump, '...', false)
|
|
63
|
+
pages.push(nextPageSet)
|
|
64
|
+
}
|
|
65
|
+
}
|
|
66
|
+
return pages
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
function installPagination(){
|
|
70
|
+
let page = window.vant && window.vant.Pagination
|
|
71
|
+
if (page) {
|
|
72
|
+
page.computed.pages = pages
|
|
73
|
+
Vue.component('van-pagination', page)
|
|
74
|
+
}
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
export default installPagination
|
|
78
|
+
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
//左进右出
|
|
2
|
+
.slide-right-enter-active,
|
|
3
|
+
.slide-right-leave-active,
|
|
4
|
+
.slide-left-enter-active,
|
|
5
|
+
.slide-left-leave-active {
|
|
6
|
+
will-change: transform;
|
|
7
|
+
transition: all .3s;
|
|
8
|
+
height: 100%;
|
|
9
|
+
position: absolute;
|
|
10
|
+
left: 0;
|
|
11
|
+
right: 0;
|
|
12
|
+
backface-visibility: hidden;
|
|
13
|
+
overflow-x: hidden;
|
|
14
|
+
/*perspective: 1000;*/
|
|
15
|
+
}
|
|
16
|
+
.slide-right-enter {
|
|
17
|
+
opacity: 0;
|
|
18
|
+
transform: translate(-100%, 0);
|
|
19
|
+
}
|
|
20
|
+
.slide-right-leave-active {
|
|
21
|
+
opacity: 0;
|
|
22
|
+
transform: translate(100%, 0);
|
|
23
|
+
}
|
|
24
|
+
.slide-left-enter {
|
|
25
|
+
opacity: 0;
|
|
26
|
+
transform: translate(100%, 0);
|
|
27
|
+
}
|
|
28
|
+
.slide-left-leave-active {
|
|
29
|
+
opacity: 0;
|
|
30
|
+
transform: translate(-100%, 0);
|
|
31
|
+
}
|
|
Binary file
|
|
Binary file
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" fill="none" version="1.1" width="16" height="16" viewBox="0 0 16 16"><g><g><ellipse cx="8" cy="8" rx="8" ry="8" fill="#165DFF" fill-opacity="1"/></g><g><path d="M11.547516555404663,4.890197809265136C11.792256555404663,4.640297709265137,12.193236555404663,4.636112109265136,12.443136555404664,4.880848809265137C12.679156555404663,5.111989809265137,12.695996555404664,5.482496809265137,12.490966555404663,5.733469809265137L12.452486555404663,5.776469809265137L7.229346555404663,11.109799809265137C6.994056555404663,11.350049809265137,6.615266555404663,11.362699809265138,6.364876555404663,11.147739809265136L6.324376555404664,11.109799809265137L3.547515555404663,8.274359809265137C3.302778855404663,8.024459809265137,3.306964455404663,7.623479809265136,3.556864555404663,7.378739809265136C3.792881555404663,7.147599809265136,4.163660555404663,7.1384898092651365,4.410296555404663,7.348709809265136L4.452486555404663,7.388089809265137L6.776666555404663,9.761329809265137L11.547516555404663,4.890197809265136Z" fill="#FFFFFF" fill-opacity="1"/></g></g></svg>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" fill="none" version="1.1" width="14.5" height="10.333328247070312" viewBox="0 0 14.5 10.333328247070312"><g transform="matrix(-1,0,0,1,27,0)"><g transform="matrix(-1,0,0,1,52,0)"><path d="M39.2144,1.699688Q39.3517,1.559512,39.4259,1.377856Q39.5,1.196201,39.5,1Q39.5,0.9015086,39.4808,0.80491Q39.461600000000004,0.708311,39.4239,0.617317Q39.3862,0.526322,39.3315,0.44443Q39.2767,0.362537,39.2071,0.29289299999999996Q39.1375,0.22324900000000003,39.0556,0.16852999999999996Q38.9737,0.11381200000000002,38.8827,0.076121Q38.7917,0.038429999999999964,38.6951,0.019214999999999982Q38.5985,0,38.5,0Q38.2984,0,38.1125,0.07813000000000003Q37.9266,0.15626099999999998,37.7856,0.300312L30.33884,7.90412L26.714721,4.20354L26.714449,4.20327Q26.573373,4.05921,26.3875,3.98108Q26.201627,3.90295,26,3.90295Q25.9015086,3.90295,25.80491,3.92217Q25.708311,3.94138,25.617317,3.97907Q25.526322,4.01676,25.44443,4.07148Q25.362537,4.1262,25.292893,4.19585Q25.223249,4.26549,25.16853,4.347379999999999Q25.113812,4.42928,25.076121,4.52027Q25.038429999999998,4.61126,25.019215,4.70786Q25,4.804460000000001,25,4.902950000000001Q25,5.09915,25.074136,5.28081Q25.148272,5.46247,25.285551,5.60264L25.285823,5.60292L29.62439,10.03302Q29.6317,10.04048,29.63916,10.04778Q29.78127,10.18696,29.96582,10.26116Q30.15038,10.33535,30.34928,10.33328Q30.548180000000002,10.3312,30.73115,10.25317Q30.91411,10.17513,31.05329,10.03302L39.2144,1.699688Z" fill-rule="evenodd" fill="#165DFF" fill-opacity="1"/></g></g></svg>
|
|
@@ -0,0 +1,207 @@
|
|
|
1
|
+
html,
|
|
2
|
+
body {
|
|
3
|
+
height: 100%;
|
|
4
|
+
width: 100%;
|
|
5
|
+
margin: 0;
|
|
6
|
+
padding: 0;
|
|
7
|
+
// overflow: auto;
|
|
8
|
+
background-color: #fff;
|
|
9
|
+
}
|
|
10
|
+
body {
|
|
11
|
+
font-family: -apple-system, BlinkMacSystemFont, 'PingFang SC', 'Helvetica Neue', STHeiti, 'Microsoft Yahei', Tahoma, Simsun, sans-serif;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
#ksui-app {
|
|
15
|
+
// 导航栏固定在顶部
|
|
16
|
+
.ksui-header {
|
|
17
|
+
position: fixed;
|
|
18
|
+
top: 0;
|
|
19
|
+
width: 100%;
|
|
20
|
+
height: 44px;
|
|
21
|
+
z-index: 999;
|
|
22
|
+
background-color: #fff;
|
|
23
|
+
.ksui-nav {
|
|
24
|
+
height: 44px;
|
|
25
|
+
.van-nav-bar {
|
|
26
|
+
height: 44px;
|
|
27
|
+
line-height: 44px;
|
|
28
|
+
.van-nav-bar__title {
|
|
29
|
+
font-size: 16px;
|
|
30
|
+
font-weight: 500;
|
|
31
|
+
max-width: 68%;
|
|
32
|
+
font-family: almmht;
|
|
33
|
+
}
|
|
34
|
+
.van-nav-bar__arrow {
|
|
35
|
+
font-size: 22px;
|
|
36
|
+
font-weight: 500;
|
|
37
|
+
color: #000;
|
|
38
|
+
}
|
|
39
|
+
.van-nav-bar__right {
|
|
40
|
+
font-size: 16px;
|
|
41
|
+
font-weight: 400;
|
|
42
|
+
right: 107px;
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
.ksui-body {
|
|
49
|
+
box-sizing: border-box;
|
|
50
|
+
overflow-y: scroll;
|
|
51
|
+
// -webkit-overflow-scrolling: touch;
|
|
52
|
+
padding-top: 44px;
|
|
53
|
+
font-weight: 400;
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
.ios {
|
|
58
|
+
#ksui-app {
|
|
59
|
+
.ksui-header {
|
|
60
|
+
padding-top: 20px;
|
|
61
|
+
}
|
|
62
|
+
.ksui-body {
|
|
63
|
+
padding-top: 64px;
|
|
64
|
+
}
|
|
65
|
+
}
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
.ipx {
|
|
69
|
+
#ksui-app {
|
|
70
|
+
.ksui-header {
|
|
71
|
+
padding-top: 44px;
|
|
72
|
+
}
|
|
73
|
+
.ksui-body {
|
|
74
|
+
padding-top: 88px;
|
|
75
|
+
}
|
|
76
|
+
}
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
.afc {
|
|
80
|
+
#ksui-app {
|
|
81
|
+
.ksui-header {
|
|
82
|
+
padding-top: var(--status-bar-height, 0px);
|
|
83
|
+
}
|
|
84
|
+
.ksui-body {
|
|
85
|
+
padding-top: calc(44px + var(--status-bar-height, 0px));
|
|
86
|
+
}
|
|
87
|
+
}
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
.van-nav-bar__title {
|
|
91
|
+
height: 44px;
|
|
92
|
+
line-height: 44px;
|
|
93
|
+
max-width: 68%;
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
.van-nav-bar__title > * {
|
|
97
|
+
vertical-align: middle;
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
.ios .van-nav-bar__title .light {
|
|
101
|
+
font-size: 14px !important;
|
|
102
|
+
padding: 2px 8px !important;
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
.ksui-form .van-cell {
|
|
106
|
+
overflow: unset !important;
|
|
107
|
+
.van-field__body {
|
|
108
|
+
input{
|
|
109
|
+
color: #1C1E23;
|
|
110
|
+
font-weight: 600;
|
|
111
|
+
font-size: 14px;
|
|
112
|
+
}
|
|
113
|
+
}
|
|
114
|
+
}
|
|
115
|
+
|
|
116
|
+
.van-cell .van-field__error-pop-message {
|
|
117
|
+
color: #fff;
|
|
118
|
+
font-size: 14px;
|
|
119
|
+
text-align: left;
|
|
120
|
+
position: absolute;
|
|
121
|
+
z-index: 9;
|
|
122
|
+
padding: 11px 16px;
|
|
123
|
+
background-color: rgba(0, 0, 0, 0.7);
|
|
124
|
+
border-radius: 6px;
|
|
125
|
+
line-height: 20px;
|
|
126
|
+
bottom: -6px;
|
|
127
|
+
left: 0;
|
|
128
|
+
transform: translate(0, 100%);
|
|
129
|
+
pointer-events: none;
|
|
130
|
+
}
|
|
131
|
+
|
|
132
|
+
.van-cell .van-field__error-pop-message--top {
|
|
133
|
+
bottom: auto;
|
|
134
|
+
top: -16px;
|
|
135
|
+
transform: translate(0, -100%);
|
|
136
|
+
}
|
|
137
|
+
|
|
138
|
+
.van-cell .van-field__error-pop-message::after {
|
|
139
|
+
content: ' ';
|
|
140
|
+
position: absolute;
|
|
141
|
+
width: 0;
|
|
142
|
+
height: 0;
|
|
143
|
+
border-color: transparent;
|
|
144
|
+
border-style: solid;
|
|
145
|
+
border-width: 6px;
|
|
146
|
+
color: #4a4a4a;
|
|
147
|
+
top: 0;
|
|
148
|
+
border-top-width: 0;
|
|
149
|
+
border-bottom-color: rgba(0, 0, 0, 0.7);
|
|
150
|
+
transform: translate(-50%, -100%);
|
|
151
|
+
left: 50%;
|
|
152
|
+
background-color: transparent;
|
|
153
|
+
}
|
|
154
|
+
|
|
155
|
+
.van-cell .van-field__error-pop-message--top::after {
|
|
156
|
+
top: auto;
|
|
157
|
+
bottom: -12px;
|
|
158
|
+
border-bottom-width: 0;
|
|
159
|
+
border-top-color: rgba(0, 0, 0, 0.7);
|
|
160
|
+
border-top-width: 6px;
|
|
161
|
+
border-bottom-color: unset;
|
|
162
|
+
}
|
|
163
|
+
|
|
164
|
+
.van-cell .van-field__error-pop-message--right {
|
|
165
|
+
left: unset;
|
|
166
|
+
right: 0;
|
|
167
|
+
}
|
|
168
|
+
|
|
169
|
+
.van-cell .van-field__error-pop-message--center {
|
|
170
|
+
left: 50%;
|
|
171
|
+
transform: translate(-50%, 100%);
|
|
172
|
+
width: fit-content;
|
|
173
|
+
}
|
|
174
|
+
|
|
175
|
+
.van-cell .van-field__error-pop-message--center.van-field__error-pop-message--top {
|
|
176
|
+
transform: translate(-50%, -100%);
|
|
177
|
+
}
|
|
178
|
+
|
|
179
|
+
@font-face {
|
|
180
|
+
font-family: almmht;
|
|
181
|
+
font-style: normal;
|
|
182
|
+
font-weight: 500;
|
|
183
|
+
src: url('https://erphostjs.kye-erp.com/PE/almmht.ttf');
|
|
184
|
+
}
|
|
185
|
+
|
|
186
|
+
// din字体/数字
|
|
187
|
+
@font-face {
|
|
188
|
+
font-family: pe-font-din;
|
|
189
|
+
font-style: normal;
|
|
190
|
+
font-weight: 500;
|
|
191
|
+
src: url('https://erphostjs.kye-erp.com/PE/font-number1.otf');
|
|
192
|
+
}
|
|
193
|
+
|
|
194
|
+
// arial开头
|
|
195
|
+
@font-face {
|
|
196
|
+
font-family: pe-font-arial;
|
|
197
|
+
font-style: normal;
|
|
198
|
+
font-weight: 500;
|
|
199
|
+
src: url('https://erphostjs.kye-erp.com/PE/font-number2.ttf');
|
|
200
|
+
}
|
|
201
|
+
|
|
202
|
+
:root {
|
|
203
|
+
// 字体 11-28
|
|
204
|
+
--g-font-zh: almmht;
|
|
205
|
+
--g-font-num1: pe-font-din;
|
|
206
|
+
--g-font-num2: pe-font-arial;
|
|
207
|
+
}
|
|
@@ -0,0 +1,307 @@
|
|
|
1
|
+
#kuasheng-h5 {
|
|
2
|
+
//field
|
|
3
|
+
.van-field {
|
|
4
|
+
.van-field__label{
|
|
5
|
+
color:#41444C;
|
|
6
|
+
}
|
|
7
|
+
&__word-limit {
|
|
8
|
+
color: #9D9D9D;
|
|
9
|
+
}
|
|
10
|
+
&__control {
|
|
11
|
+
color: #03050D;
|
|
12
|
+
&:disabled {
|
|
13
|
+
color: #b0b3bf;
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
input::placeholder {
|
|
17
|
+
color: #A7AAB0;
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
// button
|
|
21
|
+
.van-button {
|
|
22
|
+
border-radius: @base-size * 3;
|
|
23
|
+
&--mini {
|
|
24
|
+
border-radius: @base-size;
|
|
25
|
+
}
|
|
26
|
+
&--normal, &--small {
|
|
27
|
+
padding: 0 @base-size * 4;
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
.van-overlay {
|
|
31
|
+
background-color: rgba(0, 0, 0, 0.6);
|
|
32
|
+
}
|
|
33
|
+
.van-dialog{
|
|
34
|
+
font-size: 16px;
|
|
35
|
+
border-radius: 12px;
|
|
36
|
+
&__content {
|
|
37
|
+
padding: 10px 0;
|
|
38
|
+
}
|
|
39
|
+
&__footer {
|
|
40
|
+
.van-button {
|
|
41
|
+
font-size: 16px;
|
|
42
|
+
font-weight: 500;
|
|
43
|
+
&--large {
|
|
44
|
+
height: 48px;
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
&__cancel {
|
|
49
|
+
color:#03050d;
|
|
50
|
+
}
|
|
51
|
+
.van-hairline--top::after,.van-hairline--left::after {
|
|
52
|
+
border-color: #ebedf5;
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
// loading theme:(dark/light)
|
|
57
|
+
.van-loading.dark{
|
|
58
|
+
display: inline-block;
|
|
59
|
+
background: rgba(0,0,0,0.7);
|
|
60
|
+
border-radius: 6px;
|
|
61
|
+
padding: 9px 10px;
|
|
62
|
+
.van-loading__text {
|
|
63
|
+
color: #FFFFFF;
|
|
64
|
+
font-size: 12px;
|
|
65
|
+
}
|
|
66
|
+
.van-loading__spinner {
|
|
67
|
+
color: #FFFFFF;
|
|
68
|
+
}
|
|
69
|
+
}
|
|
70
|
+
.van-loading.light{
|
|
71
|
+
display: inline-block;
|
|
72
|
+
background: #EBEDF5;
|
|
73
|
+
border-radius: 6px;
|
|
74
|
+
padding: 9px 10px;
|
|
75
|
+
.van-loading__text {
|
|
76
|
+
color: #03050D;
|
|
77
|
+
font-size: 12px;
|
|
78
|
+
}
|
|
79
|
+
.van-loading__spinner {
|
|
80
|
+
color: #000000;
|
|
81
|
+
}
|
|
82
|
+
}
|
|
83
|
+
// 上拉菜单标题背景
|
|
84
|
+
.van-action-sheet {
|
|
85
|
+
&__item {
|
|
86
|
+
height: 56px;
|
|
87
|
+
line-height: 56px;
|
|
88
|
+
}
|
|
89
|
+
&__header {
|
|
90
|
+
background-color: #fff;
|
|
91
|
+
border-bottom: 0.5px solid #ebedf5;
|
|
92
|
+
text-align: left;
|
|
93
|
+
padding-left: 16px;
|
|
94
|
+
.van-icon-close::before {
|
|
95
|
+
content: "\F042";
|
|
96
|
+
}
|
|
97
|
+
.van-action-sheet__close {
|
|
98
|
+
font-size: 16px;
|
|
99
|
+
}
|
|
100
|
+
.van-action-sheet__close::before {
|
|
101
|
+
content: "";
|
|
102
|
+
width: 16px;
|
|
103
|
+
height: 16px;
|
|
104
|
+
background: url('https://erphostjs.kye-erp.com/kuasheng-h5/assets/ks-icon/cross.svg') no-repeat;
|
|
105
|
+
}
|
|
106
|
+
}
|
|
107
|
+
}
|
|
108
|
+
.van-rate__icon--full {
|
|
109
|
+
color: #FFBC2C;
|
|
110
|
+
}
|
|
111
|
+
// checkbox
|
|
112
|
+
.van-checkbox__icon--disabled.van-checkbox__icon--checked .van-icon {
|
|
113
|
+
background-color: #d7d7db;
|
|
114
|
+
color: #fff;
|
|
115
|
+
}
|
|
116
|
+
// sidebar
|
|
117
|
+
.van-sidebar-item {
|
|
118
|
+
border-left: none;
|
|
119
|
+
font-size: 14px;
|
|
120
|
+
&__text {
|
|
121
|
+
border-left: 3px solid transparent;
|
|
122
|
+
padding-left: 12px;
|
|
123
|
+
}
|
|
124
|
+
&--select {
|
|
125
|
+
color: @purple;
|
|
126
|
+
.van-sidebar-item__text {
|
|
127
|
+
border-color: @sidebar-selected-border-color;
|
|
128
|
+
}
|
|
129
|
+
}
|
|
130
|
+
}
|
|
131
|
+
|
|
132
|
+
// search
|
|
133
|
+
.van-search {
|
|
134
|
+
padding: 8px @padding-sm;
|
|
135
|
+
&__content {
|
|
136
|
+
// border-radius: @border-radius-md;
|
|
137
|
+
border-radius: 8px;
|
|
138
|
+
}
|
|
139
|
+
&__action {
|
|
140
|
+
color: #165DFF;
|
|
141
|
+
}
|
|
142
|
+
.van-cell {
|
|
143
|
+
padding: 6px @padding-xs 6px 0;
|
|
144
|
+
}
|
|
145
|
+
.van-icon {
|
|
146
|
+
color: #b0b3bf;
|
|
147
|
+
}
|
|
148
|
+
.van-icon-search::before {
|
|
149
|
+
content: "";
|
|
150
|
+
width: 14px;
|
|
151
|
+
height: 15px;
|
|
152
|
+
background: url('https://erphostjs.kye-erp.com/kuasheng-h5/assets/ks-search/search-icon.svg') no-repeat;
|
|
153
|
+
}
|
|
154
|
+
}
|
|
155
|
+
|
|
156
|
+
// cell
|
|
157
|
+
.van-cell:not(:last-child):after {
|
|
158
|
+
border-color: #EBEDF5;
|
|
159
|
+
right: 16px;
|
|
160
|
+
}
|
|
161
|
+
// steps
|
|
162
|
+
.van-steps--vertical {
|
|
163
|
+
.van-step__line {
|
|
164
|
+
width: 0;
|
|
165
|
+
left: -16px;
|
|
166
|
+
background-color: transparent;
|
|
167
|
+
border: 1px #ddd dashed;
|
|
168
|
+
}
|
|
169
|
+
.van-step--finish .van-step__line {
|
|
170
|
+
background-color: transparent;
|
|
171
|
+
}
|
|
172
|
+
}
|
|
173
|
+
// toast
|
|
174
|
+
.van-toast {
|
|
175
|
+
font-size: 14px;
|
|
176
|
+
font-weight: 400;
|
|
177
|
+
border-radius: 8px;
|
|
178
|
+
&--text {
|
|
179
|
+
padding: 12px 16px;
|
|
180
|
+
}
|
|
181
|
+
// 自定义custom方法中的loading动效
|
|
182
|
+
.ks-loading__spinner {
|
|
183
|
+
-webkit-animation-duration: 2s;
|
|
184
|
+
animation-duration: 2s;
|
|
185
|
+
}
|
|
186
|
+
.ks-loading__spinner {
|
|
187
|
+
position: relative;
|
|
188
|
+
display: inline-block;
|
|
189
|
+
width: 36px;
|
|
190
|
+
max-width: 100%;
|
|
191
|
+
height: 36px;
|
|
192
|
+
max-height: 100%;
|
|
193
|
+
vertical-align: middle;
|
|
194
|
+
-webkit-animation: van-rotate 0.8s linear infinite;
|
|
195
|
+
animation: van-rotate 0.8s linear infinite;
|
|
196
|
+
.van-icon__image {
|
|
197
|
+
width: 36px;
|
|
198
|
+
height: 36px;
|
|
199
|
+
}
|
|
200
|
+
}
|
|
201
|
+
}
|
|
202
|
+
|
|
203
|
+
// tag
|
|
204
|
+
.van-tag {
|
|
205
|
+
&--mark::before {
|
|
206
|
+
content: "";
|
|
207
|
+
position: absolute;
|
|
208
|
+
width: 0;
|
|
209
|
+
height: 0;
|
|
210
|
+
margin-top: 24px;
|
|
211
|
+
margin-left: -5px;
|
|
212
|
+
border: 2px solid transparent;
|
|
213
|
+
}
|
|
214
|
+
&--default.van-tag--mark::before {
|
|
215
|
+
border-top-color: multiply(@tag-default-color, #ccc);
|
|
216
|
+
border-right-color: multiply(@tag-default-color, #ccc);
|
|
217
|
+
}
|
|
218
|
+
&--primary.van-tag--mark::before {
|
|
219
|
+
border-top-color: multiply(@tag-primary-color, #ccc);
|
|
220
|
+
border-right-color: multiply(@tag-primary-color, #ccc);
|
|
221
|
+
}
|
|
222
|
+
&--success.van-tag--mark::before {
|
|
223
|
+
border-top-color: multiply(@tag-success-color, #ccc);
|
|
224
|
+
border-right-color: multiply(@tag-success-color, #ccc);
|
|
225
|
+
}
|
|
226
|
+
&--danger.van-tag--mark::before {
|
|
227
|
+
border-top-color: multiply(@tag-dander-color, #ccc);
|
|
228
|
+
border-right-color: multiply(@tag-dander-color, #ccc);
|
|
229
|
+
}
|
|
230
|
+
&--warning.van-tag--mark::before {
|
|
231
|
+
border-top-color: multiply(@tag-warning-color, #ccc);
|
|
232
|
+
border-right-color: multiply(@tag-warning-color, #ccc);
|
|
233
|
+
}
|
|
234
|
+
}
|
|
235
|
+
// dropdown-menu
|
|
236
|
+
.van-dropdown-menu {
|
|
237
|
+
.van-dropdown-menu__title--active {
|
|
238
|
+
color: #165DFF;
|
|
239
|
+
}
|
|
240
|
+
.van-dropdown-item__option--active {
|
|
241
|
+
color: #165DFF;
|
|
242
|
+
}
|
|
243
|
+
.van-dropdown-item__option--active .van-dropdown-item__icon {
|
|
244
|
+
color: #165DFF;
|
|
245
|
+
}
|
|
246
|
+
.van-dropdown-item__content {
|
|
247
|
+
.van-dropdown-item__icon::before {
|
|
248
|
+
content: '';
|
|
249
|
+
width: 20px;
|
|
250
|
+
height: 20px;
|
|
251
|
+
background: url('./images/success.svg') no-repeat;
|
|
252
|
+
}
|
|
253
|
+
}
|
|
254
|
+
}
|
|
255
|
+
// van-tabs
|
|
256
|
+
.van-tabs {
|
|
257
|
+
.van-hairline--top-bottom::after, .van-hairline-unset--top-bottom::after {
|
|
258
|
+
border-color: #ebedf5;
|
|
259
|
+
}
|
|
260
|
+
}
|
|
261
|
+
// van-notice-bar
|
|
262
|
+
.van-notice-bar {
|
|
263
|
+
font-size: 14px;
|
|
264
|
+
}
|
|
265
|
+
// van-tree-select
|
|
266
|
+
.van-tree-select {
|
|
267
|
+
.van-tree-select__selected::before {
|
|
268
|
+
content: '';
|
|
269
|
+
width: 18px;
|
|
270
|
+
height: 18px;
|
|
271
|
+
background: url('./images/checked.svg') no-repeat;
|
|
272
|
+
}
|
|
273
|
+
}
|
|
274
|
+
// van-collapse
|
|
275
|
+
.van-collapse {
|
|
276
|
+
.van-cell__title {
|
|
277
|
+
color:#03050D;
|
|
278
|
+
}
|
|
279
|
+
.van-cell__right-icon {
|
|
280
|
+
font-size: 14px;
|
|
281
|
+
color: #B0B3BF;
|
|
282
|
+
}
|
|
283
|
+
&-item__content {
|
|
284
|
+
color: #6e6d72;
|
|
285
|
+
font-size: 13px;
|
|
286
|
+
}
|
|
287
|
+
}
|
|
288
|
+
// van-slider__bar
|
|
289
|
+
.van-slider__bar {
|
|
290
|
+
background-color: #165DFF;
|
|
291
|
+
}
|
|
292
|
+
// van-popup
|
|
293
|
+
.van-popup {
|
|
294
|
+
.van-popup__close-icon {
|
|
295
|
+
color: #03050D;
|
|
296
|
+
font-size: 20px;
|
|
297
|
+
}
|
|
298
|
+
}
|
|
299
|
+
// van-calendar
|
|
300
|
+
.van-calendar__day--disabled {
|
|
301
|
+
color: #c8c9cc;
|
|
302
|
+
cursor: default;
|
|
303
|
+
}
|
|
304
|
+
.van-field__right-icon {
|
|
305
|
+
color: #B0B3BF;
|
|
306
|
+
}
|
|
307
|
+
}
|