diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..8481294 --- /dev/null +++ b/.gitignore @@ -0,0 +1,12 @@ +unpackage/* +!unpackage/res/ +node_modules/* +.idea/* +deploy.sh +.hbuilderx/ +.vscode/ +**/.DS_Store +.env +yarn.lock +package-lock.json +*.keystore \ No newline at end of file diff --git a/pages.json b/pages.json index 39940b4..5a9a75f 100644 --- a/pages.json +++ b/pages.json @@ -73,7 +73,28 @@ } ], - "subPackages": [], + "subPackages": [ + { + "root": "pagesA", + "pages": [{ + "path": "photo/photo_1", + "style": { + "navigationBarTitleText": "AI写真", + "navigationStyle": "custom" + } + }, + { + "path": "photo/photo_2", + "style": { + "navigationBarTitleText": "AI写真", + "navigationStyle": "custom" + } + } + + + ] + } + ], "globalStyle": { "navigationBarTextStyle": "black", "navigationBarTitleText": "%app.name%", diff --git a/pagesA/photo/components/photo_header.vue b/pagesA/photo/components/photo_header.vue new file mode 100644 index 0000000..4685b1f --- /dev/null +++ b/pagesA/photo/components/photo_header.vue @@ -0,0 +1,130 @@ + + + + + \ No newline at end of file diff --git a/pagesA/photo/photo_1.vue b/pagesA/photo/photo_1.vue new file mode 100644 index 0000000..13f87c9 --- /dev/null +++ b/pagesA/photo/photo_1.vue @@ -0,0 +1,134 @@ + + + + + \ No newline at end of file diff --git a/pagesA/photo/photo_2.vue b/pagesA/photo/photo_2.vue new file mode 100644 index 0000000..45a29f3 --- /dev/null +++ b/pagesA/photo/photo_2.vue @@ -0,0 +1,84 @@ + + + + + \ No newline at end of file diff --git a/pagesA/photo/this.scss b/pagesA/photo/this.scss new file mode 100644 index 0000000..402f436 --- /dev/null +++ b/pagesA/photo/this.scss @@ -0,0 +1,202 @@ +.photo_main{ + //background-color: #E3E8FE; + + width: 702rpx; + margin-left: 24rpx; + top: 0; + left: 0; + color: #000; + overflow: hidden; +} + + +.photo_back { + background-color: #E3E8FE; + min-height: 100vh; + width: 100%; + top: 0; + left: 0; + height: 100%; + overflow: hidden; + } + +image{ + width: 100%; + height: 100%; +} + +.search_div{ + width: 100%; + height: 80rpx; + background: #FFFFFF; + border-radius: 40rpx 40rpx 40rpx 40rpx; + display: flex; + justify-content: space-between; + align-items: center; + .search_div_1{ + width: 45rpx; + height: 45rpx; + margin-left: 24rpx; + } + .search_div_2{ + width: 400rpx; + + } + .search_div_3{ + width: 158rpx; + height: 64rpx; + color: #fff; + font-size: 26rpx; + font-weight: bold; + background: linear-gradient(to right, #5093FF, #9478FF); + border-radius: 32rpx; + display: flex; + align-items: center; + justify-content: center; + margin-right: 24rpx; + } +} + + +.tabs_div{ + width:350rpx; + margin: 10rpx auto; +} + +.photo_list_div{ + width: 100%; + margin-top: 20rpx; + display: flex; + flex-wrap: wrap; + justify-content: space-between; + height: calc(100vh - 425rpx); + // overflow-x: hidden; + // overflow-y: scroll; + .photo_list_div_one{ + width: 340rpx; + height: 440rpx; + margin-bottom: 20rpx; + // margin-top: 24rpx; + + .photo_list_div_one_img{ + width: 100%; + height: 100%; + image{ + width: 100%; + height: 100%; + border-radius: 24rpx; + } + } + + .photo_list_div_one_text{ + margin-top: -66rpx; + margin-left: 2%; + width: 96%; + display: flex; + justify-content: center; + color: #fff; + font-size: 28rpx; + font-weight: 400; + height: 40rpx; + overflow: hidden; + } + + } + +} + +// ---------------------------- photo_tem_1 + +.photo_tem_1{ + + margin-top: 20rpx; + width:100%; + height: 1120rpx; + background: url('/static/img/photo/photo_12.png') no-repeat; + background-size: 100% 100%; + overflow: hidden; + + .photo_tem_1_head{ + + width: 654rpx; + display: flex; + margin: 36rpx auto; + justify-content: space-between; + align-items: center; + + + .photo_tem_1_head_1{ + width: 80rpx; + height: 80rpx; + border-radius: 8rpx; + image{ + border-radius: 8rpx; + } + + } + + .photo_tem_1_head_2{ + width: 400rpx; + .photo_tem_1_head_2_1{ + color: #fff; + font-size: 28rpx; + } + .photo_tem_1_head_2_2{ + color: #fff; + font-size: 22rpx; + } + } + + .photo_tem_1_head_3{ + width: 120rpx; + height: 54rpx; + margin-top: 12rpx; + display: flex; + align-items: center; + justify-content: center; + background-color: #fff; + border-radius: 38rpx; + .y_btn{ + width: 112rpx; + height: 44rpx; + color: #3B1705; + background-color: #FBE579; + border-radius: 30rpx; + display: flex; + align-items: center; + justify-content: center; + font-size: 24rpx; + font-weight: bold; + } + + + } + } + + .photo_tem_1_2{ + width: 654rpx; + height: 880rpx; + margin:76rpx auto; + border-radius: 24rpx; + image{ + border-radius: 24rpx; + } + } +} + + +.photo_tem_2{ + margin-top: 100rpx; + width: 702rpx; + height: 88rpx; + background: linear-gradient(to right, #4F93FF, #9976FF); + border-radius: 80rpx; + color: #fff; + font-size: 30rpx; + font-weight: 500; + display: flex; + align-items: center; + justify-content: center; + overflow: hidden; + margin-bottom: 40rpx; +} \ No newline at end of file diff --git a/static/img/common/search_icon.png b/static/img/common/search_icon.png new file mode 100644 index 0000000..2093382 Binary files /dev/null and b/static/img/common/search_icon.png differ diff --git a/static/img/common/tab_1.png b/static/img/common/tab_1.png new file mode 100644 index 0000000..748000a Binary files /dev/null and b/static/img/common/tab_1.png differ diff --git a/static/img/photo/photo_12.png b/static/img/photo/photo_12.png new file mode 100644 index 0000000..e3792a0 Binary files /dev/null and b/static/img/photo/photo_12.png differ