diff --git a/packageB/pages/AI-test-skin/index/aiskin.json b/packageB/pages/AI-test-skin/index/aiskin.json new file mode 100644 index 0000000..c0ea678 --- /dev/null +++ b/packageB/pages/AI-test-skin/index/aiskin.json @@ -0,0 +1,4 @@ +{ + "usingComponents": {}, + "navigationBarTitleText": "Ai智能测肤" +} \ No newline at end of file diff --git a/packageB/pages/AI-test-skin/index/aiskin.wxml b/packageB/pages/AI-test-skin/index/aiskin.wxml new file mode 100644 index 0000000..ae23f59 --- /dev/null +++ b/packageB/pages/AI-test-skin/index/aiskin.wxml @@ -0,0 +1,10 @@ + + + 历史档案 + + + + + 开始测肤 + + \ No newline at end of file diff --git a/packageB/pages/AI-test-skin/index/aiskin.wxss b/packageB/pages/AI-test-skin/index/aiskin.wxss new file mode 100644 index 0000000..cd27949 --- /dev/null +++ b/packageB/pages/AI-test-skin/index/aiskin.wxss @@ -0,0 +1,38 @@ +/* packageB/pages/AI-test-skin/aiskin.wxss */ +page { + width: 100%; + height: 100%; +} +image { + width: 100vw; + height: 100%; +} +.container1 { + position: relative; + width: 100%; + height: 100%; +} +.history { + margin-top: 30rpx; + display: flex; + position: absolute; + right: 0; + padding: 10rpx; + border-radius: 50rpx 0 0 50rpx; + box-shadow: 0 0 2px 2px #f7f5f5; + color: #4ad5df; +} +.start_btn { + position: fixed; + bottom: 50rpx; + /* margin: auto; */ + /* text-align: center; */ + margin-left: 50%; + transform: translateX(-50%); + background: #4bd6df; + padding: 20rpx; + width: 67%; + text-align: center; + border-radius: 40rpx; + color: #fff; +} \ No newline at end of file diff --git a/packageB/pages/AI-test-skin/shoot_notice/shoot_notice.js b/packageB/pages/AI-test-skin/shoot_notice/shoot_notice.js new file mode 100644 index 0000000..4d92611 --- /dev/null +++ b/packageB/pages/AI-test-skin/shoot_notice/shoot_notice.js @@ -0,0 +1,71 @@ +// packageB/pages/AI-test-skin/shoot_notice/shoot_notice.js +const app = getApp(); +const request = app.request; +const os = app.globalData; +const setting = os.setting; +const ut = require('../../../../utils/util'); +Page({ + + /** + * 页面的初始数据 + */ + data: { + iurl: setting.imghost, + }, + + /** + * 生命周期函数--监听页面加载 + */ + onLoad: function (options) { + + }, + + /** + * 生命周期函数--监听页面初次渲染完成 + */ + onReady: function () { + + }, + + /** + * 生命周期函数--监听页面显示 + */ + onShow: function () { + + }, + + /** + * 生命周期函数--监听页面隐藏 + */ + onHide: function () { + + }, + + /** + * 生命周期函数--监听页面卸载 + */ + onUnload: function () { + + }, + + /** + * 页面相关事件处理函数--监听用户下拉动作 + */ + onPullDownRefresh: function () { + + }, + + /** + * 页面上拉触底事件的处理函数 + */ + onReachBottom: function () { + + }, + + /** + * 用户点击右上角分享 + */ + onShareAppMessage: function () { + + } +}) \ No newline at end of file diff --git a/packageB/pages/AI-test-skin/shoot_notice/shoot_notice.json b/packageB/pages/AI-test-skin/shoot_notice/shoot_notice.json new file mode 100644 index 0000000..bf55ee4 --- /dev/null +++ b/packageB/pages/AI-test-skin/shoot_notice/shoot_notice.json @@ -0,0 +1,4 @@ +{ + "usingComponents": {}, + "navigationBarTitleText": "拍摄须知" +} \ No newline at end of file diff --git a/packageB/pages/AI-test-skin/shoot_notice/shoot_notice.wxml b/packageB/pages/AI-test-skin/shoot_notice/shoot_notice.wxml new file mode 100644 index 0000000..b6090e2 --- /dev/null +++ b/packageB/pages/AI-test-skin/shoot_notice/shoot_notice.wxml @@ -0,0 +1,62 @@ + + + + 准备工作 + + + + + + + + + + 1、请对准镜头,闭眼拍照 + + + + + + + + 2、请摘下眼镜,撩起刘海 + + + + + + + + 3、保持脸部垂直,切勿距离过远过近 + + + + 注意事项 + + + + + + + + 1、脸部置于画面中央,请勿距离过远或过近 + + + + + + 2、脸部保持平视摄像头 + + + + + + + 准备闭眼拍摄 + + + + 如无闭眼,将导致图片分析失败 + + + \ No newline at end of file diff --git a/packageB/pages/AI-test-skin/shoot_notice/shoot_notice.wxss b/packageB/pages/AI-test-skin/shoot_notice/shoot_notice.wxss new file mode 100644 index 0000000..8a56117 --- /dev/null +++ b/packageB/pages/AI-test-skin/shoot_notice/shoot_notice.wxss @@ -0,0 +1,88 @@ +/* packageB/pages/AI-test-skin/shoot_notice/shoot_notice.wxss */ +page { + width: 100vw; + height: 100%; + padding: 40rpx 30rpx 0 30rpx; + box-sizing: border-box; + background-color: #e7f5fb; +} + +.content { + width: 100%; + /* height: 100%; */ + border-radius: 25rpx; + /* padding: 30rpx; */ + background-color: #fff; +} + +.content .work { + text-align: center; + padding: 60rpx 0 30rpx 0; + font-size: 36rpx; +} + +.content .ready { + display: flex; + flex-direction: column; + align-items: center; + margin-bottom: 40rpx +} +.content .ready1 { + display: flex; + flex-direction: column; + align-items: center; + padding-bottom: 50rpx ; + /* margin-bottom: 40rpx */ +} + +.hengxian { + position: relative; + top: -15rpx; + width: 40rpx; + margin-left: 50%; + transform: translateX(-50%); + border: 1rpx solid #5edadc; +} + +.shuxian { + width: 2rpx; + background-color: #f5f5f5; + margin: 0 30rpx; +} + +.content .image { + display: flex; + width: 75%; + height: 300rpx; +} + +.content .image_1 { + display: flex; + width: 55%; + height: 450rpx; + margin: 0 auto; +} + +.content image { + height: 100%; +} +.btn { + + /* height: 150rpx; */ + /* margin-left: 50%; */ + margin: 70rpx 0 30rpx 50%; + transform: translateX(-50%); + background: #4bd6df; + padding: 20rpx; + width: 50%; + text-align: center; + border-radius: 40rpx; + color: #fff; +} +.btn_fixed { + position: fixed; + width: 100%; + bottom: -40rpx; + height: 300rpx; + background: #e7f5fb; +} \ No newline at end of file