提交 5b97ac0d 编写于 作者: Q qiang

build v3

上级 24765c90
...@@ -1359,6 +1359,21 @@ var serviceContext = (function () { ...@@ -1359,6 +1359,21 @@ var serviceContext = (function () {
previewImage: previewImage previewImage: previewImage
}); });
const saveImageToPhotosAlbum = {
filePath: {
type: String,
required: true,
validator (filePath, params) {
params.filePath = getRealPath(filePath);
}
}
};
var require_context_module_0_17 = /*#__PURE__*/Object.freeze({
__proto__: null,
saveImageToPhotosAlbum: saveImageToPhotosAlbum
});
const downloadFile = { const downloadFile = {
url: { url: {
type: String, type: String,
...@@ -1372,7 +1387,7 @@ var serviceContext = (function () { ...@@ -1372,7 +1387,7 @@ var serviceContext = (function () {
} }
}; };
var require_context_module_0_17 = /*#__PURE__*/Object.freeze({ var require_context_module_0_18 = /*#__PURE__*/Object.freeze({
__proto__: null, __proto__: null,
downloadFile: downloadFile downloadFile: downloadFile
}); });
...@@ -1480,7 +1495,7 @@ var serviceContext = (function () { ...@@ -1480,7 +1495,7 @@ var serviceContext = (function () {
} }
}; };
var require_context_module_0_18 = /*#__PURE__*/Object.freeze({ var require_context_module_0_19 = /*#__PURE__*/Object.freeze({
__proto__: null, __proto__: null,
request: request request: request
}); });
...@@ -1538,7 +1553,7 @@ var serviceContext = (function () { ...@@ -1538,7 +1553,7 @@ var serviceContext = (function () {
} }
}; };
var require_context_module_0_19 = /*#__PURE__*/Object.freeze({ var require_context_module_0_20 = /*#__PURE__*/Object.freeze({
__proto__: null, __proto__: null,
connectSocket: connectSocket, connectSocket: connectSocket,
sendSocketMessage: sendSocketMessage, sendSocketMessage: sendSocketMessage,
...@@ -1580,7 +1595,7 @@ var serviceContext = (function () { ...@@ -1580,7 +1595,7 @@ var serviceContext = (function () {
} }
}; };
var require_context_module_0_20 = /*#__PURE__*/Object.freeze({ var require_context_module_0_21 = /*#__PURE__*/Object.freeze({
__proto__: null, __proto__: null,
uploadFile: uploadFile uploadFile: uploadFile
}); });
...@@ -1605,7 +1620,7 @@ var serviceContext = (function () { ...@@ -1605,7 +1620,7 @@ var serviceContext = (function () {
} }
}; };
var require_context_module_0_21 = /*#__PURE__*/Object.freeze({ var require_context_module_0_22 = /*#__PURE__*/Object.freeze({
__proto__: null, __proto__: null,
getProvider: getProvider getProvider: getProvider
}); });
...@@ -1773,7 +1788,7 @@ var serviceContext = (function () { ...@@ -1773,7 +1788,7 @@ var serviceContext = (function () {
] ]
)); ));
var require_context_module_0_22 = /*#__PURE__*/Object.freeze({ var require_context_module_0_23 = /*#__PURE__*/Object.freeze({
__proto__: null, __proto__: null,
redirectTo: redirectTo, redirectTo: redirectTo,
reLaunch: reLaunch, reLaunch: reLaunch,
...@@ -1817,7 +1832,7 @@ var serviceContext = (function () { ...@@ -1817,7 +1832,7 @@ var serviceContext = (function () {
const removeStorage = getStorage; const removeStorage = getStorage;
const removeStorageSync = getStorageSync; const removeStorageSync = getStorageSync;
var require_context_module_0_23 = /*#__PURE__*/Object.freeze({ var require_context_module_0_24 = /*#__PURE__*/Object.freeze({
__proto__: null, __proto__: null,
getStorage: getStorage, getStorage: getStorage,
getStorageSync: getStorageSync, getStorageSync: getStorageSync,
...@@ -1854,7 +1869,7 @@ var serviceContext = (function () { ...@@ -1854,7 +1869,7 @@ var serviceContext = (function () {
} }
}; };
var require_context_module_0_24 = /*#__PURE__*/Object.freeze({ var require_context_module_0_25 = /*#__PURE__*/Object.freeze({
__proto__: null, __proto__: null,
loadFontFace: loadFontFace loadFontFace: loadFontFace
}); });
...@@ -1897,7 +1912,7 @@ var serviceContext = (function () { ...@@ -1897,7 +1912,7 @@ var serviceContext = (function () {
} }
}; };
var require_context_module_0_25 = /*#__PURE__*/Object.freeze({ var require_context_module_0_26 = /*#__PURE__*/Object.freeze({
__proto__: null, __proto__: null,
setNavigationBarColor: setNavigationBarColor, setNavigationBarColor: setNavigationBarColor,
setNavigationBarTitle: setNavigationBarTitle setNavigationBarTitle: setNavigationBarTitle
...@@ -1917,7 +1932,7 @@ var serviceContext = (function () { ...@@ -1917,7 +1932,7 @@ var serviceContext = (function () {
} }
}; };
var require_context_module_0_26 = /*#__PURE__*/Object.freeze({ var require_context_module_0_27 = /*#__PURE__*/Object.freeze({
__proto__: null, __proto__: null,
pageScrollTo: pageScrollTo pageScrollTo: pageScrollTo
}); });
...@@ -2038,7 +2053,7 @@ var serviceContext = (function () { ...@@ -2038,7 +2053,7 @@ var serviceContext = (function () {
} }
}; };
var require_context_module_0_27 = /*#__PURE__*/Object.freeze({ var require_context_module_0_28 = /*#__PURE__*/Object.freeze({
__proto__: null, __proto__: null,
showModal: showModal, showModal: showModal,
showToast: showToast, showToast: showToast,
...@@ -2134,7 +2149,7 @@ var serviceContext = (function () { ...@@ -2134,7 +2149,7 @@ var serviceContext = (function () {
} }
}; };
var require_context_module_0_28 = /*#__PURE__*/Object.freeze({ var require_context_module_0_29 = /*#__PURE__*/Object.freeze({
__proto__: null, __proto__: null,
setTabBarItem: setTabBarItem, setTabBarItem: setTabBarItem,
setTabBarStyle: setTabBarStyle, setTabBarStyle: setTabBarStyle,
...@@ -2167,18 +2182,19 @@ var serviceContext = (function () { ...@@ -2167,18 +2182,19 @@ var serviceContext = (function () {
'./media/choose-video.js': require_context_module_0_14, './media/choose-video.js': require_context_module_0_14,
'./media/get-image-info.js': require_context_module_0_15, './media/get-image-info.js': require_context_module_0_15,
'./media/preview-image.js': require_context_module_0_16, './media/preview-image.js': require_context_module_0_16,
'./network/download-file.js': require_context_module_0_17, './media/save-image-to-photos-album.js': require_context_module_0_17,
'./network/request.js': require_context_module_0_18, './network/download-file.js': require_context_module_0_18,
'./network/socket.js': require_context_module_0_19, './network/request.js': require_context_module_0_19,
'./network/upload-file.js': require_context_module_0_20, './network/socket.js': require_context_module_0_20,
'./plugin/get-provider.js': require_context_module_0_21, './network/upload-file.js': require_context_module_0_21,
'./route/route.js': require_context_module_0_22, './plugin/get-provider.js': require_context_module_0_22,
'./storage/storage.js': require_context_module_0_23, './route/route.js': require_context_module_0_23,
'./ui/load-font-face.js': require_context_module_0_24, './storage/storage.js': require_context_module_0_24,
'./ui/navigation-bar.js': require_context_module_0_25, './ui/load-font-face.js': require_context_module_0_25,
'./ui/page-scroll-to.js': require_context_module_0_26, './ui/navigation-bar.js': require_context_module_0_26,
'./ui/popup.js': require_context_module_0_27, './ui/page-scroll-to.js': require_context_module_0_27,
'./ui/tab-bar.js': require_context_module_0_28, './ui/popup.js': require_context_module_0_28,
'./ui/tab-bar.js': require_context_module_0_29,
}; };
var req = function req(key) { var req = function req(key) {
...@@ -6326,7 +6342,7 @@ var serviceContext = (function () { ...@@ -6326,7 +6342,7 @@ var serviceContext = (function () {
} }
} }
function saveImageToPhotosAlbum ({ function saveImageToPhotosAlbum$1 ({
filePath filePath
} = {}, callbackId) { } = {}, callbackId) {
plus.gallery.save(getRealPath$1(filePath), e => { plus.gallery.save(getRealPath$1(filePath), e => {
...@@ -7715,7 +7731,9 @@ var serviceContext = (function () { ...@@ -7715,7 +7731,9 @@ var serviceContext = (function () {
]; ];
function parseWebviewStyle (id, path, routeOptions = {}) { function parseWebviewStyle (id, path, routeOptions = {}) {
const webviewStyle = Object.create(null); const webviewStyle = {
bounce: 'vertical'
};
// 合并 // 合并
routeOptions.window = parseStyleUnit(Object.assign( routeOptions.window = parseStyleUnit(Object.assign(
...@@ -9596,7 +9614,7 @@ var serviceContext = (function () { ...@@ -9596,7 +9614,7 @@ var serviceContext = (function () {
getImageInfo: getImageInfo$1, getImageInfo: getImageInfo$1,
previewImagePlus: previewImagePlus, previewImagePlus: previewImagePlus,
operateRecorder: operateRecorder, operateRecorder: operateRecorder,
saveImageToPhotosAlbum: saveImageToPhotosAlbum, saveImageToPhotosAlbum: saveImageToPhotosAlbum$1,
saveVideoToPhotosAlbum: saveVideoToPhotosAlbum, saveVideoToPhotosAlbum: saveVideoToPhotosAlbum,
operateDownloadTask: operateDownloadTask, operateDownloadTask: operateDownloadTask,
createDownloadTask: createDownloadTask, createDownloadTask: createDownloadTask,
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册