diff --git a/.idea/.gitignore b/.idea/.gitignore deleted file mode 100644 index 10b731c..0000000 --- a/.idea/.gitignore +++ /dev/null @@ -1,5 +0,0 @@ -# 默认忽略的文件 -/shelf/ -/workspace.xml -# 基于编辑器的 HTTP 客户端请求 -/httpRequests/ diff --git a/.idea/UniappTool.xml b/.idea/UniappTool.xml deleted file mode 100644 index adde661..0000000 --- a/.idea/UniappTool.xml +++ /dev/null @@ -1,14 +0,0 @@ - - - - - \ No newline at end of file diff --git a/.idea/fitjourney前端代码.iml b/.idea/fitjourney前端代码.iml deleted file mode 100644 index 24643cc..0000000 --- a/.idea/fitjourney前端代码.iml +++ /dev/null @@ -1,12 +0,0 @@ - - - - - - - - - - - - \ No newline at end of file diff --git a/.idea/modules.xml b/.idea/modules.xml deleted file mode 100644 index f9851f9..0000000 --- a/.idea/modules.xml +++ /dev/null @@ -1,8 +0,0 @@ - - - - - - - - \ No newline at end of file diff --git a/.idea/uniappSupport.xml b/.idea/uniappSupport.xml deleted file mode 100644 index 65e1c6d..0000000 --- a/.idea/uniappSupport.xml +++ /dev/null @@ -1,14 +0,0 @@ - - - - - - \ No newline at end of file diff --git a/.idea/vcs.xml b/.idea/vcs.xml deleted file mode 100644 index 94a25f7..0000000 --- a/.idea/vcs.xml +++ /dev/null @@ -1,6 +0,0 @@ - - - - - - \ No newline at end of file diff --git a/.idea/watcherTasks.xml b/.idea/watcherTasks.xml deleted file mode 100644 index 4201403..0000000 --- a/.idea/watcherTasks.xml +++ /dev/null @@ -1,25 +0,0 @@ - - - - - - - - \ No newline at end of file diff --git a/App.vue b/App.vue deleted file mode 100644 index 4e36e0f..0000000 --- a/App.vue +++ /dev/null @@ -1,76 +0,0 @@ -// App.vue - - - - - diff --git a/README.md b/README.md index dc72035..6aa9e1c 100644 --- a/README.md +++ b/README.md @@ -1,17 +1,3 @@ -所有页面的静态资源(图片等)都放在static文件中 +# fit journey 项目前端代码 -分为三个板块: - -1.登录注册板块 - -包含手机号登录,账号密码登录,注册,index是动画过度界面 - -2.首页板块 - -包含四个部分 一个是首页,puppy聊天对话,个人中心,社区 - -3.信息填写界面 - -如果是第一次登录要进行个人信息填写 如果不是第一次登录则跳过 - diff --git a/components/ai_recongize_fruit/ai_recongize_fruit.vue b/components/ai_recongize_fruit/ai_recongize_fruit.vue deleted file mode 100644 index 4463969..0000000 --- a/components/ai_recongize_fruit/ai_recongize_fruit.vue +++ /dev/null @@ -1,63 +0,0 @@ - - - - - diff --git a/components/ai_recongize_hot/ai_recongize_hot.vue b/components/ai_recongize_hot/ai_recongize_hot.vue deleted file mode 100644 index 0940959..0000000 --- a/components/ai_recongize_hot/ai_recongize_hot.vue +++ /dev/null @@ -1,62 +0,0 @@ - - - - - diff --git a/components/ai_recongize_plan/ai_recongize_plan.vue b/components/ai_recongize_plan/ai_recongize_plan.vue deleted file mode 100644 index 630884c..0000000 --- a/components/ai_recongize_plan/ai_recongize_plan.vue +++ /dev/null @@ -1,59 +0,0 @@ - - - - - diff --git a/components/ai_recongize_recipe/ai_recongize_recipe.vue b/components/ai_recongize_recipe/ai_recongize_recipe.vue deleted file mode 100644 index 6e7f023..0000000 --- a/components/ai_recongize_recipe/ai_recongize_recipe.vue +++ /dev/null @@ -1,62 +0,0 @@ - - - - - diff --git a/components/community_image_box/community_image_box.vue b/components/community_image_box/community_image_box.vue deleted file mode 100644 index 37d3e7f..0000000 --- a/components/community_image_box/community_image_box.vue +++ /dev/null @@ -1,141 +0,0 @@ - - - - - \ No newline at end of file diff --git a/components/dictionary/dictionary.vue b/components/dictionary/dictionary.vue deleted file mode 100644 index f96c0a3..0000000 --- a/components/dictionary/dictionary.vue +++ /dev/null @@ -1,60 +0,0 @@ - - - - - diff --git a/components/my_exercise_plan/my_exercise_plan.vue b/components/my_exercise_plan/my_exercise_plan.vue deleted file mode 100644 index 56931be..0000000 --- a/components/my_exercise_plan/my_exercise_plan.vue +++ /dev/null @@ -1,65 +0,0 @@ - - - - - diff --git a/components/my_pop_up/my_pop_up.vue b/components/my_pop_up/my_pop_up.vue deleted file mode 100644 index 95ffeb3..0000000 --- a/components/my_pop_up/my_pop_up.vue +++ /dev/null @@ -1,147 +0,0 @@ - - - - - \ No newline at end of file diff --git a/components/my_recipe_plan/my_recipe_plan.vue b/components/my_recipe_plan/my_recipe_plan.vue deleted file mode 100644 index 8d4739c..0000000 --- a/components/my_recipe_plan/my_recipe_plan.vue +++ /dev/null @@ -1,64 +0,0 @@ - - - - - diff --git a/components/read/read.vue b/components/read/read.vue deleted file mode 100644 index 3394b3f..0000000 --- a/components/read/read.vue +++ /dev/null @@ -1,63 +0,0 @@ - - - - - diff --git a/components/swiper/community.vue b/components/swiper/community.vue deleted file mode 100644 index 8e336b5..0000000 --- a/components/swiper/community.vue +++ /dev/null @@ -1,43 +0,0 @@ - - - - - diff --git a/components/swiper/exercise.vue b/components/swiper/exercise.vue deleted file mode 100644 index c7976f6..0000000 --- a/components/swiper/exercise.vue +++ /dev/null @@ -1,47 +0,0 @@ - - - - - diff --git a/components/swiper/puppy_chat.vue b/components/swiper/puppy_chat.vue deleted file mode 100644 index a931a88..0000000 --- a/components/swiper/puppy_chat.vue +++ /dev/null @@ -1,48 +0,0 @@ - - - - - diff --git a/components/swiper/read_center.vue b/components/swiper/read_center.vue deleted file mode 100644 index c4cacb9..0000000 --- a/components/swiper/read_center.vue +++ /dev/null @@ -1,48 +0,0 @@ - - - - - diff --git a/components/tarbar/tarbar.vue b/components/tarbar/tarbar.vue deleted file mode 100644 index 3280b4e..0000000 --- a/components/tarbar/tarbar.vue +++ /dev/null @@ -1,141 +0,0 @@ - - - - - - diff --git a/components/tarbar_community/tarbar_community.vue b/components/tarbar_community/tarbar_community.vue deleted file mode 100644 index ef0b76b..0000000 --- a/components/tarbar_community/tarbar_community.vue +++ /dev/null @@ -1,155 +0,0 @@ - - - - - - diff --git a/components/tarbar_home/tarbar_home.vue b/components/tarbar_home/tarbar_home.vue deleted file mode 100644 index dc20739..0000000 --- a/components/tarbar_home/tarbar_home.vue +++ /dev/null @@ -1,145 +0,0 @@ - - - - - - diff --git a/components/tarbar_puppy_chat/tarbar_puppy_chat.vue b/components/tarbar_puppy_chat/tarbar_puppy_chat.vue deleted file mode 100644 index 52a076c..0000000 --- a/components/tarbar_puppy_chat/tarbar_puppy_chat.vue +++ /dev/null @@ -1,147 +0,0 @@ - - - - - - diff --git a/components/tarbar_user/tarbar_user.vue b/components/tarbar_user/tarbar_user.vue deleted file mode 100644 index a3426f6..0000000 --- a/components/tarbar_user/tarbar_user.vue +++ /dev/null @@ -1,154 +0,0 @@ - - - - - - - - - diff --git a/index.html b/index.html deleted file mode 100644 index c3ff205..0000000 --- a/index.html +++ /dev/null @@ -1,20 +0,0 @@ - - - - - - - - - - -
- - - diff --git a/main.js b/main.js deleted file mode 100644 index e5ede1a..0000000 --- a/main.js +++ /dev/null @@ -1,29 +0,0 @@ -import App from './App' - -// #ifndef VUE3 -import Vue from 'vue' -import './uni.promisify.adaptor' -Vue.config.productionTip = false -App.mpType = 'app' -const app = new Vue({ - ...App -}) -app.$mount() -// #endif - - - - - - - - -// #ifdef VUE3 -import { createSSRApp } from 'vue' -export function createApp() { - const app = createSSRApp(App) - return { - app - } -} -// #endif \ No newline at end of file diff --git a/manifest.json b/manifest.json deleted file mode 100644 index 7f6c658..0000000 --- a/manifest.json +++ /dev/null @@ -1,122 +0,0 @@ -{ - "name" : "fit journey", - "appid" : "__UNI__1A765D2", - "description" : "fit journey是一款基于AI的应用 支持多平台", - "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 - }, - /* 模块配置 */ - "modules" : {}, - /* 应用发布信息 */ - "distribute" : { - /* android打包配置 */ - "android" : { - "permissions" : [ - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "" - ] - }, - /* ios打包配置 */ - "ios" : { - "dSYMs" : false - }, - /* SDK配置 */ - "sdkConfigs" : { - "oauth" : {}, - "ad" : {} - }, - "icons" : { - "ios" : { - "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" - }, - "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" - } - }, - "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" - } - } - } - }, - /* 快应用特有相关 */ - "quickapp" : {}, - /* 小程序特有相关 */ - "mp-weixin" : { - "appid" : "", - "setting" : { - "urlCheck" : false - }, - "usingComponents" : true - }, - "mp-alipay" : { - "usingComponents" : true - }, - "mp-baidu" : { - "usingComponents" : true - }, - "mp-toutiao" : { - "usingComponents" : true - }, - // "h5": { - // "devServer": { - // "proxy": { - // "/prefix/api/user/list": { - // "target": "http://47.122.61.54:8084", - // "pathRewrite": { - // "^/prefix": "" - // } - // } - // } - // } - // }, - "uniStatistics" : { - "enable" : false - }, - "vueVersion" : "3", - "fallbackLocale" : "zh-Hans" -} diff --git a/package.json b/package.json deleted file mode 100644 index 8d8e221..0000000 --- a/package.json +++ /dev/null @@ -1,13 +0,0 @@ -{ - "name": "fitjourney前端代码", - "version": "1.0.0", - "description": "", - "main": "main.js", - "scripts": { - "test": "echo \"Error: no test specified\" && exit 1" - }, - "private": true, - "dependencies": { - "echarts": "^5.5.1" - } -} diff --git a/pages.json b/pages.json deleted file mode 100644 index 4c050a2..0000000 --- a/pages.json +++ /dev/null @@ -1,521 +0,0 @@ -{ - "pages": [ - /*---------------------------------------------------------动画过渡界面--------------------------------*/ - { - "path": "pages/transition/page1/page1", - "style": { - "navigationStyle": "custom" - } - }, - { - "path": "pages/transition/page2/page2", - "style": { - "navigationStyle": "custom" - } - }, - { - "path": "pages/transition/page3/page3", - "style": { - "navigationStyle": "custom" - } - }, - { - "path": "pages/transition/page4/page4", - "style": { - "navigationStyle": "custom" - } - }, - { - "path": "pages/transition/page5/page5", - "style": { - "navigationStyle": "custom" - } - }, - { - "path": "pages/transition/page6/page6", - "style": { - "navigationStyle": "custom" - } - }, - { - "path": "pages/transition/page7/page7", - "style": { - "navigationStyle": "custom" - } - }, - /*-----------------------------------------------------------------------动画过渡界面-------------------------------------------*/ - /*-----------------------------------------------------------------------登录注册界面-----------------------------------------------*/ - - { - "path": "pages/login/account_login/account_login", - "style": { - "navigationStyle": "custom" - } - }, - { - "path": "pages/login/register/register", - "style": { - "navigationStyle": "custom" - } - }, - { - "path": "pages/login/forget_password/forget_password", - "style": { - "navigationStyle": "custom" - } - }, - { - "path": "pages/login/change_password/change_password", - "style": { - "navigationStyle": "custom" - } - }, - /*-----------------------------------------------------------------------登录注册界面-------------------------------------------*/ - /*-----------------------------------------------------------------------性别填写界面---------------------------------------------*/ - { - "path": "pages/information/sex/sex", - "style": { - "navigationStyle": "custom" - } - }, - /*----------------------------------------------性别填写界面--------------------------------------------------------------*/ - /*------------------------------------------------男生填写体重------------------------------------------------------*/ - { - "path": "pages/information/boy_weight_start/boy_weight_start", - "style": { - "navigationStyle": "custom" - } - }, - { - "path": "pages/information/boy_weight_roll/boy_weight_roll", - "style": { - "navigationStyle": "custom" - } - }, - { - "path": "pages/information/boy_weight_end/boy_weight_end", - "style": { - "navigationStyle": "custom" - } - }, - /*------------------------------------------------男生填写体重------------------------------------------------------------*/ - /*------------------------------------------------男生填写身高------------------------------------------------------------*/ - { - "path": "pages/information/boy_height_start/boy_height_start", - "style": { - "navigationStyle": "custom" - } - }, - { - "path": "pages/information/boy_height_roll/boy_height_roll", - "style": { - "navigationStyle": "custom" - } - }, - { - "path": "pages/information/boy_height_end/boy_height_end", - "style": { - "navigationStyle": "custom" - } - }, - /*---------------------------------------男生填写身高--------------------------------------------------------------*/ - /*------------------------------------------------女生填写身高------------------------------------------------------------*/ - { - "path": "pages/information/girl_height_start/girl_height_start", - "style": { - "navigationStyle": "custom" - } - }, - { - "path": "pages/information/girl_height_roll/girl_height_roll", - "style": { - "navigationStyle": "custom" - } - }, - { - "path": "pages/information/girl_height_end/girl_height_end", - "style": { - "navigationStyle": "custom" - } - }, - /*------------------------------------------------女生填写身高------------------------------------------------------------*/ - /*------------------------------------------------------------------------女生填写体重------------------------------------------------------------------*/ - { - "path": "pages/information/girl_weight_start/girl_weight_start", - "style": { - "navigationStyle": "custom" - } - }, - { - "path": "pages/information/girl_weight_roll/girl_weight_roll", - "style": { - "navigationStyle": "custom" - } - }, - { - "path": "pages/information/girl_weight_end/girl_weight_end", - "style": { - "navigationStyle": "custom" - } - }, - /*--------------------------------------------------------------------女生填写体重------------------------------------------------------------------*/ - /*----------------------------------------------------------填写使用目的--------------------------------------------------*/ - { - "path": "pages/information/purpose/purpose", - "style": { - "navigationStyle": "custom" - } - }, - /*------------------------------------------------填写使用目的-----------------------------------------------------------*/ - /*---------------------------------------------------------------进入主页的过渡界面----------------------------------------------------*/ - { - "path": "pages/transition/page8/page8", - "style": { - "navigationStyle": "custom" - } - }, - /*------------------------------------------------------------------进入主页的过渡界面--------------------------------------------*/ - /*------------------------------------------------------------------主页部分内容--------------------------------------------------------*/ - { - "path": "pages/homepages/homes/home/home", - "style": { - "navigationStyle": "custom" - } - }, - { - "path" : "pages/homepages/homes/ai_recognize_recipe/ai_recognize_recipe", - "style" : - { - "navigationStyle": "custom" - } - },//饮食专区四个界面 - { - "path": "pages/homepages/homes/ai_recognize_fruit/ai_recognize_fruit", - "style": { - "navigationStyle": "custom" - } - },//饮食专区四个界面 - { - "path": "pages/homepages/homes/ai_recognize_hot/ai_recognize_hot", - "style": { - "navigationStyle": "custom" - } - },//饮食专区四个界面 - { - "path": "pages/homepages/homes/my_recipe_plan/my_recipe_plan", - "style": { - "navigationStyle": "custom" - } - },//饮食专区四个界面 - { - "path" : "pages/homepages/homes/ai_recognize_plan/ai_recognize_plan", - "style" : - { - "navigationStyle": "custom" - } - },//运动专区的两个界面 - { - "path": "pages/homepages/homes/my_exercise_plan/my_exercise_plan", - "style" : - { - "navigationStyle": "custom" - } - },//运动专区的两个界面 - { - "path": "pages/homepages/homes/choice_book/choice_book", - "style" : - { - "navigationStyle": "custom" - } - },//阅读专区的两个界面 - { - "path": "pages/homepages/homes/knowledge_dictionary/knowledge_dictionary", - "style" : - { - "navigationStyle": "custom" - } - },//阅读专区的两个界面 - - /*-----------------------------------------------------------------------主界面----------------------------------------------------------*/ - { - "path": "pages/homepages/puppy_chat/puppy_chat", - "style": { - "navigationStyle": "custom" - } - }, - /*----------------------------------------------------------------------聊天界面--------------------------------------------------------*/ - /* { - "path": "pages/homepages/community/community", - "style": { - "navigationStyle": "custom" - } - },*/ - /*---------------------------------------------------------------------社区界面------------------------------------------------------*/ - { - "path": "pages/homepages/user/user/user", - "style": { - "navigationStyle": "custom" - } - }, - /*---------------------------------------------------------------------个人信息界面以及跳转的几个界面----------------------------------------------------*/ - - /* { - "path": "pages/homepages/user/basic_information/basic_information", - "style": { - "navigationStyle": "custom" - } - }, - { - "path": "pages/homepages/user/bmi_information/bmi_information", - "style": { - "navigationStyle": "custom" - } - }, - { - "path": "pages/homepages/user/basic_information/basic_information", - "style": { - "navigationStyle": "custom" - } - },*/ - /* { - "path": "pages/homepages/user/exercise_plans/exercise_plans", - "style": { - "navigationStyle": "custom" - } - }, - { - "path": "pages/homepages/user/recipe_and_calorie/recipe_and_calorie", - "style": { - "navigationStyle": "custom" - } - }*/ - - /*---------------------------------------------------------主页跳转的几个界面-------------------------------------------------------*/ - /* { - "path": "components/ai_recongize_fruit/ai_recongize_fruit", - "style": { - "navigationStyle": "custom" - } - }, - - { - "path" : "pages/homepages/homes/ai_recognize_plan/ai_recognize_plan", - "style" : - { - "navigationStyle": "custom" - } - }*/ - /*--------------------------------------------------------知识图谱界面----------------------------------------------------------------------*/ - /* { - "path" : "pages/homepages/homes/dictionary/orange/orange", - "style" : - { - "navigationStyle": "custom" - } - }, - - { - "path" : "pages/homepages/homes/dictionary/apple/apple", - "style" : - { - "navigationStyle": "custom" - } - }, - { - "path" : "pages/homepages/homes/dictionary/watermelon/watermelon", - "style" : - { - "navigationStyle": "custom" - } - }, - { - "path" : "pages/homepages/homes/dictionary/banana/banana", - "style" : - { - "navigationStyle": "custom" - } - }, - { - "path" : "pages/homepages/homes/dictionary/avocado/avocado", - "style" : - { - "navigationStyle": "custom" - } - }, - { - "path" : "pages/homepages/homes/dictionary/bread/bread", - "style" : - { - "navigationStyle": "custom" - } - }, - { - "path" : "pages/homepages/homes/dictionary/broccoli/broccoli", - "style" : - { - "navigationStyle": "custom" - } - }, - { - "path" : "pages/homepages/homes/dictionary/carrot/carrot", - "style" : - { - "navigationStyle": "custom" - } - }, - { - "path" : "pages/homepages/homes/dictionary/corn/corn", - "style" : - { - "navigationStyle": "custom" - } - }, - { - "path" : "pages/homepages/homes/dictionary/eggplant/eggplant", - "style" : - { - "navigationStyle": "custom" - } - }, - { - "path" : "pages/homepages/homes/dictionary/fried egg/fried egg", - "style" : - { - "navigationStyle": "custom" - } - }, - { - "path" : "pages/homepages/homes/dictionary/garlic/garlic", - "style" : - { - "navigationStyle": "custom" - } - }, - { - "path" : "pages/homepages/homes/dictionary/grape/grape", - "style" : - { - "navigationStyle": "custom" - } - }, - { - "path" : "pages/homepages/homes/dictionary/kiwi fruit/kiwi fruit", - "style" : - { - "navigationStyle": "custom" - } - }, - { - "path" : "pages/homepages/homes/dictionary/lemon/lemon", - "style" : - { - "navigationStyle": "custom" - } - }, - { - "path" : "pages/homepages/homes/dictionary/loquat/loquat", - "style" : - { - "navigationStyle": "custom" - } - }, - { - "path" : "pages/homepages/homes/dictionary/mango/mango", - "style" : - { - "navigationStyle": "custom" - } - }, - { - "path" : "pages/homepages/homes/dictionary/mushroom/mushroom", - "style" : - { - "navigationStyle": "custom" - } - }, - { - "path" : "pages/homepages/homes/dictionary/papaya/papaya", - "style" : - { - "navigationStyle": "custom" - } - }, - { - "path" : "pages/homepages/homes/dictionary/pear/pear", - "style" : - { - "navigationStyle": "custom" - } - }, - { - "path" : "pages/homepages/homes/dictionary/pepper/pepper", - "style" : - { - "navigationStyle": "custom" - } - }, - { - "path" : "pages/homepages/homes/dictionary/pineapple/pineapple", - "style" : - { - "navigationStyle": "custom" - } - }, - { - "path" : "pages/homepages/homes/dictionary/pizza/pizza", - "style" : - { - "navigationStyle": "custom" - } - }, - { - "path" : "pages/homepages/homes/dictionary/pulled noodles/pulled noodles", - "style" : - { - "navigationStyle": "custom" - } - }, - { - "path" : "pages/homepages/homes/dictionary/radish/radish", - "style" : - { - "navigationStyle": "custom" - } - }, - { - "path" : "pages/homepages/homes/dictionary/strawberry/strawberry", - "style" : - { - "navigationStyle": "custom" - } - }*/ - /*--------------------------------------------------------知识图谱界面----------------------------------------------------------------------*/ - - /*-------------------------------------------------------------------部分组件的测试类---------------------------------------------------*/ - - - { - "path": "pages/homepages/community/community/community", - "style" : - { - "navigationStyle": "custom" - } - }, - { - "path": "pages/homepages/community/add_post/add_post", - "style" : - { - "navigationStyle": "custom" - } - }, - { - "path": "pages/homepages/community/personal_center/personal_center", - "style" : - { - "navigationStyle": "custom" - } - } - ], - "uniIdRouter": {}, - "tabBar": null -} diff --git a/pages/homepages/community/add_post/add_post.vue b/pages/homepages/community/add_post/add_post.vue deleted file mode 100644 index b21545b..0000000 --- a/pages/homepages/community/add_post/add_post.vue +++ /dev/null @@ -1,116 +0,0 @@ - - - - - \ No newline at end of file diff --git a/pages/homepages/community/community/community.vue b/pages/homepages/community/community/community.vue deleted file mode 100644 index d0c47a0..0000000 --- a/pages/homepages/community/community/community.vue +++ /dev/null @@ -1,190 +0,0 @@ - - - - - diff --git a/pages/homepages/community/personal_center/personal_center.vue b/pages/homepages/community/personal_center/personal_center.vue deleted file mode 100644 index ce65717..0000000 --- a/pages/homepages/community/personal_center/personal_center.vue +++ /dev/null @@ -1,229 +0,0 @@ - - - - - diff --git a/pages/homepages/homes/ai_recognize_fruit/ai_recognize_fruit.vue b/pages/homepages/homes/ai_recognize_fruit/ai_recognize_fruit.vue deleted file mode 100644 index b2103cf..0000000 --- a/pages/homepages/homes/ai_recognize_fruit/ai_recognize_fruit.vue +++ /dev/null @@ -1,108 +0,0 @@ - - - - - diff --git a/pages/homepages/homes/ai_recognize_hot/ai_recognize_hot.vue b/pages/homepages/homes/ai_recognize_hot/ai_recognize_hot.vue deleted file mode 100644 index 392e995..0000000 --- a/pages/homepages/homes/ai_recognize_hot/ai_recognize_hot.vue +++ /dev/null @@ -1,120 +0,0 @@ - - - - - diff --git a/pages/homepages/homes/ai_recognize_plan/ai_recognize_plan.vue b/pages/homepages/homes/ai_recognize_plan/ai_recognize_plan.vue deleted file mode 100644 index cc424e5..0000000 --- a/pages/homepages/homes/ai_recognize_plan/ai_recognize_plan.vue +++ /dev/null @@ -1,198 +0,0 @@ - - - - - \ No newline at end of file diff --git a/pages/homepages/homes/ai_recognize_recipe/ai_recognize_recipe.vue b/pages/homepages/homes/ai_recognize_recipe/ai_recognize_recipe.vue deleted file mode 100644 index f90f49b..0000000 --- a/pages/homepages/homes/ai_recognize_recipe/ai_recognize_recipe.vue +++ /dev/null @@ -1,226 +0,0 @@ - - - - - \ No newline at end of file diff --git a/pages/homepages/homes/choice_book/choice_book.vue b/pages/homepages/homes/choice_book/choice_book.vue deleted file mode 100644 index 3e8acdf..0000000 --- a/pages/homepages/homes/choice_book/choice_book.vue +++ /dev/null @@ -1,123 +0,0 @@ - - - - - diff --git a/pages/homepages/homes/dictionary/apple/apple.vue b/pages/homepages/homes/dictionary/apple/apple.vue deleted file mode 100644 index 7abc1cc..0000000 --- a/pages/homepages/homes/dictionary/apple/apple.vue +++ /dev/null @@ -1,31 +0,0 @@ - - - - diff --git a/pages/homepages/homes/dictionary/avocado/avocado.vue b/pages/homepages/homes/dictionary/avocado/avocado.vue deleted file mode 100644 index 28428c7..0000000 --- a/pages/homepages/homes/dictionary/avocado/avocado.vue +++ /dev/null @@ -1,31 +0,0 @@ - - - - diff --git a/pages/homepages/homes/dictionary/banana/banana.vue b/pages/homepages/homes/dictionary/banana/banana.vue deleted file mode 100644 index ddeda36..0000000 --- a/pages/homepages/homes/dictionary/banana/banana.vue +++ /dev/null @@ -1,31 +0,0 @@ - - - - diff --git a/pages/homepages/homes/dictionary/bread/bread.vue b/pages/homepages/homes/dictionary/bread/bread.vue deleted file mode 100644 index aaf1beb..0000000 --- a/pages/homepages/homes/dictionary/bread/bread.vue +++ /dev/null @@ -1,31 +0,0 @@ - - - - diff --git a/pages/homepages/homes/dictionary/broccoli/broccoli.vue b/pages/homepages/homes/dictionary/broccoli/broccoli.vue deleted file mode 100644 index 0cfdeee..0000000 --- a/pages/homepages/homes/dictionary/broccoli/broccoli.vue +++ /dev/null @@ -1,31 +0,0 @@ - - - - diff --git a/pages/homepages/homes/dictionary/carrot/carrot.vue b/pages/homepages/homes/dictionary/carrot/carrot.vue deleted file mode 100644 index b5755cc..0000000 --- a/pages/homepages/homes/dictionary/carrot/carrot.vue +++ /dev/null @@ -1,31 +0,0 @@ - - - - diff --git a/pages/homepages/homes/dictionary/corn/corn.vue b/pages/homepages/homes/dictionary/corn/corn.vue deleted file mode 100644 index 6e07ba4..0000000 --- a/pages/homepages/homes/dictionary/corn/corn.vue +++ /dev/null @@ -1,31 +0,0 @@ - - - - diff --git a/pages/homepages/homes/dictionary/eggplant/eggplant.vue b/pages/homepages/homes/dictionary/eggplant/eggplant.vue deleted file mode 100644 index 3f3842e..0000000 --- a/pages/homepages/homes/dictionary/eggplant/eggplant.vue +++ /dev/null @@ -1,31 +0,0 @@ - - - - diff --git a/pages/homepages/homes/dictionary/fried_egg/fried_egg.vue b/pages/homepages/homes/dictionary/fried_egg/fried_egg.vue deleted file mode 100644 index 655e544..0000000 --- a/pages/homepages/homes/dictionary/fried_egg/fried_egg.vue +++ /dev/null @@ -1,31 +0,0 @@ - - - - diff --git a/pages/homepages/homes/dictionary/garlic/garlic.vue b/pages/homepages/homes/dictionary/garlic/garlic.vue deleted file mode 100644 index 8ee3562..0000000 --- a/pages/homepages/homes/dictionary/garlic/garlic.vue +++ /dev/null @@ -1,31 +0,0 @@ - - - - diff --git a/pages/homepages/homes/dictionary/grape/grape.vue b/pages/homepages/homes/dictionary/grape/grape.vue deleted file mode 100644 index 7e8f900..0000000 --- a/pages/homepages/homes/dictionary/grape/grape.vue +++ /dev/null @@ -1,31 +0,0 @@ - - - - diff --git a/pages/homepages/homes/dictionary/kiwi_fruit/kiwi_fruit.vue b/pages/homepages/homes/dictionary/kiwi_fruit/kiwi_fruit.vue deleted file mode 100644 index 3b9ea3e..0000000 --- a/pages/homepages/homes/dictionary/kiwi_fruit/kiwi_fruit.vue +++ /dev/null @@ -1,32 +0,0 @@ - - - - - diff --git a/pages/homepages/homes/dictionary/lemon/lemon.vue b/pages/homepages/homes/dictionary/lemon/lemon.vue deleted file mode 100644 index df5a380..0000000 --- a/pages/homepages/homes/dictionary/lemon/lemon.vue +++ /dev/null @@ -1,31 +0,0 @@ - - - - diff --git a/pages/homepages/homes/dictionary/loquat/loquat.vue b/pages/homepages/homes/dictionary/loquat/loquat.vue deleted file mode 100644 index 157af70..0000000 --- a/pages/homepages/homes/dictionary/loquat/loquat.vue +++ /dev/null @@ -1,31 +0,0 @@ - - - - diff --git a/pages/homepages/homes/dictionary/mango/mango.vue b/pages/homepages/homes/dictionary/mango/mango.vue deleted file mode 100644 index f80880d..0000000 --- a/pages/homepages/homes/dictionary/mango/mango.vue +++ /dev/null @@ -1,31 +0,0 @@ - - - - diff --git a/pages/homepages/homes/dictionary/mushroom/mushroom.vue b/pages/homepages/homes/dictionary/mushroom/mushroom.vue deleted file mode 100644 index b461e06..0000000 --- a/pages/homepages/homes/dictionary/mushroom/mushroom.vue +++ /dev/null @@ -1,31 +0,0 @@ - - - - diff --git a/pages/homepages/homes/dictionary/orange/orange.vue b/pages/homepages/homes/dictionary/orange/orange.vue deleted file mode 100644 index 28b0fcb..0000000 --- a/pages/homepages/homes/dictionary/orange/orange.vue +++ /dev/null @@ -1,31 +0,0 @@ - - - - diff --git a/pages/homepages/homes/dictionary/papaya/papaya.vue b/pages/homepages/homes/dictionary/papaya/papaya.vue deleted file mode 100644 index 7bc497a..0000000 --- a/pages/homepages/homes/dictionary/papaya/papaya.vue +++ /dev/null @@ -1,31 +0,0 @@ - - - - diff --git a/pages/homepages/homes/dictionary/pear/pear.vue b/pages/homepages/homes/dictionary/pear/pear.vue deleted file mode 100644 index bf08989..0000000 --- a/pages/homepages/homes/dictionary/pear/pear.vue +++ /dev/null @@ -1,31 +0,0 @@ - - - - diff --git a/pages/homepages/homes/dictionary/pepper/pepper.vue b/pages/homepages/homes/dictionary/pepper/pepper.vue deleted file mode 100644 index 4ff53d0..0000000 --- a/pages/homepages/homes/dictionary/pepper/pepper.vue +++ /dev/null @@ -1,31 +0,0 @@ - - - - diff --git a/pages/homepages/homes/dictionary/pineapple/pineapple.vue b/pages/homepages/homes/dictionary/pineapple/pineapple.vue deleted file mode 100644 index 6efddc1..0000000 --- a/pages/homepages/homes/dictionary/pineapple/pineapple.vue +++ /dev/null @@ -1,31 +0,0 @@ - - - - diff --git a/pages/homepages/homes/dictionary/pizza/pizza.vue b/pages/homepages/homes/dictionary/pizza/pizza.vue deleted file mode 100644 index e19f034..0000000 --- a/pages/homepages/homes/dictionary/pizza/pizza.vue +++ /dev/null @@ -1,31 +0,0 @@ - - - - diff --git a/pages/homepages/homes/dictionary/pulled_noodles/pulled_noodles.vue b/pages/homepages/homes/dictionary/pulled_noodles/pulled_noodles.vue deleted file mode 100644 index 1689e33..0000000 --- a/pages/homepages/homes/dictionary/pulled_noodles/pulled_noodles.vue +++ /dev/null @@ -1,31 +0,0 @@ - - - - diff --git a/pages/homepages/homes/dictionary/radish/radish.vue b/pages/homepages/homes/dictionary/radish/radish.vue deleted file mode 100644 index ac56756..0000000 --- a/pages/homepages/homes/dictionary/radish/radish.vue +++ /dev/null @@ -1,31 +0,0 @@ - - - - diff --git a/pages/homepages/homes/dictionary/strawberry/strawberry.vue b/pages/homepages/homes/dictionary/strawberry/strawberry.vue deleted file mode 100644 index efc266d..0000000 --- a/pages/homepages/homes/dictionary/strawberry/strawberry.vue +++ /dev/null @@ -1,31 +0,0 @@ - - - - diff --git a/pages/homepages/homes/dictionary/watermelon/watermelon.vue b/pages/homepages/homes/dictionary/watermelon/watermelon.vue deleted file mode 100644 index 6a5b250..0000000 --- a/pages/homepages/homes/dictionary/watermelon/watermelon.vue +++ /dev/null @@ -1,31 +0,0 @@ - - - - diff --git a/pages/homepages/homes/home/home.vue b/pages/homepages/homes/home/home.vue deleted file mode 100644 index fa20859..0000000 --- a/pages/homepages/homes/home/home.vue +++ /dev/null @@ -1,136 +0,0 @@ - - - diff --git a/pages/homepages/homes/knowledge_dictionary/knowledge_dictionary.vue b/pages/homepages/homes/knowledge_dictionary/knowledge_dictionary.vue deleted file mode 100644 index 9f59fac..0000000 --- a/pages/homepages/homes/knowledge_dictionary/knowledge_dictionary.vue +++ /dev/null @@ -1,189 +0,0 @@ - - - - - diff --git a/pages/homepages/homes/my_exercise_plan/my_exercise_plan.vue b/pages/homepages/homes/my_exercise_plan/my_exercise_plan.vue deleted file mode 100644 index 342846f..0000000 --- a/pages/homepages/homes/my_exercise_plan/my_exercise_plan.vue +++ /dev/null @@ -1,17 +0,0 @@ - - - - - diff --git a/pages/homepages/homes/my_recipe_plan/my_recipe_plan.vue b/pages/homepages/homes/my_recipe_plan/my_recipe_plan.vue deleted file mode 100644 index 88d9c50..0000000 --- a/pages/homepages/homes/my_recipe_plan/my_recipe_plan.vue +++ /dev/null @@ -1,287 +0,0 @@ - - - - - diff --git a/pages/homepages/puppy_chat/puppy_chat.vue b/pages/homepages/puppy_chat/puppy_chat.vue deleted file mode 100644 index 709847f..0000000 --- a/pages/homepages/puppy_chat/puppy_chat.vue +++ /dev/null @@ -1,192 +0,0 @@ - - - - - diff --git a/pages/homepages/user/basic_information/basic_information.vue b/pages/homepages/user/basic_information/basic_information.vue deleted file mode 100644 index 6d4d0ae..0000000 --- a/pages/homepages/user/basic_information/basic_information.vue +++ /dev/null @@ -1,206 +0,0 @@ - - - - - \ No newline at end of file diff --git a/pages/homepages/user/bmi_information/bmi_information.vue b/pages/homepages/user/bmi_information/bmi_information.vue deleted file mode 100644 index 6f06de5..0000000 --- a/pages/homepages/user/bmi_information/bmi_information.vue +++ /dev/null @@ -1,201 +0,0 @@ - - - - - diff --git a/pages/homepages/user/exercise_plans/exercise_plans.vue b/pages/homepages/user/exercise_plans/exercise_plans.vue deleted file mode 100644 index fcc1e30..0000000 --- a/pages/homepages/user/exercise_plans/exercise_plans.vue +++ /dev/null @@ -1,164 +0,0 @@ - - - - \ No newline at end of file diff --git a/pages/homepages/user/user/user.vue b/pages/homepages/user/user/user.vue deleted file mode 100644 index 577d373..0000000 --- a/pages/homepages/user/user/user.vue +++ /dev/null @@ -1,261 +0,0 @@ - - - - - \ No newline at end of file diff --git a/pages/information/boy_height_end/boy_height_end.vue b/pages/information/boy_height_end/boy_height_end.vue deleted file mode 100644 index f79d597..0000000 --- a/pages/information/boy_height_end/boy_height_end.vue +++ /dev/null @@ -1,137 +0,0 @@ - - - - - \ No newline at end of file diff --git a/pages/information/boy_height_roll/boy_height_roll.vue b/pages/information/boy_height_roll/boy_height_roll.vue deleted file mode 100644 index 0311322..0000000 --- a/pages/information/boy_height_roll/boy_height_roll.vue +++ /dev/null @@ -1,102 +0,0 @@ - - - - - - - - - - - - - - - - diff --git a/pages/information/boy_height_start/boy_height_start.vue b/pages/information/boy_height_start/boy_height_start.vue deleted file mode 100644 index 7ed37f1..0000000 --- a/pages/information/boy_height_start/boy_height_start.vue +++ /dev/null @@ -1,165 +0,0 @@ - - - - - diff --git a/pages/information/boy_weight_end/boy_weight_end.vue b/pages/information/boy_weight_end/boy_weight_end.vue deleted file mode 100644 index e8ccc20..0000000 --- a/pages/information/boy_weight_end/boy_weight_end.vue +++ /dev/null @@ -1,81 +0,0 @@ - - - - - diff --git a/pages/information/boy_weight_roll/boy_weight_roll.vue b/pages/information/boy_weight_roll/boy_weight_roll.vue deleted file mode 100644 index e3f6c9a..0000000 --- a/pages/information/boy_weight_roll/boy_weight_roll.vue +++ /dev/null @@ -1,87 +0,0 @@ - - - - - \ No newline at end of file diff --git a/pages/information/boy_weight_start/boy_weight_start.vue b/pages/information/boy_weight_start/boy_weight_start.vue deleted file mode 100644 index 3a867f6..0000000 --- a/pages/information/boy_weight_start/boy_weight_start.vue +++ /dev/null @@ -1,172 +0,0 @@ - - - - - \ No newline at end of file diff --git a/pages/information/girl_height_end/girl_height_end.vue b/pages/information/girl_height_end/girl_height_end.vue deleted file mode 100644 index 6afa94d..0000000 --- a/pages/information/girl_height_end/girl_height_end.vue +++ /dev/null @@ -1,80 +0,0 @@ - - - - - \ No newline at end of file diff --git a/pages/information/girl_height_roll/girl_height_roll.vue b/pages/information/girl_height_roll/girl_height_roll.vue deleted file mode 100644 index 05fa88f..0000000 --- a/pages/information/girl_height_roll/girl_height_roll.vue +++ /dev/null @@ -1,91 +0,0 @@ - - - - - \ No newline at end of file diff --git a/pages/information/girl_height_start/girl_height_start.vue b/pages/information/girl_height_start/girl_height_start.vue deleted file mode 100644 index ca51b49..0000000 --- a/pages/information/girl_height_start/girl_height_start.vue +++ /dev/null @@ -1,64 +0,0 @@ - - - - - diff --git a/pages/information/girl_weight_end/girl_weight_end.vue b/pages/information/girl_weight_end/girl_weight_end.vue deleted file mode 100644 index e65f0f5..0000000 --- a/pages/information/girl_weight_end/girl_weight_end.vue +++ /dev/null @@ -1,142 +0,0 @@ - - - - \ No newline at end of file diff --git a/pages/information/girl_weight_roll/girl_weight_roll.vue b/pages/information/girl_weight_roll/girl_weight_roll.vue deleted file mode 100644 index 36b8c37..0000000 --- a/pages/information/girl_weight_roll/girl_weight_roll.vue +++ /dev/null @@ -1,87 +0,0 @@ - - - - - \ No newline at end of file diff --git a/pages/information/girl_weight_start/girl_weight_start.vue b/pages/information/girl_weight_start/girl_weight_start.vue deleted file mode 100644 index 0cbb7ed..0000000 --- a/pages/information/girl_weight_start/girl_weight_start.vue +++ /dev/null @@ -1,176 +0,0 @@ - - - - - \ No newline at end of file diff --git a/pages/information/purpose/purpose.vue b/pages/information/purpose/purpose.vue deleted file mode 100644 index 65a4dd3..0000000 --- a/pages/information/purpose/purpose.vue +++ /dev/null @@ -1,102 +0,0 @@ - - - - - diff --git a/pages/information/sex/sex.vue b/pages/information/sex/sex.vue deleted file mode 100644 index ba5865a..0000000 --- a/pages/information/sex/sex.vue +++ /dev/null @@ -1,140 +0,0 @@ - - - - - diff --git a/pages/login/account_login/account_login.vue b/pages/login/account_login/account_login.vue deleted file mode 100644 index 3893e72..0000000 --- a/pages/login/account_login/account_login.vue +++ /dev/null @@ -1,361 +0,0 @@ - - - - diff --git a/pages/login/change_password/change_password.vue b/pages/login/change_password/change_password.vue deleted file mode 100644 index 65c8428..0000000 --- a/pages/login/change_password/change_password.vue +++ /dev/null @@ -1,181 +0,0 @@ - - - - - \ No newline at end of file diff --git a/pages/login/forget_password/forget_password.vue b/pages/login/forget_password/forget_password.vue deleted file mode 100644 index 1c823ea..0000000 --- a/pages/login/forget_password/forget_password.vue +++ /dev/null @@ -1,249 +0,0 @@ - - - - - diff --git a/pages/login/register/register.vue b/pages/login/register/register.vue deleted file mode 100644 index 66bb597..0000000 --- a/pages/login/register/register.vue +++ /dev/null @@ -1,542 +0,0 @@ - - - - - diff --git a/pages/transition/page1/page1.vue b/pages/transition/page1/page1.vue deleted file mode 100644 index 49cc092..0000000 --- a/pages/transition/page1/page1.vue +++ /dev/null @@ -1,52 +0,0 @@ - - - - - diff --git a/pages/transition/page2/page2.vue b/pages/transition/page2/page2.vue deleted file mode 100644 index 620ae51..0000000 --- a/pages/transition/page2/page2.vue +++ /dev/null @@ -1,43 +0,0 @@ - - - - - diff --git a/pages/transition/page3/page3.vue b/pages/transition/page3/page3.vue deleted file mode 100644 index 824e675..0000000 --- a/pages/transition/page3/page3.vue +++ /dev/null @@ -1,118 +0,0 @@ - - - - - - - - diff --git a/pages/transition/page4/page4.vue b/pages/transition/page4/page4.vue deleted file mode 100644 index d4259ba..0000000 --- a/pages/transition/page4/page4.vue +++ /dev/null @@ -1,117 +0,0 @@ - - - - - diff --git a/pages/transition/page5/page5.vue b/pages/transition/page5/page5.vue deleted file mode 100644 index e295e26..0000000 --- a/pages/transition/page5/page5.vue +++ /dev/null @@ -1,114 +0,0 @@ - - - - - diff --git a/pages/transition/page6/page6.vue b/pages/transition/page6/page6.vue deleted file mode 100644 index 4e7432b..0000000 --- a/pages/transition/page6/page6.vue +++ /dev/null @@ -1,114 +0,0 @@ - - - - - diff --git a/pages/transition/page7/page7.vue b/pages/transition/page7/page7.vue deleted file mode 100644 index bedb338..0000000 --- a/pages/transition/page7/page7.vue +++ /dev/null @@ -1,53 +0,0 @@ - - - - - diff --git a/pages/transition/page8/page8.vue b/pages/transition/page8/page8.vue deleted file mode 100644 index 2f7f575..0000000 --- a/pages/transition/page8/page8.vue +++ /dev/null @@ -1,52 +0,0 @@ - - - - - diff --git a/qodana.yaml b/qodana.yaml deleted file mode 100644 index 29f8f8c..0000000 --- a/qodana.yaml +++ /dev/null @@ -1,29 +0,0 @@ -#-------------------------------------------------------------------------------# -# Qodana analysis is configured by qodana.yaml file # -# https://www.jetbrains.com/help/qodana/qodana-yaml.html # -#-------------------------------------------------------------------------------# -version: "1.0" - -#Specify inspection profile for code analysis -profile: - name: qodana.starter - -#Enable inspections -#include: -# - name: - -#Disable inspections -#exclude: -# - name: -# paths: -# - - -#Execute shell command before Qodana execution (Applied in CI/CD pipeline) -#bootstrap: sh ./prepare-qodana.sh - -#Install IDE plugins before Qodana execution (Applied in CI/CD pipeline) -#plugins: -# - id: #(plugin id can be found at https://plugins.jetbrains.com) - -#Specify Qodana linter for analysis (Applied in CI/CD pipeline) -linter: jetbrains/qodana-js:latest diff --git a/static/components/ai_recongize_fruit/pictures/background.png b/static/components/ai_recongize_fruit/pictures/background.png deleted file mode 100644 index 62fac0e..0000000 Binary files a/static/components/ai_recongize_fruit/pictures/background.png and /dev/null differ diff --git a/static/components/ai_recongize_fruit/pictures/text_and_button.png b/static/components/ai_recongize_fruit/pictures/text_and_button.png deleted file mode 100644 index 2b23935..0000000 Binary files a/static/components/ai_recongize_fruit/pictures/text_and_button.png and /dev/null differ diff --git a/static/components/ai_recongize_hot/pictures/background.png b/static/components/ai_recongize_hot/pictures/background.png deleted file mode 100644 index 7bdc672..0000000 Binary files a/static/components/ai_recongize_hot/pictures/background.png and /dev/null differ diff --git a/static/components/ai_recongize_hot/pictures/text_and_button.png b/static/components/ai_recongize_hot/pictures/text_and_button.png deleted file mode 100644 index 2b23935..0000000 Binary files a/static/components/ai_recongize_hot/pictures/text_and_button.png and /dev/null differ diff --git a/static/components/ai_recongize_plan/pictures/background.png b/static/components/ai_recongize_plan/pictures/background.png deleted file mode 100644 index 4f70b69..0000000 Binary files a/static/components/ai_recongize_plan/pictures/background.png and /dev/null differ diff --git a/static/components/ai_recongize_plan/pictures/text_and_button.png b/static/components/ai_recongize_plan/pictures/text_and_button.png deleted file mode 100644 index 2b23935..0000000 Binary files a/static/components/ai_recongize_plan/pictures/text_and_button.png and /dev/null differ diff --git a/static/components/ai_recongize_recipe/pictures/background.png b/static/components/ai_recongize_recipe/pictures/background.png deleted file mode 100644 index 9bce714..0000000 Binary files a/static/components/ai_recongize_recipe/pictures/background.png and /dev/null differ diff --git a/static/components/ai_recongize_recipe/pictures/text_and_button.png b/static/components/ai_recongize_recipe/pictures/text_and_button.png deleted file mode 100644 index 2b23935..0000000 Binary files a/static/components/ai_recongize_recipe/pictures/text_and_button.png and /dev/null differ diff --git a/static/components/dictionary/pictures/background.png b/static/components/dictionary/pictures/background.png deleted file mode 100644 index 2221835..0000000 Binary files a/static/components/dictionary/pictures/background.png and /dev/null differ diff --git a/static/components/dictionary/pictures/button.png b/static/components/dictionary/pictures/button.png deleted file mode 100644 index e32fc3a..0000000 Binary files a/static/components/dictionary/pictures/button.png and /dev/null differ diff --git a/static/components/my_exercise_plan/pictures/background.png b/static/components/my_exercise_plan/pictures/background.png deleted file mode 100644 index a7ecd16..0000000 Binary files a/static/components/my_exercise_plan/pictures/background.png and /dev/null differ diff --git a/static/components/my_exercise_plan/pictures/text_and_button.png b/static/components/my_exercise_plan/pictures/text_and_button.png deleted file mode 100644 index f91d122..0000000 Binary files a/static/components/my_exercise_plan/pictures/text_and_button.png and /dev/null differ diff --git a/static/components/my_pop_up/close_icon.png b/static/components/my_pop_up/close_icon.png deleted file mode 100644 index 8d03d76..0000000 Binary files a/static/components/my_pop_up/close_icon.png and /dev/null differ diff --git a/static/components/my_pop_up/line.png b/static/components/my_pop_up/line.png deleted file mode 100644 index 01a4832..0000000 Binary files a/static/components/my_pop_up/line.png and /dev/null differ diff --git a/static/components/my_pop_up/plane.png b/static/components/my_pop_up/plane.png deleted file mode 100644 index 73ea167..0000000 Binary files a/static/components/my_pop_up/plane.png and /dev/null differ diff --git a/static/components/my_recipe_plan/pictures/background.png b/static/components/my_recipe_plan/pictures/background.png deleted file mode 100644 index 4aef459..0000000 Binary files a/static/components/my_recipe_plan/pictures/background.png and /dev/null differ diff --git a/static/components/my_recipe_plan/pictures/text_and_button.png b/static/components/my_recipe_plan/pictures/text_and_button.png deleted file mode 100644 index f91d122..0000000 Binary files a/static/components/my_recipe_plan/pictures/text_and_button.png and /dev/null differ diff --git a/static/components/read/pictures/background.png b/static/components/read/pictures/background.png deleted file mode 100644 index 0d1ac0d..0000000 Binary files a/static/components/read/pictures/background.png and /dev/null differ diff --git a/static/components/read/pictures/button.png b/static/components/read/pictures/button.png deleted file mode 100644 index e32fc3a..0000000 Binary files a/static/components/read/pictures/button.png and /dev/null differ diff --git a/static/components/swiper/community/background.png b/static/components/swiper/community/background.png deleted file mode 100644 index 303b0db..0000000 Binary files a/static/components/swiper/community/background.png and /dev/null differ diff --git a/static/components/swiper/community/button.png b/static/components/swiper/community/button.png deleted file mode 100644 index 7edc8ea..0000000 Binary files a/static/components/swiper/community/button.png and /dev/null differ diff --git a/static/components/swiper/exercise/background.png b/static/components/swiper/exercise/background.png deleted file mode 100644 index d1c342b..0000000 Binary files a/static/components/swiper/exercise/background.png and /dev/null differ diff --git a/static/components/swiper/exercise/button.png b/static/components/swiper/exercise/button.png deleted file mode 100644 index 7edc8ea..0000000 Binary files a/static/components/swiper/exercise/button.png and /dev/null differ diff --git a/static/components/swiper/puppy_chat/background.png b/static/components/swiper/puppy_chat/background.png deleted file mode 100644 index 643e08b..0000000 Binary files a/static/components/swiper/puppy_chat/background.png and /dev/null differ diff --git a/static/components/swiper/puppy_chat/button.png b/static/components/swiper/puppy_chat/button.png deleted file mode 100644 index 7edc8ea..0000000 Binary files a/static/components/swiper/puppy_chat/button.png and /dev/null differ diff --git a/static/components/swiper/read/background.png b/static/components/swiper/read/background.png deleted file mode 100644 index a3a4348..0000000 Binary files a/static/components/swiper/read/background.png and /dev/null differ diff --git a/static/components/swiper/read/button.png b/static/components/swiper/read/button.png deleted file mode 100644 index 7edc8ea..0000000 Binary files a/static/components/swiper/read/button.png and /dev/null differ diff --git a/static/components/tarbar/pictures/assistant.png b/static/components/tarbar/pictures/assistant.png deleted file mode 100644 index 1f925a7..0000000 Binary files a/static/components/tarbar/pictures/assistant.png and /dev/null differ diff --git a/static/components/tarbar/pictures/assistant_picked_up.png b/static/components/tarbar/pictures/assistant_picked_up.png deleted file mode 100644 index 472042c..0000000 Binary files a/static/components/tarbar/pictures/assistant_picked_up.png and /dev/null differ diff --git a/static/components/tarbar/pictures/bar.png b/static/components/tarbar/pictures/bar.png deleted file mode 100644 index 0269071..0000000 Binary files a/static/components/tarbar/pictures/bar.png and /dev/null differ diff --git a/static/components/tarbar/pictures/community.png b/static/components/tarbar/pictures/community.png deleted file mode 100644 index 59d4226..0000000 Binary files a/static/components/tarbar/pictures/community.png and /dev/null differ diff --git a/static/components/tarbar/pictures/community_pick_up.png b/static/components/tarbar/pictures/community_pick_up.png deleted file mode 100644 index 4c200f6..0000000 Binary files a/static/components/tarbar/pictures/community_pick_up.png and /dev/null differ diff --git a/static/components/tarbar/pictures/home.png b/static/components/tarbar/pictures/home.png deleted file mode 100644 index b571aaf..0000000 Binary files a/static/components/tarbar/pictures/home.png and /dev/null differ diff --git a/static/components/tarbar/pictures/home_picked_up.png b/static/components/tarbar/pictures/home_picked_up.png deleted file mode 100644 index 77dff6b..0000000 Binary files a/static/components/tarbar/pictures/home_picked_up.png and /dev/null differ diff --git a/static/components/tarbar/pictures/user.png b/static/components/tarbar/pictures/user.png deleted file mode 100644 index efb6d85..0000000 Binary files a/static/components/tarbar/pictures/user.png and /dev/null differ diff --git a/static/components/tarbar/pictures/user_picked_up.png b/static/components/tarbar/pictures/user_picked_up.png deleted file mode 100644 index 770e4a0..0000000 Binary files a/static/components/tarbar/pictures/user_picked_up.png and /dev/null differ diff --git a/static/homepages/community/add_post/pictures/add_post_image.png b/static/homepages/community/add_post/pictures/add_post_image.png deleted file mode 100644 index 9634891..0000000 Binary files a/static/homepages/community/add_post/pictures/add_post_image.png and /dev/null differ diff --git a/static/homepages/community/add_post/pictures/left_arrow.png b/static/homepages/community/add_post/pictures/left_arrow.png deleted file mode 100644 index 522c772..0000000 Binary files a/static/homepages/community/add_post/pictures/left_arrow.png and /dev/null differ diff --git a/static/homepages/community/add_post/scss/add_post.scss b/static/homepages/community/add_post/scss/add_post.scss deleted file mode 100644 index 269c180..0000000 --- a/static/homepages/community/add_post/scss/add_post.scss +++ /dev/null @@ -1,169 +0,0 @@ -.add_post_box{ - height: 100vh; - width: 100vw; - position: relative; - .addpost_top_box{ - display: flex; - align-items: center; - // background-color: #55aaff; - height: 10vh; - width: 100%; - position: absolute; - top: 5%; - .return_box{ - display: flex; - justify-content: center; - align-items: center; - background-color: #E6EEFA; - height: 5.5vh; - width: 5.5vh; - border-radius: 50%; - position: absolute; - left: 5vw; - .return_image{ - width: 3vh; - } - } - .title_box{ - font-family: 'Poppins'; - font-style: normal; - font-weight: 550; - font-size: 2.8vh; - width: fit-content; - // line-height: 33px; - /* or 92% */ - text-align: center; - letter-spacing: -0.604677px; - color: #000000; - position: absolute; - left: 50%; - transform: translateX(-50%); - } - .publish_btn{ - position: absolute; - right: 5vw; - display: flex; - justify-content: center; - align-items: center; - background: #5790DF; - box-shadow: 0px 14.8205px 29.641px rgba(87, 144, 223, 0.5); - border-radius: 20px; - padding: 1vh 2vh; - font-family: 'Poppins'; - font-style: normal; - font-weight: 500; - font-size: 1.5vh; - text-align: center; - letter-spacing: -0.604677px; - color: #FFFFFF; - } - } - .addpost_tip_box{ - position: absolute; - top: 15vh; - left: 50%; - transform: translateX(-50%); - width: 80%; - text-align: center; - font-family: 'Poppins'; - font-style: normal; - font-weight: 600; - font-size: 1.9vh; - letter-spacing: -0.604677px; - color: #CCB8B8; - padding-bottom: 1vh; - border-bottom: 1px solid #000000; - } - .addpost_box{ - position: absolute; - left: 50%; - transform: translateX(-50%); - top: 25vh; - width: 90%; - .post_box{ - background-color: #B2CBF0; - border-radius: 30px; - padding: 5vh 2vh; - box-sizing: border-box; - margin-bottom: 5vh; - width: 100%; - display: flex; - flex-direction: column; - position: relative; - } - .post_top_box{ - display: flex; - .post_avatar_box{ - width: 5vh; - height: 5vh; - border-radius: 50%; - background-color: #fff; - display: flex; - justify-content: center; - align-items: center; - margin-right: 2vh; - .post_avatar{ - width: 80%; - } - } - .post_info{ - font-family: 'Poppins'; - font-style: normal; - font-weight: 700; - font-size: 2vh; - color: #000000; - display: flex; - flex-direction: column; - justify-content: center; - } - } - .post_word_box{ - font-family: 'Poppins'; - font-style: normal; - font-weight: 700; - font-size: 2vh; - color: #000000; - margin-top: 2.5vh; - background-color: #E6EEFA; - border-radius: 8px; - box-sizing: border-box; - padding: 1.5vh 1.5vh; - height: 5.5vh; - width:100%; - letter-spacing: 1px; - } - .post_images_box{ - width: 100%; - height:70%; - // .post_images{ - // width: 100%; - // height: 100%; - // } - .myimgDV { - width: 100%; - height: 100%; - .flex { - display: flex; - } - .justify { - justify-content: space-between; - } - .receiveimage { - margin-top: 28rpx; - display: flex; - flex-wrap: wrap; - width: 100%; - .doublepic { - // height: 100%; - width: 49%; - margin-right: 12rpx; - margin-bottom: 12rpx; - &:nth-child(2n) { - margin-right: 0; - } - } - } - } - } - } -} \ No newline at end of file diff --git a/static/homepages/community/community/pictures/add_image.png b/static/homepages/community/community/pictures/add_image.png deleted file mode 100644 index e77a787..0000000 Binary files a/static/homepages/community/community/pictures/add_image.png and /dev/null differ diff --git a/static/homepages/community/community/pictures/chat_icon.png b/static/homepages/community/community/pictures/chat_icon.png deleted file mode 100644 index 7554bed..0000000 Binary files a/static/homepages/community/community/pictures/chat_icon.png and /dev/null differ diff --git a/static/homepages/community/community/pictures/dog_image.png b/static/homepages/community/community/pictures/dog_image.png deleted file mode 100644 index ce0bdfc..0000000 Binary files a/static/homepages/community/community/pictures/dog_image.png and /dev/null differ diff --git a/static/homepages/community/community/pictures/love_image.png b/static/homepages/community/community/pictures/love_image.png deleted file mode 100644 index 3d372e9..0000000 Binary files a/static/homepages/community/community/pictures/love_image.png and /dev/null differ diff --git a/static/homepages/community/community/pictures/red_love_image.png b/static/homepages/community/community/pictures/red_love_image.png deleted file mode 100644 index 2008c0a..0000000 Binary files a/static/homepages/community/community/pictures/red_love_image.png and /dev/null differ diff --git a/static/homepages/community/community/scss/community.scss b/static/homepages/community/community/scss/community.scss deleted file mode 100644 index c448b61..0000000 --- a/static/homepages/community/community/scss/community.scss +++ /dev/null @@ -1,196 +0,0 @@ -.community_box{ - padding: 5vh 5vw; - display: flex; - flex-direction: column; - position: relative; - .top_box{ - display: flex; - justify-content: space-between; - align-items: center; - height: 10vh; - // border-bottom: 1.48205px solid #000000; - .dog_image_box{ - // height: 8vh; - // width: 8vh; - height: 110rpx; - width: 110rpx; - border-radius: 50%; - background-color: #D9D9D9; - display: flex; - justify-content: center; - align-items: center; - .dog_image{ - width: 85rpx; - } - } - .words_box{ - height: 100%; - width: 60%; - display: flex; - flex-direction: column; - justify-content: space-around; - align-items: center; - .title_box{ - width: fit-content; - font-family: 'Poppins'; - font-style: normal; - font-weight: 600; - font-size: 3vh; - line-height: 33px; - text-align: center; - letter-spacing: -0.604677px; - color: #000000; - } - .tip_word_box{ - font-family: 'Poppins'; - font-style: normal; - font-weight: 600; - font-size: 2vh; - line-height: 33px; - text-align: center; - letter-spacing: -0.604677px; - color: #CCB8B8; - } - } - .add_image_box{ - // height: 8vh; - // width: 8vh; - height: 110rpx; - width: 110rpx; - border-radius: 50%; - background-color: #D9D9D9; - display: flex; - justify-content: center; - align-items: center; - .add_image{ - width: 50rpx; - } - } - } - // 分割线 - .line_box{ - width: 70%; - border-bottom: 1.48205px solid #000000; - position: absolute; - top: 17vh; - left: 50%; - transform: translateX(-50%); - } - .post_body{ - position: absolute; - left: 50%; - transform: translateX(-50%); - top: 20vh; - width: 90%; - .post_scroll_box{ - height: 69vh; - } - .post_box{ - background-color: #E6EEFA; - border-radius: 30px; - padding: 2vh 2vh; - box-sizing: border-box; - margin-bottom: 5vh; - width: 100%; - // height: 55vh; - display: flex; - flex-direction: column; - // height:900rpx; - position: relative; - .post_top_box{ - display: flex; - .post_avatar_box{ - width: 5vh; - height: 5vh; - border-radius: 50%; - background-color: #fff; - display: flex; - justify-content: center; - align-items: center; - margin-right: 2vh; - .post_avatar{ - width: 80%; - } - } - .post_info{ - font-family: 'Poppins'; - font-style: normal; - font-weight: 700; - font-size: 2vh; - color: #000000; - display: flex; - flex-direction: column; - justify-content: center; - } - } - .post_word_box{ - font-family: 'Poppins'; - font-style: normal; - font-weight: 700; - font-size: 2vh; - color: #000000; - margin-top: 2.5vh; - } - .post_images_box{ - width: 100%; - height:70%; - .post_images{ - width: 100%; - height: 100%; - } - } - .post_bottom_box{ - position: absolute; - bottom: 0%; - width: 100%; - height: 10%; - padding: 0% 6%; - box-sizing: border-box; - display: flex; - background: rgba(0, 0, 0, 0.3); - backdrop-filter: blur(2px); - /* Note: backdrop-filter has minimal browser support */ - border-radius: 0px 0px 30px 30px; - left: 50%; - transform: translateX(-50%); - .comments_box{ - display: flex; - align-items: center; - height: 100%; - // width: 10%; - .chat_icon{ - width: 3.2vh; - } - .comments_num{ - font-family: 'Poppins'; - font-style: normal; - font-weight: 600; - font-size: 2vh; - text-align: center; - letter-spacing: -0.604677px; - color: rgba(255, 255, 255, 0.8); - } - } - .like_box{ - display: flex; - align-items: center; - height: 100%; - margin-left: 4%; - // width: 10%; - .love_icon{ - width: 3.2vh; - } - .like_num{ - font-family: 'Poppins'; - font-style: normal; - font-weight: 600; - font-size: 2vh; - text-align: center; - letter-spacing: -0.604677px; - color: rgba(255, 255, 255, 0.8); - } - } - } - } - } -} \ No newline at end of file diff --git a/static/homepages/community/personal_center/pictures/left_arrow.png b/static/homepages/community/personal_center/pictures/left_arrow.png deleted file mode 100644 index 522c772..0000000 Binary files a/static/homepages/community/personal_center/pictures/left_arrow.png and /dev/null differ diff --git a/static/homepages/community/personal_center/pictures/top_background.png b/static/homepages/community/personal_center/pictures/top_background.png deleted file mode 100644 index ddb6cb5..0000000 Binary files a/static/homepages/community/personal_center/pictures/top_background.png and /dev/null differ diff --git a/static/homepages/community/personal_center/scss/personal_center.scss b/static/homepages/community/personal_center/scss/personal_center.scss deleted file mode 100644 index c4fe2a8..0000000 --- a/static/homepages/community/personal_center/scss/personal_center.scss +++ /dev/null @@ -1,308 +0,0 @@ -.person_center_box{ - height: 100vh; - width: 100vw; - position: relative; - .person_center_top{ - height: 25vh; - background-image: url("@/static/homepages/community/personal_center/pictures/top_background.png"); - background-size: cover; - background-position: center; - .return_box{ - display: flex; - justify-content: center; - align-items: center; - background-color: #E6EEFA; - height: 5.5vh; - width: 5.5vh; - border-radius: 50%; - position: absolute; - left: 5vw; - top: 2vh; - .return_image{ - width: 3vh; - } - } - } - .person_center_body{ - box-sizing: border-box; - position: absolute; - width: 100vw; - height: 82vh; - top: 18vh; - background: #E6EEFA; - border-radius: 50px 50px 0px 0px; - .info_box{ - width: 100vw; - height: 20vh; - position: relative; - // background-color: #fff; - .height_box{ - width: fit-content; - position: absolute; - top: 20%; - left: 19vw; - .height_data{ - font-family: 'Poppins'; - font-style: normal; - font-weight: 700; - font-size: 2vh; - text-align: center; - letter-spacing: -0.604677px; - color: #000000; - margin-bottom: 0.5vh; - } - .height_words{ - font-family: 'Poppins'; - font-style: normal; - font-weight: 400; - font-size: 1.8vh; - text-align: center; - letter-spacing: -0.604677px; - color: #000000; - } - } - .weight_box{ - width: fit-content; - position: absolute; - top: 20%; - right: 19vw; - .weight_data{ - font-family: 'Poppins'; - font-style: normal; - font-weight: 700; - font-size: 2vh; - text-align: center; - letter-spacing: -0.604677px; - color: #000000; - margin-bottom: 0.5vh; - } - .weight_words{ - font-family: 'Poppins'; - font-style: normal; - font-weight: 400; - font-size: 1.8vh; - text-align: center; - letter-spacing: -0.604677px; - color: #000000; - } - } - .avatar_box{ - background-color: #fff; - width: 12vh; - height: 12vh; - border-radius: 50%; - position: absolute; - left: 50%; - top: 0%; - transform: translate(-50%, -50%); - } - .name_box{ - position: absolute; - left: 50%; - top: 52%; - transform: translateX(-50%); - font-family: 'Poppins'; - font-style: normal; - font-weight: 700; - font-size: 2.1vh; - text-align: center; - letter-spacing: -0.604677px; - color: #000000; - } - .tip_box{ - position: absolute; - left: 50%; - top: 70%; - width: 100vw; - transform: translateX(-50%); - font-family: 'Poppins'; - font-style: normal; - font-weight: 400; - font-size: 1.8vh; - text-align: center; - letter-spacing: -0.604677px; - color: #6C7A9C; - } - } - .btns_box{ - display: flex; - height: 5vh; - .changeInfoBtn{ - display: flex; - flex-direction: row; - justify-content: center; - align-items: center; - width: 35vw; - font-size: 1.6vh; - background: #fff; - box-shadow: 0px 14.8205px 29.641px rgba(0, 0, 0, 0.25); - border-radius: 29.641px; - } - .addPostBtn{ - display: flex; - flex-direction: row; - justify-content: center; - align-items: center; - width: 35vw; - font-size: 1.6vh; - background: #fff; - box-shadow: 0px 14.8205px 29.641px rgba(0, 0, 0, 0.25); - border-radius: 29.641px; - } - } - .posts_box{ - margin-top: 4vh; - height: 52vh; - width: 100vw; - position: relative; - .post_nav_box{ - width: 100%; - display: flex; - justify-content: center; - .post_nav{ - display: flex; - flex-direction: column; - justify-content: flex-end; - align-items: center; - width: 20vw; - height: 3vh; - margin: 0vh 2vw; - position: relative; - .toMypost{ - position: absolute; - top: 0%; - } - .toLikepost{ - position: absolute; - top: 0%; - } - .bottom_line{ - margin-top: 6px; - height: 1px; - width: 5vw; - border-bottom:2px solid #000000 ; - background: #6C7A9C; - border-radius: 2.9641px; - } - } - } - .posts{ - background-color: #fff; - border-radius: 50px 50px 0px 0px; - box-sizing: border-box; - margin-top: 2vh; - display: flex; - flex-direction: column; - height: 49vh; - padding: 0vw 3vw 0vw 3vw; - position: relative; - .post_box{ - background-color: #E6EEFA; - border-radius: 30px; - padding: 2vh 2vh; - box-sizing: border-box; - margin-bottom: 5vh; - width: 100%; - display: flex; - flex-direction: column; - position: relative; - margin-top: 3vh; - .post_top_box{ - display: flex; - .post_avatar_box{ - width: 5vh; - height: 5vh; - border-radius: 50%; - background-color: #fff; - display: flex; - justify-content: center; - align-items: center; - margin-right: 2vh; - .post_avatar{ - width: 80%; - } - } - .post_info{ - font-family: 'Poppins'; - font-style: normal; - font-weight: 700; - font-size: 2vh; - color: #000000; - display: flex; - flex-direction: column; - justify-content: center; - } - } - .post_word_box{ - font-family: 'Poppins'; - font-style: normal; - font-weight: 700; - font-size: 2vh; - color: #000000; - margin-top: 2.5vh; - } - .post_images_box{ - width: 100%; - height:70%; - .post_images{ - width: 100%; - height: 100%; - } - } - .post_bottom_box{ - position: absolute; - bottom: 0%; - width: 100%; - height: 10%; - padding: 0% 6%; - box-sizing: border-box; - display: flex; - background: rgba(0, 0, 0, 0.3); - backdrop-filter: blur(2px); - /* Note: backdrop-filter has minimal browser support */ - border-radius: 0px 0px 30px 30px; - left: 50%; - transform: translateX(-50%); - .comments_box{ - display: flex; - align-items: center; - height: 100%; - // width: 10%; - .chat_icon{ - width: 3.2vh; - } - .comments_num{ - font-family: 'Poppins'; - font-style: normal; - font-weight: 600; - font-size: 2vh; - text-align: center; - letter-spacing: -0.604677px; - color: rgba(255, 255, 255, 0.8); - } - } - .like_box{ - display: flex; - align-items: center; - height: 100%; - margin-left: 4%; - // width: 10%; - .love_icon{ - width: 3.2vh; - } - .like_num{ - font-family: 'Poppins'; - font-style: normal; - font-weight: 600; - font-size: 2vh; - text-align: center; - letter-spacing: -0.604677px; - color: rgba(255, 255, 255, 0.8); - } - } - } - } - } - } - } -} \ No newline at end of file diff --git a/static/homepages/homes/ai_recognize_fruit/css/ai_recongnize_fruit.scss b/static/homepages/homes/ai_recognize_fruit/css/ai_recongnize_fruit.scss deleted file mode 100644 index 43017ac..0000000 --- a/static/homepages/homes/ai_recognize_fruit/css/ai_recongnize_fruit.scss +++ /dev/null @@ -1,68 +0,0 @@ - -.background { - background-image: url("@/static/homepages/homes/ai_recognize_fruit/pictures/background.png"); - background-size: cover; - background-position: center; - height: 100vh; - display: flex; - flex-direction: column; /* 纵向排列 */ - align-items: center; /* 水平居中 */ - justify-content: flex-end; /* 使内容向底部对齐 */ - position: relative; /* 为绝对定位子元素提供相对定位的上下文 */ -} -.upload_picture{ - position: absolute; /* 绝对定位 */ - width: 90%; - height: 25%; - top: 45%; /* 距离底部 20% 的位置 */ - left: 50%; /* 水平居中 */ - transform: translateX(-50%); /* 通过 translateX 使其居中 */ -} -.button { - position: absolute; /* 绝对定位 */ - width: 13%; - height: 6%; - top: 0%; - left: 6%; /* 水平居中 */ - transform: translateX(-50%); /* 通过 translateX 使其居中 */ -} -.calorie_container { - background-image: url("@/static/homepages/homes/ai_recognize_fruit/pictures/calorie.png"); - background-size: cover; - background-position: center; - display: flex; /* 使用 flex 布局 */ - flex-direction: column; - align-items: center; /* 水平居中 */ - justify-content: center; /* 垂直居中 */ - position: absolute; - width: 40%; - height: 27%; - bottom: 3%; - left: 6%; -} -.calorie_text { - font-size: 23px; - color: #1b1313; - font-weight: bold; - margin-top: 100%; /* 向下移动 100% */ -} -.name_container{ - background-image: url("@/static/homepages/homes/ai_recognize_fruit/pictures/fruit.png"); - background-size: cover; - background-position: center; - display: flex; /* 使用 flex 布局 */ - flex-direction: column; - align-items: center; /* 水平居中 */ - justify-content: center; /* 垂直居中 */ - position: absolute; - width: 40%; - height: 26%; - bottom: 3%; - left: 54%; -} -.name_text { - font-size: 23px; - color: #0c0b0b; - font-weight: 800; - margin-top: 100%; /* 向下移动 100% */ -} \ No newline at end of file diff --git a/static/homepages/homes/ai_recognize_fruit/pictures/background.png b/static/homepages/homes/ai_recognize_fruit/pictures/background.png deleted file mode 100644 index a59e83c..0000000 Binary files a/static/homepages/homes/ai_recognize_fruit/pictures/background.png and /dev/null differ diff --git a/static/homepages/homes/ai_recognize_fruit/pictures/button.png b/static/homepages/homes/ai_recognize_fruit/pictures/button.png deleted file mode 100644 index f3f43e8..0000000 Binary files a/static/homepages/homes/ai_recognize_fruit/pictures/button.png and /dev/null differ diff --git a/static/homepages/homes/ai_recognize_fruit/pictures/calorie.png b/static/homepages/homes/ai_recognize_fruit/pictures/calorie.png deleted file mode 100644 index 71ec982..0000000 Binary files a/static/homepages/homes/ai_recognize_fruit/pictures/calorie.png and /dev/null differ diff --git a/static/homepages/homes/ai_recognize_fruit/pictures/fruit.png b/static/homepages/homes/ai_recognize_fruit/pictures/fruit.png deleted file mode 100644 index e00ba82..0000000 Binary files a/static/homepages/homes/ai_recognize_fruit/pictures/fruit.png and /dev/null differ diff --git a/static/homepages/homes/ai_recognize_fruit/pictures/photo.png b/static/homepages/homes/ai_recognize_fruit/pictures/photo.png deleted file mode 100644 index c3c2df6..0000000 Binary files a/static/homepages/homes/ai_recognize_fruit/pictures/photo.png and /dev/null differ diff --git a/static/homepages/homes/ai_recognize_hot/css/ai_recongnize_hot.scss b/static/homepages/homes/ai_recognize_hot/css/ai_recongnize_hot.scss deleted file mode 100644 index 35a3f17..0000000 --- a/static/homepages/homes/ai_recognize_hot/css/ai_recongnize_hot.scss +++ /dev/null @@ -1,68 +0,0 @@ - -.background { - background-image: url("@/static/homepages/homes/ai_recognize_hot/pictures/background.png"); - background-size: cover; - background-position: center; - height: 100vh; - display: flex; - flex-direction: column; /* 纵向排列 */ - align-items: center; /* 水平居中 */ - justify-content: flex-end; /* 使内容向底部对齐 */ - position: relative; /* 为绝对定位子元素提供相对定位的上下文 */ -} -.upload_picture{ - position: absolute; /* 绝对定位 */ - width: 90%; - height: 30%; - top: 43%; /* 距离底部 20% 的位置 */ - left: 50%; /* 水平居中 */ - transform: translateX(-50%); /* 通过 translateX 使其居中 */ -} -.button { - position: absolute; /* 绝对定位 */ - width: 15%; - height: 7%; - top: 1%; /* 距离底部 20% 的位置 */ - left: 8%; /* 水平居中 */ - transform: translateX(-50%); /* 通过 translateX 使其居中 */ -} -.calorie_container { - background-image: url("@/static/homepages/homes/ai_recognize_hot/pictures/calorie.png"); - background-size: cover; - background-position: center; - display: flex; /* 使用 flex 布局 */ - flex-direction: column; - align-items: center; /* 水平居中 */ - justify-content: center; /* 垂直居中 */ - position: absolute; - width: 40%; - height: 25%; - bottom: 2%; - left: 6%; -} -.calorie_text { - font-size: 23px; - color: #c63030; - font-weight: bold; - margin-top: 100%; /* 向下移动 100% */ -} -.name_container{ - background-image: url("@/static/homepages/homes/ai_recognize_hot/pictures/name.png"); - background-size: cover; - background-position: center; - display: flex; /* 使用 flex 布局 */ - flex-direction: column; - align-items: center; /* 水平居中 */ - justify-content: center; /* 垂直居中 */ - position: absolute; - width: 40%; - height: 26%; - bottom: 2%; - left: 54%; -} -.name_text { - font-size: 23px; - color: #c63030; - font-weight: 800; - margin-top: 100%; /* 向下移动 100% */ -} \ No newline at end of file diff --git a/static/homepages/homes/ai_recognize_hot/pictures/background.png b/static/homepages/homes/ai_recognize_hot/pictures/background.png deleted file mode 100644 index d8362f5..0000000 Binary files a/static/homepages/homes/ai_recognize_hot/pictures/background.png and /dev/null differ diff --git a/static/homepages/homes/ai_recognize_hot/pictures/button.png b/static/homepages/homes/ai_recognize_hot/pictures/button.png deleted file mode 100644 index f3f43e8..0000000 Binary files a/static/homepages/homes/ai_recognize_hot/pictures/button.png and /dev/null differ diff --git a/static/homepages/homes/ai_recognize_hot/pictures/calorie.png b/static/homepages/homes/ai_recognize_hot/pictures/calorie.png deleted file mode 100644 index bdb9312..0000000 Binary files a/static/homepages/homes/ai_recognize_hot/pictures/calorie.png and /dev/null differ diff --git a/static/homepages/homes/ai_recognize_hot/pictures/name.png b/static/homepages/homes/ai_recognize_hot/pictures/name.png deleted file mode 100644 index 2c71c16..0000000 Binary files a/static/homepages/homes/ai_recognize_hot/pictures/name.png and /dev/null differ diff --git a/static/homepages/homes/ai_recognize_hot/pictures/photo.png b/static/homepages/homes/ai_recognize_hot/pictures/photo.png deleted file mode 100644 index 97240d5..0000000 Binary files a/static/homepages/homes/ai_recognize_hot/pictures/photo.png and /dev/null differ diff --git a/static/homepages/homes/ai_recognize_plan/pictures/background.png b/static/homepages/homes/ai_recognize_plan/pictures/background.png deleted file mode 100644 index 42ac2f2..0000000 Binary files a/static/homepages/homes/ai_recognize_plan/pictures/background.png and /dev/null differ diff --git a/static/homepages/homes/ai_recognize_plan/pictures/button.png b/static/homepages/homes/ai_recognize_plan/pictures/button.png deleted file mode 100644 index 496eade..0000000 Binary files a/static/homepages/homes/ai_recognize_plan/pictures/button.png and /dev/null differ diff --git a/static/homepages/homes/ai_recognize_plan/pictures/generate.png b/static/homepages/homes/ai_recognize_plan/pictures/generate.png deleted file mode 100644 index 447395b..0000000 Binary files a/static/homepages/homes/ai_recognize_plan/pictures/generate.png and /dev/null differ diff --git a/static/homepages/homes/ai_recognize_recipe/pictures/background.png b/static/homepages/homes/ai_recognize_recipe/pictures/background.png deleted file mode 100644 index 1a39585..0000000 Binary files a/static/homepages/homes/ai_recognize_recipe/pictures/background.png and /dev/null differ diff --git a/static/homepages/homes/ai_recognize_recipe/pictures/button.png b/static/homepages/homes/ai_recognize_recipe/pictures/button.png deleted file mode 100644 index 496eade..0000000 Binary files a/static/homepages/homes/ai_recognize_recipe/pictures/button.png and /dev/null differ diff --git a/static/homepages/homes/ai_recognize_recipe/pictures/generate.png b/static/homepages/homes/ai_recognize_recipe/pictures/generate.png deleted file mode 100644 index 5929e86..0000000 Binary files a/static/homepages/homes/ai_recognize_recipe/pictures/generate.png and /dev/null differ diff --git a/static/homepages/homes/ai_recognize_recipe/pictures/go_back_button.png b/static/homepages/homes/ai_recognize_recipe/pictures/go_back_button.png deleted file mode 100644 index b1db9e3..0000000 Binary files a/static/homepages/homes/ai_recognize_recipe/pictures/go_back_button.png and /dev/null differ diff --git a/static/homepages/homes/choice_book/pictures/book.png b/static/homepages/homes/choice_book/pictures/book.png deleted file mode 100644 index af9d07f..0000000 Binary files a/static/homepages/homes/choice_book/pictures/book.png and /dev/null differ diff --git a/static/homepages/homes/choice_book/pictures/book1.png b/static/homepages/homes/choice_book/pictures/book1.png deleted file mode 100644 index de37502..0000000 Binary files a/static/homepages/homes/choice_book/pictures/book1.png and /dev/null differ diff --git a/static/homepages/homes/choice_book/pictures/book2.png b/static/homepages/homes/choice_book/pictures/book2.png deleted file mode 100644 index 8adef45..0000000 Binary files a/static/homepages/homes/choice_book/pictures/book2.png and /dev/null differ diff --git a/static/homepages/homes/choice_book/pictures/book3.png b/static/homepages/homes/choice_book/pictures/book3.png deleted file mode 100644 index 22b0b0e..0000000 Binary files a/static/homepages/homes/choice_book/pictures/book3.png and /dev/null differ diff --git a/static/homepages/homes/choice_book/pictures/book4.png b/static/homepages/homes/choice_book/pictures/book4.png deleted file mode 100644 index 30f2375..0000000 Binary files a/static/homepages/homes/choice_book/pictures/book4.png and /dev/null differ diff --git a/static/homepages/homes/choice_book/pictures/search_area.png b/static/homepages/homes/choice_book/pictures/search_area.png deleted file mode 100644 index 1455f41..0000000 Binary files a/static/homepages/homes/choice_book/pictures/search_area.png and /dev/null differ diff --git a/static/homepages/homes/dictionary/pictures/Bread.png b/static/homepages/homes/dictionary/pictures/Bread.png deleted file mode 100644 index 1707590..0000000 Binary files a/static/homepages/homes/dictionary/pictures/Bread.png and /dev/null differ diff --git a/static/homepages/homes/dictionary/pictures/Fried Egg.png b/static/homepages/homes/dictionary/pictures/Fried Egg.png deleted file mode 100644 index 459d600..0000000 Binary files a/static/homepages/homes/dictionary/pictures/Fried Egg.png and /dev/null differ diff --git a/static/homepages/homes/dictionary/pictures/Grape.png b/static/homepages/homes/dictionary/pictures/Grape.png deleted file mode 100644 index 7f84d0a..0000000 Binary files a/static/homepages/homes/dictionary/pictures/Grape.png and /dev/null differ diff --git a/static/homepages/homes/dictionary/pictures/Kiwi fruit.png b/static/homepages/homes/dictionary/pictures/Kiwi fruit.png deleted file mode 100644 index 4eabe74..0000000 Binary files a/static/homepages/homes/dictionary/pictures/Kiwi fruit.png and /dev/null differ diff --git a/static/homepages/homes/dictionary/pictures/Mango.png b/static/homepages/homes/dictionary/pictures/Mango.png deleted file mode 100644 index 3ae9260..0000000 Binary files a/static/homepages/homes/dictionary/pictures/Mango.png and /dev/null differ diff --git a/static/homepages/homes/dictionary/pictures/Pineapple.png b/static/homepages/homes/dictionary/pictures/Pineapple.png deleted file mode 100644 index 73d5606..0000000 Binary files a/static/homepages/homes/dictionary/pictures/Pineapple.png and /dev/null differ diff --git a/static/homepages/homes/dictionary/pictures/Pizza.png b/static/homepages/homes/dictionary/pictures/Pizza.png deleted file mode 100644 index 58b549c..0000000 Binary files a/static/homepages/homes/dictionary/pictures/Pizza.png and /dev/null differ diff --git a/static/homepages/homes/dictionary/pictures/Pulled noodles.png b/static/homepages/homes/dictionary/pictures/Pulled noodles.png deleted file mode 100644 index 972a7a2..0000000 Binary files a/static/homepages/homes/dictionary/pictures/Pulled noodles.png and /dev/null differ diff --git a/static/homepages/homes/dictionary/pictures/Strawberry.png b/static/homepages/homes/dictionary/pictures/Strawberry.png deleted file mode 100644 index 82b9b71..0000000 Binary files a/static/homepages/homes/dictionary/pictures/Strawberry.png and /dev/null differ diff --git a/static/homepages/homes/dictionary/pictures/apple.png b/static/homepages/homes/dictionary/pictures/apple.png deleted file mode 100644 index 5cebaf1..0000000 Binary files a/static/homepages/homes/dictionary/pictures/apple.png and /dev/null differ diff --git a/static/homepages/homes/dictionary/pictures/avocado.png b/static/homepages/homes/dictionary/pictures/avocado.png deleted file mode 100644 index badb40f..0000000 Binary files a/static/homepages/homes/dictionary/pictures/avocado.png and /dev/null differ diff --git a/static/homepages/homes/dictionary/pictures/banana.png b/static/homepages/homes/dictionary/pictures/banana.png deleted file mode 100644 index eed3274..0000000 Binary files a/static/homepages/homes/dictionary/pictures/banana.png and /dev/null differ diff --git a/static/homepages/homes/dictionary/pictures/broccoli.png b/static/homepages/homes/dictionary/pictures/broccoli.png deleted file mode 100644 index 4edfadd..0000000 Binary files a/static/homepages/homes/dictionary/pictures/broccoli.png and /dev/null differ diff --git a/static/homepages/homes/dictionary/pictures/button.png b/static/homepages/homes/dictionary/pictures/button.png deleted file mode 100644 index 0771b38..0000000 Binary files a/static/homepages/homes/dictionary/pictures/button.png and /dev/null differ diff --git a/static/homepages/homes/dictionary/pictures/carrot.png b/static/homepages/homes/dictionary/pictures/carrot.png deleted file mode 100644 index 28d0900..0000000 Binary files a/static/homepages/homes/dictionary/pictures/carrot.png and /dev/null differ diff --git a/static/homepages/homes/dictionary/pictures/corn.png b/static/homepages/homes/dictionary/pictures/corn.png deleted file mode 100644 index 504295d..0000000 Binary files a/static/homepages/homes/dictionary/pictures/corn.png and /dev/null differ diff --git a/static/homepages/homes/dictionary/pictures/eggplant.png b/static/homepages/homes/dictionary/pictures/eggplant.png deleted file mode 100644 index df001e4..0000000 Binary files a/static/homepages/homes/dictionary/pictures/eggplant.png and /dev/null differ diff --git a/static/homepages/homes/dictionary/pictures/garlic.png b/static/homepages/homes/dictionary/pictures/garlic.png deleted file mode 100644 index f81e127..0000000 Binary files a/static/homepages/homes/dictionary/pictures/garlic.png and /dev/null differ diff --git a/static/homepages/homes/dictionary/pictures/lemon.png b/static/homepages/homes/dictionary/pictures/lemon.png deleted file mode 100644 index 5574e9a..0000000 Binary files a/static/homepages/homes/dictionary/pictures/lemon.png and /dev/null differ diff --git a/static/homepages/homes/dictionary/pictures/loquat.png b/static/homepages/homes/dictionary/pictures/loquat.png deleted file mode 100644 index 7d23e42..0000000 Binary files a/static/homepages/homes/dictionary/pictures/loquat.png and /dev/null differ diff --git a/static/homepages/homes/dictionary/pictures/mushroom.png b/static/homepages/homes/dictionary/pictures/mushroom.png deleted file mode 100644 index 6806f8e..0000000 Binary files a/static/homepages/homes/dictionary/pictures/mushroom.png and /dev/null differ diff --git a/static/homepages/homes/dictionary/pictures/orange.png b/static/homepages/homes/dictionary/pictures/orange.png deleted file mode 100644 index 630a462..0000000 Binary files a/static/homepages/homes/dictionary/pictures/orange.png and /dev/null differ diff --git a/static/homepages/homes/dictionary/pictures/papaya.png b/static/homepages/homes/dictionary/pictures/papaya.png deleted file mode 100644 index d03abbb..0000000 Binary files a/static/homepages/homes/dictionary/pictures/papaya.png and /dev/null differ diff --git a/static/homepages/homes/dictionary/pictures/pear.png b/static/homepages/homes/dictionary/pictures/pear.png deleted file mode 100644 index 497ed39..0000000 Binary files a/static/homepages/homes/dictionary/pictures/pear.png and /dev/null differ diff --git a/static/homepages/homes/dictionary/pictures/pepper.png b/static/homepages/homes/dictionary/pictures/pepper.png deleted file mode 100644 index 6fa8a13..0000000 Binary files a/static/homepages/homes/dictionary/pictures/pepper.png and /dev/null differ diff --git a/static/homepages/homes/dictionary/pictures/radish.png b/static/homepages/homes/dictionary/pictures/radish.png deleted file mode 100644 index 1cd76ab..0000000 Binary files a/static/homepages/homes/dictionary/pictures/radish.png and /dev/null differ diff --git a/static/homepages/homes/dictionary/pictures/watermelon.png b/static/homepages/homes/dictionary/pictures/watermelon.png deleted file mode 100644 index 1dc73d2..0000000 Binary files a/static/homepages/homes/dictionary/pictures/watermelon.png and /dev/null differ diff --git a/static/homepages/homes/home/css/home.scss b/static/homepages/homes/home/css/home.scss deleted file mode 100644 index a3b35cb..0000000 --- a/static/homepages/homes/home/css/home.scss +++ /dev/null @@ -1,214 +0,0 @@ -.background { - background-size: cover; - background-position: center; - min-height: 100vh; - display: flex; - flex-direction: column; - align-items: center; - overflow-y: auto; - -webkit-overflow-scrolling: touch; -} -.home_text{ - position: absolute; - top: 5%; - height: 27%; - width: 100%; - left: -13%; -} -.swiper{ - position: absolute; - top: 15%; - height: 28%; - width: 98%; - left: 1%; -} - -.swiper_item_background{ - justify-content: center; - align-items: center; - height: 100%; - width: 100%; - -} -.puppy_chat_button{ - position: absolute; - height: 20%; - width: 38%; - left: 6%; - top: 63%; - z-index: 1000; -} -.exercise_button{ - position: absolute; - height: 18%; - width: 38%; - left: 6%; - top: 69%; - z-index: 1000; -} - - - - - - - - - - - - - -.swiper_item { - justify-content: center; - align-items: center; - height: 100%; - width: 100%; -} -.swipe_dot{ - position: absolute; - top: 43.8%; - height: 2%; - width: 25%; - left: 37.5%; -} -.line{ - position: absolute; - top: 48%; - height: 0.3%; - width: 70%; - left: 15%; -} -.recipe_area_word{ - position: absolute; - top: 53%; - height: 3.7%; - width: 30%; - left: 6%; -} -.recipe_area { - background-color: #E0E0BA; - position: absolute; - top: 58%; - height: 85%; - width: 90%; - left: 5%; - border-radius: 30px; - .ai_recognize_recipe { - position: absolute; - top: -5%; - width: 105%; - height: 32%; - left: -2.5%; - - } - .ai_recognize_hot { - position: absolute; - top: 24%; - width: 105%; - height: 28%; - left: -2.5%; - - } - .ai_recognize_fruit { - position: absolute; - top: 46%; - width: 105%; - height: 30%; - left: -2.5%; - } - .my_recipe_plan { - position: absolute; - top: 71%; - width: 105%; - height: 30%; - left: -2.5%; - } -} -.sport_text{ - position: absolute; - top: 146%; - height: 3.7%; - width: 30%; - left: 6%; -} -.sport_area{ - background-color: #A9D0AE; - position: absolute; - top: 151%; - height: 50%; - width: 90%; - left: 5%; - border-radius: 30px; - .ai_recognize_plan{ - position: absolute; - top: -1%; - width: 105%; - height: 50%; - left: -2.5%; - } - .my_exercise_plan{ - position: absolute; - top: 45%; - width: 105%; - height: 50%; - left: -2.5%; - } -} -.read_text{ - position: absolute; - top: 203%; - height: 3.7%; - width: 30%; - left: 6%; -} -.read_area{ - background-color: #E7ABAB; - position: absolute; - top: 208%; - height: 40%; - width: 90%; - left: 5%; - border-radius: 30px; - .dictionary_background{ - position: absolute; - top: 0; - width: 50%; - height: 90%; - left: -2.5%; - } - .dictionary_button{ - position: absolute; - top: 65%; - width: 10%; - height: 10%; - left: 27%; - } - .read_background{ - position: absolute; - top: 0; - width: 50%; - height: 90%; - left: 52.5%; - } - .read_button{ - position: absolute; - top: 65%; - width: 10%; - height: 10%; - left: 83%; - } -} -.block_area{ - position: absolute; - top: 258%; - height: 5%; - width: 100%; -} -.bar{ - - - - -} - diff --git a/static/homepages/homes/home/pictures/dot1.png b/static/homepages/homes/home/pictures/dot1.png deleted file mode 100644 index 05a92fd..0000000 Binary files a/static/homepages/homes/home/pictures/dot1.png and /dev/null differ diff --git a/static/homepages/homes/home/pictures/dot2.png b/static/homepages/homes/home/pictures/dot2.png deleted file mode 100644 index eec6186..0000000 Binary files a/static/homepages/homes/home/pictures/dot2.png and /dev/null differ diff --git a/static/homepages/homes/home/pictures/dot3.png b/static/homepages/homes/home/pictures/dot3.png deleted file mode 100644 index d31c79f..0000000 Binary files a/static/homepages/homes/home/pictures/dot3.png and /dev/null differ diff --git a/static/homepages/homes/home/pictures/dot4.png b/static/homepages/homes/home/pictures/dot4.png deleted file mode 100644 index ee2f969..0000000 Binary files a/static/homepages/homes/home/pictures/dot4.png and /dev/null differ diff --git a/static/homepages/homes/home/pictures/home_text.png b/static/homepages/homes/home/pictures/home_text.png deleted file mode 100644 index 100232c..0000000 Binary files a/static/homepages/homes/home/pictures/home_text.png and /dev/null differ diff --git a/static/homepages/homes/home/pictures/line.png b/static/homepages/homes/home/pictures/line.png deleted file mode 100644 index 5cfd72e..0000000 Binary files a/static/homepages/homes/home/pictures/line.png and /dev/null differ diff --git a/static/homepages/homes/home/pictures/puppy.png b/static/homepages/homes/home/pictures/puppy.png deleted file mode 100644 index dfe415f..0000000 Binary files a/static/homepages/homes/home/pictures/puppy.png and /dev/null differ diff --git a/static/homepages/homes/home/pictures/read_text.png b/static/homepages/homes/home/pictures/read_text.png deleted file mode 100644 index 06f3c44..0000000 Binary files a/static/homepages/homes/home/pictures/read_text.png and /dev/null differ diff --git a/static/homepages/homes/home/pictures/recipe_area.png b/static/homepages/homes/home/pictures/recipe_area.png deleted file mode 100644 index 9a8ee52..0000000 Binary files a/static/homepages/homes/home/pictures/recipe_area.png and /dev/null differ diff --git a/static/homepages/homes/home/pictures/sport_text.png b/static/homepages/homes/home/pictures/sport_text.png deleted file mode 100644 index f5fae08..0000000 Binary files a/static/homepages/homes/home/pictures/sport_text.png and /dev/null differ diff --git a/static/homepages/homes/home/pictures/swipe_dot.png b/static/homepages/homes/home/pictures/swipe_dot.png deleted file mode 100644 index 65bf747..0000000 Binary files a/static/homepages/homes/home/pictures/swipe_dot.png and /dev/null differ diff --git a/static/homepages/homes/knowledge_dictionary/pictures/background.png b/static/homepages/homes/knowledge_dictionary/pictures/background.png deleted file mode 100644 index f1c8a03..0000000 Binary files a/static/homepages/homes/knowledge_dictionary/pictures/background.png and /dev/null differ diff --git a/static/homepages/homes/knowledge_dictionary/pictures/banana.png b/static/homepages/homes/knowledge_dictionary/pictures/banana.png deleted file mode 100644 index 5dbd8ac..0000000 Binary files a/static/homepages/homes/knowledge_dictionary/pictures/banana.png and /dev/null differ diff --git a/static/homepages/homes/knowledge_dictionary/pictures/carrot.png b/static/homepages/homes/knowledge_dictionary/pictures/carrot.png deleted file mode 100644 index 5c7680d..0000000 Binary files a/static/homepages/homes/knowledge_dictionary/pictures/carrot.png and /dev/null differ diff --git a/static/homepages/homes/knowledge_dictionary/pictures/go_back_button.png b/static/homepages/homes/knowledge_dictionary/pictures/go_back_button.png deleted file mode 100644 index fc62fbf..0000000 Binary files a/static/homepages/homes/knowledge_dictionary/pictures/go_back_button.png and /dev/null differ diff --git a/static/homepages/homes/knowledge_dictionary/pictures/orange.png b/static/homepages/homes/knowledge_dictionary/pictures/orange.png deleted file mode 100644 index e68cd16..0000000 Binary files a/static/homepages/homes/knowledge_dictionary/pictures/orange.png and /dev/null differ diff --git a/static/homepages/homes/knowledge_dictionary/pictures/peach.png b/static/homepages/homes/knowledge_dictionary/pictures/peach.png deleted file mode 100644 index 39ec2c4..0000000 Binary files a/static/homepages/homes/knowledge_dictionary/pictures/peach.png and /dev/null differ diff --git a/static/homepages/homes/knowledge_dictionary/pictures/pineapple.png b/static/homepages/homes/knowledge_dictionary/pictures/pineapple.png deleted file mode 100644 index 2127b71..0000000 Binary files a/static/homepages/homes/knowledge_dictionary/pictures/pineapple.png and /dev/null differ diff --git a/static/homepages/homes/knowledge_dictionary/pictures/search_button.png b/static/homepages/homes/knowledge_dictionary/pictures/search_button.png deleted file mode 100644 index 5c63021..0000000 Binary files a/static/homepages/homes/knowledge_dictionary/pictures/search_button.png and /dev/null differ diff --git a/static/homepages/homes/knowledge_dictionary/pictures/strawberry.png b/static/homepages/homes/knowledge_dictionary/pictures/strawberry.png deleted file mode 100644 index 7d946e1..0000000 Binary files a/static/homepages/homes/knowledge_dictionary/pictures/strawberry.png and /dev/null differ diff --git a/static/homepages/homes/my_recipe_plan/js/database.js b/static/homepages/homes/my_recipe_plan/js/database.js deleted file mode 100644 index d8bfd26..0000000 --- a/static/homepages/homes/my_recipe_plan/js/database.js +++ /dev/null @@ -1,133 +0,0 @@ -export const foodCaloriesDB = { - // 主食类 - '米饭': 116, - '馒头': 223, - '面条': 110, - '包子': 200, - '饺子': 220, - '油条': 389, - '面包': 265, - '粥': 50, - '炒面': 260, - '炒饭': 290, - - // 肉类 - '猪肉': 143, - '牛肉': 106, - '鸡肉': 167, - '鸭肉': 240, - '羊肉': 203, - '鱼肉': 100, - '虾': 85, - '蛋': 155, - - // 蔬菜类 - '西红柿': 20, - '黄瓜': 16, - '胡萝卜': 36, - '白菜': 20, - '菠菜': 23, - '生菜': 15, - '茄子': 24, - '土豆': 81, - '青椒': 20, - - // 水果类 - '苹果': 52, - '香蕉': 89, - '橙子': 47, - '葡萄': 69, - '西瓜': 32, - '梨': 51, - '草莓': 32, - '柚子': 39, - - // 饮品类 - '牛奶': 79, - '豆浆': 31, - '可乐': 42, - '果汁': 54, - '咖啡': 1, - '奶茶': 150, - - // 常见菜品 - '西红柿炒鸡蛋': 100, - '宫保鸡丁': 260, - '鱼香肉丝': 195, - '红烧肉': 425, - '糖醋里脊': 290, - '麻婆豆腐': 174, - '青椒炒肉': 180, - '回锅肉': 327, - '蒜蓉炒菜心': 45, - '炒青菜': 30, - '土豆炖牛肉': 215, - '红烧排骨': 289, - '清炒白菜': 35, - '炸鸡': 260, - '水煮鱼': 180, - '酸菜鱼': 168, - - // 零食类 - '薯片': 536, - '巧克力': 546, - '饼干': 435, - '爆米花': 382, - '坚果': 607, - '冰淇淋': 267, - '蛋糕': 257, - - // 快餐类 - '汉堡': 295, - '披萨': 266, - '炸薯条': 312, - '炸鸡翅': 246, - '热狗': 290 -} - -// 模糊搜索函数 -export const searchFood = (keyword) => { - keyword = keyword.toLowerCase() - const results = [] - - for (const [food, calories] of Object.entries(foodCaloriesDB)) { - if (food.toLowerCase().includes(keyword)) { - results.push({ - name: food, - calories: calories - }) - } - } - - return results -} - -// 获取单个食物的卡路里 -export const getFoodCalories = (foodName) => { - // 直接匹配 - if (foodCaloriesDB[foodName]) { - return foodCaloriesDB[foodName] - } - - // 模糊匹配 - const results = searchFood(foodName) - if (results.length > 0) { - return results[0].calories - } - - return null -} - -// 获取食物分类列表 -export const getFoodCategories = () => { - return { - '主食类': ['米饭', '馒头', '面条', '包子', '饺子', '油条', '面包', '粥'], - '肉类': ['猪肉', '牛肉', '鸡肉', '鸭肉', '羊肉', '鱼肉', '虾', '蛋'], - '蔬菜类': ['西红柿', '黄瓜', '胡萝卜', '白菜', '菠菜', '生菜', '茄子', '土豆', '青椒'], - '水果类': ['苹果', '香蕉', '橙子', '葡萄', '西瓜', '梨', '草莓', '柚子'], - '饮品类': ['牛奶', '豆浆', '可乐', '果汁', '咖啡', '奶茶'], - '常见菜品': ['西红柿炒鸡蛋', '宫保鸡丁', '鱼香肉丝', '红烧肉', '糖醋里脊', '麻婆豆腐'], - '零食类': ['薯片', '巧克力', '饼干', '爆米花', '坚果', '冰淇淋', '蛋糕'], - '快餐类': ['汉堡', '披萨', '炸薯条', '炸鸡翅', '热狗'] - } -} diff --git a/static/homepages/homes/my_recipe_plan/my_recipe_plan.scss b/static/homepages/homes/my_recipe_plan/my_recipe_plan.scss deleted file mode 100644 index 945c9b4..0000000 --- a/static/homepages/homes/my_recipe_plan/my_recipe_plan.scss +++ /dev/null @@ -1 +0,0 @@ -. \ No newline at end of file diff --git a/static/homepages/homes/my_recipe_plan/pictures/button.png b/static/homepages/homes/my_recipe_plan/pictures/button.png deleted file mode 100644 index d404bd4..0000000 Binary files a/static/homepages/homes/my_recipe_plan/pictures/button.png and /dev/null differ diff --git a/static/homepages/homes/my_recipe_plan/pictures/time_line.png b/static/homepages/homes/my_recipe_plan/pictures/time_line.png deleted file mode 100644 index ff531df..0000000 Binary files a/static/homepages/homes/my_recipe_plan/pictures/time_line.png and /dev/null differ diff --git a/static/homepages/puppy_chat/css/puppy_chat.scss b/static/homepages/puppy_chat/css/puppy_chat.scss deleted file mode 100644 index 8747a1b..0000000 --- a/static/homepages/puppy_chat/css/puppy_chat.scss +++ /dev/null @@ -1,111 +0,0 @@ -.background { - position: fixed; - width: 100%; - height: 75%; - top: 4%; - z-index: -3; - -} - -#chat_scroll{ - position: absolute; - width: 100%; - top: 12%; - height: 65vh; - padding: 10px; -} - -.chat { - position: absolute; - width: 100%; - // top: 12%; - height: 100%; - // z-index: -1; - // padding: 10px; - // overflow-y: auto; - // -webkit-overflow-scrolling: touch; - display: flex; - flex-direction: column; /* 消息从上往下显示 */ - -} -.chat_area { - margin-bottom: 10px; - padding: 10px; - max-width: 75%; - word-wrap: break-word; - display: flex; - flex-direction: row; /* 头像和消息水平排列 */ - align-items: center; /* 内容垂直居中 */ -} -.user_message { - /*background-color: #7879F1; */ - color: white; - margin-top: 2%; /* 让用户的消息气泡靠右 */ - margin-right: 5%; /* AI消息靠左 */ - margin-left: auto; /* 让AI的消息气泡靠右 */ - text-align: left; - word-break: break-word; /* 自动换行 */ -} -.ai_message { - /*background-color: #e5e5ea;*/ - color: black; - margin-left: 2%; /* 用户消息靠右 */ - margin-right: auto; /* 让用户的消息气泡靠左 */ - text-align: left; - word-break: break-word; /* 自动换行 */ -} -.avatar_container { - right: 10%; - height: 100%; - padding-top: 30rpx; -} -.ai_avatar_container { - margin-right: 10px; /* AI头像与气泡的间距 */ -} -.user_avatar_container { - margin-left: 10px; /* 用户头像与气泡的间距 */ -} -.ai_avatar, .user_avatar { - right: 5%; - width: 40px; /* 头像的大小 */ - height: 40px; /* 头像的大小 */ - border-radius: 50%; /* 头像圆形 */ -} -.message_content { - max-width: 80%; /* 限制消息气泡的最大宽度 */ -} -.user_message_content{ - background-color: #7879F1; - border-radius: 15px; -} -.ai_message_content{ - background-color: #e5e5ea; - border-radius: 15px; -} -.input_box { - position: fixed; - width: 100%; - height: 9%; - top: 79%; -} -.input_box_background { - position: absolute; - width: 98%; - height: 90%; - left: 1%; - top: 5%; -} -.input_words { - position: absolute; - width: 70%; - height: 80%; - left: 5%; - top: 10%; -} -.send_button { - position: absolute; - width: 12%; - height: 70%; - left: 84%; - top: 15%; -} diff --git a/static/homepages/puppy_chat/pictures/ai_avatar.png b/static/homepages/puppy_chat/pictures/ai_avatar.png deleted file mode 100644 index 851b325..0000000 Binary files a/static/homepages/puppy_chat/pictures/ai_avatar.png and /dev/null differ diff --git a/static/homepages/puppy_chat/pictures/chat_image.png b/static/homepages/puppy_chat/pictures/chat_image.png deleted file mode 100644 index d1a27bc..0000000 Binary files a/static/homepages/puppy_chat/pictures/chat_image.png and /dev/null differ diff --git a/static/homepages/puppy_chat/pictures/input_box_background.png b/static/homepages/puppy_chat/pictures/input_box_background.png deleted file mode 100644 index 8e5828d..0000000 Binary files a/static/homepages/puppy_chat/pictures/input_box_background.png and /dev/null differ diff --git a/static/homepages/puppy_chat/pictures/send_button.png b/static/homepages/puppy_chat/pictures/send_button.png deleted file mode 100644 index e378e15..0000000 Binary files a/static/homepages/puppy_chat/pictures/send_button.png and /dev/null differ diff --git a/static/homepages/puppy_chat/pictures/user_avatar.png b/static/homepages/puppy_chat/pictures/user_avatar.png deleted file mode 100644 index 2b887e4..0000000 Binary files a/static/homepages/puppy_chat/pictures/user_avatar.png and /dev/null differ diff --git a/static/homepages/user/basic_information/back.png b/static/homepages/user/basic_information/back.png deleted file mode 100644 index ac33336..0000000 Binary files a/static/homepages/user/basic_information/back.png and /dev/null differ diff --git a/static/homepages/user/basic_information/but.png b/static/homepages/user/basic_information/but.png deleted file mode 100644 index 1d1793a..0000000 Binary files a/static/homepages/user/basic_information/but.png and /dev/null differ diff --git a/static/homepages/user/basic_information/button.png b/static/homepages/user/basic_information/button.png deleted file mode 100644 index 7ef651c..0000000 Binary files a/static/homepages/user/basic_information/button.png and /dev/null differ diff --git a/static/homepages/user/basic_information/head.png b/static/homepages/user/basic_information/head.png deleted file mode 100644 index 34d2844..0000000 Binary files a/static/homepages/user/basic_information/head.png and /dev/null differ diff --git a/static/homepages/user/basic_information/head_pic.png b/static/homepages/user/basic_information/head_pic.png deleted file mode 100644 index f7a9513..0000000 Binary files a/static/homepages/user/basic_information/head_pic.png and /dev/null differ diff --git a/static/homepages/user/basic_information/img.png b/static/homepages/user/basic_information/img.png deleted file mode 100644 index 32bee67..0000000 Binary files a/static/homepages/user/basic_information/img.png and /dev/null differ diff --git a/static/homepages/user/basic_information/self_back.png b/static/homepages/user/basic_information/self_back.png deleted file mode 100644 index db07d5c..0000000 Binary files a/static/homepages/user/basic_information/self_back.png and /dev/null differ diff --git a/static/homepages/user/basic_information/user_back.png b/static/homepages/user/basic_information/user_back.png deleted file mode 100644 index 60c727c..0000000 Binary files a/static/homepages/user/basic_information/user_back.png and /dev/null differ diff --git a/static/homepages/user/basic_information/user_name.png b/static/homepages/user/basic_information/user_name.png deleted file mode 100644 index b62051b..0000000 Binary files a/static/homepages/user/basic_information/user_name.png and /dev/null differ diff --git a/static/homepages/user/bmi_information/pictures/background.png b/static/homepages/user/bmi_information/pictures/background.png deleted file mode 100644 index 8b941f8..0000000 Binary files a/static/homepages/user/bmi_information/pictures/background.png and /dev/null differ diff --git a/static/homepages/user/bmi_information/pictures/button.png b/static/homepages/user/bmi_information/pictures/button.png deleted file mode 100644 index 19e7e8c..0000000 Binary files a/static/homepages/user/bmi_information/pictures/button.png and /dev/null differ diff --git a/static/homepages/user/bmi_information/pictures/submit_button.png b/static/homepages/user/bmi_information/pictures/submit_button.png deleted file mode 100644 index 2266862..0000000 Binary files a/static/homepages/user/bmi_information/pictures/submit_button.png and /dev/null differ diff --git a/static/homepages/user/bmi_information/pictures/text_background.png b/static/homepages/user/bmi_information/pictures/text_background.png deleted file mode 100644 index 9e8bb3d..0000000 Binary files a/static/homepages/user/bmi_information/pictures/text_background.png and /dev/null differ diff --git a/static/homepages/user/bmi_information/pictures/write.png b/static/homepages/user/bmi_information/pictures/write.png deleted file mode 100644 index 91024aa..0000000 Binary files a/static/homepages/user/bmi_information/pictures/write.png and /dev/null differ diff --git a/static/homepages/user/exercise_plans/pictures/background.png b/static/homepages/user/exercise_plans/pictures/background.png deleted file mode 100644 index f00edde..0000000 Binary files a/static/homepages/user/exercise_plans/pictures/background.png and /dev/null differ diff --git a/static/homepages/user/exercise_plans/pictures/button.png b/static/homepages/user/exercise_plans/pictures/button.png deleted file mode 100644 index 19e7e8c..0000000 Binary files a/static/homepages/user/exercise_plans/pictures/button.png and /dev/null differ diff --git a/static/homepages/user/exercise_plans/pictures/submit_button.png b/static/homepages/user/exercise_plans/pictures/submit_button.png deleted file mode 100644 index 2266862..0000000 Binary files a/static/homepages/user/exercise_plans/pictures/submit_button.png and /dev/null differ diff --git a/static/homepages/user/exercise_plans/pictures/text_background.png b/static/homepages/user/exercise_plans/pictures/text_background.png deleted file mode 100644 index 9e8bb3d..0000000 Binary files a/static/homepages/user/exercise_plans/pictures/text_background.png and /dev/null differ diff --git a/static/homepages/user/exercise_plans/pictures/write.png b/static/homepages/user/exercise_plans/pictures/write.png deleted file mode 100644 index 119487d..0000000 Binary files a/static/homepages/user/exercise_plans/pictures/write.png and /dev/null differ diff --git a/static/homepages/user/user/pictures/ad_button.png b/static/homepages/user/user/pictures/ad_button.png deleted file mode 100644 index 321585c..0000000 Binary files a/static/homepages/user/user/pictures/ad_button.png and /dev/null differ diff --git a/static/homepages/user/user/pictures/background.png b/static/homepages/user/user/pictures/background.png deleted file mode 100644 index 7a6666f..0000000 Binary files a/static/homepages/user/user/pictures/background.png and /dev/null differ diff --git a/static/homepages/user/user/pictures/bmi_button.png b/static/homepages/user/user/pictures/bmi_button.png deleted file mode 100644 index 08c3061..0000000 Binary files a/static/homepages/user/user/pictures/bmi_button.png and /dev/null differ diff --git a/static/homepages/user/user/pictures/button.png b/static/homepages/user/user/pictures/button.png deleted file mode 100644 index 472ab5d..0000000 Binary files a/static/homepages/user/user/pictures/button.png and /dev/null differ diff --git a/static/homepages/user/user/pictures/eat_button.png b/static/homepages/user/user/pictures/eat_button.png deleted file mode 100644 index 58d4439..0000000 Binary files a/static/homepages/user/user/pictures/eat_button.png and /dev/null differ diff --git a/static/homepages/user/user/pictures/female.png b/static/homepages/user/user/pictures/female.png deleted file mode 100644 index ffd4fc0..0000000 Binary files a/static/homepages/user/user/pictures/female.png and /dev/null differ diff --git a/static/homepages/user/user/pictures/head_button.png b/static/homepages/user/user/pictures/head_button.png deleted file mode 100644 index 8dae942..0000000 Binary files a/static/homepages/user/user/pictures/head_button.png and /dev/null differ diff --git a/static/homepages/user/user/pictures/head_pic.png b/static/homepages/user/user/pictures/head_pic.png deleted file mode 100644 index e154b5e..0000000 Binary files a/static/homepages/user/user/pictures/head_pic.png and /dev/null differ diff --git a/static/homepages/user/user/pictures/male.png b/static/homepages/user/user/pictures/male.png deleted file mode 100644 index 9f3be1c..0000000 Binary files a/static/homepages/user/user/pictures/male.png and /dev/null differ diff --git a/static/homepages/user/user/pictures/pie.png b/static/homepages/user/user/pictures/pie.png deleted file mode 100644 index ec55b3f..0000000 Binary files a/static/homepages/user/user/pictures/pie.png and /dev/null differ diff --git a/static/homepages/user/user/pictures/point.png b/static/homepages/user/user/pictures/point.png deleted file mode 100644 index 737e30d..0000000 Binary files a/static/homepages/user/user/pictures/point.png and /dev/null differ diff --git a/static/information/boy_height/pictures/bkg_roll.png b/static/information/boy_height/pictures/bkg_roll.png deleted file mode 100644 index 7be6d5c..0000000 Binary files a/static/information/boy_height/pictures/bkg_roll.png and /dev/null differ diff --git a/static/information/boy_height/pictures/button.png b/static/information/boy_height/pictures/button.png deleted file mode 100644 index 6b4feba..0000000 Binary files a/static/information/boy_height/pictures/button.png and /dev/null differ diff --git a/static/information/boy_height/pictures/button2.png b/static/information/boy_height/pictures/button2.png deleted file mode 100644 index 3cbdbd9..0000000 Binary files a/static/information/boy_height/pictures/button2.png and /dev/null differ diff --git a/static/information/boy_height/pictures/human.png b/static/information/boy_height/pictures/human.png deleted file mode 100644 index 71a02e4..0000000 Binary files a/static/information/boy_height/pictures/human.png and /dev/null differ diff --git a/static/information/boy_height/pictures/img.png b/static/information/boy_height/pictures/img.png deleted file mode 100644 index 32bee67..0000000 Binary files a/static/information/boy_height/pictures/img.png and /dev/null differ diff --git a/static/information/boy_height/pictures/progress.png b/static/information/boy_height/pictures/progress.png deleted file mode 100644 index 5bcd3d9..0000000 Binary files a/static/information/boy_height/pictures/progress.png and /dev/null differ diff --git a/static/information/boy_height/pictures/roll.png b/static/information/boy_height/pictures/roll.png deleted file mode 100644 index 253e4fd..0000000 Binary files a/static/information/boy_height/pictures/roll.png and /dev/null differ diff --git a/static/information/boy_weight/css/boy_weight_end.scss b/static/information/boy_weight/css/boy_weight_end.scss deleted file mode 100644 index b7da157..0000000 --- a/static/information/boy_weight/css/boy_weight_end.scss +++ /dev/null @@ -1,60 +0,0 @@ - -.background { - background-image: url("/static/information/boy_weight/pictures/img.png"); - background-size: cover; - background-position: center; - height: 100vh; - display: flex; - align-items: center; - justify-content: center; - overflow: hidden; - position: relative; -} - -/* Human 动画,从页面中部向上移动 */ -.human { - position: absolute; - width: 100%; - height: 90%; - top:-10%; - object-fit: contain; /* 保持图片比例 */ -} - -.progress{ - position: absolute; - width: 77%; - height: 7%; - object-fit: contain; /* 保持图片比例 */ - opacity: 1; - top: 2%; /* 根据需要调整位置 */ -} - -/* Text 延迟显示 */ -.roll { - position: absolute; - width: 77%; - height: 20%; - object-fit: contain; /* 保持图片比例 */ - opacity: 1; - top: 55%; /* 根据需要调整位置 */ -} - -/* Button 延迟显示并加缩放特效,放在下方 */ -.button { - position: absolute; - height: 13%; - width: 80%; - opacity: 1; - right: 10%; /* 距右边 10% */ - bottom: 2%; /* 距底部 3.5% */ -} - -.text{ - position: absolute; - text-align: center; - font-size: 1.5em; - width: 100%; - height: 20%; - top: 69%; - color:#ffffff; -} \ No newline at end of file diff --git a/static/information/boy_weight/pictures/bkg_roll.png b/static/information/boy_weight/pictures/bkg_roll.png deleted file mode 100644 index ac1e774..0000000 Binary files a/static/information/boy_weight/pictures/bkg_roll.png and /dev/null differ diff --git a/static/information/boy_weight/pictures/button.png b/static/information/boy_weight/pictures/button.png deleted file mode 100644 index 6b4feba..0000000 Binary files a/static/information/boy_weight/pictures/button.png and /dev/null differ diff --git a/static/information/boy_weight/pictures/button2.png b/static/information/boy_weight/pictures/button2.png deleted file mode 100644 index 3cbdbd9..0000000 Binary files a/static/information/boy_weight/pictures/button2.png and /dev/null differ diff --git a/static/information/boy_weight/pictures/human.png b/static/information/boy_weight/pictures/human.png deleted file mode 100644 index 81c2157..0000000 Binary files a/static/information/boy_weight/pictures/human.png and /dev/null differ diff --git a/static/information/boy_weight/pictures/img.png b/static/information/boy_weight/pictures/img.png deleted file mode 100644 index 32bee67..0000000 Binary files a/static/information/boy_weight/pictures/img.png and /dev/null differ diff --git a/static/information/boy_weight/pictures/progress.png b/static/information/boy_weight/pictures/progress.png deleted file mode 100644 index a977853..0000000 Binary files a/static/information/boy_weight/pictures/progress.png and /dev/null differ diff --git a/static/information/boy_weight/pictures/roll.png b/static/information/boy_weight/pictures/roll.png deleted file mode 100644 index fd78ade..0000000 Binary files a/static/information/boy_weight/pictures/roll.png and /dev/null differ diff --git a/static/information/girl_height/css/girl_height_end.scss b/static/information/girl_height/css/girl_height_end.scss deleted file mode 100644 index 93b38ea..0000000 --- a/static/information/girl_height/css/girl_height_end.scss +++ /dev/null @@ -1,59 +0,0 @@ -.background { - background-image: url("/static/information/girl_height/pictures/img.png"); - background-size: cover; - background-position: center; - height: 100vh; - display: flex; - align-items: center; - justify-content: center; - overflow: hidden; - position: relative; -} - - -.human { - position: absolute; - width: 100%; - height: 90%; - top:-10%; - object-fit: contain; /* 保持图片比例 */ -} - -.progress{ - position: absolute; - width: 77%; - height: 7%; - object-fit: contain; /* 保持图片比例 */ - opacity: 1; - top: 2%; /* 根据需要调整位置 */ -} - -/* Text 延迟显示 */ -.roll { - position: absolute; - width: 77%; - height: 20%; - object-fit: contain; /* 保持图片比例 */ - opacity: 1; - top: 55%; /* 根据需要调整位置 */ -} - -/* Button 延迟显示并加缩放特效,放在下方 */ -.button { - position: absolute; - height: 13%; - width: 80%; - opacity: 1; - right: 10%; /* 距右边 10% */ - bottom: 2%; /* 距底部 3.5% */ -} - -.text{ - position: absolute; - text-align: center; - font-size: 1.5em; - width: 100%; - height: 20%; - top: 69%; - color:#ffffff; -} \ No newline at end of file diff --git a/static/information/girl_height/css/girl_height_start.scss b/static/information/girl_height/css/girl_height_start.scss deleted file mode 100644 index 8edb8b2..0000000 --- a/static/information/girl_height/css/girl_height_start.scss +++ /dev/null @@ -1,99 +0,0 @@ -.background { - background-image: url("/static/information/girl_height/pictures/img.png"); - background-size: cover; - background-position: center; - height: 100vh; - display: flex; - align-items: center; - justify-content: center; - overflow: hidden; - position: relative; -} - -/* Human 动画,从页面中部向上移动 */ -.human { - position: absolute; - width: 100%; - height: 90%; - top:10%; - object-fit: contain; /* 保持图片比例 */ - animation: moveUp 2s ease forwards; - top: 30%; /* 起始位置 */ - transform: translateY(-50%); /* 垂直居中 */ -} - -.progress{ - position: absolute; - width: 77%; - height: 7%; - object-fit: contain; /* 保持图片比例 */ - animation: fadeIn 1s ease 2s forwards; /* 2秒后显示 */ - opacity: 0; - top: 2%; /* 根据需要调整位置 */ -} - -/* Text 延迟显示 */ -.roll { - position: absolute; - width: 77%; - height: 20%; - object-fit: contain; /* 保持图片比例 */ - animation: fadeIn 1s ease 2s forwards; /* 2秒后显示 */ - opacity: 0; - top: 55%; /* 根据需要调整位置 */ -} - -/* Button 延迟显示并加缩放特效,放在下方 */ -.button { - position: absolute; - height: 13%; - width: 80%; - animation: fadeInScale 1s ease 2.5s forwards; /* 2.5秒后显示并缩放 */ - opacity: 0; - right: 10%; /* 距右边 10% */ - bottom: 2%; /* 距底部 3.5% */ -} - -.text{ - position: absolute; - font-size: 1.5em; - text-align: center; - width: 100%; - height: 20%; - top: 69%; - animation: fadeIn 1s ease 2s forwards; /* 2秒后显示 */ - opacity: 0; - color:#ffffff; -} - -/* 定义 human 上移动画 */ -@keyframes moveUp { - from { - top: 55%; - } - to { - top: 35%; - } -} - -/* Text 和 Button 的渐入动画 */ -@keyframes fadeIn { - from { - opacity: 0; - } - to { - opacity: 1; - } -} - -/* Button 的缩放渐入动画 */ -@keyframes fadeInScale { - from { - opacity: 0; - transform: scale(0.8); - } - to { - opacity: 1; - transform: scale(1); - } -} \ No newline at end of file diff --git a/static/information/girl_height/pictures/bkg_roll.png b/static/information/girl_height/pictures/bkg_roll.png deleted file mode 100644 index 7be6d5c..0000000 Binary files a/static/information/girl_height/pictures/bkg_roll.png and /dev/null differ diff --git a/static/information/girl_height/pictures/button.png b/static/information/girl_height/pictures/button.png deleted file mode 100644 index 72d3cb0..0000000 Binary files a/static/information/girl_height/pictures/button.png and /dev/null differ diff --git a/static/information/girl_height/pictures/button2.png b/static/information/girl_height/pictures/button2.png deleted file mode 100644 index 3cbdbd9..0000000 Binary files a/static/information/girl_height/pictures/button2.png and /dev/null differ diff --git a/static/information/girl_height/pictures/human.png b/static/information/girl_height/pictures/human.png deleted file mode 100644 index c0447d2..0000000 Binary files a/static/information/girl_height/pictures/human.png and /dev/null differ diff --git a/static/information/girl_height/pictures/img.png b/static/information/girl_height/pictures/img.png deleted file mode 100644 index 32bee67..0000000 Binary files a/static/information/girl_height/pictures/img.png and /dev/null differ diff --git a/static/information/girl_height/pictures/progress.png b/static/information/girl_height/pictures/progress.png deleted file mode 100644 index 5bcd3d9..0000000 Binary files a/static/information/girl_height/pictures/progress.png and /dev/null differ diff --git a/static/information/girl_height/pictures/roll.png b/static/information/girl_height/pictures/roll.png deleted file mode 100644 index 3a429ed..0000000 Binary files a/static/information/girl_height/pictures/roll.png and /dev/null differ diff --git a/static/information/girl_weight/pictures/bkg_roll.png b/static/information/girl_weight/pictures/bkg_roll.png deleted file mode 100644 index cc5f7a5..0000000 Binary files a/static/information/girl_weight/pictures/bkg_roll.png and /dev/null differ diff --git a/static/information/girl_weight/pictures/button.png b/static/information/girl_weight/pictures/button.png deleted file mode 100644 index cb196c4..0000000 Binary files a/static/information/girl_weight/pictures/button.png and /dev/null differ diff --git a/static/information/girl_weight/pictures/button_roll.png b/static/information/girl_weight/pictures/button_roll.png deleted file mode 100644 index 85257ce..0000000 Binary files a/static/information/girl_weight/pictures/button_roll.png and /dev/null differ diff --git a/static/information/girl_weight/pictures/human.png b/static/information/girl_weight/pictures/human.png deleted file mode 100644 index 7f91660..0000000 Binary files a/static/information/girl_weight/pictures/human.png and /dev/null differ diff --git a/static/information/girl_weight/pictures/img.png b/static/information/girl_weight/pictures/img.png deleted file mode 100644 index 32bee67..0000000 Binary files a/static/information/girl_weight/pictures/img.png and /dev/null differ diff --git a/static/information/girl_weight/pictures/progress.png b/static/information/girl_weight/pictures/progress.png deleted file mode 100644 index f07a6b1..0000000 Binary files a/static/information/girl_weight/pictures/progress.png and /dev/null differ diff --git a/static/information/girl_weight/pictures/roll.png b/static/information/girl_weight/pictures/roll.png deleted file mode 100644 index d9a3a56..0000000 Binary files a/static/information/girl_weight/pictures/roll.png and /dev/null differ diff --git a/static/information/purpose/pictures/background.png b/static/information/purpose/pictures/background.png deleted file mode 100644 index e5b63a9..0000000 Binary files a/static/information/purpose/pictures/background.png and /dev/null differ diff --git a/static/information/purpose/pictures/button.png b/static/information/purpose/pictures/button.png deleted file mode 100644 index 6f52f38..0000000 Binary files a/static/information/purpose/pictures/button.png and /dev/null differ diff --git a/static/information/purpose/pictures/dot1.png b/static/information/purpose/pictures/dot1.png deleted file mode 100644 index b3b6c2d..0000000 Binary files a/static/information/purpose/pictures/dot1.png and /dev/null differ diff --git a/static/information/purpose/pictures/dot2.png b/static/information/purpose/pictures/dot2.png deleted file mode 100644 index d4de8a7..0000000 Binary files a/static/information/purpose/pictures/dot2.png and /dev/null differ diff --git a/static/information/purpose/pictures/dot3.png b/static/information/purpose/pictures/dot3.png deleted file mode 100644 index 8b8af32..0000000 Binary files a/static/information/purpose/pictures/dot3.png and /dev/null differ diff --git a/static/information/purpose/pictures/dot4.png b/static/information/purpose/pictures/dot4.png deleted file mode 100644 index 5afd54e..0000000 Binary files a/static/information/purpose/pictures/dot4.png and /dev/null differ diff --git a/static/information/purpose/pictures/dot5.png b/static/information/purpose/pictures/dot5.png deleted file mode 100644 index 5e78c76..0000000 Binary files a/static/information/purpose/pictures/dot5.png and /dev/null differ diff --git a/static/information/purpose/pictures/picture1.png b/static/information/purpose/pictures/picture1.png deleted file mode 100644 index 6e21bd1..0000000 Binary files a/static/information/purpose/pictures/picture1.png and /dev/null differ diff --git a/static/information/purpose/pictures/picture2.png b/static/information/purpose/pictures/picture2.png deleted file mode 100644 index a15233a..0000000 Binary files a/static/information/purpose/pictures/picture2.png and /dev/null differ diff --git a/static/information/purpose/pictures/picture3.png b/static/information/purpose/pictures/picture3.png deleted file mode 100644 index 0accbae..0000000 Binary files a/static/information/purpose/pictures/picture3.png and /dev/null differ diff --git a/static/information/purpose/pictures/picture4.png b/static/information/purpose/pictures/picture4.png deleted file mode 100644 index 133f468..0000000 Binary files a/static/information/purpose/pictures/picture4.png and /dev/null differ diff --git a/static/information/purpose/pictures/picture5.png b/static/information/purpose/pictures/picture5.png deleted file mode 100644 index ba7eeed..0000000 Binary files a/static/information/purpose/pictures/picture5.png and /dev/null differ diff --git a/static/information/sex/css/sex.css b/static/information/sex/css/sex.css deleted file mode 100644 index 67b1005..0000000 --- a/static/information/sex/css/sex.css +++ /dev/null @@ -1,82 +0,0 @@ - -.background { - background-image: url("/static/information/sex/pictures/background.png"); - background-size: cover; - background-position: center; - height: 100vh; - display: flex; - flex-direction: column; /* 纵向排列 */ - align-items: center; /* 水平居中 */ - justify-content: flex-end; /* 使内容向底部对齐 */ - position: relative; /* 为绝对定位子元素提供相对定位的上下文 */ -} - -.boy_image { - position: absolute; /* 绝对定位 */ - width: 30%; - height: 16%; - bottom: 33%; /* 距离底部 20% 的位置 */ - left: 10%; /* 水平居中 */ -} - -.girl_image { - position: absolute; /* 绝对定位 */ - width: 30%; - height: 16%; - bottom: 33%; /* 距离底部 20% 的位置 */ - right: 10%; /* 水平居中 */ -} - -.button { - position: absolute; /* 绝对定位 */ - width: 90%; - height: 12%; - bottom: 2%; /* 距离底部 20% 的位置 */ - left: 50%; /* 水平居中 */ - transform: translateX(-50%); /* 通过 translateX 使其居中 */ -} - - -.boy_image, -.girl_image { - transition: transform 0.3s ease; /* 设置过渡效果 */ -} - -.boy_image:hover, -.girl_image:hover { - transform: scale(1.1); /* 鼠标悬浮时放大 */ -} -.human{ - height: 30%; - width: 80%; - bottom: 55%; - - - - -} -@keyframes slideInLeft { - from { - transform: translateX(-100%); - } - to { - transform: translateX(0); - } -} - -@keyframes slideInRight { - from { - transform: translateX(100%); - } - to { - transform: translateX(0); - } -} - -.slide-in-left { - animation: slideInLeft 0.5s ease forwards; -} - -.slide-in-right { - animation: slideInRight 0.5s ease forwards; -} diff --git a/static/information/sex/pictures/background.png b/static/information/sex/pictures/background.png deleted file mode 100644 index 61767a9..0000000 Binary files a/static/information/sex/pictures/background.png and /dev/null differ diff --git a/static/information/sex/pictures/boy.png b/static/information/sex/pictures/boy.png deleted file mode 100644 index 6c673a5..0000000 Binary files a/static/information/sex/pictures/boy.png and /dev/null differ diff --git a/static/information/sex/pictures/button.png b/static/information/sex/pictures/button.png deleted file mode 100644 index 72d3cb0..0000000 Binary files a/static/information/sex/pictures/button.png and /dev/null differ diff --git a/static/information/sex/pictures/girl.png b/static/information/sex/pictures/girl.png deleted file mode 100644 index b38e310..0000000 Binary files a/static/information/sex/pictures/girl.png and /dev/null differ diff --git a/static/information/sex/pictures/human.png b/static/information/sex/pictures/human.png deleted file mode 100644 index 65e9e97..0000000 Binary files a/static/information/sex/pictures/human.png and /dev/null differ diff --git a/static/information/sex/pictures/shift_boy.png b/static/information/sex/pictures/shift_boy.png deleted file mode 100644 index f87ed18..0000000 Binary files a/static/information/sex/pictures/shift_boy.png and /dev/null differ diff --git a/static/information/sex/pictures/shift_girl.png b/static/information/sex/pictures/shift_girl.png deleted file mode 100644 index 91863ca..0000000 Binary files a/static/information/sex/pictures/shift_girl.png and /dev/null differ diff --git a/static/login/account_login/background.png b/static/login/account_login/background.png deleted file mode 100644 index 19903d8..0000000 Binary files a/static/login/account_login/background.png and /dev/null differ diff --git a/static/login/account_login/css/acccount_login.scss b/static/login/account_login/css/acccount_login.scss deleted file mode 100644 index e986918..0000000 --- a/static/login/account_login/css/acccount_login.scss +++ /dev/null @@ -1,221 +0,0 @@ -.background{ - background-image: url("@/static/login/account_login/background.png"); - background-size: cover; - background-position: center; - height: 100vh; - width: auto; - display: flex; - flex-direction: column; - justify-content: center; - align-items: center; - position: relative; - object-fit: contain; - .welcome{ - position: absolute; - width: 62%; - height: 19%; - top: 20%; - object-fit: contain; - } - .login_part{ - /* 登录 */ - position: absolute; - width: 76%; - height: 30%; - top: 41%; - .login_ways{ - position: absolute; - width: 58%; - height: 8.1%; - display: flex; - .account_words{ - height: 90%; - margin-right: 5%; - padding-bottom: 0.5rem; - border-bottom: 1rem solid #094ABC; - font-family: 'PingFang SC'; - font-style: normal; - font-weight: 400; - font-size: 1rem; - text-align: center; - color: #000364; - } - .captcha_words{ - height: 90%; - padding-bottom: 0.5rem; - margin-left: 3%; - font-family: 'PingFang SC'; - font-style: normal; - font-weight: 400; - font-size: 1rem; - text-align: center; - color: #000364; - } - } - .login_form{ - position: absolute; - width: 97.8%; - height: 73.1%; - top: 20%; - .form_input{ - position: absolute; - width: 100%; - height: 100%; - .login_form_item{ - height: auto; - margin-bottom: 5%; - .form_input_box{ - padding-left: 3%; - padding-right: 3%; - background-color: #D5E9FF; - border-radius: 12px; - } - .error_tip{ - margin-top: 0.6vh; - padding-left: 3%; - font-size: 0.8rem; - color: #FF1E1E; - } - } - .account_box{ - display: flex; - flex-direction: column; - .account{ - height: 5.5vh; - padding-left: 11%; - background-image: url("@/static/login/account_login/login_part/phone_icon.png"); - background-repeat: no-repeat; - background-size: 0.8rem; - background-position: 3% 50%; - background-color: #D5E9FF; - font-size: 0.8rem; - } - } - .passage_box{ - display: flex; - flex-direction: column; - .passage_input_box{ - display: flex; - align-items: center; - background-color: #D5E9FF; - border-radius: 12px; - position: relative; - .passage{ - height: 5.5vh; - padding-left: 11%; - background-image: url("@/static/login/account_login/login_part/lock_icon.png"); - background-repeat: no-repeat; - background-size: 0.8rem; - background-position: 4.7% 50%; - font-size: 0.8rem; - } - .eyes{ - width: 1rem; - height: 1rem; - position: absolute; - right: 13%; - } - } - } - .captcha_box{ - display: flex; - flex-direction: column; - .captcha_input_box{ - display: flex; - align-items: center; - padding-left: 3%; - background-color: #D5E9FF; - border-radius: 12px; - position: relative; - .captcha{ - height: 5.5vh; - padding-left: 11%; - background-image: url("@/static/login/account_login/login_part/captcha_icon.png"); - background-repeat: no-repeat; - background-size: 0.8rem; - background-position: 4.5% 50%; - font-size: 0.8rem; - } - .captcha_button{ - /* 发送验证码 */ - width: 5.5rem; - height: 1.9rem; - border-radius: 15px; - font-size: 0.8rem; - color: #000364; - position: absolute; - right: 5%; - } - } - } - .forget_passage{ - margin-bottom: 0.4rem; - margin-top: 1.2rem; - text-align: right; - color: #000364; - font-family: 'PingFang SC'; - font-style: normal; - font-weight: 24rems; - font-size: 0.8rem; - // line-height: 24px; - } - .login_button{ - display: flex; - align-items: center; - justify-content: center; - height: 5.5vh; - border-radius: 12px; - background-color: #4A69F7; - color: #FFFCFC; - text-align: center; - font-size: 1.2rem; - } - } - } - } - .goto_register{ - position: absolute; - width: 14%; - height: 2%; - top: 78%; - left: 43%; - object-fit: contain; - } - .otherways_part{ - position: absolute; - width: 59%; - height: 10.9%; - top: 82%; - .otherways_tips{ - position: absolute; - width: 98.6%; - height: 24%; - top: 0%; - } - .two_ways{ - /* 图标 */ - position: absolute; - width: 46.9%; - height: 50%; - left: 26.6%; - top: 35%; - display: flex; - justify-content: center; - align-items: center; - .qq_icon{ - /* qq图标 */ - position: absolute; - width: 2.6rem; - height: 2.6rem; - left: 0%; - } - .weixin_icon{ - /* 微信图标 */ - position: absolute; - width: 2.2rem; - height: 2.2rem; - left: 50%; - } - } - } -} \ No newline at end of file diff --git a/static/login/account_login/login_part/account_line.png b/static/login/account_login/login_part/account_line.png deleted file mode 100644 index 614c08c..0000000 Binary files a/static/login/account_login/login_part/account_line.png and /dev/null differ diff --git a/static/login/account_login/login_part/captcha_icon.png b/static/login/account_login/login_part/captcha_icon.png deleted file mode 100644 index d0c16f3..0000000 Binary files a/static/login/account_login/login_part/captcha_icon.png and /dev/null differ diff --git a/static/login/account_login/login_part/closedeyes.png b/static/login/account_login/login_part/closedeyes.png deleted file mode 100644 index 73ca339..0000000 Binary files a/static/login/account_login/login_part/closedeyes.png and /dev/null differ diff --git a/static/login/account_login/login_part/lock_icon.png b/static/login/account_login/login_part/lock_icon.png deleted file mode 100644 index 5999bc3..0000000 Binary files a/static/login/account_login/login_part/lock_icon.png and /dev/null differ diff --git a/static/login/account_login/login_part/openedeyes.png b/static/login/account_login/login_part/openedeyes.png deleted file mode 100644 index 6582f62..0000000 Binary files a/static/login/account_login/login_part/openedeyes.png and /dev/null differ diff --git a/static/login/account_login/login_part/phone_icon.png b/static/login/account_login/login_part/phone_icon.png deleted file mode 100644 index 8a6a7ce..0000000 Binary files a/static/login/account_login/login_part/phone_icon.png and /dev/null differ diff --git a/static/login/account_login/other_ways.png b/static/login/account_login/other_ways.png deleted file mode 100644 index 9e85a42..0000000 Binary files a/static/login/account_login/other_ways.png and /dev/null differ diff --git a/static/login/account_login/qq_icon.png b/static/login/account_login/qq_icon.png deleted file mode 100644 index 0769e77..0000000 Binary files a/static/login/account_login/qq_icon.png and /dev/null differ diff --git a/static/login/account_login/register.png b/static/login/account_login/register.png deleted file mode 100644 index 093bbbf..0000000 Binary files a/static/login/account_login/register.png and /dev/null differ diff --git a/static/login/account_login/weixin_icon.png b/static/login/account_login/weixin_icon.png deleted file mode 100644 index cf289d5..0000000 Binary files a/static/login/account_login/weixin_icon.png and /dev/null differ diff --git a/static/login/account_login/welcome.png b/static/login/account_login/welcome.png deleted file mode 100644 index 931b57a..0000000 Binary files a/static/login/account_login/welcome.png and /dev/null differ diff --git a/static/login/change_password/css/change_password.scss b/static/login/change_password/css/change_password.scss deleted file mode 100644 index 63db798..0000000 --- a/static/login/change_password/css/change_password.scss +++ /dev/null @@ -1,97 +0,0 @@ -.change_password_box{ - background-image: url("@/static/login/change_password/pictures/background.png"); - background-size: cover; - background-position: center; - height: 100vh; - width: auto; - display: flex; - flex-direction: column; - justify-content: center; - align-items: center; - position: relative; - object-fit: contain; - // 返回图标 - .return_image{ - position: absolute; - left: 16.5%; - right: 80.1%; - top: 8.62%; - bottom: 89.09%; - width: 0.8rem; - height: auto; - object-fit: contain; - } - //修改密码文字 - .change_passage_words{ - position: absolute; - left: 12.4%; - top: 30.8%; - font-family: 'PingFang SC'; - font-size: 1.4rem; - color: #000364; - } - //修改密码表单 - .change_password_form{ - position: absolute; - width: 74.5%; - height: 33.6%; - top: 40%; - //每个表单项 - .change_password_form_item{ - height: auto; - margin-bottom: 5%; - .form_input_box{ - padding-left: 3%; - padding-right: 3%; - background-color: #D5E9FF; - border-radius: 12px; - } - .error_tip{ - margin-top: 0.6vh; - padding-left: 3%; - font-size: 0.8rem; - color: #FF1E1E; - } - } - //密码输入盒子;确认密码盒子 - .passage_box{ - display: flex; - flex-direction: column; - .passage_input_box{ - display: flex; - align-items: center; - background-color: #D5E9FF; - border-radius: 12px; - position: relative; - .passage{ - height: 5.5vh; - padding-left: 11%; - background-image: url("@/static/login/change_password/pictures/lock_icon.png"); - background-repeat: no-repeat; - background-size: 0.8rem; - background-position: 4.7% 50%; - font-size: 0.8rem; - } - .eyes{ - width: 1rem; - height: 1rem; - position: absolute; - right: 13%; - } - } - } - //确认修改按钮 - .ensure_button{ - display: flex; - align-items: center; - justify-content: center; - margin-top: 8%; - height: 5.5vh; - border-radius: 12px; - background-color: #4A69F7; - color: #FFFCFC; - text-align: center; - font-size: 1.2rem; - } - } -} \ No newline at end of file diff --git a/static/login/change_password/pictures/background.png b/static/login/change_password/pictures/background.png deleted file mode 100644 index 19903d8..0000000 Binary files a/static/login/change_password/pictures/background.png and /dev/null differ diff --git a/static/login/change_password/pictures/closedeyes.png b/static/login/change_password/pictures/closedeyes.png deleted file mode 100644 index 73ca339..0000000 Binary files a/static/login/change_password/pictures/closedeyes.png and /dev/null differ diff --git a/static/login/change_password/pictures/lock_icon.png b/static/login/change_password/pictures/lock_icon.png deleted file mode 100644 index 5999bc3..0000000 Binary files a/static/login/change_password/pictures/lock_icon.png and /dev/null differ diff --git a/static/login/change_password/pictures/openedeyes.png b/static/login/change_password/pictures/openedeyes.png deleted file mode 100644 index 6582f62..0000000 Binary files a/static/login/change_password/pictures/openedeyes.png and /dev/null differ diff --git a/static/login/change_password/pictures/return_icon.png b/static/login/change_password/pictures/return_icon.png deleted file mode 100644 index c3c6044..0000000 Binary files a/static/login/change_password/pictures/return_icon.png and /dev/null differ diff --git a/static/login/forget_password/pictures/background.png b/static/login/forget_password/pictures/background.png deleted file mode 100644 index 19903d8..0000000 Binary files a/static/login/forget_password/pictures/background.png and /dev/null differ diff --git a/static/login/forget_password/pictures/captcha_icon.png b/static/login/forget_password/pictures/captcha_icon.png deleted file mode 100644 index d0c16f3..0000000 Binary files a/static/login/forget_password/pictures/captcha_icon.png and /dev/null differ diff --git a/static/login/forget_password/pictures/phone_icon.png b/static/login/forget_password/pictures/phone_icon.png deleted file mode 100644 index 8a6a7ce..0000000 Binary files a/static/login/forget_password/pictures/phone_icon.png and /dev/null differ diff --git a/static/login/forget_password/pictures/return_icon.png b/static/login/forget_password/pictures/return_icon.png deleted file mode 100644 index c3c6044..0000000 Binary files a/static/login/forget_password/pictures/return_icon.png and /dev/null differ diff --git a/static/login/phone_login/pictures/img.png b/static/login/phone_login/pictures/img.png deleted file mode 100644 index 32bee67..0000000 Binary files a/static/login/phone_login/pictures/img.png and /dev/null differ diff --git a/static/login/register/css/register.scss b/static/login/register/css/register.scss deleted file mode 100644 index edb86b9..0000000 --- a/static/login/register/css/register.scss +++ /dev/null @@ -1,153 +0,0 @@ -.register_box{ - background-image: url("@/static/login/register/pictures/background.png"); - background-size: cover; - background-position: center; - height: 100vh; - width: auto; - display: flex; - flex-direction: column; - justify-content: center; - align-items: center; - position: relative; - object-fit: contain; - // 返回图标 - .return_image{ - position: absolute; - left: 16.5%; - right: 80.1%; - top: 8.62%; - bottom: 89.09%; - width: 0.8rem; - height: auto; - object-fit: contain; - } - //欢迎文字 - .welcom_words{ - position: absolute; - left: 12.4%; - top: 30.8%; - font-family: 'PingFang SC'; - font-size: 1.4rem; - color: #000364; - } - //软件名称 - .soft_name{ - position: absolute; - left: 12.4%; - top: 34.5%; - font-family: 'PingFang SC'; - font-size: 1rem; - color: #000364; - } - //注册表单 - .register_form{ - position: absolute; - width: 74.5%; - height: 33.6%; - top: 40%; - //每个表单项 - .register_form_item{ - height: auto; - margin-bottom: 5%; - .form_input_box{ - padding-left: 3%; - padding-right: 3%; - background-color: #D5E9FF; - border-radius: 12px; - } - .error_tip{ - margin-top: 0.6vh; - padding-left: 3%; - font-size: 0.8rem; - color: #FF1E1E; - } - } - //手机号盒子 - .phone_number_box{ - display: flex; - flex-direction: column; - .phone_number{ - height: 5.5vh; - padding-left: 11%; - background-image: url("@/static/login/register/pictures/phone_icon.png"); - background-repeat: no-repeat; - background-size: 0.8rem; - background-position: 3% 50%; - background-color: #D5E9FF; - font-size: 0.8rem; - } - } - // 验证码盒子 - .captcha_box{ - display: flex; - flex-direction: column; - .captcha_input_box{ - display: flex; - align-items: center; - padding-left: 3%; - background-color: #D5E9FF; - border-radius: 12px; - position: relative; - .captcha{ - height: 5.5vh; - padding-left: 11%; - background-image: url("@/static/login/register/pictures/captcha_icon.png"); - background-repeat: no-repeat; - background-size: 0.8rem; - background-position: 4.5% 50%; - font-size: 0.8rem; - } - .captcha_button{ - /* 发送验证码 */ - width: 5.5rem; - height: 1.9rem; - border-radius: 15px; - font-size: 0.8rem; - color: #000364; - position: absolute; - right: 5%; - } - } - } - //密码输入盒子;确认密码盒子 - .passage_box{ - display: flex; - flex-direction: column; - .passage_input_box{ - display: flex; - align-items: center; - background-color: #D5E9FF; - border-radius: 12px; - position: relative; - .passage{ - height: 5.5vh; - padding-left: 11%; - background-image: url("@/static/login/register/pictures/lock_icon.png"); - background-repeat: no-repeat; - background-size: 0.8rem; - background-position: 4.7% 50%; - font-size: 0.8rem; - } - .eyes{ - width: 1rem; - height: 1rem; - position: absolute; - right: 13%; - } - } - } - //注册按钮 - .register_button{ - display: flex; - align-items: center; - justify-content: center; - margin-top: 8%; - height: 5.5vh; - border-radius: 12px; - background-color: #4A69F7; - color: #FFFCFC; - text-align: center; - font-size: 1.2rem; - } - } -} diff --git a/static/login/register/pictures/background.png b/static/login/register/pictures/background.png deleted file mode 100644 index 19903d8..0000000 Binary files a/static/login/register/pictures/background.png and /dev/null differ diff --git a/static/login/register/pictures/captcha_icon.png b/static/login/register/pictures/captcha_icon.png deleted file mode 100644 index d0c16f3..0000000 Binary files a/static/login/register/pictures/captcha_icon.png and /dev/null differ diff --git a/static/login/register/pictures/closedeyes.png b/static/login/register/pictures/closedeyes.png deleted file mode 100644 index 73ca339..0000000 Binary files a/static/login/register/pictures/closedeyes.png and /dev/null differ diff --git a/static/login/register/pictures/img.png b/static/login/register/pictures/img.png deleted file mode 100644 index 32bee67..0000000 Binary files a/static/login/register/pictures/img.png and /dev/null differ diff --git a/static/login/register/pictures/lock_icon.png b/static/login/register/pictures/lock_icon.png deleted file mode 100644 index 5999bc3..0000000 Binary files a/static/login/register/pictures/lock_icon.png and /dev/null differ diff --git a/static/login/register/pictures/openedeyes.png b/static/login/register/pictures/openedeyes.png deleted file mode 100644 index 6582f62..0000000 Binary files a/static/login/register/pictures/openedeyes.png and /dev/null differ diff --git a/static/login/register/pictures/phone_icon.png b/static/login/register/pictures/phone_icon.png deleted file mode 100644 index 8a6a7ce..0000000 Binary files a/static/login/register/pictures/phone_icon.png and /dev/null differ diff --git a/static/login/register/pictures/return_icon.png b/static/login/register/pictures/return_icon.png deleted file mode 100644 index c3c6044..0000000 Binary files a/static/login/register/pictures/return_icon.png and /dev/null differ diff --git a/static/transition/page1/pictures/page1.png b/static/transition/page1/pictures/page1.png deleted file mode 100644 index ac09e8c..0000000 Binary files a/static/transition/page1/pictures/page1.png and /dev/null differ diff --git a/static/transition/page2/pictures/background.png b/static/transition/page2/pictures/background.png deleted file mode 100644 index 4c4b6cf..0000000 Binary files a/static/transition/page2/pictures/background.png and /dev/null differ diff --git a/static/transition/page2/pictures/button.png b/static/transition/page2/pictures/button.png deleted file mode 100644 index 17c202e..0000000 Binary files a/static/transition/page2/pictures/button.png and /dev/null differ diff --git a/static/transition/page3/pictures/Button.png b/static/transition/page3/pictures/Button.png deleted file mode 100644 index 149f156..0000000 Binary files a/static/transition/page3/pictures/Button.png and /dev/null differ diff --git a/static/transition/page3/pictures/background.png b/static/transition/page3/pictures/background.png deleted file mode 100644 index fccc1e2..0000000 Binary files a/static/transition/page3/pictures/background.png and /dev/null differ diff --git a/static/transition/page3/pictures/blue_background.png b/static/transition/page3/pictures/blue_background.png deleted file mode 100644 index b613ddf..0000000 Binary files a/static/transition/page3/pictures/blue_background.png and /dev/null differ diff --git a/static/transition/page3/pictures/human.png b/static/transition/page3/pictures/human.png deleted file mode 100644 index 53f8ecc..0000000 Binary files a/static/transition/page3/pictures/human.png and /dev/null differ diff --git a/static/transition/page3/pictures/text.png b/static/transition/page3/pictures/text.png deleted file mode 100644 index fecd728..0000000 Binary files a/static/transition/page3/pictures/text.png and /dev/null differ diff --git a/static/transition/page4/pictures/background.png b/static/transition/page4/pictures/background.png deleted file mode 100644 index fccc1e2..0000000 Binary files a/static/transition/page4/pictures/background.png and /dev/null differ diff --git a/static/transition/page4/pictures/blue_background.png b/static/transition/page4/pictures/blue_background.png deleted file mode 100644 index b613ddf..0000000 Binary files a/static/transition/page4/pictures/blue_background.png and /dev/null differ diff --git a/static/transition/page4/pictures/button.png b/static/transition/page4/pictures/button.png deleted file mode 100644 index 149f156..0000000 Binary files a/static/transition/page4/pictures/button.png and /dev/null differ diff --git a/static/transition/page4/pictures/human.png b/static/transition/page4/pictures/human.png deleted file mode 100644 index 039f2b2..0000000 Binary files a/static/transition/page4/pictures/human.png and /dev/null differ diff --git a/static/transition/page4/pictures/text.png b/static/transition/page4/pictures/text.png deleted file mode 100644 index 105797c..0000000 Binary files a/static/transition/page4/pictures/text.png and /dev/null differ diff --git a/static/transition/page5/pictures/background.png b/static/transition/page5/pictures/background.png deleted file mode 100644 index fccc1e2..0000000 Binary files a/static/transition/page5/pictures/background.png and /dev/null differ diff --git a/static/transition/page5/pictures/blue_background.png b/static/transition/page5/pictures/blue_background.png deleted file mode 100644 index 4ad1dbc..0000000 Binary files a/static/transition/page5/pictures/blue_background.png and /dev/null differ diff --git a/static/transition/page5/pictures/button.png b/static/transition/page5/pictures/button.png deleted file mode 100644 index 7ab8dfb..0000000 Binary files a/static/transition/page5/pictures/button.png and /dev/null differ diff --git a/static/transition/page5/pictures/human.png b/static/transition/page5/pictures/human.png deleted file mode 100644 index 7c80ddd..0000000 Binary files a/static/transition/page5/pictures/human.png and /dev/null differ diff --git a/static/transition/page5/pictures/text.png b/static/transition/page5/pictures/text.png deleted file mode 100644 index 93fd810..0000000 Binary files a/static/transition/page5/pictures/text.png and /dev/null differ diff --git a/static/transition/page6/pictures/background.png b/static/transition/page6/pictures/background.png deleted file mode 100644 index fccc1e2..0000000 Binary files a/static/transition/page6/pictures/background.png and /dev/null differ diff --git a/static/transition/page6/pictures/blue_background.png b/static/transition/page6/pictures/blue_background.png deleted file mode 100644 index a586b81..0000000 Binary files a/static/transition/page6/pictures/blue_background.png and /dev/null differ diff --git a/static/transition/page6/pictures/button.png b/static/transition/page6/pictures/button.png deleted file mode 100644 index e918839..0000000 Binary files a/static/transition/page6/pictures/button.png and /dev/null differ diff --git a/static/transition/page6/pictures/human.png b/static/transition/page6/pictures/human.png deleted file mode 100644 index d61d2bf..0000000 Binary files a/static/transition/page6/pictures/human.png and /dev/null differ diff --git a/static/transition/page6/pictures/text.png b/static/transition/page6/pictures/text.png deleted file mode 100644 index d508d40..0000000 Binary files a/static/transition/page6/pictures/text.png and /dev/null differ diff --git a/static/transition/page7/pictures/background.png b/static/transition/page7/pictures/background.png deleted file mode 100644 index 7fb69d9..0000000 Binary files a/static/transition/page7/pictures/background.png and /dev/null differ diff --git a/static/transition/page7/pictures/button.png b/static/transition/page7/pictures/button.png deleted file mode 100644 index c49ad6d..0000000 Binary files a/static/transition/page7/pictures/button.png and /dev/null differ diff --git a/static/transition/page8/pictures/background.png b/static/transition/page8/pictures/background.png deleted file mode 100644 index b94fbf2..0000000 Binary files a/static/transition/page8/pictures/background.png and /dev/null differ diff --git a/static/transition/page8/pictures/button.png b/static/transition/page8/pictures/button.png deleted file mode 100644 index fb3aa07..0000000 Binary files a/static/transition/page8/pictures/button.png and /dev/null differ diff --git a/uni.promisify.adaptor.js b/uni.promisify.adaptor.js deleted file mode 100644 index 47fbce1..0000000 --- a/uni.promisify.adaptor.js +++ /dev/null @@ -1,10 +0,0 @@ -uni.addInterceptor({ - returnValue (res) { - if (!(!!res && (typeof res === "object" || typeof res === "function") && typeof res.then === "function")) { - return res; - } - return new Promise((resolve, reject) => { - res.then((res) => res[0] ? reject(res[0]) : resolve(res[1])); - }); - }, -}); \ No newline at end of file diff --git a/uni.scss b/uni.scss deleted file mode 100644 index b9249e9..0000000 --- a/uni.scss +++ /dev/null @@ -1,76 +0,0 @@ -/** - * 这里是uni-app内置的常用样式变量 - * - * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量 - * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App - * - */ - -/** - * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能 - * - * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件 - */ - -/* 颜色变量 */ - -/* 行为相关颜色 */ -$uni-color-primary: #007aff; -$uni-color-success: #4cd964; -$uni-color-warning: #f0ad4e; -$uni-color-error: #dd524d; - -/* 文字基本颜色 */ -$uni-text-color:#333;//基本色 -$uni-text-color-inverse:#fff;//反色 -$uni-text-color-grey:#999;//辅助灰色,如加载更多的提示信息 -$uni-text-color-placeholder: #808080; -$uni-text-color-disable:#c0c0c0; - -/* 背景颜色 */ -$uni-bg-color:#ffffff; -$uni-bg-color-grey:#f8f8f8; -$uni-bg-color-hover:#f1f1f1;//点击状态颜色 -$uni-bg-color-mask:rgba(0, 0, 0, 0.4);//遮罩颜色 - -/* 边框颜色 */ -$uni-border-color:#c8c7cc; - -/* 尺寸变量 */ - -/* 文字尺寸 */ -$uni-font-size-sm:12px; -$uni-font-size-base:14px; -$uni-font-size-lg:16px; - -/* 图片尺寸 */ -$uni-img-size-sm:20px; -$uni-img-size-base:26px; -$uni-img-size-lg:40px; - -/* Border Radius */ -$uni-border-radius-sm: 2px; -$uni-border-radius-base: 3px; -$uni-border-radius-lg: 6px; -$uni-border-radius-circle: 50%; - -/* 水平间距 */ -$uni-spacing-row-sm: 5px; -$uni-spacing-row-base: 10px; -$uni-spacing-row-lg: 15px; - -/* 垂直间距 */ -$uni-spacing-col-sm: 4px; -$uni-spacing-col-base: 8px; -$uni-spacing-col-lg: 12px; - -/* 透明度 */ -$uni-opacity-disabled: 0.3; // 组件禁用态的透明度 - -/* 文章场景相关 */ -$uni-color-title: #2C405A; // 文章标题颜色 -$uni-font-size-title:20px; -$uni-color-subtitle: #555555; // 二级标题颜色 -$uni-font-size-subtitle:26px; -$uni-color-paragraph: #3F536E; // 文章段落颜色 -$uni-font-size-paragraph:15px; diff --git a/uni_modules/zero-markdown-view/changelog.md b/uni_modules/zero-markdown-view/changelog.md deleted file mode 100644 index d13259c..0000000 --- a/uni_modules/zero-markdown-view/changelog.md +++ /dev/null @@ -1,15 +0,0 @@ -## 2.0.5(2024-04-24) -## 流式输出代码块解决方案 -## 2.0.4(2023-12-06) -### 长按复制代码改为点击代码块复制 -## 2.0.3(2023-10-30) -doc: 文档说明 -## 2.0.2(2023-10-30) -- 新增长按复制代码-仅小程序可用 -- 新增代码块语言显示 -## 2.0.1(2023-10-27) -##支持vue2,vue3 -## 2.0.0(2022-11-01) -使用mp-html自带的插件,重新生成uniapp包,大幅减少插件体积 -## 1.0.0(2022-09-13) -首次发布 diff --git a/uni_modules/zero-markdown-view/components/mp-html/highlight/config.js b/uni_modules/zero-markdown-view/components/mp-html/highlight/config.js deleted file mode 100644 index 2f81762..0000000 --- a/uni_modules/zero-markdown-view/components/mp-html/highlight/config.js +++ /dev/null @@ -1,5 +0,0 @@ -export default { - copyByClickCode: true, // 点击代码块复制 - showLanguageName: true, // 是否在代码块右上角显示语言的名称 - showLineNumber: false // 是否显示行号 -} diff --git a/uni_modules/zero-markdown-view/components/mp-html/highlight/index.js b/uni_modules/zero-markdown-view/components/mp-html/highlight/index.js deleted file mode 100644 index 7faa633..0000000 --- a/uni_modules/zero-markdown-view/components/mp-html/highlight/index.js +++ /dev/null @@ -1,109 +0,0 @@ -/** - * @fileoverview highlight 插件 - * Include prismjs (https://prismjs.com) - */ -import prism from './prism.min' -import config from './config' -import Parser from '../parser' - -function Highlight (vm) { - this.vm = vm -} - -Highlight.prototype.onParse = function (node, vm) { - if (node.name === 'pre') { - if (vm.options.editable) { - node.attrs.class = (node.attrs.class || '') + ' hl-pre' - return - } - let i - for (i = node.children.length; i--;) { - if (node.children[i].name === 'code') break - } - if (i === -1) return - const code = node.children[i] - let className = code.attrs.class + ' ' + node.attrs.class - i = className.indexOf('language-') - if (i === -1) { - i = className.indexOf('lang-') - if (i === -1) { - className = 'language-text' - i = 9 - } else { - i += 5 - } - } else { - i += 9 - } - let j - for (j = i; j < className.length; j++) { - if (className[j] === ' ') break - } - const lang = className.substring(i, j) - if (code.children.length) { - const text = this.vm.getText(code.children).replace(/&/g, '&') - if (!text) return - if (node.c) { - node.c = undefined - } - if (prism.languages[lang]) { - code.children = (new Parser(this.vm).parse( - // 加一层 pre 保留空白符 - '
' + prism.highlight(text, prism.languages[lang], lang).replace(/token /g, 'hl-') + '
'))[0].children - } - node.attrs.class = 'hl-pre' - code.attrs.class = 'hl-code' - code.attrs.style ='display:block;overflow: auto;' - if (config.showLanguageName) { - node.children.push({ - name: 'div', - attrs: { - class: 'hl-language', - style: 'user-select:none;position:absolute;top:0;right:2px;font-size:10px;' - }, - children: [{ - type: 'text', - text: lang - }] - }) - } - if (config.copyByClickCode) { - node.attrs.style += (node.attrs.style || '') + ';user-select:none;' - node.attrs['data-content'] = text - node.children.push({ - name: 'div', - attrs: { - class: 'hl-copy', - style: 'user-select:none;position:absolute;top:0;right:3px;font-size:10px;' - }, - // children: [{ - // type: 'text', - // text: '复制' - // }] - }) - vm.expose() - // console.log('vm',node,vm) - } - if (config.showLineNumber) { - const line = text.split('\n').length; const children = [] - for (let k = line; k--;) { - children.push({ - name: 'span', - attrs: { - class: 'span' - } - }) - } - node.children.push({ - name: 'span', - attrs: { - class: 'line-numbers-rows' - }, - children - }) - } - } - } -} - -export default Highlight diff --git a/uni_modules/zero-markdown-view/components/mp-html/highlight/prism.min.js b/uni_modules/zero-markdown-view/components/mp-html/highlight/prism.min.js deleted file mode 100644 index 0b67d39..0000000 --- a/uni_modules/zero-markdown-view/components/mp-html/highlight/prism.min.js +++ /dev/null @@ -1,7 +0,0 @@ -/*! PrismJS 1.22.0 -https://prismjs.com/download.html#themes=prism-tomorrow&languages=markup+css+clike+javascript */ -var _self="undefined"!=typeof window?window:"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope?self:{},Prism=function(u){var c=/\blang(?:uage)?-([\w-]+)\b/i,n=0,M={manual:u.Prism&&u.Prism.manual,disableWorkerMessageHandler:u.Prism&&u.Prism.disableWorkerMessageHandler,util:{encode:function e(n){return n instanceof W?new W(n.type,e(n.content),n.alias):Array.isArray(n)?n.map(e):n.replace(/&/g,"&").replace(/=l.reach);k+=y.value.length,y=y.next){var b=y.value;if(t.length>n.length)return;if(!(b instanceof W)){var x=1;if(h&&y!=t.tail.prev){m.lastIndex=k;var w=m.exec(n);if(!w)break;var A=w.index+(f&&w[1]?w[1].length:0),P=w.index+w[0].length,S=k;for(S+=y.value.length;S<=A;)y=y.next,S+=y.value.length;if(S-=y.value.length,k=S,y.value instanceof W)continue;for(var E=y;E!==t.tail&&(Sl.reach&&(l.reach=j);var C=y.prev;L&&(C=I(t,C,L),k+=L.length),z(t,C,x);var _=new W(o,g?M.tokenize(O,g):O,v,O);y=I(t,C,_),N&&I(t,y,N),1"+a.content+""},!u.document)return u.addEventListener&&(M.disableWorkerMessageHandler||u.addEventListener("message",function(e){var n=JSON.parse(e.data),t=n.language,r=n.code,a=n.immediateClose;u.postMessage(M.highlight(r,M.languages[t],t)),a&&u.close()},!1)),M;var e=M.util.currentScript();function t(){M.manual||M.highlightAll()}if(e&&(M.filename=e.src,e.hasAttribute("data-manual")&&(M.manual=!0)),!M.manual){var r=document.readyState;"loading"===r||"interactive"===r&&e&&e.defer?document.addEventListener("DOMContentLoaded",t):window.requestAnimationFrame?window.requestAnimationFrame(t):window.setTimeout(t,16)}return M}(_self);export default Prism;"undefined"!=typeof global&&(global.Prism=Prism); -Prism.languages.markup={comment://,prolog:/<\?[\s\S]+?\?>/,doctype:{pattern:/"'[\]]|"[^"]*"|'[^']*')+(?:\[(?:[^<"'\]]|"[^"]*"|'[^']*'|<(?!!--)|)*\]\s*)?>/i,greedy:!0,inside:{"internal-subset":{pattern:/(\[)[\s\S]+(?=\]>$)/,lookbehind:!0,greedy:!0,inside:null},string:{pattern:/"[^"]*"|'[^']*'/,greedy:!0},punctuation:/^$|[[\]]/,"doctype-tag":/^DOCTYPE/,name:/[^\s<>'"]+/}},cdata://i,tag:{pattern:/<\/?(?!\d)[^\s>\/=$<%]+(?:\s(?:\s*[^\s>\/=]+(?:\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))|(?=[\s/>])))+)?\s*\/?>/,greedy:!0,inside:{tag:{pattern:/^<\/?[^\s>\/]+/,inside:{punctuation:/^<\/?/,namespace:/^[^\s>\/:]+:/}},"attr-value":{pattern:/=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+)/,inside:{punctuation:[{pattern:/^=/,alias:"attr-equals"},/"|'/]}},punctuation:/\/?>/,"attr-name":{pattern:/[^\s>\/]+/,inside:{namespace:/^[^\s>\/:]+:/}}}},entity:[{pattern:/&[\da-z]{1,8};/i,alias:"named-entity"},/&#x?[\da-f]{1,8};/i]},Prism.languages.markup.tag.inside["attr-value"].inside.entity=Prism.languages.markup.entity,Prism.languages.markup.doctype.inside["internal-subset"].inside=Prism.languages.markup,Prism.hooks.add("wrap",function(a){"entity"===a.type&&(a.attributes.title=a.content.replace(/&/,"&"))}),Object.defineProperty(Prism.languages.markup.tag,"addInlined",{value:function(a,e){var s={};s["language-"+e]={pattern:/(^$)/i,lookbehind:!0,inside:Prism.languages[e]},s.cdata=/^$/i;var n={"included-cdata":{pattern://i,inside:s}};n["language-"+e]={pattern:/[\s\S]+/,inside:Prism.languages[e]};var t={};t[a]={pattern:RegExp("(<__[^]*?>)(?:))*\\]\\]>|(?!)".replace(/__/g,function(){return a}),"i"),lookbehind:!0,greedy:!0,inside:n},Prism.languages.insertBefore("markup","cdata",t)}}),Prism.languages.html=Prism.languages.markup,Prism.languages.mathml=Prism.languages.markup,Prism.languages.svg=Prism.languages.markup,Prism.languages.xml=Prism.languages.extend("markup",{}),Prism.languages.ssml=Prism.languages.xml,Prism.languages.atom=Prism.languages.xml,Prism.languages.rss=Prism.languages.xml; -!function(e){var t=/("|')(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/;e.languages.css={comment:/\/\*[\s\S]*?\*\//,atrule:{pattern:/@[\w-]+[\s\S]*?(?:;|(?=\s*\{))/,inside:{rule:/^@[\w-]+/,"selector-function-argument":{pattern:/(\bselector\s*\((?!\s*\))\s*)(?:[^()]|\((?:[^()]|\([^()]*\))*\))+?(?=\s*\))/,lookbehind:!0,alias:"selector"},keyword:{pattern:/(^|[^\w-])(?:and|not|only|or)(?![\w-])/,lookbehind:!0}}},url:{pattern:RegExp("\\burl\\((?:"+t.source+"|(?:[^\\\\\r\n()\"']|\\\\[^])*)\\)","i"),greedy:!0,inside:{function:/^url/i,punctuation:/^\(|\)$/,string:{pattern:RegExp("^"+t.source+"$"),alias:"url"}}},selector:RegExp("[^{}\\s](?:[^{};\"']|"+t.source+")*?(?=\\s*\\{)"),string:{pattern:t,greedy:!0},property:/[-_a-z\xA0-\uFFFF][-\w\xA0-\uFFFF]*(?=\s*:)/i,important:/!important\b/i,function:/[-a-z0-9]+(?=\()/i,punctuation:/[(){};:,]/},e.languages.css.atrule.inside.rest=e.languages.css;var s=e.languages.markup;s&&(s.tag.addInlined("style","css"),e.languages.insertBefore("inside","attr-value",{"style-attr":{pattern:/(^|["'\s])style\s*=\s*(?:"[^"]*"|'[^']*')/i,lookbehind:!0,inside:{"attr-value":{pattern:/=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+)/,inside:{style:{pattern:/(["'])[\s\S]+(?=["']$)/,lookbehind:!0,alias:"language-css",inside:e.languages.css},punctuation:[{pattern:/^=/,alias:"attr-equals"},/"|'/]}},"attr-name":/^style/i}}},s.tag))}(Prism); -Prism.languages.clike={comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,lookbehind:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},"class-name":{pattern:/(\b(?:class|interface|extends|implements|trait|instanceof|new)\s+|\bcatch\s+\()[\w.\\]+/i,lookbehind:!0,inside:{punctuation:/[.\\]/}},keyword:/\b(?:if|else|while|do|for|return|in|instanceof|function|new|try|throw|catch|finally|null|break|continue)\b/,boolean:/\b(?:true|false)\b/,function:/\w+(?=\()/,number:/\b0x[\da-f]+\b|(?:\b\d+\.?\d*|\B\.\d+)(?:e[+-]?\d+)?/i,operator:/[<>]=?|[!=]=?=?|--?|\+\+?|&&?|\|\|?|[?*/~^%]/,punctuation:/[{}[\];(),.:]/}; -Prism.languages.javascript=Prism.languages.extend("clike",{"class-name":[Prism.languages.clike["class-name"],{pattern:/(^|[^$\w\xA0-\uFFFF])[_$A-Z\xA0-\uFFFF][$\w\xA0-\uFFFF]*(?=\.(?:prototype|constructor))/,lookbehind:!0}],keyword:[{pattern:/((?:^|})\s*)(?:catch|finally)\b/,lookbehind:!0},{pattern:/(^|[^.]|\.\.\.\s*)\b(?:as|async(?=\s*(?:function\b|\(|[$\w\xA0-\uFFFF]|$))|await|break|case|class|const|continue|debugger|default|delete|do|else|enum|export|extends|for|from|function|(?:get|set)(?=\s*[\[$\w\xA0-\uFFFF])|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)\b/,lookbehind:!0}],number:/\b(?:(?:0[xX](?:[\dA-Fa-f](?:_[\dA-Fa-f])?)+|0[bB](?:[01](?:_[01])?)+|0[oO](?:[0-7](?:_[0-7])?)+)n?|(?:\d(?:_\d)?)+n|NaN|Infinity)\b|(?:\b(?:\d(?:_\d)?)+\.?(?:\d(?:_\d)?)*|\B\.(?:\d(?:_\d)?)+)(?:[Ee][+-]?(?:\d(?:_\d)?)+)?/,function:/#?[_$a-zA-Z\xA0-\uFFFF][$\w\xA0-\uFFFF]*(?=\s*(?:\.\s*(?:apply|bind|call)\s*)?\()/,operator:/--|\+\+|\*\*=?|=>|&&=?|\|\|=?|[!=]==|<<=?|>>>?=?|[-+*/%&|^!=<>]=?|\.{3}|\?\?=?|\?\.?|[~:]/}),Prism.languages.javascript["class-name"][0].pattern=/(\b(?:class|interface|extends|implements|instanceof|new)\s+)[\w.\\]+/,Prism.languages.insertBefore("javascript","keyword",{regex:{pattern:/((?:^|[^$\w\xA0-\uFFFF."'\])\s]|\b(?:return|yield))\s*)\/(?:\[(?:[^\]\\\r\n]|\\.)*]|\\.|[^/\\\[\r\n])+\/[gimyus]{0,6}(?=(?:\s|\/\*(?:[^*]|\*(?!\/))*\*\/)*(?:$|[\r\n,.;:})\]]|\/\/))/,lookbehind:!0,greedy:!0,inside:{"regex-source":{pattern:/^(\/)[\s\S]+(?=\/[a-z]*$)/,lookbehind:!0,alias:"language-regex",inside:Prism.languages.regex},"regex-flags":/[a-z]+$/,"regex-delimiter":/^\/|\/$/}},"function-variable":{pattern:/#?[_$a-zA-Z\xA0-\uFFFF][$\w\xA0-\uFFFF]*(?=\s*[=:]\s*(?:async\s*)?(?:\bfunction\b|(?:\((?:[^()]|\([^()]*\))*\)|[_$a-zA-Z\xA0-\uFFFF][$\w\xA0-\uFFFF]*)\s*=>))/,alias:"function"},parameter:[{pattern:/(function(?:\s+[_$A-Za-z\xA0-\uFFFF][$\w\xA0-\uFFFF]*)?\s*\(\s*)(?!\s)(?:[^()]|\([^()]*\))+?(?=\s*\))/,lookbehind:!0,inside:Prism.languages.javascript},{pattern:/[_$a-z\xA0-\uFFFF][$\w\xA0-\uFFFF]*(?=\s*=>)/i,inside:Prism.languages.javascript},{pattern:/(\(\s*)(?!\s)(?:[^()]|\([^()]*\))+?(?=\s*\)\s*=>)/,lookbehind:!0,inside:Prism.languages.javascript},{pattern:/((?:\b|\s|^)(?!(?:as|async|await|break|case|catch|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally|for|from|function|get|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|set|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)(?![$\w\xA0-\uFFFF]))(?:[_$A-Za-z\xA0-\uFFFF][$\w\xA0-\uFFFF]*\s*)\(\s*|\]\s*\(\s*)(?!\s)(?:[^()]|\([^()]*\))+?(?=\s*\)\s*\{)/,lookbehind:!0,inside:Prism.languages.javascript}],constant:/\b[A-Z](?:[A-Z_]|\dx?)*\b/}),Prism.languages.insertBefore("javascript","string",{"template-string":{pattern:/`(?:\\[\s\S]|\${(?:[^{}]|{(?:[^{}]|{[^}]*})*})+}|(?!\${)[^\\`])*`/,greedy:!0,inside:{"template-punctuation":{pattern:/^`|`$/,alias:"string"},interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\${(?:[^{}]|{(?:[^{}]|{[^}]*})*})+}/,lookbehind:!0,inside:{"interpolation-punctuation":{pattern:/^\${|}$/,alias:"punctuation"},rest:Prism.languages.javascript}},string:/[\s\S]+/}}}),Prism.languages.markup&&Prism.languages.markup.tag.addInlined("script","javascript"),Prism.languages.js=Prism.languages.javascript; diff --git a/uni_modules/zero-markdown-view/components/mp-html/markdown/index.js b/uni_modules/zero-markdown-view/components/mp-html/markdown/index.js deleted file mode 100644 index 8900403..0000000 --- a/uni_modules/zero-markdown-view/components/mp-html/markdown/index.js +++ /dev/null @@ -1,34 +0,0 @@ -/** - * @fileoverview markdown 插件 - * Include marked (https://github.com/markedjs/marked) - * Include github-markdown-css (https://github.com/sindresorhus/github-markdown-css) - */ -import marked from './marked.min' -let index = 0 - -function Markdown (vm) { - this.vm = vm - vm._ids = {} -} - -Markdown.prototype.onUpdate = function (content) { - if (this.vm.markdown) { - return marked(content) - } -} - -Markdown.prototype.onParse = function (node, vm) { - if (vm.options.markdown) { - // 中文 id 需要转换,否则无法跳转 - if (vm.options.useAnchor && node.attrs && /[\u4e00-\u9fa5]/.test(node.attrs.id)) { - const id = 't' + index++ - this.vm._ids[node.attrs.id] = id - node.attrs.id = id - } - if (node.name === 'p' || node.name === 'table' || node.name === 'tr' || node.name === 'th' || node.name === 'td' || node.name === 'blockquote' || node.name === 'pre' || node.name === 'code') { - node.attrs.class = `md-${node.name} ${node.attrs.class || ''}` - } - } -} - -export default Markdown diff --git a/uni_modules/zero-markdown-view/components/mp-html/markdown/marked.min.js b/uni_modules/zero-markdown-view/components/mp-html/markdown/marked.min.js deleted file mode 100644 index 2efcf53..0000000 --- a/uni_modules/zero-markdown-view/components/mp-html/markdown/marked.min.js +++ /dev/null @@ -1,6 +0,0 @@ -/*! - * marked - a markdown parser - * Copyright (c) 2011-2020, Christopher Jeffrey. (MIT Licensed) - * https://github.com/markedjs/marked - */ -function t(){"use strict";function i(e,t){for(var n=0;ne.length)&&(t=e.length);for(var n=0,r=new Array(t);n=e.length?{done:!0}:{done:!1,value:e[r++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function n(e){return c[e]}var e,t=(function(t){function e(){return{baseUrl:null,breaks:!1,gfm:!0,headerIds:!0,headerPrefix:"",highlight:null,langPrefix:"language-",mangle:!0,pedantic:!1,renderer:null,sanitize:!1,sanitizer:null,silent:!1,smartLists:!1,smartypants:!1,tokenizer:null,walkTokens:null,xhtml:!1}}t.exports={defaults:e(),getDefaults:e,changeDefaults:function(e){t.exports.defaults=e}}}(e={exports:{}}),e.exports),r=(t.defaults,t.getDefaults,t.changeDefaults,/[&<>"']/),l=/[&<>"']/g,a=/[<>"']|&(?!#?\w+;)/,o=/[<>"']|&(?!#?\w+;)/g,c={"&":"&","<":"<",">":">",'"':""","'":"'"};var u=/&(#(?:\d+)|(?:#x[0-9A-Fa-f]+)|(?:\w+));?/gi;function h(e){return e.replace(u,function(e,t){return"colon"===(t=t.toLowerCase())?":":"#"===t.charAt(0)?"x"===t.charAt(1)?String.fromCharCode(parseInt(t.substring(2),16)):String.fromCharCode(+t.substring(1)):""})}var g=/(^|[^\[])\^/g;var f=/[^\w:]/g,d=/^$|^[a-z][a-z0-9+.-]*:|^[?#]/i;var k={},b=/^[^:]+:\/*[^/]*$/,m=/^([^:]+:)[\s\S]*$/,x=/^([^:]+:\/*[^/]*)[\s\S]*$/;function w(e,t){k[" "+e]||(b.test(e)?k[" "+e]=e+"/":k[" "+e]=v(e,"/",!0));var n=-1===(e=k[" "+e]).indexOf(":");return"//"===t.substring(0,2)?n?t:e.replace(m,"$1")+t:"/"===t.charAt(0)?n?t:e.replace(x,"$1")+t:e+t}function v(e,t,n){var r=e.length;if(0===r)return"";for(var i=0;it)n.splice(t);else for(;n.length>=1,e+=e;return n+e},q=t.defaults,O=v,C=R,U=_,j=T;function E(e,t,n){var r=t.href,i=t.title?U(t.title):null,t=e[1].replace(/\\([\[\]])/g,"$1");return"!"!==e[0].charAt(0)?{type:"link",raw:n,href:r,title:i,text:t}:{type:"image",raw:n,href:r,title:i,text:U(t)}}var D=function(){function e(e){this.options=e||q}var t=e.prototype;return t.space=function(e){e=this.rules.block.newline.exec(e);if(e)return 1=n.length?e.slice(n.length):e}).join("\n")}(n,t[3]||"");return{type:"code",raw:n,lang:t[2]&&t[2].trim(),text:e}}},t.heading=function(e){e=this.rules.block.heading.exec(e);if(e)return{type:"heading",raw:e[0],depth:e[1].length,text:e[2]}},t.nptable=function(e){e=this.rules.block.nptable.exec(e);if(e){var t={type:"table",header:C(e[1].replace(/^ *| *\| *$/g,"")),align:e[2].replace(/^ *|\| *$/g,"").split(/ *\| */),cells:e[3]?e[3].replace(/\n$/,"").split("\n"):[],raw:e[0]};if(t.header.length===t.align.length){for(var n=t.align.length,r=0;r ?/gm,"");return{type:"blockquote",raw:t[0],text:e}}},t.list=function(e){e=this.rules.block.list.exec(e);if(e){for(var t,n,r,i,s,l=e[0],a=e[2],o=1g[0].length||3/i.test(e[0])&&(t=!1),!n&&/^<(pre|code|kbd|script)(\s|>)/i.test(e[0])?n=!0:n&&/^<\/(pre|code|kbd|script)(\s|>)/i.test(e[0])&&(n=!1),{type:this.options.sanitize?"text":"html",raw:e[0],inLink:t,inRawBlock:n,text:this.options.sanitize?this.options.sanitizer?this.options.sanitizer(e[0]):U(e[0]):e[0]}},t.link=function(e){var t=this.rules.inline.link.exec(e);if(t){e=j(t[2],"()");-1$/,"$1"))&&e.replace(this.rules.inline._escapes,"$1"),title:r&&r.replace(this.rules.inline._escapes,"$1")},t[0])}},t.reflink=function(e,t){if((n=this.rules.inline.reflink.exec(e))||(n=this.rules.inline.nolink.exec(e))){e=(n[2]||n[1]).replace(/\s+/g," ");if((e=t[e.toLowerCase()])&&e.href)return E(n,e,n[0]);var n=n[0].charAt(0);return{type:"text",raw:n,text:n}}},t.strong=function(e,t,n){void 0===n&&(n="");var r=this.rules.inline.strong.start.exec(e);if(r&&(!r[1]||r[1]&&(""===n||this.rules.inline.punctuation.exec(n)))){t=t.slice(-1*e.length);var i,s="**"===r[0]?this.rules.inline.strong.endAst:this.rules.inline.strong.endUnd;for(s.lastIndex=0;null!=(r=s.exec(t));)if(i=this.rules.inline.strong.middle.exec(t.slice(0,r.index+3)))return{type:"strong",raw:e.slice(0,i[0].length),text:e.slice(2,i[0].length-2)}}},t.em=function(e,t,n){void 0===n&&(n="");var r=this.rules.inline.em.start.exec(e);if(r&&(!r[1]||r[1]&&(""===n||this.rules.inline.punctuation.exec(n)))){t=t.slice(-1*e.length);var i,s="*"===r[0]?this.rules.inline.em.endAst:this.rules.inline.em.endUnd;for(s.lastIndex=0;null!=(r=s.exec(t));)if(i=this.rules.inline.em.middle.exec(t.slice(0,r.index+2)))return{type:"em",raw:e.slice(0,i[0].length),text:e.slice(1,i[0].length-1)}}},t.codespan=function(e){var t=this.rules.inline.code.exec(e);if(t){var n=t[2].replace(/\n/g," "),r=/[^ ]/.test(n),e=n.startsWith(" ")&&n.endsWith(" ");return r&&e&&(n=n.substring(1,n.length-1)),n=U(n,!0),{type:"codespan",raw:t[0],text:n}}},t.br=function(e){e=this.rules.inline.br.exec(e);if(e)return{type:"br",raw:e[0]}},t.del=function(e){e=this.rules.inline.del.exec(e);if(e)return{type:"del",raw:e[0],text:e[2]}},t.autolink=function(e,t){e=this.rules.inline.autolink.exec(e);if(e){var n,t="@"===e[2]?"mailto:"+(n=U(this.options.mangle?t(e[1]):e[1])):n=U(e[1]);return{type:"link",raw:e[0],text:n,href:t,tokens:[{type:"text",raw:n,text:n}]}}},t.url=function(e,t){var n,r,i,s;if(n=this.rules.inline.url.exec(e)){if("@"===n[2])i="mailto:"+(r=U(this.options.mangle?t(n[0]):n[0]));else{for(;s=n[0],n[0]=this.rules.inline._backpedal.exec(n[0])[0],s!==n[0];);r=U(n[0]),i="www."===n[1]?"http://"+r:r}return{type:"link",raw:n[0],text:r,href:i,tokens:[{type:"text",raw:r,text:r}]}}},t.inlineText=function(e,t,n){e=this.rules.inline.text.exec(e);if(e){n=t?this.options.sanitize?this.options.sanitizer?this.options.sanitizer(e[0]):U(e[0]):e[0]:U(this.options.smartypants?n(e[0]):e[0]);return{type:"text",raw:e[0],text:n}}},e}(),R=$,T=z,$=A,z={newline:/^\n+/,code:/^( {4}[^\n]+\n*)+/,fences:/^ {0,3}(`{3,}(?=[^`\n]*\n)|~{3,})([^\n]*)\n(?:|([\s\S]*?)\n)(?: {0,3}\1[~`]* *(?:\n+|$)|$)/,hr:/^ {0,3}((?:- *){3,}|(?:_ *){3,}|(?:\* *){3,})(?:\n+|$)/,heading:/^ {0,3}(#{1,6}) +([^\n]*?)(?: +#+)? *(?:\n+|$)/,blockquote:/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/,list:/^( {0,3})(bull) [\s\S]+?(?:hr|def|\n{2,}(?! )(?! {0,3}bull )\n*|\s*$)/,html:"^ {0,3}(?:<(script|pre|style)[\\s>][\\s\\S]*?(?:[^\\n]*\\n+|$)|comment[^\\n]*(\\n+|$)|<\\?[\\s\\S]*?(?:\\?>\\n*|$)|\\n*|$)|\\n*|$)|)[\\s\\S]*?(?:\\n{2,}|$)|<(?!script|pre|style)([a-z][\\w-]*)(?:attribute)*? */?>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:\\n{2,}|$)|(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:\\n{2,}|$))",def:/^ {0,3}\[(label)\]: *\n? *]+)>?(?:(?: +\n? *| *\n *)(title))? *(?:\n+|$)/,nptable:R,table:R,lheading:/^([^\n]+)\n {0,3}(=+|-+) *(?:\n+|$)/,_paragraph:/^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html)[^\n]+)*)/,text:/^[^\n]+/,_label:/(?!\s*\])(?:\\[\[\]]|[^\[\]])+/,_title:/(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/};z.def=T(z.def).replace("label",z._label).replace("title",z._title).getRegex(),z.bullet=/(?:[*+-]|\d{1,9}[.)])/,z.item=/^( *)(bull) ?[^\n]*(?:\n(?! *bull ?)[^\n]*)*/,z.item=T(z.item,"gm").replace(/bull/g,z.bullet).getRegex(),z.listItemStart=T(/^( *)(bull)/).replace("bull",z.bullet).getRegex(),z.list=T(z.list).replace(/bull/g,z.bullet).replace("hr","\\n+(?=\\1?(?:(?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$))").replace("def","\\n+(?="+z.def.source+")").getRegex(),z._tag="address|article|aside|base|basefont|blockquote|body|caption|center|col|colgroup|dd|details|dialog|dir|div|dl|dt|fieldset|figcaption|figure|footer|form|frame|frameset|h[1-6]|head|header|hr|html|iframe|legend|li|link|main|menu|menuitem|meta|nav|noframes|ol|optgroup|option|p|param|section|source|summary|table|tbody|td|tfoot|th|thead|title|tr|track|ul",z._comment=/|$)/,z.html=T(z.html,"i").replace("comment",z._comment).replace("tag",z._tag).replace("attribute",/ +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex(),z.paragraph=T(z._paragraph).replace("hr",z.hr).replace("heading"," {0,3}#{1,6} ").replace("|lheading","").replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html",")|<(?:script|pre|style|!--)").replace("tag",z._tag).getRegex(),z.blockquote=T(z.blockquote).replace("paragraph",z.paragraph).getRegex(),z.normal=$({},z),z.gfm=$({},z.normal,{nptable:"^ *([^|\\n ].*\\|.*)\\n {0,3}([-:]+ *\\|[-| :]*)(?:\\n((?:(?!\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)",table:"^ *\\|(.+)\\n {0,3}\\|?( *[-:]+[-| :]*)(?:\\n *((?:(?!\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)"}),z.gfm.nptable=T(z.gfm.nptable).replace("hr",z.hr).replace("heading"," {0,3}#{1,6} ").replace("blockquote"," {0,3}>").replace("code"," {4}[^\\n]").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html",")|<(?:script|pre|style|!--)").replace("tag",z._tag).getRegex(),z.gfm.table=T(z.gfm.table).replace("hr",z.hr).replace("heading"," {0,3}#{1,6} ").replace("blockquote"," {0,3}>").replace("code"," {4}[^\\n]").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html",")|<(?:script|pre|style|!--)").replace("tag",z._tag).getRegex(),z.pedantic=$({},z.normal,{html:T("^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+? *(?:\\n{2,}|\\s*$)|\\s]*)*?/?> *(?:\\n{2,}|\\s*$))").replace("comment",z._comment).replace(/tag/g,"(?!(?:a|em|strong|small|s|cite|q|dfn|abbr|data|time|code|var|samp|kbd|sub|sup|i|b|u|mark|ruby|rt|rp|bdi|bdo|span|br|wbr|ins|del|img)\\b)\\w+(?!:|[^\\w\\s@]*@)\\b").getRegex(),def:/^ *\[([^\]]+)\]: *]+)>?(?: +(["(][^\n]+[")]))? *(?:\n+|$)/,heading:/^ *(#{1,6}) *([^\n]+?) *(?:#+ *)?(?:\n+|$)/,fences:R,paragraph:T(z.normal._paragraph).replace("hr",z.hr).replace("heading"," *#{1,6} *[^\n]").replace("lheading",z.lheading).replace("blockquote"," {0,3}>").replace("|fences","").replace("|list","").replace("|html","").getRegex()});R={escape:/^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/,autolink:/^<(scheme:[^\s\x00-\x1f<>]*|email)>/,url:R,tag:"^comment|^|^<[a-zA-Z][\\w-]*(?:attribute)*?\\s*/?>|^<\\?[\\s\\S]*?\\?>|^|^",link:/^!?\[(label)\]\(\s*(href)(?:\s+(title))?\s*\)/,reflink:/^!?\[(label)\]\[(?!\s*\])((?:\\[\[\]]?|[^\[\]\\])+)\]/,nolink:/^!?\[(?!\s*\])((?:\[[^\[\]]*\]|\\[\[\]]|[^\[\]])*)\](?:\[\])?/,reflinkSearch:"reflink|nolink(?!\\()",strong:{start:/^(?:(\*\*(?=[*punctuation]))|\*\*)(?![\s])|__/,middle:/^\*\*(?:(?:(?!overlapSkip)(?:[^*]|\\\*)|overlapSkip)|\*(?:(?!overlapSkip)(?:[^*]|\\\*)|overlapSkip)*?\*)+?\*\*$|^__(?![\s])((?:(?:(?!overlapSkip)(?:[^_]|\\_)|overlapSkip)|_(?:(?!overlapSkip)(?:[^_]|\\_)|overlapSkip)*?_)+?)__$/,endAst:/[^punctuation\s]\*\*(?!\*)|[punctuation]\*\*(?!\*)(?:(?=[punctuation_\s]|$))/,endUnd:/[^\s]__(?!_)(?:(?=[punctuation*\s])|$)/},em:{start:/^(?:(\*(?=[punctuation]))|\*)(?![*\s])|_/,middle:/^\*(?:(?:(?!overlapSkip)(?:[^*]|\\\*)|overlapSkip)|\*(?:(?!overlapSkip)(?:[^*]|\\\*)|overlapSkip)*?\*)+?\*$|^_(?![_\s])(?:(?:(?!overlapSkip)(?:[^_]|\\_)|overlapSkip)|_(?:(?!overlapSkip)(?:[^_]|\\_)|overlapSkip)*?_)+?_$/,endAst:/[^punctuation\s]\*(?!\*)|[punctuation]\*(?!\*)(?:(?=[punctuation_\s]|$))/,endUnd:/[^\s]_(?!_)(?:(?=[punctuation*\s])|$)/},code:/^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/,br:/^( {2,}|\\)\n(?!\s*$)/,del:R,text:/^(`+|[^`])(?:(?= {2,}\n)|[\s\S]*?(?:(?=[\\?@\\[\\]`^{|}~"};R.punctuation=T(R.punctuation).replace(/punctuation/g,R._punctuation).getRegex(),R._blockSkip="\\[[^\\]]*?\\]\\([^\\)]*?\\)|`[^`]*?`|<[^>]*?>",R._overlapSkip="__[^_]*?__|\\*\\*\\[^\\*\\]*?\\*\\*",R._comment=T(z._comment).replace("(?:--\x3e|$)","--\x3e").getRegex(),R.em.start=T(R.em.start).replace(/punctuation/g,R._punctuation).getRegex(),R.em.middle=T(R.em.middle).replace(/punctuation/g,R._punctuation).replace(/overlapSkip/g,R._overlapSkip).getRegex(),R.em.endAst=T(R.em.endAst,"g").replace(/punctuation/g,R._punctuation).getRegex(),R.em.endUnd=T(R.em.endUnd,"g").replace(/punctuation/g,R._punctuation).getRegex(),R.strong.start=T(R.strong.start).replace(/punctuation/g,R._punctuation).getRegex(),R.strong.middle=T(R.strong.middle).replace(/punctuation/g,R._punctuation).replace(/overlapSkip/g,R._overlapSkip).getRegex(),R.strong.endAst=T(R.strong.endAst,"g").replace(/punctuation/g,R._punctuation).getRegex(),R.strong.endUnd=T(R.strong.endUnd,"g").replace(/punctuation/g,R._punctuation).getRegex(),R.blockSkip=T(R._blockSkip,"g").getRegex(),R.overlapSkip=T(R._overlapSkip,"g").getRegex(),R._escapes=/\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/g,R._scheme=/[a-zA-Z][a-zA-Z0-9+.-]{1,31}/,R._email=/[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+(@)[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)+(?![-_])/,R.autolink=T(R.autolink).replace("scheme",R._scheme).replace("email",R._email).getRegex(),R._attribute=/\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/,R.tag=T(R.tag).replace("comment",R._comment).replace("attribute",R._attribute).getRegex(),R._label=/(?:\[(?:\\.|[^\[\]\\])*\]|\\.|`[^`]*`|[^\[\]\\`])*?/,R._href=/<(?:\\[<>]?|[^\s<>\\])*>|[^\s\x00-\x1f]*/,R._title=/"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/,R.link=T(R.link).replace("label",R._label).replace("href",R._href).replace("title",R._title).getRegex(),R.reflink=T(R.reflink).replace("label",R._label).getRegex(),R.reflinkSearch=T(R.reflinkSearch,"g").replace("reflink",R.reflink).replace("nolink",R.nolink).getRegex(),R.normal=$({},R),R.pedantic=$({},R.normal,{strong:{start:/^__|\*\*/,middle:/^__(?=\S)([\s\S]*?\S)__(?!_)|^\*\*(?=\S)([\s\S]*?\S)\*\*(?!\*)/,endAst:/\*\*(?!\*)/g,endUnd:/__(?!_)/g},em:{start:/^_|\*/,middle:/^()\*(?=\S)([\s\S]*?\S)\*(?!\*)|^_(?=\S)([\s\S]*?\S)_(?!_)/,endAst:/\*(?!\*)/g,endUnd:/_(?!_)/g},link:T(/^!?\[(label)\]\((.*?)\)/).replace("label",R._label).getRegex(),reflink:T(/^!?\[(label)\]\s*\[([^\]]*)\]/).replace("label",R._label).getRegex()}),R.gfm=$({},R.normal,{escape:T(R.escape).replace("])","~|])").getRegex(),_extended_email:/[A-Za-z0-9._+-]+(@)[a-zA-Z0-9-_]+(?:\.[a-zA-Z0-9-_]*[a-zA-Z0-9])+(?![-_])/,url:/^((?:ftp|https?):\/\/|www\.)(?:[a-zA-Z0-9\-]+\.?)+[^\s<]*|^email/,_backpedal:/(?:[^?!.,:;*_~()&]+|\([^)]*\)|&(?![a-zA-Z0-9]+;$)|[?!.,:;*_~)]+(?!$))+/,del:/^(~~?)(?=[^\s~])([\s\S]*?[^\s~])\1(?=[^~]|$)/,text:/^([`~]+|[^`~])(?:(?= {2,}\n)|[\s\S]*?(?:(?=[\\'+(n?e:V(e,!0))+"\n":"
"+(n?e:V(e,!0))+"
\n"},t.blockquote=function(e){return"
\n"+e+"
\n"},t.html=function(e){return e},t.heading=function(e,t,n,r){return this.options.headerIds?"'+e+"\n":""+e+"\n"},t.hr=function(){return this.options.xhtml?"
\n":"
\n"},t.list=function(e,t,n){var r=t?"ol":"ul";return"<"+r+(t&&1!==n?' start="'+n+'"':"")+">\n"+e+"\n"},t.listitem=function(e){return"
  • "+e+"
  • \n"},t.checkbox=function(e){return" "},t.paragraph=function(e){return"

    "+e+"

    \n"},t.table=function(e,t){return"\n\n"+e+"\n"+(t=t&&""+t+"")+"
    \n"},t.tablerow=function(e){return"\n"+e+"\n"},t.tablecell=function(e,t){var n=t.header?"th":"td";return(t.align?"<"+n+' align="'+t.align+'">':"<"+n+">")+e+"\n"},t.strong=function(e){return""+e+""},t.em=function(e){return""+e+""},t.codespan=function(e){return""+e+""},t.br=function(){return this.options.xhtml?"
    ":"
    "},t.del=function(e){return""+e+""},t.link=function(e,t,n){if(null===(e=G(this.options.sanitize,this.options.baseUrl,e)))return n;e='"},t.image=function(e,t,n){if(null===(e=G(this.options.sanitize,this.options.baseUrl,e)))return n;n=''+n+'":">"},t.text=function(e){return e},e}(),J=function(){function e(){}var t=e.prototype;return t.strong=function(e){return e},t.em=function(e){return e},t.codespan=function(e){return e},t.del=function(e){return e},t.html=function(e){return e},t.text=function(e){return e},t.link=function(e,t,n){return""+n},t.image=function(e,t,n){return""+n},t.br=function(){return""},e}(),K=function(){function e(){this.seen={}}var t=e.prototype;return t.serialize=function(e){return e.toLowerCase().trim().replace(/<[!\/a-z].*?>/gi,"").replace(/[\u2000-\u206F\u2E00-\u2E7F\\'!"#$%&()*+,./:;<=>?@[\]^`{|}~]/g,"").replace(/\s/g,"-")},t.getNextSafeSlug=function(e,t){var n=e,r=0;if(this.seen.hasOwnProperty(n))for(r=this.seen[e];n=e+"-"+ ++r,this.seen.hasOwnProperty(n););return t||(this.seen[e]=r,this.seen[n]=0),n},t.slug=function(e,t){void 0===t&&(t={});var n=this.serialize(e);return this.getNextSafeSlug(n,t.dryrun)},e}(),Q=t.defaults,Y=y,ee=function(){function n(e){this.options=e||Q,this.options.renderer=this.options.renderer||new H,this.renderer=this.options.renderer,this.renderer.options=this.options,this.textRenderer=new J,this.slugger=new K}n.parse=function(e,t){return new n(t).parse(e)},n.parseInline=function(e,t){return new n(t).parseInline(e)};var e=n.prototype;return e.parse=function(e,t){void 0===t&&(t=!0);for(var n,r,i,s,l,a,o,c,u,p,h,g,f,d,k,b="",m=e.length,x=0;xAn error occurred:

    "+re(e.message+"",!0)+"
    ";throw e}}return se.options=se.setOptions=function(e){return te(se.defaults,e),ie(se.defaults),se},se.getDefaults=_,se.defaults=t,se.use=function(a){var t,n=te({},a);a.renderer&&function(){var e,l=se.defaults.renderer||new H;for(e in a.renderer)!function(i){var s=l[i];l[i]=function(){for(var e=arguments.length,t=new Array(e),n=0;nAn error occurred:

    "+re(e.message+"",!0)+"
    ";throw e}},se.Parser=ee,se.parser=ee.parse,se.Renderer=H,se.TextRenderer=J,se.Lexer=W,se.lexer=W.lex,se.Tokenizer=D,se.Slugger=K,se.parse=se};export default t(); \ No newline at end of file diff --git a/uni_modules/zero-markdown-view/components/mp-html/mp-html.vue b/uni_modules/zero-markdown-view/components/mp-html/mp-html.vue deleted file mode 100644 index 332c3e0..0000000 --- a/uni_modules/zero-markdown-view/components/mp-html/mp-html.vue +++ /dev/null @@ -1,503 +0,0 @@ - - - - - diff --git a/uni_modules/zero-markdown-view/components/mp-html/node/node.vue b/uni_modules/zero-markdown-view/components/mp-html/node/node.vue deleted file mode 100644 index 3253509..0000000 --- a/uni_modules/zero-markdown-view/components/mp-html/node/node.vue +++ /dev/null @@ -1,678 +0,0 @@ -