Jelajahi Sumber

增加线上app

shish 3 bulan lalu
induk
melakukan
884b474689

+ 7 - 0
线上app/hdApp/src/config.js

@@ -0,0 +1,7 @@
+export const ProjectName = 'hd'
+export const APIHOST = 'https://api.shop.huahb.cn'
+export const FORMALHOST = 'https://shop.huahb.cn'
+export const IMGHOST = 'https://img.huahb.cn'
+export const CURRENT_ENV = 'production'
+export const WSSHOST = 'wss://chat.shop.huahb.cn'
+export const APP_VERSION = '2.2.8'

+ 12 - 0
线上app/hdApp/src/ext.json

@@ -0,0 +1,12 @@
+{
+  "extEnable": true,
+  "extAppid": "wx0d42f5f1dcb3a370",
+  "directCommit": false,
+  "ext": {
+    "account": 12358,
+    "apiHost": "https://api.shop.huahb.cn",
+    "socketApiHost": "api.shop.huahb.cn",
+    "imgHost": "https://img.huahb.cn",
+    "name":"花掌柜"
+  }
+}

+ 339 - 0
线上app/hdApp/src/manifest.json

@@ -0,0 +1,339 @@
+{
+    "name" : "花掌柜",
+    "appid" : "__UNI__4079DC1",
+    "description" : "花店管家婆",
+    "versionName" : "2.3.2",
+    "versionCode" : 232,
+    "transformPx" : true,
+    /* 5+App特有相关 */
+    "app-plus" : {
+        "usingComponents" : true,
+        "nvueCompiler" : "uni-app",
+        "compilerVersion" : 3,
+        "nvueLaunchMode" : "fast",
+        "compatible" : {
+            "ignoreVersion" : true
+        },
+        "splashscreen" : {
+            "alwaysShowBeforeRender" : true,
+            "waiting" : true,
+            "autoclose" : true,
+            "delay" : 0
+        },
+        "modules" : {
+            "VideoPlayer" : {},
+            "Bluetooth" : {},
+            "Geolocation" : {},
+            "OAuth" : {},
+            "Share" : {},
+            "Camera" : {},
+            "Barcode" : {},
+            "Push" : {}
+        },
+        /* 应用发布信息 */
+        "distribute" : {
+            /* android打包配置 */
+            "android" : {
+                "permissions" : [
+                    "<uses-permission android:name=\"android.permission.CALL_PHONE\"/>",
+                    "<uses-permission android:name=\"android.permission.CAMERA\"/>",
+                    "<uses-permission android:name=\"android.permission.ACCESS_COARSE_LOCATION\"/>",
+                    "<uses-permission android:name=\"android.permission.ACCESS_FINE_LOCATION\"/>"
+                ],
+                "autoSdkPermissions" : false,
+                "abiFilters" : [ "armeabi-v7a", "arm64-v8a", "x86" ],
+                "permissionExternalStorage" : {
+                    "request" : "none",
+                    "prompt" : "保存运行状态等信息,需要获取读写手机存储(系统提示为访问设备上的照片、媒体内容和文件)权限,请允许。"
+                },
+                "permissionPhoneState" : {
+                    "request" : "none",
+                    "prompt" : "为保证您正常和安全地使用,需要获取设备识别码(部分手机提示为获取手机号码)使用权限,请允许。"
+                },
+                "targetSdkVersion" : 30,
+                "minSdkVersion" : 21
+            },
+            /* ios打包配置 */
+            "ios" : {
+                "urlschemewhitelist" : [ "baidumap", "iosamap" ],
+                "privacyDescription" : {
+                    "NSPhotoLibraryUsageDescription" : "该应用需要读取您的相册,以便支持您修改头像、门店图片或花材图片",
+                    "NSPhotoLibraryAddUsageDescription" : "该应用需要读取您的相册,以便支持您修改头像、门店图片或花材图片",
+                    "NSCameraUsageDescription" : "该应用需要获取您的摄像头权限,以便支持您直接拍照上传头像、门店图片或花材图片",
+                    "NSLocationWhenInUseUsageDescription" : "该应用需要获取您的位置信息,用于查找附近批发店"
+                },
+                "idfa" : false,
+                "capabilities" : {
+                    "entitlements" : {
+                        "com.apple.developer.associated-domains" : [ "applinks:fronttg.wixhb.com" ]
+                    }
+                },
+                "dSYMs" : false
+            },
+            /* SDK配置 */
+            "sdkConfigs" : {
+                "speech" : {},
+                "ad" : {},
+                "oauth" : {
+                    "univerify" : {}
+                },
+                "share" : {
+                    "weixin" : {
+                        "appid" : "wx64e8c9962761d972",
+                        "UniversalLinks" : "https://fronttg.huahb.cn/uni-universallinks/__UNI__4079DC1/"
+                    }
+                },
+                "push" : {
+                    "unipush" : {
+                        "version" : "2",
+                        "offline" : true,
+                        "hms" : {},
+                        "oppo" : {},
+                        "vivo" : {},
+                        "mi" : {},
+                        "honor" : {},
+                        "icons" : {
+                            "small" : {
+                                "xxhdpi" : "unpackage/res/icons/72x72.png"
+                            }
+                        }
+                    }
+                },
+                "statics" : {}
+            },
+            "orientation" : [ "portrait-primary" ],
+            "icons" : {
+                "android" : {
+                    "hdpi" : "unpackage/res/icons/72x72.png",
+                    "xhdpi" : "unpackage/res/icons/96x96.png",
+                    "xxhdpi" : "unpackage/res/icons/144x144.png",
+                    "xxxhdpi" : "unpackage/res/icons/192x192.png"
+                },
+                "ios" : {
+                    "appstore" : "unpackage/res/icons/1024x1024.png",
+                    "ipad" : {
+                        "app" : "unpackage/res/icons/76x76.png",
+                        "app@2x" : "unpackage/res/icons/152x152.png",
+                        "notification" : "unpackage/res/icons/20x20.png",
+                        "notification@2x" : "unpackage/res/icons/40x40.png",
+                        "proapp@2x" : "unpackage/res/icons/167x167.png",
+                        "settings" : "unpackage/res/icons/29x29.png",
+                        "settings@2x" : "unpackage/res/icons/58x58.png",
+                        "spotlight" : "unpackage/res/icons/40x40.png",
+                        "spotlight@2x" : "unpackage/res/icons/80x80.png"
+                    },
+                    "iphone" : {
+                        "app@2x" : "unpackage/res/icons/120x120.png",
+                        "app@3x" : "unpackage/res/icons/180x180.png",
+                        "notification@2x" : "unpackage/res/icons/40x40.png",
+                        "notification@3x" : "unpackage/res/icons/60x60.png",
+                        "settings@2x" : "unpackage/res/icons/58x58.png",
+                        "settings@3x" : "unpackage/res/icons/87x87.png",
+                        "spotlight@2x" : "unpackage/res/icons/80x80.png",
+                        "spotlight@3x" : "unpackage/res/icons/120x120.png"
+                    }
+                }
+            },
+            "splashscreen" : {
+                "useOriginalMsgbox" : true
+            }
+        },
+        "nativePlugins" : {
+            "CL-Dialog" : {
+                "__plugin_info__" : {
+                    "name" : "确认提示框",
+                    "description" : "为了统一两个平台的提示(对话框)框的效果,以及对文字颜色内容的可自定义",
+                    "platforms" : "Android,iOS",
+                    "url" : "https://ext.dcloud.net.cn/plugin?id=1497",
+                    "android_package_name" : "zhh.huahuibao.hhb.app",
+                    "ios_bundle_id" : "",
+                    "isCloud" : true,
+                    "bought" : 1,
+                    "pid" : "1497",
+                    "parameters" : {}
+                }
+            },
+            "Html5app-Gprinter" : {
+                "__plugin_info__" : {
+                    "name" : "Android 和 IOS 佳博 蓝牙小票 标签 打印插件",
+                    "description" : "Android / IOS 佳博小票 、标签 打印机插件,QQ交流群:891416757",
+                    "platforms" : "Android,iOS",
+                    "url" : "https://ext.dcloud.net.cn/plugin?id=462",
+                    "android_package_name" : "zhh.huahuibao.hhb.app",
+                    "ios_bundle_id" : "",
+                    "isCloud" : true,
+                    "bought" : 1,
+                    "pid" : "462",
+                    "parameters" : {}
+                }
+            },
+            "Ba-IdCode" : {
+                "__plugin_info__" : {
+                    "name" : "获取设备唯一标识(OAID、AAID、IMEI等) Ba-IdCode",
+                    "description" : "Ba-IdCode 是一款可以获取国内各大手机厂商 OAID 及海外手机平台 AAID 的插件。另外也支持 IMEI/MEID、AndroidID、WidevineID、PseudoID、GUID 等",
+                    "platforms" : "Android",
+                    "url" : "https://ext.dcloud.net.cn/plugin?id=10318",
+                    "android_package_name" : "zhh.huahuibao.hhb.app",
+                    "ios_bundle_id" : "com.zhh.hhb",
+                    "isCloud" : true,
+                    "bought" : 1,
+                    "pid" : "10318",
+                    "parameters" : {}
+                }
+            },
+            "Univalsoft-DeviceId" : {
+                "__plugin_info__" : {
+                    "name" : "iOS 手机唯一标识 keychain 唯一标识 设备id UUID",
+                    "description" : "获取iOS设备唯一id,设备与账号绑定,卸载重装app后唯一标识不变。",
+                    "platforms" : "iOS",
+                    "url" : "https://ext.dcloud.net.cn/plugin?id=11231",
+                    "android_package_name" : "zhh.huahuibao.hhb.app",
+                    "ios_bundle_id" : "com.zhh.hhb",
+                    "isCloud" : true,
+                    "bought" : 1,
+                    "pid" : "11231",
+                    "parameters" : {}
+                }
+            }
+        },
+        "uniStatistics" : {
+            "enable" : false
+        },
+        "uniCloud" : {
+            "provider" : "aliyun",
+            "spaceId" : "mp-09299f99-6ca7-41bb-94bd-c6fe650fb740",
+            "clientSecret" : "pC0+OYHrD6Ie0PK+7Zs5HA=="
+        }
+    },
+    /* 快应用特有相关 */
+    "quickapp" : {},
+    /* 小程序特有相关 线上(花掌柜) wx0d42f5f1dcb3a370 开发(花美玲) wxe4675bab299a52f7 */
+    "mp-weixin" : {
+        "appid" : "wx0d42f5f1dcb3a370",
+        "setting" : {
+            "urlCheck" : false
+        },
+        "usingComponents" : true,
+        "permission" : {
+            "scope.userLocation" : {
+                "desc" : "请点击确定"
+            }
+        },
+        "requiredPrivateInfos" : [ "getLocation" ],
+        "optimization" : {
+            "subPackages" : true
+        },
+        "lazyCodeLoading" : "requiredComponents",
+        "uniStatistics" : {
+            "enable" : false
+        },
+        "unipush" : {
+            "enable" : false
+        }
+    },
+    "mp-alipay" : {
+        "usingComponents" : true,
+        "uniStatistics" : {
+            "enable" : false
+        }
+    },
+    "mp-baidu" : {
+        "usingComponents" : true,
+        "uniStatistics" : {
+            "enable" : false
+        }
+    },
+    "mp-toutiao" : {
+        "usingComponents" : true,
+        "uniStatistics" : {
+            "enable" : false
+        }
+    },
+    "h5" : {
+        "template" : "template.h5.html",
+        "router" : {
+            // "mode" : "history",
+            "base" : "/"
+        },
+        "async" : {
+            "timeout" : 20000
+        },
+        "optimization" : {
+            "treeShaking" : {
+                "enable" : true
+            }
+        },
+        "devServer" : {
+            "port" : 81,
+            "proxy" : {
+                "/api" : {
+                    "target" : "http://api.shop.huaml.com",
+                    "secure" : false,
+                    "changeOrigin" : true,
+                    "pathRewrite" : {
+                        "^/api" : ""
+                    }
+                }
+            }
+        },
+        "sdkConfigs" : {
+            "maps" : {
+                "qqmap" : {
+                    "key" : ""
+                }
+            }
+        },
+        "uniStatistics" : {
+            "enable" : false
+        }
+    },
+    "uniStatistics" : {
+        "version" : "2",
+        "enable" : false
+    },
+    "app-harmony" : {
+        "uniStatistics" : {
+            "enable" : false
+        }
+    },
+    "mp-harmony" : {
+        "uniStatistics" : {
+            "enable" : false
+        }
+    },
+    "mp-jd" : {
+        "uniStatistics" : {
+            "enable" : false
+        }
+    },
+    "mp-kuaishou" : {
+        "uniStatistics" : {
+            "enable" : false
+        }
+    },
+    "mp-lark" : {
+        "uniStatistics" : {
+            "enable" : false
+        }
+    },
+    "mp-qq" : {
+        "uniStatistics" : {
+            "enable" : false
+        }
+    },
+    "mp-xhs" : {
+        "uniStatistics" : {
+            "enable" : false
+        }
+    },
+    "quickapp-webview-huawei" : {
+        "uniStatistics" : {
+            "enable" : false
+        }
+    },
+    "quickapp-webview-union" : {
+        "uniStatistics" : {
+            "enable" : false
+        }
+    }
+}

+ 435 - 0
线上app/hdApp/src/static/iconfont/iconfont.css

@@ -0,0 +1,435 @@
+@font-face {
+  font-family: 'iconfont';  /* project id 1525256 */
+  src: url('https://api.shop.huahb.cn/iconfont/font_1525256_6bxwphhntqh.eot');
+  src: url('https://api.shop.huahb.cn/iconfont/font_1525256_6bxwphhntqh.eot?#iefix') format('embedded-opentype'),
+  url('https://api.shop.huahb.cn/iconfont/font_1525256_6bxwphhntqh.woff2') format('woff2'),
+  url('https://api.shop.huahb.cn/iconfont/font_1525256_6bxwphhntqh.woff') format('woff'),
+  url('https://api.shop.huahb.cn/iconfont/font_1525256_6bxwphhntqh.ttf') format('truetype'),
+  url('https://api.shop.huahb.cn/iconfont/font_1525256_6bxwphhntqh.svg#iconfont') format('svg');
+}
+
+.iconfont {
+  font-family: "iconfont" !important;
+  font-size: 16upx;
+  font-style: normal;
+  -webkit-font-smoothing: antialiased;
+  -moz-osx-font-smoothing: grayscale;
+}
+.iconcachu::before {
+  content: "\e7e6";
+}
+
+.iconjihuo:before {
+  content: "\e601";
+}
+
+.iconmingxi1:before {
+  content: "\e7e5";
+}
+.iconjian:before {
+  content: "\e7e3";
+}
+
+.iconzeng:before {
+  content: "\e7e4";
+}
+
+.iconqiehuan1:before {
+  content: "\e7e2";
+}
+
+.iconqishouyinying:before {
+  content: "\e7e1";
+}
+
+.iconxiayi:before {
+  content: "\e7de";
+}
+
+.iconshangyi:before {
+  content: "\e7e0";
+}
+
+.iconyiruku:before {
+  content: "\e7df";
+}
+
+.iconyikaidian:before {
+  content: "\e7d7";
+}
+
+.icondianhua1:before {
+  content: "\e7d9";
+}
+
+.iconshoukuanma1:before {
+  content: "\e7d8";
+}
+
+.icondaichuku:before {
+  content: "\e7da";
+}
+
+.iconyichuku:before {
+  content: "\e7db";
+}
+
+.iconyiquxiao:before {
+  content: "\e7dc";
+}
+
+.icondairuku:before {
+  content: "\e7dd";
+}
+
+.iconshoukuanma:before {
+  content: "\e600";
+}
+
+.icongouwuche:before {
+  content: "\e7d5";
+}
+
+.iconjianqu:before {
+  content: "\e7d3";
+}
+
+.icontianjia:before {
+  content: "\e7d4";
+}
+
+.iconsearch1:before {
+  content: "\e7d6";
+}
+
+.icondingdanweixuanzhong1:before {
+  content: "\e7c9";
+}
+
+.icondianpuweixuanzhong:before {
+  content: "\e7ca";
+}
+
+.iconwodeweixuanzhong:before {
+  content: "\e7cb";
+}
+
+.iconyingyongweixuanzhong:before {
+  content: "\e7cc";
+}
+
+.icondianpuxuanzhong:before {
+  content: "\e7cd";
+}
+
+.icondingdanxuanzhong1:before {
+  content: "\e7ce";
+}
+
+.iconwodexuanzhong:before {
+  content: "\e7cf";
+}
+
+.iconkehuweixuanzhong1:before {
+  content: "\e7d0";
+}
+
+.iconyingyongxuanzhong:before {
+  content: "\e7d1";
+}
+
+.iconkehuxuanzhong1:before {
+  content: "\e7d2";
+}
+
+.iconxiaochengxu2:before {
+  content: "\e78d";
+}
+
+.iconmeituan:before {
+  content: "\e78e";
+}
+
+.iconzhangshangcaifuyemianshoujiban344:before {
+  content: "\e632";
+}
+
+.iconwaimai:before {
+  content: "\e692";
+}
+
+.iconxiaochengxu1:before {
+  content: "\e619";
+}
+
+.iconjiantouxia:before {
+  content: "\e61a";
+}
+
+.iconshenheweitongguo:before {
+  content: "\e774";
+}
+
+.iconsanjiao_xia:before {
+  content: "\e631";
+}
+
+.iconsanjiaoshang:before {
+  content: "\e643";
+}
+
+.icondagou:before {
+  content: "\e607";
+}
+
+.iconshezhi:before {
+  content: "\e645";
+}
+
+.iconcaidan:before {
+  content: "\e65d";
+}
+
+.iconxiaoxi2:before {
+  content: "\e76f";
+}
+
+.iconmorentu:before {
+  content: "\e76e";
+}
+
+.icongou:before {
+  content: "\e76d";
+}
+
+.iconbianjijiage1:before {
+  content: "\e76c";
+}
+
+.iconchenggong:before {
+  content: "\e76b";
+}
+
+.iconfahuo:before {
+  content: "\e75d";
+}
+
+.iconshouye:before {
+  content: "\e75e";
+}
+
+.icontianjiatuku:before {
+  content: "\e767";
+}
+
+.iconxinrenlingquanshezhi:before {
+  content: "\e768";
+}
+
+.iconhuiyuandengjishezhi:before {
+  content: "\e769";
+}
+
+.iconweixin:before {
+  content: "\e76a";
+}
+
+.iconcaidanlan:before {
+  content: "\e75c";
+}
+
+.icontupiantianjia:before {
+  content: "\e75f";
+}
+
+.icondelete:before {
+  content: "\e760";
+}
+
+.iconxiaoxi1:before {
+  content: "\e761";
+}
+
+.iconxiala:before {
+  content: "\e762";
+}
+
+.icontianjiakehu:before {
+  content: "\e766";
+}
+
+.iconweixingongzhonghao:before {
+  content: "\e763";
+}
+
+.iconshoujihao1:before {
+  content: "\e764";
+}
+
+.iconweixinlaiyuan:before {
+  content: "\e765";
+}
+
+.iconkehuxuanzhong:before {
+  content: "\e755";
+}
+
+.iconkehuweixuanzhong:before {
+  content: "\e756";
+}
+
+.icongongzuotaiweixuanzhong:before {
+  content: "\e757";
+}
+
+.icongongzuotaixuanzhong:before {
+  content: "\e758";
+}
+
+.icondingdanweixuanzhong:before {
+  content: "\e759";
+}
+
+.icondingdanxuanzhong:before {
+  content: "\e75a";
+}
+
+.iconcaozuo:before {
+  content: "\e751";
+}
+
+.iconcaozuojihuo:before {
+  content: "\e752";
+}
+
+.iconfenxiang1:before {
+  content: "\e74c";
+}
+
+.iconbianji:before {
+  content: "\e74d";
+}
+
+.iconjinyong:before {
+  content: "\e74e";
+}
+
+.iconqiyong:before {
+  content: "\e74f";
+}
+
+.iconshanchu1:before {
+  content: "\e750";
+}
+
+.iconzhiding:before {
+  content: "\e753";
+}
+
+.iconxiajia:before {
+  content: "\e754";
+}
+
+.iconguanbi:before {
+  content: "\e74b";
+}
+
+.iconshanchu:before {
+  content: "\e74a";
+}
+
+.iconkefu:before {
+  content: "\e749";
+}
+
+.icontupian:before {
+  content: "\e746";
+}
+
+.iconxiaochengxu:before {
+  content: "\e747";
+}
+
+.iconzhifubao:before {
+  content: "\e748";
+}
+
+.iconchangjianwentixiangguanwenti2:before {
+  content: "\e679";
+}
+
+.iconxuanzhong:before {
+  content: "\e744";
+}
+
+.iconweixuanzhong:before {
+  content: "\e745";
+}
+
+.iconfenxiang:before {
+  content: "\e743";
+}
+
+.iconxiaoxi:before {
+  content: "\e741";
+}
+
+.icondianpu:before {
+  content: "\e742";
+}
+
+.icondianhua:before {
+  content: "\e73f";
+}
+
+.iconditu:before {
+  content: "\e740";
+}
+
+.iconsearch:before {
+  content: "\e73d";
+}
+
+.iconclose:before {
+  content: "\e73e";
+}
+
+.icondaizhifu:before {
+  content: "\e733";
+}
+
+.iconshoujihao:before {
+  content: "\e734";
+}
+
+.iconxiangyou:before {
+  content: "\e735";
+}
+
+.iconhaopingxingxing:before {
+  content: "\e736";
+}
+
+.iconmine:before {
+  content: "\e737";
+}
+
+.iconstore:before {
+  content: "\e738";
+}
+
+.iconhome:before {
+  content: "\e739";
+}
+
+.iconclassification:before {
+  content: "\e73a";
+}
+
+.iconyiguoqi:before {
+  content: "\e73b";
+}
+
+.iconyishiyong:before {
+  content: "\e73c";
+}