增加checkbox

This commit is contained in:
zouzhibing
2022-03-10 15:03:34 +08:00
parent 957512cff5
commit b67ab1ae57
24 changed files with 626 additions and 185 deletions

View File

@@ -105,11 +105,11 @@
/******/
/******/
/******/ // mini-css-extract-plugin CSS loading
/******/ var cssChunks = {"components/zb-table/index":1,"components/zb-table1/index":1,"components/zb-table/table-checkbox":1};
/******/ var cssChunks = {"components/zb-table/index":1,"uni_modules/uni-card/components/uni-card/uni-card":1,"components/zb-table1/index":1,"components/zb-table/table-checkbox":1};
/******/ if(installedCssChunks[chunkId]) promises.push(installedCssChunks[chunkId]);
/******/ else if(installedCssChunks[chunkId] !== 0 && cssChunks[chunkId]) {
/******/ promises.push(installedCssChunks[chunkId] = new Promise(function(resolve, reject) {
/******/ var href = "" + ({"components/zb-table/index":"components/zb-table/index","components/zb-table1/index":"components/zb-table1/index","components/zb-table/table-checkbox":"components/zb-table/table-checkbox"}[chunkId]||chunkId) + ".wxss";
/******/ var href = "" + ({"components/zb-table/index":"components/zb-table/index","uni_modules/uni-card/components/uni-card/uni-card":"uni_modules/uni-card/components/uni-card/uni-card","components/zb-table1/index":"components/zb-table1/index","components/zb-table/table-checkbox":"components/zb-table/table-checkbox"}[chunkId]||chunkId) + ".wxss";
/******/ var fullhref = __webpack_require__.p + href;
/******/ var existingLinkTags = document.getElementsByTagName("link");
/******/ for(var i = 0; i < existingLinkTags.length; i++) {

View File

@@ -1,6 +1,6 @@
(global["webpackJsonp"] = global["webpackJsonp"] || []).push([["common/vendor"],[
/* 0 */,
/* 1 */
(global["webpackJsonp"] = global["webpackJsonp"] || []).push([["common/vendor"],{
/***/ 1:
/*!************************************************************!*\
!*** ./node_modules/@dcloudio/uni-mp-weixin/dist/index.js ***!
\************************************************************/
@@ -947,7 +947,7 @@ function initData(vueOptions, context) {
try {
data = data.call(context); // 支持 Vue.prototype 上挂的数据
} catch (e) {
if (Object({"NODE_ENV":"development","VUE_APP_NAME":"zzb-table","VUE_APP_PLATFORM":"mp-weixin","BASE_URL":"/"}).VUE_APP_DEBUG) {
if (Object({"VUE_APP_NAME":"zzb-table","VUE_APP_PLATFORM":"mp-weixin","NODE_ENV":"development","BASE_URL":"/"}).VUE_APP_DEBUG) {
console.warn('根据 Vue 的 data 函数初始化小程序 data 失败,请尽量确保 data 函数中不访问 vm 对象,否则可能影响首次数据渲染速度。', data);
}
}
@@ -2090,7 +2090,8 @@ uni$1;exports.default = _default;
/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./../../../webpack/buildin/global.js */ 2)))
/***/ }),
/* 2 */
/***/ 2:
/*!***********************************!*\
!*** (webpack)/buildin/global.js ***!
\***********************************/
@@ -2120,7 +2121,8 @@ module.exports = g;
/***/ }),
/* 3 */
/***/ 3:
/*!******************************************************************************************!*\
!*** ./node_modules/@dcloudio/vue-cli-plugin-uni/packages/mp-vue/dist/mp.runtime.esm.js ***!
\******************************************************************************************/
@@ -7647,7 +7649,7 @@ function type(obj) {
function flushCallbacks$1(vm) {
if (vm.__next_tick_callbacks && vm.__next_tick_callbacks.length) {
if (Object({"NODE_ENV":"development","VUE_APP_NAME":"zzb-table","VUE_APP_PLATFORM":"mp-weixin","BASE_URL":"/"}).VUE_APP_DEBUG) {
if (Object({"VUE_APP_NAME":"zzb-table","VUE_APP_PLATFORM":"mp-weixin","NODE_ENV":"development","BASE_URL":"/"}).VUE_APP_DEBUG) {
var mpInstance = vm.$scope;
console.log('[' + (+new Date) + '][' + (mpInstance.is || mpInstance.route) + '][' + vm._uid +
']:flushCallbacks[' + vm.__next_tick_callbacks.length + ']');
@@ -7668,14 +7670,14 @@ function nextTick$1(vm, cb) {
//1.nextTick 之前 已 setData 且 setData 还未回调完成
//2.nextTick 之前存在 render watcher
if (!vm.__next_tick_pending && !hasRenderWatcher(vm)) {
if(Object({"NODE_ENV":"development","VUE_APP_NAME":"zzb-table","VUE_APP_PLATFORM":"mp-weixin","BASE_URL":"/"}).VUE_APP_DEBUG){
if(Object({"VUE_APP_NAME":"zzb-table","VUE_APP_PLATFORM":"mp-weixin","NODE_ENV":"development","BASE_URL":"/"}).VUE_APP_DEBUG){
var mpInstance = vm.$scope;
console.log('[' + (+new Date) + '][' + (mpInstance.is || mpInstance.route) + '][' + vm._uid +
']:nextVueTick');
}
return nextTick(cb, vm)
}else{
if(Object({"NODE_ENV":"development","VUE_APP_NAME":"zzb-table","VUE_APP_PLATFORM":"mp-weixin","BASE_URL":"/"}).VUE_APP_DEBUG){
if(Object({"VUE_APP_NAME":"zzb-table","VUE_APP_PLATFORM":"mp-weixin","NODE_ENV":"development","BASE_URL":"/"}).VUE_APP_DEBUG){
var mpInstance$1 = vm.$scope;
console.log('[' + (+new Date) + '][' + (mpInstance$1.is || mpInstance$1.route) + '][' + vm._uid +
']:nextMPTick');
@@ -7761,7 +7763,7 @@ var patch = function(oldVnode, vnode) {
});
var diffData = this.$shouldDiffData === false ? data : diff(data, mpData);
if (Object.keys(diffData).length) {
if (Object({"NODE_ENV":"development","VUE_APP_NAME":"zzb-table","VUE_APP_PLATFORM":"mp-weixin","BASE_URL":"/"}).VUE_APP_DEBUG) {
if (Object({"VUE_APP_NAME":"zzb-table","VUE_APP_PLATFORM":"mp-weixin","NODE_ENV":"development","BASE_URL":"/"}).VUE_APP_DEBUG) {
console.log('[' + (+new Date) + '][' + (mpInstance.is || mpInstance.route) + '][' + this._uid +
']差量更新',
JSON.stringify(diffData));
@@ -8171,7 +8173,8 @@ internalMixin(Vue);
/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./../../../../../webpack/buildin/global.js */ 2)))
/***/ }),
/* 4 */
/***/ 4:
/*!*************************************************************!*\
!*** ./node_modules/@dcloudio/uni-i18n/dist/uni-i18n.es.js ***!
\*************************************************************/
@@ -8634,7 +8637,8 @@ function resolveLocaleChain(locale) {
/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./node_modules/@dcloudio/uni-mp-weixin/dist/index.js */ 1)["default"], __webpack_require__(/*! ./../../../webpack/buildin/global.js */ 2)))
/***/ }),
/* 5 */
/***/ 5:
/*!*****************************************!*\
!*** E:/dingw/pr2/zzb-table/pages.json ***!
\*****************************************/
@@ -8644,10 +8648,65 @@ function resolveLocaleChain(locale) {
/***/ }),
/* 6 */,
/* 7 */,
/* 8 */,
/* 9 */
/***/ 64:
/*!*************************************************!*\
!*** E:/dingw/pr2/zzb-table/pages/index/all.js ***!
\*************************************************/
/*! no static exports found */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });exports.column4 = exports.column3 = exports.column2 = exports.column1 = void 0;var column1 = [
{ name: 'name', label: '姓名', width: 80, emptyString: '--' },
{ name: 'age', label: '年纪' },
{ name: 'sex', label: '性别', filters: { 0: '男', 1: '女' } },
{ name: 'address', label: '地址' },
{ name: 'date', label: '日期' },
{ name: 'province', label: '省份' },
{ name: 'city', label: '城市' },
{ name: 'zip', label: '邮编' }];exports.column1 = column1;
var column2 = [
{ type: 'selection', width: 50 },
{ name: 'name', label: '姓名', width: 80, emptyString: '--' },
{ name: 'age', label: '年纪' },
{ name: 'sex', label: '性别', filters: { 0: '男', 1: '女' } },
{ name: 'address', label: '地址' },
{ name: 'date', label: '日期' },
{ name: 'province', label: '省份' },
{ name: 'city', label: '城市' },
{ name: 'zip', label: '邮编' }];exports.column2 = column2;
var column3 = [
{ type: 'selection', fixed: true, width: 50 },
{ name: 'name', label: '姓名', fixed: true, width: 80, emptyString: '--' },
{ name: 'name', label: '姓名', width: 80, emptyString: '--' },
{ name: 'age', label: '年纪' },
{ name: 'sex', label: '性别', filters: { 0: '男', 1: '女' } },
{ name: 'address', label: '地址' },
{ name: 'date', label: '日期' },
{ name: 'province', label: '省份' },
{ name: 'city', label: '城市' },
{ name: 'zip', label: '邮编' }];exports.column3 = column3;
var column4 = [
{ type: 'selection', fixed: true, width: 50 },
{ name: 'name', label: '姓名', fixed: true, width: 80, emptyString: '--' },
{ name: 'name', label: '姓名', width: 80, emptyString: '--' },
{ name: 'age', label: '年纪', sorter: true },
{ name: 'sex', label: '性别', filters: { 0: '男', 1: '女' } },
{ name: 'address', label: '地址' },
{ name: 'date', label: '日期', sorter: true },
{ name: 'province', label: '省份' },
{ name: 'city', label: '城市' },
{ name: 'zip', label: '邮编' }];exports.column4 = column4;
/***/ }),
/***/ 9:
/*!**********************************************************************************************************!*\
!*** ./node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/runtime/componentNormalizer.js ***!
\**********************************************************************************************************/
@@ -8775,5 +8834,6 @@ function normalizeComponent (
/***/ })
]]);
}]);
//# sourceMappingURL=../../.sourcemap/mp-weixin/common/vendor.js.map