diff --git a/cool/utils/comm.ts b/cool/utils/comm.ts index 1fe1bf7..fb894da 100644 --- a/cool/utils/comm.ts +++ b/cool/utils/comm.ts @@ -635,6 +635,28 @@ export const isApp = (): boolean => { return false; }; +/** + * 检查是否为App-IOS环境 + * @returns 是否为App-IOS环境 + */ +export const isAppIOS = (): boolean => { + // #ifdef APP-IOS + return true; + // #endif + return false; +}; + +/** + * 检查是否为App-Android环境 + * @returns 是否为App-Android环境 + */ +export const isAppAndroid = (): boolean => { + // #ifdef APP-ANDROID + return true; + // #endif + return false; +}; + /** * 检查是否为H5环境 * @returns 是否为H5环境 diff --git a/docs/logo.png b/docs/logo.png new file mode 100644 index 0000000..05a31d3 Binary files /dev/null and b/docs/logo.png differ diff --git a/manifest.json b/manifest.json index 0216cf4..519deb9 100644 --- a/manifest.json +++ b/manifest.json @@ -74,10 +74,10 @@ "distribute": { "modules": {}, "icons": { - "hdpi": "static/logo2.png", - "xhdpi": "static/logo2.png", - "xxhdpi": "static/logo2.png", - "xxxhdpi": "static/logo2.png" + "hdpi": "docs/logo.png", + "xhdpi": "docs/logo.png", + "xxhdpi": "docs/logo.png", + "xxxhdpi": "docs/logo.png" }, "splashScreens": { "default": {} @@ -88,7 +88,7 @@ "distribute": { "modules": {}, "icons": { - "appstore": "static/logo2.png" + "appstore": "docs/logo.png" }, "splashScreens": {} } diff --git a/pages/demo/basic/icon.uvue b/pages/demo/basic/icon.uvue index a6add59..76c0b7d 100644 --- a/pages/demo/basic/icon.uvue +++ b/pages/demo/basic/icon.uvue @@ -32,7 +32,7 @@ @@ -47,7 +47,7 @@ diff --git a/pages/demo/data/filter-bar.uvue b/pages/demo/data/filter-bar.uvue index dc96e9c..7cc0999 100644 --- a/pages/demo/data/filter-bar.uvue +++ b/pages/demo/data/filter-bar.uvue @@ -236,6 +236,8 @@ >{{ t("确定") }} + + diff --git a/pages/demo/feedback/toast.uvue b/pages/demo/feedback/toast.uvue index 27b2442..b05d922 100644 --- a/pages/demo/feedback/toast.uvue +++ b/pages/demo/feedback/toast.uvue @@ -6,7 +6,7 @@ - + {{ t("顶部") }} {{ t("中间") }} {{ t("底部") }} @@ -14,7 +14,7 @@ - + {{ t("成功") }} {{ t("失败") }} {{ t("警告") }} @@ -22,13 +22,13 @@ {{ t("禁用") }} - + {{ t("停止") }} - + - + @@ -62,7 +62,7 @@ - +