main
liudan 1 year ago
parent bcba0b6ae1
commit ea080e423a
  1. 6
      pages/index/add.vue
  2. 2
      unpackage/dist/dev/.sourcemap/mp-weixin/common/main.js.map
  3. 2
      unpackage/dist/dev/.sourcemap/mp-weixin/common/vendor.js.map
  4. 2
      unpackage/dist/dev/.sourcemap/mp-weixin/components/navbar.js.map
  5. 2
      unpackage/dist/dev/.sourcemap/mp-weixin/pages/ScanningCode/index.js.map
  6. 2
      unpackage/dist/dev/.sourcemap/mp-weixin/pages/index/acceptRecord.js.map
  7. 2
      unpackage/dist/dev/.sourcemap/mp-weixin/pages/index/add.js.map
  8. 2
      unpackage/dist/dev/.sourcemap/mp-weixin/pages/index/addRecord.js.map
  9. 2
      unpackage/dist/dev/.sourcemap/mp-weixin/pages/index/details.js.map
  10. 2
      unpackage/dist/dev/.sourcemap/mp-weixin/pages/index/file.js.map
  11. 2
      unpackage/dist/dev/.sourcemap/mp-weixin/pages/index/index.js.map
  12. 2
      unpackage/dist/dev/.sourcemap/mp-weixin/pages/index/sign.js.map
  13. 2
      unpackage/dist/dev/.sourcemap/mp-weixin/pages/index/signContent.js.map
  14. 2
      unpackage/dist/dev/.sourcemap/mp-weixin/pages/index/userAcceptRecord.js.map
  15. 2
      unpackage/dist/dev/.sourcemap/mp-weixin/pages/index/userInformation.js.map
  16. 2
      unpackage/dist/dev/.sourcemap/mp-weixin/pages/index/userSignPage.js.map
  17. 2
      unpackage/dist/dev/.sourcemap/mp-weixin/pages/login/login.js.map
  18. 2
      unpackage/dist/dev/.sourcemap/mp-weixin/pages/my/exampleShare.js.map
  19. 2
      unpackage/dist/dev/.sourcemap/mp-weixin/pages/my/feedback.js.map
  20. 2
      unpackage/dist/dev/.sourcemap/mp-weixin/pages/my/my.js.map
  21. 2
      unpackage/dist/dev/.sourcemap/mp-weixin/pages/my/richText.js.map
  22. 2
      unpackage/dist/dev/.sourcemap/mp-weixin/pages/my/sharePage.js.map
  23. 2
      unpackage/dist/dev/.sourcemap/mp-weixin/uni_modules/lime-signature/components/l-signature/l-signature.js.map
  24. 2
      unpackage/dist/dev/.sourcemap/mp-weixin/uni_modules/uview-ui/components/u-action-sheet/u-action-sheet.js.map
  25. 2
      unpackage/dist/dev/.sourcemap/mp-weixin/uni_modules/uview-ui/components/u-cell-group/u-cell-group.js.map
  26. 2
      unpackage/dist/dev/.sourcemap/mp-weixin/uni_modules/uview-ui/components/u-cell/u-cell.js.map
  27. 2
      unpackage/dist/dev/.sourcemap/mp-weixin/uni_modules/uview-ui/components/u-checkbox-group/u-checkbox-group.js.map
  28. 2
      unpackage/dist/dev/.sourcemap/mp-weixin/uni_modules/uview-ui/components/u-checkbox/u-checkbox.js.map
  29. 2
      unpackage/dist/dev/.sourcemap/mp-weixin/uni_modules/uview-ui/components/u-form-item/u-form-item.js.map
  30. 2
      unpackage/dist/dev/.sourcemap/mp-weixin/uni_modules/uview-ui/components/u-gap/u-gap.js.map
  31. 2
      unpackage/dist/dev/.sourcemap/mp-weixin/uni_modules/uview-ui/components/u-icon/u-icon.js.map
  32. 2
      unpackage/dist/dev/.sourcemap/mp-weixin/uni_modules/uview-ui/components/u-input/u-input.js.map
  33. 2
      unpackage/dist/dev/.sourcemap/mp-weixin/uni_modules/uview-ui/components/u-line/u-line.js.map
  34. 2
      unpackage/dist/dev/.sourcemap/mp-weixin/uni_modules/uview-ui/components/u-loading-icon/u-loading-icon.js.map
  35. 2
      unpackage/dist/dev/.sourcemap/mp-weixin/uni_modules/uview-ui/components/u-loading-page/u-loading-page.js.map
  36. 2
      unpackage/dist/dev/.sourcemap/mp-weixin/uni_modules/uview-ui/components/u-modal/u-modal.js.map
  37. 2
      unpackage/dist/dev/.sourcemap/mp-weixin/uni_modules/uview-ui/components/u-overlay/u-overlay.js.map
  38. 2
      unpackage/dist/dev/.sourcemap/mp-weixin/uni_modules/uview-ui/components/u-parse/node/node.js.map
  39. 2
      unpackage/dist/dev/.sourcemap/mp-weixin/uni_modules/uview-ui/components/u-parse/u-parse.js.map
  40. 2
      unpackage/dist/dev/.sourcemap/mp-weixin/uni_modules/uview-ui/components/u-popup/u-popup.js.map
  41. 2
      unpackage/dist/dev/.sourcemap/mp-weixin/uni_modules/uview-ui/components/u-safe-bottom/u-safe-bottom.js.map
  42. 2
      unpackage/dist/dev/.sourcemap/mp-weixin/uni_modules/uview-ui/components/u-search/u-search.js.map
  43. 2
      unpackage/dist/dev/.sourcemap/mp-weixin/uni_modules/uview-ui/components/u-status-bar/u-status-bar.js.map
  44. 2
      unpackage/dist/dev/.sourcemap/mp-weixin/uni_modules/uview-ui/components/u-textarea/u-textarea.js.map
  45. 2
      unpackage/dist/dev/.sourcemap/mp-weixin/uni_modules/uview-ui/components/u-toast/u-toast.js.map
  46. 2
      unpackage/dist/dev/.sourcemap/mp-weixin/uni_modules/uview-ui/components/u-transition/u-transition.js.map
  47. 2
      unpackage/dist/dev/.sourcemap/mp-weixin/uni_modules/uview-ui/components/u-upload/u-upload.js.map
  48. 108
      unpackage/dist/dev/mp-weixin/common/vendor.js
  49. 4
      unpackage/dist/dev/mp-weixin/components/navbar.json
  50. 2
      unpackage/dist/dev/mp-weixin/pages/index/add.wxml

@ -21,7 +21,7 @@
<u--input <u--input
placeholder="请输入内容" placeholder="请输入内容"
border="none" border="none"
:disabled="true"
v-model="form.barcode" v-model="form.barcode"
></u--input> ></u--input>
</u-form-item> </u-form-item>
@ -163,7 +163,7 @@
label="条形码编码2:" label="条形码编码2:"
prop="barcode2" prop="barcode2"
@click="getCode(2)" @click="getCode(2)"
:disabled="true"
ref="item1" ref="item1"
> >
@ -190,7 +190,7 @@
:borderBottom="true" :borderBottom="true"
label="条形码编码3:" label="条形码编码3:"
prop="barcode3" prop="barcode3"
:disabled="true"
@click="getCode(3)" @click="getCode(3)"
ref="item1" ref="item1"
> >

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

@ -14,7 +14,7 @@ Object.defineProperty(exports, "__esModule", {
value: true value: true
}); });
exports.default = void 0; exports.default = void 0;
var objectKeys = ['qy', 'env', 'error', 'version', 'lanDebug', 'cloud', 'serviceMarket', 'router', 'worklet']; var objectKeys = ['qy', 'env', 'error', 'version', 'lanDebug', 'cloud', 'serviceMarket', 'router', 'worklet', '__webpack_require_UNI_MP_PLUGIN__'];
var singlePageDisableKey = ['lanDebug', 'router', 'worklet']; var singlePageDisableKey = ['lanDebug', 'router', 'worklet'];
var target = typeof globalThis !== 'undefined' ? globalThis : function () { var target = typeof globalThis !== 'undefined' ? globalThis : function () {
return this; return this;
@ -248,22 +248,22 @@ function removeInterceptor(method, option) {
removeInterceptorHook(globalInterceptors, method); removeInterceptorHook(globalInterceptors, method);
} }
} }
function wrapperHook(hook) { function wrapperHook(hook, params) {
return function (data) { return function (data) {
return hook(data) || data; return hook(data, params) || data;
}; };
} }
function isPromise(obj) { function isPromise(obj) {
return !!obj && ((0, _typeof2.default)(obj) === 'object' || typeof obj === 'function') && typeof obj.then === 'function'; return !!obj && ((0, _typeof2.default)(obj) === 'object' || typeof obj === 'function') && typeof obj.then === 'function';
} }
function queue(hooks, data) { function queue(hooks, data, params) {
var promise = false; var promise = false;
for (var i = 0; i < hooks.length; i++) { for (var i = 0; i < hooks.length; i++) {
var hook = hooks[i]; var hook = hooks[i];
if (promise) { if (promise) {
promise = Promise.resolve(wrapperHook(hook)); promise = Promise.resolve(wrapperHook(hook, params));
} else { } else {
var res = hook(data); var res = hook(data, params);
if (isPromise(res)) { if (isPromise(res)) {
promise = Promise.resolve(res); promise = Promise.resolve(res);
} }
@ -286,7 +286,7 @@ function wrapperOptions(interceptor) {
if (Array.isArray(interceptor[name])) { if (Array.isArray(interceptor[name])) {
var oldCallback = options[name]; var oldCallback = options[name];
options[name] = function callbackInterceptor(res) { options[name] = function callbackInterceptor(res) {
queue(interceptor[name], res).then(function (res) { queue(interceptor[name], res, options).then(function (res) {
/* eslint-disable no-mixed-operators */ /* eslint-disable no-mixed-operators */
return isFn(oldCallback) && oldCallback(res) || res; return isFn(oldCallback) && oldCallback(res) || res;
}); });
@ -335,7 +335,8 @@ function invokeApi(method, api, options) {
if (Array.isArray(interceptor.invoke)) { if (Array.isArray(interceptor.invoke)) {
var res = queue(interceptor.invoke, options); var res = queue(interceptor.invoke, options);
return res.then(function (options) { return res.then(function (options) {
return api.apply(void 0, [wrapperOptions(interceptor, options)].concat(params)); // 重新访问 getApiInterceptorHooks, 允许 invoke 中再次调用 addInterceptor,removeInterceptor
return api.apply(void 0, [wrapperOptions(getApiInterceptorHooks(method), options)].concat(params));
}); });
} else { } else {
return api.apply(void 0, [wrapperOptions(interceptor, options)].concat(params)); return api.apply(void 0, [wrapperOptions(interceptor, options)].concat(params));
@ -779,8 +780,8 @@ function populateParameters(result) {
appVersion: "1.0.0", appVersion: "1.0.0",
appVersionCode: "100", appVersionCode: "100",
appLanguage: getAppLanguage(hostLanguage), appLanguage: getAppLanguage(hostLanguage),
uniCompileVersion: "3.7.11", uniCompileVersion: "3.8.12",
uniRuntimeVersion: "3.7.11", uniRuntimeVersion: "3.8.12",
uniPlatform: undefined || "mp-weixin", uniPlatform: undefined || "mp-weixin",
deviceBrand: deviceBrand, deviceBrand: deviceBrand,
deviceModel: model, deviceModel: model,
@ -1953,14 +1954,10 @@ function handleEvent(event) {
} }
} }
var eventChannels = {}; var eventChannels = {};
var eventChannelStack = [];
function getEventChannel(id) { function getEventChannel(id) {
if (id) {
var eventChannel = eventChannels[id]; var eventChannel = eventChannels[id];
delete eventChannels[id]; delete eventChannels[id];
return eventChannel; return eventChannel;
}
return eventChannelStack.shift();
} }
var hooks = ['onShow', 'onHide', 'onError', 'onPageNotFound', 'onThemeChange', 'onUnhandledRejection']; var hooks = ['onShow', 'onHide', 'onError', 'onPageNotFound', 'onThemeChange', 'onUnhandledRejection'];
function initEventChannel() { function initEventChannel() {
@ -1982,38 +1979,54 @@ function initEventChannel() {
function initScopedSlotsParams() { function initScopedSlotsParams() {
var center = {}; var center = {};
var parents = {}; var parents = {};
_vue.default.prototype.$hasScopedSlotsParams = function (vueId) { function currentId(fn) {
var has = center[vueId]; var vueIds = this.$options.propsData.vueId;
if (!has) { if (vueIds) {
var vueId = vueIds.split(',')[0];
fn(vueId);
}
}
_vue.default.prototype.$hasSSP = function (vueId) {
var slot = center[vueId];
if (!slot) {
parents[vueId] = this; parents[vueId] = this;
this.$on('hook:destroyed', function () { this.$on('hook:destroyed', function () {
delete parents[vueId]; delete parents[vueId];
}); });
} }
return has; return slot;
}; };
_vue.default.prototype.$getScopedSlotsParams = function (vueId, name, key) { _vue.default.prototype.$getSSP = function (vueId, name, needAll) {
var data = center[vueId]; var slot = center[vueId];
if (data) { if (slot) {
var object = data[name] || {}; var params = slot[name] || [];
return key ? object[key] : object; if (needAll) {
} else { return params;
parents[vueId] = this; }
this.$on('hook:destroyed', function () { return params[0];
delete parents[vueId];
});
} }
}; };
_vue.default.prototype.$setScopedSlotsParams = function (name, value) { _vue.default.prototype.$setSSP = function (name, value) {
var vueIds = this.$options.propsData.vueId; var index = 0;
if (vueIds) { currentId.call(this, function (vueId) {
var vueId = vueIds.split(',')[0]; var slot = center[vueId];
var object = center[vueId] = center[vueId] || {}; var params = slot[name] = slot[name] || [];
object[name] = value; params.push(value);
index = params.length - 1;
});
return index;
};
_vue.default.prototype.$initSSP = function () {
currentId.call(this, function (vueId) {
center[vueId] = {};
});
};
_vue.default.prototype.$callSSP = function () {
currentId.call(this, function (vueId) {
if (parents[vueId]) { if (parents[vueId]) {
parents[vueId].$forceUpdate(); parents[vueId].$forceUpdate();
} }
} });
}; };
_vue.default.mixin({ _vue.default.mixin({
destroyed: function destroyed() { destroyed: function destroyed() {
@ -2165,6 +2178,7 @@ function parseBaseComponent(vueComponentOptions) {
vueOptions = _initVueComponent2[1]; vueOptions = _initVueComponent2[1];
var options = _objectSpread({ var options = _objectSpread({
multipleSlots: true, multipleSlots: true,
// styleIsolation: 'apply-shared',
addGlobalClass: true addGlobalClass: true
}, vueOptions.options || {}); }, vueOptions.options || {});
{ {
@ -2410,7 +2424,7 @@ if (typeof Proxy !== 'undefined' && "mp-weixin" !== 'app-plus') {
uni[name] = promisify(name, todoApis[name]); uni[name] = promisify(name, todoApis[name]);
}); });
Object.keys(extraApi).forEach(function (name) { Object.keys(extraApi).forEach(function (name) {
uni[name] = promisify(name, todoApis[name]); uni[name] = promisify(name, extraApi[name]);
}); });
} }
Object.keys(eventApi).forEach(function (name) { Object.keys(eventApi).forEach(function (name) {
@ -2829,7 +2843,6 @@ var _slicedToArray2 = _interopRequireDefault(__webpack_require__(/*! @babel/runt
var _classCallCheck2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/classCallCheck */ 23)); var _classCallCheck2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/classCallCheck */ 23));
var _createClass2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/createClass */ 24)); var _createClass2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/createClass */ 24));
var _typeof2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/typeof */ 13)); var _typeof2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/typeof */ 13));
var isArray = Array.isArray;
var isObject = function isObject(val) { var isObject = function isObject(val) {
return val !== null && (0, _typeof2.default)(val) === 'object'; return val !== null && (0, _typeof2.default)(val) === 'object';
}; };
@ -2908,7 +2921,7 @@ function parse(format, _ref) {
function compile(tokens, values) { function compile(tokens, values) {
var compiled = []; var compiled = [];
var index = 0; var index = 0;
var mode = isArray(values) ? 'list' : isObject(values) ? 'named' : 'unknown'; var mode = Array.isArray(values) ? 'list' : isObject(values) ? 'named' : 'unknown';
if (mode === 'unknown') { if (mode === 'unknown') {
return compiled; return compiled;
} }
@ -2974,6 +2987,10 @@ function normalizeLocale(locale, messages) {
return locale; return locale;
} }
locale = locale.toLowerCase(); locale = locale.toLowerCase();
if (locale === 'chinese') {
// 支付宝
return LOCALE_ZH_HANS;
}
if (locale.indexOf('zh') === 0) { if (locale.indexOf('zh') === 0) {
if (locale.indexOf('-hans') > -1) { if (locale.indexOf('-hans') > -1) {
return LOCALE_ZH_HANS; return LOCALE_ZH_HANS;
@ -2986,7 +3003,11 @@ function normalizeLocale(locale, messages) {
} }
return LOCALE_ZH_HANS; return LOCALE_ZH_HANS;
} }
var lang = startsWith(locale, [LOCALE_EN, LOCALE_FR, LOCALE_ES]); var locales = [LOCALE_EN, LOCALE_FR, LOCALE_ES];
if (messages && Object.keys(messages).length > 0) {
locales = Object.keys(messages);
}
var lang = startsWith(locale, locales);
if (lang) { if (lang) {
return lang; return lang;
} }
@ -3293,7 +3314,7 @@ function compileJsonObj(jsonObj, localeValues, delimiters) {
return jsonObj; return jsonObj;
} }
function walkJsonObj(jsonObj, walk) { function walkJsonObj(jsonObj, walk) {
if (isArray(jsonObj)) { if (Array.isArray(jsonObj)) {
for (var i = 0; i < jsonObj.length; i++) { for (var i = 0; i < jsonObj.length; i++) {
if (walk(jsonObj, i)) { if (walk(jsonObj, i)) {
return true; return true;
@ -3385,7 +3406,7 @@ module.exports = _createClass, module.exports.__esModule = true, module.exports[
__webpack_require__.r(__webpack_exports__); __webpack_require__.r(__webpack_exports__);
/* WEBPACK VAR INJECTION */(function(global) {/*! /* WEBPACK VAR INJECTION */(function(global) {/*!
* Vue.js v2.6.11 * Vue.js v2.6.11
* (c) 2014-2022 Evan You * (c) 2014-2023 Evan You
* Released under the MIT License. * Released under the MIT License.
*/ */
/* */ /* */
@ -9395,12 +9416,13 @@ var LIFECYCLE_HOOKS$1 = [
'onNavigationBarSearchInputChanged', 'onNavigationBarSearchInputChanged',
'onNavigationBarSearchInputConfirmed', 'onNavigationBarSearchInputConfirmed',
'onNavigationBarSearchInputClicked', 'onNavigationBarSearchInputClicked',
'onUploadDouyinVideo',
'onNFCReadMessage',
//Component //Component
// 'onReady', // 兼容旧版本,应该移除该事件 // 'onReady', // 兼容旧版本,应该移除该事件
'onPageShow', 'onPageShow',
'onPageHide', 'onPageHide',
'onPageResize', 'onPageResize'
'onUploadDouyinVideo'
]; ];
function lifecycleMixin$1(Vue) { function lifecycleMixin$1(Vue) {

@ -1,6 +1,6 @@
{ {
"component": true,
"usingComponents": { "usingComponents": {
"u-icon": "/uni_modules/uview-ui/components/u-icon/u-icon" "u-icon": "/uni_modules/uview-ui/components/u-icon/u-icon"
}, }
"component": true
} }

File diff suppressed because one or more lines are too long
Loading…
Cancel
Save