diff --git a/components/Privacy/index.vue b/components/Privacy/index.vue new file mode 100644 index 0000000..2ba349a --- /dev/null +++ b/components/Privacy/index.vue @@ -0,0 +1,80 @@ + + + + + diff --git a/components/Privacy/styles/index.scss b/components/Privacy/styles/index.scss new file mode 100644 index 0000000..1ea253d --- /dev/null +++ b/components/Privacy/styles/index.scss @@ -0,0 +1,66 @@ +.privacy { + position: fixed; + top: 0; + left: 0; + right: 0; + bottom: 0; + background-color: rgba(0, 0, 0, 0.7); + z-index: 9999; + display: flex; + flex-direction: column; + justify-content: flex-end; + align-items: end; +} + +.title { + font-size: 20px; + font-weight: bold; + color: #000; + padding-bottom: 20rpx; +} + +.content { + position: relative; + background-color: #fff; + padding: 15px; + border-radius: 20px 20px 0 0; +} + +.des { + line-height: 21px; +} + +.link { + color: #007aff; +} + +.btns { + display: flex; + justify-content: space-between; + align-items: center; + padding: 20px 0 40px; +} + +.reject, +.agree { + border-radius: 50px; + width: 45%; + border: none; + font-size: 18px; + margin: 0; + + &::after { + border: none; + } +} + +.reject { + color: #000; + background-color: #f5f5f5; + border-radius: 50px; +} + +.agree { + color: #fff; + background-color: #007aff; +} diff --git a/manifest.json b/manifest.json index 4d8e54f..0c169c9 100644 --- a/manifest.json +++ b/manifest.json @@ -1,100 +1,101 @@ { - "name": "YGTianmuCS", - "appid": "__UNI__BB03E8A", - "description": "", - "versionName": "1.0.0", - "versionCode": "100", - "transformPx": false, - /* 5+App特有相关 */ - "app-plus": { - "usingComponents": true, - "nvueStyleCompiler": "uni-app", - "compilerVersion": 3, - "splashscreen": { - "alwaysShowBeforeRender": true, - "waiting": true, - "autoclose": true, - "delay": 0 - }, - "safearea": { - "bottom": { - "offset": "auto" // 自动适配安全区域 - } - }, - /* 模块配置 */ - "modules": {}, - /* 应用发布信息 */ - "distribute": { - /* android打包配置 */ - "android": { - "permissions": [ - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "" - ] - }, - /* ios打包配置 */ - "ios": {}, - /* SDK配置 */ - "sdkConfigs": { - "oauth": {} - } - } + "name": "YGTianmuCS", + "appid": "__UNI__BB03E8A", + "description": "", + "versionName": "1.0.0", + "versionCode": "100", + "transformPx": false, + /* 5+App特有相关 */ + "app-plus": { + "usingComponents": true, + "nvueStyleCompiler": "uni-app", + "compilerVersion": 3, + "splashscreen": { + "alwaysShowBeforeRender": true, + "waiting": true, + "autoclose": true, + "delay": 0 }, - /* 快应用特有相关 */ - "quickapp": {}, - /* 小程序特有相关 */ - "mp-weixin": { - "appid": "wx5e79df5996572539", - "setting": { - "urlCheck": false - }, - "usingComponents": true, - "requiredPrivateInfos": ["getLocation"], - "permission": { - "scope.userLocation": { - "desc": "用于获取当前所在城市信息" - } - }, - "plugins": { - "WechatSI": { - "version": "0.3.6", - "provider": "wx069ba97219f66d99" - } - } + "safearea": { + "bottom": { + "offset": "auto" // 自动适配安全区域 + } }, - "mp-alipay": { - "usingComponents": true - }, - "mp-baidu": { - "usingComponents": true - }, - "mp-toutiao": { - "usingComponents": true - }, - "uniStatistics": { - "enable": false - }, - "vueVersion": "3", - "h5": { - "router": { - "base": "./", - "mode": "hash" - }, - "devServer": { - "https": false - } + /* 模块配置 */ + "modules": {}, + /* 应用发布信息 */ + "distribute": { + /* android打包配置 */ + "android": { + "permissions": [ + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "" + ] + }, + /* ios打包配置 */ + "ios": {}, + /* SDK配置 */ + "sdkConfigs": { + "oauth": {} + } } + }, + /* 快应用特有相关 */ + "quickapp": {}, + /* 小程序特有相关 */ + "mp-weixin": { + "appid": "wx5e79df5996572539", + "setting": { + "urlCheck": false + }, + "usingComponents": true, + "requiredPrivateInfos": ["getLocation"], + "permission": { + "scope.userLocation": { + "desc": "用于获取当前所在城市信息" + } + }, + "plugins": { + "WechatSI": { + "version": "0.3.6", + "provider": "wx069ba97219f66d99" + } + }, + "__usePrivacyCheck__": true + }, + "mp-alipay": { + "usingComponents": true + }, + "mp-baidu": { + "usingComponents": true + }, + "mp-toutiao": { + "usingComponents": true + }, + "uniStatistics": { + "enable": false + }, + "vueVersion": "3", + "h5": { + "router": { + "base": "./", + "mode": "hash" + }, + "devServer": { + "https": false + } + } }