info
This commit is contained in:
+2
-2
File diff suppressed because one or more lines are too long
+2
-2
@@ -1,10 +1,10 @@
|
||||
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["uni_modules/uni-data-picker/components/uni-data-pickerview/uni-data-pickerview"],{852:function(e,t,n){"use strict";n.r(t);var a=n(853),i=n(855);for(var s in i)["default"].indexOf(s)<0&&function(e){n.d(t,e,(function(){return i[e]}))}(s);n(857);var o,d=n(46),c=Object(d["default"])(i["default"],a["render"],a["staticRenderFns"],!1,null,null,null,!1,a["components"],o);c.options.__file="uni_modules/uni-data-picker/components/uni-data-pickerview/uni-data-pickerview.vue",t["default"]=c.exports},853:function(e,t,n){"use strict";n.r(t);var a=n(854);n.d(t,"render",(function(){return a["render"]})),n.d(t,"staticRenderFns",(function(){return a["staticRenderFns"]})),n.d(t,"recyclableRender",(function(){return a["recyclableRender"]})),n.d(t,"components",(function(){return a["components"]}))},854:function(e,t,n){"use strict";var a;n.r(t),n.d(t,"render",(function(){return i})),n.d(t,"staticRenderFns",(function(){return o})),n.d(t,"recyclableRender",(function(){return s})),n.d(t,"components",(function(){return a}));try{a={uniLoadMore:function(){return Promise.all([n.e("common/vendor"),n.e("uni_modules/uni-load-more/components/uni-load-more/uni-load-more")]).then(n.bind(null,834))}}}catch(d){if(-1===d.message.indexOf("Cannot find module")||-1===d.message.indexOf(".vue"))throw d;console.error(d.message),console.error("1. 排查组件名称拼写是否正确"),console.error("2. 排查组件是否符合 easycom 规范,文档:https://uniapp.dcloud.net.cn/collocation/pages?id=easycom"),console.error("3. 若组件不符合 easycom 规范,需手动引入,并在 components 中注册该组件")}var i=function(){var e=this,t=e.$createElement,n=(e._self._c,e.__map(e.dataList[e.selectedIndex],(function(t,n){var a=e.__get_orig(t),i=e.selected.length>e.selectedIndex&&t[e.map.value]==e.selected[e.selectedIndex].value;return{$orig:a,g0:i}})));e.$mp.data=Object.assign({},{$root:{l0:n}})},s=!1,o=[];i._withStripped=!0},855:function(e,t,n){"use strict";n.r(t);var a=n(856),i=n.n(a);for(var s in a)["default"].indexOf(s)<0&&function(e){n.d(t,e,(function(){return a[e]}))}(s);t["default"]=i.a},856:function(e,t,n){"use strict";var a=n(4);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=a(n(18)),s=a(n(671)),o={name:"UniDataPickerView",emits:["nodeclick","change","datachange","update:modelValue"],mixins:[s.default],props:{managedMode:{type:Boolean,default:!1},ellipsis:{type:Boolean,default:!0}},created:function(){var e=this;this.managedMode||this.$nextTick((function(){e.loadData()}))},methods:{onPropsChange:function(){var e=this;this._treeData=[],this.selectedIndex=0,this.$nextTick((function(){e.loadData()}))},handleSelect:function(e){this.selectedIndex=e},handleNodeClick:function(e,t,n){var a=this;if(!e.disable){var s=this.dataList[t][n],o=s[this.map.text],d=s[this.map.value];if(t<this.selected.length-1?(this.selected.splice(t,this.selected.length-t),this.selected.push({text:o,value:d})):t===this.selected.length-1&&this.selected.splice(t,1,{text:o,value:d}),s.isleaf)this.onSelectedChange(s,s.isleaf);else{var c=this._updateBindData(),r=c.isleaf,l=c.hasNodes;this.isLocalData?this.onSelectedChange(s,!l||r):this.isCloudDataList?this.onSelectedChange(s,!0):this.isCloudDataTree&&(r?this.onSelectedChange(s,s.isleaf):l||this.loadCloudDataNode((function(e){var t;e.length?((t=a._treeData).push.apply(t,(0,i.default)(e)),a._updateBindData(s)):s.isleaf=!0;a.onSelectedChange(s,s.isleaf)})))}}},updateData:function(e){this._treeData=e.treeData,this.selected=e.selected,this._treeData.length?this._updateBindData():this.loadData()},onDataChange:function(){this.$emit("datachange")},onSelectedChange:function(e,t){t&&this._dispatchEvent(),e&&this.$emit("nodeclick",e)},_dispatchEvent:function(){this.$emit("change",this.selected.slice(0))}}};t.default=o},857:function(e,t,n){"use strict";n.r(t);var a=n(858),i=n.n(a);for(var s in a)["default"].indexOf(s)<0&&function(e){n.d(t,e,(function(){return a[e]}))}(s);t["default"]=i.a},858:function(e,t,n){}}]);
|
||||
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["uni_modules/uni-data-picker/components/uni-data-pickerview/uni-data-pickerview"],{1076:function(e,t,n){"use strict";n.r(t);var a=n(1077),i=n(1079);for(var s in i)["default"].indexOf(s)<0&&function(e){n.d(t,e,(function(){return i[e]}))}(s);n(1081);var o,d=n(46),c=Object(d["default"])(i["default"],a["render"],a["staticRenderFns"],!1,null,null,null,!1,a["components"],o);c.options.__file="uni_modules/uni-data-picker/components/uni-data-pickerview/uni-data-pickerview.vue",t["default"]=c.exports},1077:function(e,t,n){"use strict";n.r(t);var a=n(1078);n.d(t,"render",(function(){return a["render"]})),n.d(t,"staticRenderFns",(function(){return a["staticRenderFns"]})),n.d(t,"recyclableRender",(function(){return a["recyclableRender"]})),n.d(t,"components",(function(){return a["components"]}))},1078:function(e,t,n){"use strict";var a;n.r(t),n.d(t,"render",(function(){return i})),n.d(t,"staticRenderFns",(function(){return o})),n.d(t,"recyclableRender",(function(){return s})),n.d(t,"components",(function(){return a}));try{a={uniLoadMore:function(){return Promise.all([n.e("common/vendor"),n.e("uni_modules/uni-load-more/components/uni-load-more/uni-load-more")]).then(n.bind(null,1058))}}}catch(d){if(-1===d.message.indexOf("Cannot find module")||-1===d.message.indexOf(".vue"))throw d;console.error(d.message),console.error("1. 排查组件名称拼写是否正确"),console.error("2. 排查组件是否符合 easycom 规范,文档:https://uniapp.dcloud.net.cn/collocation/pages?id=easycom"),console.error("3. 若组件不符合 easycom 规范,需手动引入,并在 components 中注册该组件")}var i=function(){var e=this,t=e.$createElement,n=(e._self._c,e.__map(e.dataList[e.selectedIndex],(function(t,n){var a=e.__get_orig(t),i=e.selected.length>e.selectedIndex&&t[e.map.value]==e.selected[e.selectedIndex].value;return{$orig:a,g0:i}})));e.$mp.data=Object.assign({},{$root:{l0:n}})},s=!1,o=[];i._withStripped=!0},1079:function(e,t,n){"use strict";n.r(t);var a=n(1080),i=n.n(a);for(var s in a)["default"].indexOf(s)<0&&function(e){n.d(t,e,(function(){return a[e]}))}(s);t["default"]=i.a},1080:function(e,t,n){"use strict";var a=n(4);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=a(n(18)),s=a(n(795)),o={name:"UniDataPickerView",emits:["nodeclick","change","datachange","update:modelValue"],mixins:[s.default],props:{managedMode:{type:Boolean,default:!1},ellipsis:{type:Boolean,default:!0}},created:function(){var e=this;this.managedMode||this.$nextTick((function(){e.loadData()}))},methods:{onPropsChange:function(){var e=this;this._treeData=[],this.selectedIndex=0,this.$nextTick((function(){e.loadData()}))},handleSelect:function(e){this.selectedIndex=e},handleNodeClick:function(e,t,n){var a=this;if(!e.disable){var s=this.dataList[t][n],o=s[this.map.text],d=s[this.map.value];if(t<this.selected.length-1?(this.selected.splice(t,this.selected.length-t),this.selected.push({text:o,value:d})):t===this.selected.length-1&&this.selected.splice(t,1,{text:o,value:d}),s.isleaf)this.onSelectedChange(s,s.isleaf);else{var c=this._updateBindData(),r=c.isleaf,l=c.hasNodes;this.isLocalData?this.onSelectedChange(s,!l||r):this.isCloudDataList?this.onSelectedChange(s,!0):this.isCloudDataTree&&(r?this.onSelectedChange(s,s.isleaf):l||this.loadCloudDataNode((function(e){var t;e.length?((t=a._treeData).push.apply(t,(0,i.default)(e)),a._updateBindData(s)):s.isleaf=!0;a.onSelectedChange(s,s.isleaf)})))}}},updateData:function(e){this._treeData=e.treeData,this.selected=e.selected,this._treeData.length?this._updateBindData():this.loadData()},onDataChange:function(){this.$emit("datachange")},onSelectedChange:function(e,t){t&&this._dispatchEvent(),e&&this.$emit("nodeclick",e)},_dispatchEvent:function(){this.$emit("change",this.selected.slice(0))}}};t.default=o},1081:function(e,t,n){"use strict";n.r(t);var a=n(1082),i=n.n(a);for(var s in a)["default"].indexOf(s)<0&&function(e){n.d(t,e,(function(){return a[e]}))}(s);t["default"]=i.a},1082:function(e,t,n){}}]);
|
||||
//# sourceMappingURL=../../../../../.sourcemap/mp-weixin/uni_modules/uni-data-picker/components/uni-data-pickerview/uni-data-pickerview.js.map
|
||||
;(global["webpackJsonp"] = global["webpackJsonp"] || []).push([
|
||||
'uni_modules/uni-data-picker/components/uni-data-pickerview/uni-data-pickerview-create-component',
|
||||
{
|
||||
'uni_modules/uni-data-picker/components/uni-data-pickerview/uni-data-pickerview-create-component':(function(module, exports, __webpack_require__){
|
||||
__webpack_require__('2')['createComponent'](__webpack_require__(852))
|
||||
__webpack_require__('2')['createComponent'](__webpack_require__(1076))
|
||||
})
|
||||
},
|
||||
[['uni_modules/uni-data-picker/components/uni-data-pickerview/uni-data-pickerview-create-component']]
|
||||
|
||||
+230
@@ -12,6 +12,236 @@
|
||||
* 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件
|
||||
*/
|
||||
/* 颜色变量 */
|
||||
/* uni.scss */
|
||||
.u-line-1 {
|
||||
display: -webkit-box !important;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
word-break: break-all;
|
||||
-webkit-line-clamp: 1;
|
||||
-webkit-box-orient: vertical !important;
|
||||
}
|
||||
.u-line-2 {
|
||||
display: -webkit-box !important;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
word-break: break-all;
|
||||
-webkit-line-clamp: 2;
|
||||
-webkit-box-orient: vertical !important;
|
||||
}
|
||||
.u-line-3 {
|
||||
display: -webkit-box !important;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
word-break: break-all;
|
||||
-webkit-line-clamp: 3;
|
||||
-webkit-box-orient: vertical !important;
|
||||
}
|
||||
.u-line-4 {
|
||||
display: -webkit-box !important;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
word-break: break-all;
|
||||
-webkit-line-clamp: 4;
|
||||
-webkit-box-orient: vertical !important;
|
||||
}
|
||||
.u-line-5 {
|
||||
display: -webkit-box !important;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
word-break: break-all;
|
||||
-webkit-line-clamp: 5;
|
||||
-webkit-box-orient: vertical !important;
|
||||
}
|
||||
.u-border {
|
||||
border-width: 0.5px !important;
|
||||
border-color: #dadbde !important;
|
||||
border-style: solid;
|
||||
}
|
||||
.u-border-top {
|
||||
border-top-width: 0.5px !important;
|
||||
border-color: #dadbde !important;
|
||||
border-top-style: solid;
|
||||
}
|
||||
.u-border-left {
|
||||
border-left-width: 0.5px !important;
|
||||
border-color: #dadbde !important;
|
||||
border-left-style: solid;
|
||||
}
|
||||
.u-border-right {
|
||||
border-right-width: 0.5px !important;
|
||||
border-color: #dadbde !important;
|
||||
border-right-style: solid;
|
||||
}
|
||||
.u-border-bottom {
|
||||
border-bottom-width: 0.5px !important;
|
||||
border-color: #dadbde !important;
|
||||
border-bottom-style: solid;
|
||||
}
|
||||
.u-border-top-bottom {
|
||||
border-top-width: 0.5px !important;
|
||||
border-bottom-width: 0.5px !important;
|
||||
border-color: #dadbde !important;
|
||||
border-top-style: solid;
|
||||
border-bottom-style: solid;
|
||||
}
|
||||
.u-reset-button {
|
||||
padding: 0;
|
||||
background-color: transparent;
|
||||
font-size: inherit;
|
||||
line-height: inherit;
|
||||
color: inherit;
|
||||
}
|
||||
.u-reset-button::after {
|
||||
border: none;
|
||||
}
|
||||
.u-hover-class {
|
||||
opacity: 0.7;
|
||||
}
|
||||
.u-primary-light {
|
||||
color: #ecf5ff;
|
||||
}
|
||||
.u-warning-light {
|
||||
color: #fdf6ec;
|
||||
}
|
||||
.u-success-light {
|
||||
color: #f5fff0;
|
||||
}
|
||||
.u-error-light {
|
||||
color: #fef0f0;
|
||||
}
|
||||
.u-info-light {
|
||||
color: #f4f4f5;
|
||||
}
|
||||
.u-primary-light-bg {
|
||||
background-color: #ecf5ff;
|
||||
}
|
||||
.u-warning-light-bg {
|
||||
background-color: #fdf6ec;
|
||||
}
|
||||
.u-success-light-bg {
|
||||
background-color: #f5fff0;
|
||||
}
|
||||
.u-error-light-bg {
|
||||
background-color: #fef0f0;
|
||||
}
|
||||
.u-info-light-bg {
|
||||
background-color: #f4f4f5;
|
||||
}
|
||||
.u-primary-dark {
|
||||
color: #398ade;
|
||||
}
|
||||
.u-warning-dark {
|
||||
color: #f1a532;
|
||||
}
|
||||
.u-success-dark {
|
||||
color: #53c21d;
|
||||
}
|
||||
.u-error-dark {
|
||||
color: #e45656;
|
||||
}
|
||||
.u-info-dark {
|
||||
color: #767a82;
|
||||
}
|
||||
.u-primary-dark-bg {
|
||||
background-color: #398ade;
|
||||
}
|
||||
.u-warning-dark-bg {
|
||||
background-color: #f1a532;
|
||||
}
|
||||
.u-success-dark-bg {
|
||||
background-color: #53c21d;
|
||||
}
|
||||
.u-error-dark-bg {
|
||||
background-color: #e45656;
|
||||
}
|
||||
.u-info-dark-bg {
|
||||
background-color: #767a82;
|
||||
}
|
||||
.u-primary-disabled {
|
||||
color: #9acafc;
|
||||
}
|
||||
.u-warning-disabled {
|
||||
color: #f9d39b;
|
||||
}
|
||||
.u-success-disabled {
|
||||
color: #a9e08f;
|
||||
}
|
||||
.u-error-disabled {
|
||||
color: #f7b2b2;
|
||||
}
|
||||
.u-info-disabled {
|
||||
color: #c4c6c9;
|
||||
}
|
||||
.u-primary {
|
||||
color: #3c9cff;
|
||||
}
|
||||
.u-warning {
|
||||
color: #f9ae3d;
|
||||
}
|
||||
.u-success {
|
||||
color: #5ac725;
|
||||
}
|
||||
.u-error {
|
||||
color: #f56c6c;
|
||||
}
|
||||
.u-info {
|
||||
color: #909399;
|
||||
}
|
||||
.u-primary-bg {
|
||||
background-color: #3c9cff;
|
||||
}
|
||||
.u-warning-bg {
|
||||
background-color: #f9ae3d;
|
||||
}
|
||||
.u-success-bg {
|
||||
background-color: #5ac725;
|
||||
}
|
||||
.u-error-bg {
|
||||
background-color: #f56c6c;
|
||||
}
|
||||
.u-info-bg {
|
||||
background-color: #909399;
|
||||
}
|
||||
.u-main-color {
|
||||
color: #303133;
|
||||
}
|
||||
.u-content-color {
|
||||
color: #606266;
|
||||
}
|
||||
.u-tips-color {
|
||||
color: #909193;
|
||||
}
|
||||
.u-light-color {
|
||||
color: #c0c4cc;
|
||||
}
|
||||
.u-safe-area-inset-top {
|
||||
padding-top: 0;
|
||||
padding-top: constant(safe-area-inset-top);
|
||||
padding-top: env(safe-area-inset-top);
|
||||
}
|
||||
.u-safe-area-inset-right {
|
||||
padding-right: 0;
|
||||
padding-right: constant(safe-area-inset-right);
|
||||
padding-right: env(safe-area-inset-right);
|
||||
}
|
||||
.u-safe-area-inset-bottom {
|
||||
padding-bottom: 0;
|
||||
padding-bottom: constant(safe-area-inset-bottom);
|
||||
padding-bottom: env(safe-area-inset-bottom);
|
||||
}
|
||||
.u-safe-area-inset-left {
|
||||
padding-left: 0;
|
||||
padding-left: constant(safe-area-inset-left);
|
||||
padding-left: env(safe-area-inset-left);
|
||||
}
|
||||
::-webkit-scrollbar {
|
||||
display: none;
|
||||
width: 0 !important;
|
||||
height: 0 !important;
|
||||
-webkit-appearance: none;
|
||||
background: transparent;
|
||||
}
|
||||
/* 行为相关颜色 */
|
||||
/* 文字基本颜色 */
|
||||
/* 背景颜色 */
|
||||
|
||||
Reference in New Issue
Block a user