Commit 4751d3e102e0c03e68ecf5b3b13ed5bae9c2c8b8

Authored by abson
1 parent a200c466

测肤选择照片

app.json
1 { 1 {
2 - "pages": [  
3 - "pages/index/index/index",  
4 - "pages/goods/categoryList/categoryList",  
5 - "pages/cart/cart/cart",  
6 - "pages/cart/cart2/cart2",  
7 - "pages/cart/cart4/cart4",  
8 - "pages/goods/goodsInfo/goodsInfo",  
9 - "pages/goods/goodsList/goodsList",  
10 - "pages/goods/search/search",  
11 - "pages/order/refund_order/refund_order",  
12 - "pages/payment/payment/payment",  
13 - "pages/user/index/index",  
14 - "pages/user/order_list/order_list",  
15 - "pages/user/order_detail/order_detail",  
16 - "pages/user/address_list/address_list",  
17 - "pages/user/userinfo/userinfo",  
18 - "pages/user/return_goods_list/return_goods_list",  
19 - "pages/user/coupon/coupon",  
20 - "pages/user/checkcoupon/checkcoupon",  
21 - "pages/user/add_address/add_address",  
22 - "pages/user/withdrawals_list/withdrawals_list",  
23 - "pages/user/return_goods_info/return_goods_info",  
24 - "pages/user/return_goods/return_goods",  
25 - "pages/user/withdrawals/withdrawals",  
26 - "pages/user/express/express",  
27 - "pages/user/get_user_info/get_user_info",  
28 - "pages/activity/seckill_list/seckill_list",  
29 - "pages/activity/pind_list/pind_list",  
30 - "pages/togoin/togoin",  
31 - "pages/team/team_success/team_success",  
32 - "pages/team/team_show/team_show",  
33 - "pages/team/team_ping/team_ping",  
34 - "pages/cart/cart2_pt/cart2_pt",  
35 - "pages/cart/cart_wk/cart_wk",  
36 - "pages/user/member/menber",  
37 - "pages/user/member/bring/bring",  
38 - "pages/user/member/bring/msg/msg",  
39 - "pages/user/member/account/account",  
40 - "pages/user/member/account_unable/account_unable",  
41 - "pages/user/member/cash_record/cash_record",  
42 - "pages/user/coupons/coupons",  
43 - "pages/user/integral/integral",  
44 - "pages/user/integral/query/index",  
45 - "pages/user/integral/msg/msg",  
46 - "pages/user/userqy/userqy",  
47 - "pages/user/user_spsy/user_spsy",  
48 - "pages/user/user_fw/user_fw",  
49 - "pages/user/grow_value/grow_value",  
50 - "pages/payment/pay_success/pay_success",  
51 - "pages/user/plus/plus",  
52 - "pages/user/cardinfo/cardinfo",  
53 - "pages/user/Detailed/Detailed",  
54 - "pages/user/my_service/appment_main",  
55 - "pages/user/my_service/i_service",  
56 - "pages/user/my_service/cosmetology_list",  
57 - "pages/user/my_service/hist_service",  
58 - "pages/user/my_service/tment_details",  
59 - "pages/user/my_service/tment_eval",  
60 - "pages/user/my_service/tment_order_list",  
61 - "pages/user/my_service/beauty_deta",  
62 - "pages/user/labels/labels",  
63 - "pages/giftpack/birthdaygift/birthdaygift",  
64 - "pages/giftpack/evaluategift/evaluategift",  
65 - "pages/giftpack/newvipgift/newvipgift",  
66 - "pages/giftpack/payment/payment",  
67 - "pages/giftpack/buygiftpack/giftpackbuy",  
68 - "pages/giftpack/giftpacklist/giftpacklist",  
69 - "pages/giftpack/mygiftpack/mygiftpack",  
70 - "pages/user/assistance/giftpacklist",  
71 - "pages/user/assistance/task_assistance",  
72 - "pages/user/assistance/friend_assistance",  
73 - "pages/user/assistance/assistance_success",  
74 - "pages/user/assistance/assistance",  
75 - "pages/template/index",  
76 - "pages/store/index",  
77 - "pages/cart/cart2_inte/cart2_inte",  
78 - "pages/giftpack/festival/festival",  
79 - "pages/team/team_more/team_more",  
80 - "pages/user/deposit/deposit",  
81 - "pages/user/deposit/prepaid/msg/msg",  
82 - "pages/user/deposit/prepaid/prepaid",  
83 - "pages/distribution/distribution"  
84 - ],  
85 - "subPackages": [{  
86 - "root": "packageA/",  
87 - "name":"pack1",  
88 - "pages": [  
89 - "pages/prom_list/prom_list",  
90 - "pages/quan_list/quan_list",  
91 - "pages/quan_pro/quan_pro",  
92 - "pages/liveStream/liveStream",  
93 - "pages/liveStreamDetails/liveStreamDetails",  
94 - "pages/addCustomer/addCustomer",  
95 - "pages/goods_share/goods_share",  
96 - "pages/activity_share/activity_share",  
97 - "pages/live_share/live_share",  
98 - "pages/quan/quan",  
99 - "pages/chongzhi/chongzhi",  
100 - "pages/chongzhiDetails/chongzhiDetails",  
101 - "pages/jfbuy/jfbuy",  
102 - "pages/hongBao/hongBao",  
103 - "pages/hongBaoDetails/hongBaoDetails",  
104 - "pages/service_record/service_record",  
105 - "pages/checkin/checkin",  
106 - "pages/distribution/myteam/myteam",  
107 - "pages/distribution/order/order",  
108 - "pages/distribution/commision/commision",  
109 - "pages/distribution/rank/rank",  
110 - "pages/distribution/card/card",  
111 - "pages/distribution/goods/goods",  
112 - "pages/distribution/shop/shop",  
113 - "pages/distribution/rookie/rookie",  
114 - "pages/service_share/service_share",  
115 - "pages/cardList/cardList",  
116 - "pages/goodsInfo/goodsInfo",  
117 - "pages/my_service/appment_main",  
118 - "pages/my_service/i_service",  
119 - "pages/my_service/cosmetology_list",  
120 - "pages/my_service/hist_service",  
121 - "pages/my_service/tment_details",  
122 - "pages/my_service/tment_eval",  
123 - "pages/my_service/tment_order_list",  
124 - "pages/my_service/beauty_deta",  
125 - "pages/my_service2/appment_main",  
126 - "pages/profile/profile",  
127 - "pages/parseHtml/parseHtml",  
128 - "pages/myGift/myGift",  
129 - "pages/myGiftDetails/myGiftDetails",  
130 - "pages/cart2_ser/cart2_ser",  
131 - "pages/libao_payment/payment",  
132 - "pages/details_serviceCard/details_serviceCard"  
133 - ]  
134 -  
135 - },  
136 - {  
137 - "root": "packageB/",  
138 - "name":"pack2",  
139 - "pages": [  
140 - "pages/user/collect_list/collect_list",  
141 - "pages/user/comment/comment",  
142 - "pages/user/view_comment/view_comment",  
143 - "pages/user/add_comment/add_comment",  
144 - "pages/user/user_coupon/user_coupon",  
145 - "pages/user/buyDetails/buyDetails",  
146 - "pages/evaluate/evaluate",  
147 - "pages/evaluate_list/evaluate_list",  
148 - "pages/luckactivity/luckinfo/luckinfo",  
149 - "pages/luckactivity/index/index",  
150 - "pages/user/Change_phone/Change_phone",  
151 - "pages/zuhegou/index/index",  
152 - "pages/zuhegou/list/list",  
153 - "pages/user/binding_info/binding_info",  
154 - "pages/user/choice_guide/choice_guide",  
155 - "pages/video/index",  
156 - "pages/boxes-list/boxes-list",  
157 - "pages/boxes-details/boxes-details"  
158 - ]  
159 -},  
160 -{  
161 - "root": "packageC/",  
162 - "name":"pack3",  
163 - "pages": [  
164 - "pages/group_list/group_list",  
165 - "pages/presell/list/list",  
166 - "pages/presell/cart/cart",  
167 - "pages/presell/cart/cart2",  
168 - "pages/presell/cart/cart2_pre",  
169 - "pages/presell/goodsInfo/goodsInfo",  
170 - "pages/goods/distributionCategoryList/index",  
171 - "pages/goods/goodsList/goodsList",  
172 - "pages/payForAnother/payForAnother",  
173 - "pages/luckyGo/luckyGo_cart/luckyGo_cart",  
174 - "pages/luckyGo/luckyGo_cart_ct/luckyGo_cart_ct",  
175 - "pages/luckyGo/luckyGo_list/luckyGo_list",  
176 - "pages/luckyGo/luckyGo_order/luckyGo_order",  
177 - "pages/luckyGo/luckyGo_details/luckyGo_details",  
178 - "pages/luckyGo/luckyGo_winners/luckyGo_winners",  
179 - "pages/luckyGo/luckyGo_members/luckyGo_members",  
180 - "pages/luckyGo/luckyGo_goodsInfo/luckyGo_goodsInfo",  
181 - "pages/luckyGo/luckyGo_activityList/luckyGo_activityList"  
182 - ]  
183 -}  
184 -  
185 -],  
186 - "permission": {  
187 - "scope.userLocation": {  
188 - "desc": "获取你的位置信息"  
189 - }  
190 - },  
191 - "window": {  
192 - "backgroundTextStyle": "light",  
193 - "navigationBarTextStyle": "black",  
194 - "navigationBarTitleText": "加载中...",  
195 - "navigationBarBackgroundColor": "#ffffff",  
196 - "backgroundColor": "#ffffff",  
197 - "enablePullDownRefresh": true  
198 -  
199 - },  
200 -  
201 - "tabBar": {  
202 - "custom":true,  
203 - "color": "#6e6d6b",  
204 - "selectedColor": "#f23030",  
205 - "borderStyle": "white",  
206 - "backgroundColor": "#ffffff",  
207 - "list": [ 2 + "pages": [
  3 + "pages/index/index/index",
  4 + "pages/goods/categoryList/categoryList",
  5 + "pages/cart/cart/cart",
  6 + "pages/cart/cart2/cart2",
  7 + "pages/cart/cart4/cart4",
  8 + "pages/goods/goodsInfo/goodsInfo",
  9 + "pages/goods/goodsList/goodsList",
  10 + "pages/goods/search/search",
  11 + "pages/order/refund_order/refund_order",
  12 + "pages/payment/payment/payment",
  13 + "pages/user/index/index",
  14 + "pages/user/order_list/order_list",
  15 + "pages/user/order_detail/order_detail",
  16 + "pages/user/address_list/address_list",
  17 + "pages/user/userinfo/userinfo",
  18 + "pages/user/return_goods_list/return_goods_list",
  19 + "pages/user/coupon/coupon",
  20 + "pages/user/checkcoupon/checkcoupon",
  21 + "pages/user/add_address/add_address",
  22 + "pages/user/withdrawals_list/withdrawals_list",
  23 + "pages/user/return_goods_info/return_goods_info",
  24 + "pages/user/return_goods/return_goods",
  25 + "pages/user/withdrawals/withdrawals",
  26 + "pages/user/express/express",
  27 + "pages/user/get_user_info/get_user_info",
  28 + "pages/activity/seckill_list/seckill_list",
  29 + "pages/activity/pind_list/pind_list",
  30 + "pages/togoin/togoin",
  31 + "pages/team/team_success/team_success",
  32 + "pages/team/team_show/team_show",
  33 + "pages/team/team_ping/team_ping",
  34 + "pages/cart/cart2_pt/cart2_pt",
  35 + "pages/cart/cart_wk/cart_wk",
  36 + "pages/user/member/menber",
  37 + "pages/user/member/bring/bring",
  38 + "pages/user/member/bring/msg/msg",
  39 + "pages/user/member/account/account",
  40 + "pages/user/member/account_unable/account_unable",
  41 + "pages/user/member/cash_record/cash_record",
  42 + "pages/user/coupons/coupons",
  43 + "pages/user/integral/integral",
  44 + "pages/user/integral/query/index",
  45 + "pages/user/integral/msg/msg",
  46 + "pages/user/userqy/userqy",
  47 + "pages/user/user_spsy/user_spsy",
  48 + "pages/user/user_fw/user_fw",
  49 + "pages/user/grow_value/grow_value",
  50 + "pages/payment/pay_success/pay_success",
  51 + "pages/user/plus/plus",
  52 + "pages/user/cardinfo/cardinfo",
  53 + "pages/user/Detailed/Detailed",
  54 + "pages/user/my_service/appment_main",
  55 + "pages/user/my_service/i_service",
  56 + "pages/user/my_service/cosmetology_list",
  57 + "pages/user/my_service/hist_service",
  58 + "pages/user/my_service/tment_details",
  59 + "pages/user/my_service/tment_eval",
  60 + "pages/user/my_service/tment_order_list",
  61 + "pages/user/my_service/beauty_deta",
  62 + "pages/user/labels/labels",
  63 + "pages/giftpack/birthdaygift/birthdaygift",
  64 + "pages/giftpack/evaluategift/evaluategift",
  65 + "pages/giftpack/newvipgift/newvipgift",
  66 + "pages/giftpack/payment/payment",
  67 + "pages/giftpack/buygiftpack/giftpackbuy",
  68 + "pages/giftpack/giftpacklist/giftpacklist",
  69 + "pages/giftpack/mygiftpack/mygiftpack",
  70 + "pages/user/assistance/giftpacklist",
  71 + "pages/user/assistance/task_assistance",
  72 + "pages/user/assistance/friend_assistance",
  73 + "pages/user/assistance/assistance_success",
  74 + "pages/user/assistance/assistance",
  75 + "pages/store/index",
  76 + "pages/cart/cart2_inte/cart2_inte",
  77 + "pages/giftpack/festival/festival",
  78 + "pages/team/team_more/team_more",
  79 + "pages/user/deposit/deposit",
  80 + "pages/user/deposit/prepaid/msg/msg",
  81 + "pages/user/deposit/prepaid/prepaid",
  82 + "pages/distribution/distribution",
  83 + "pages/template/index"
  84 + ],
  85 + "subPackages": [
208 { 86 {
209 - "pagePath": "pages/index/index/index",  
210 - "text": "首页",  
211 - "iconPath": "packageA/images/bar/index.png",  
212 - "selectedIconPath": "packageA/images/bar/index_on.png" 87 + "root": "packageA/",
  88 + "name": "pack1",
  89 + "pages": [
  90 + "pages/prom_list/prom_list",
  91 + "pages/quan_list/quan_list",
  92 + "pages/quan_pro/quan_pro",
  93 + "pages/liveStream/liveStream",
  94 + "pages/liveStreamDetails/liveStreamDetails",
  95 + "pages/addCustomer/addCustomer",
  96 + "pages/goods_share/goods_share",
  97 + "pages/activity_share/activity_share",
  98 + "pages/live_share/live_share",
  99 + "pages/quan/quan",
  100 + "pages/chongzhi/chongzhi",
  101 + "pages/chongzhiDetails/chongzhiDetails",
  102 + "pages/jfbuy/jfbuy",
  103 + "pages/hongBao/hongBao",
  104 + "pages/hongBaoDetails/hongBaoDetails",
  105 + "pages/service_record/service_record",
  106 + "pages/checkin/checkin",
  107 + "pages/distribution/myteam/myteam",
  108 + "pages/distribution/order/order",
  109 + "pages/distribution/commision/commision",
  110 + "pages/distribution/rank/rank",
  111 + "pages/distribution/card/card",
  112 + "pages/distribution/goods/goods",
  113 + "pages/distribution/shop/shop",
  114 + "pages/distribution/rookie/rookie",
  115 + "pages/service_share/service_share",
  116 + "pages/cardList/cardList",
  117 + "pages/goodsInfo/goodsInfo",
  118 + "pages/my_service/appment_main",
  119 + "pages/my_service/i_service",
  120 + "pages/my_service/cosmetology_list",
  121 + "pages/my_service/hist_service",
  122 + "pages/my_service/tment_details",
  123 + "pages/my_service/tment_eval",
  124 + "pages/my_service/tment_order_list",
  125 + "pages/my_service/beauty_deta",
  126 + "pages/my_service2/appment_main",
  127 + "pages/profile/profile",
  128 + "pages/parseHtml/parseHtml",
  129 + "pages/myGift/myGift",
  130 + "pages/myGiftDetails/myGiftDetails",
  131 + "pages/cart2_ser/cart2_ser",
  132 + "pages/libao_payment/payment",
  133 + "pages/details_serviceCard/details_serviceCard"
  134 + ]
213 }, 135 },
214 { 136 {
215 - "pagePath": "pages/goods/categoryList/categoryList",  
216 - "text": "分类",  
217 - "iconPath": "packageA/images/bar/fl.png",  
218 - "selectedIconPath": "packageA/images/bar/fl_on.png" 137 + "root": "packageB/",
  138 + "name": "pack2",
  139 + "pages": [
  140 + "pages/user/collect_list/collect_list",
  141 + "pages/user/comment/comment",
  142 + "pages/user/view_comment/view_comment",
  143 + "pages/user/add_comment/add_comment",
  144 + "pages/user/user_coupon/user_coupon",
  145 + "pages/user/buyDetails/buyDetails",
  146 + "pages/evaluate/evaluate",
  147 + "pages/evaluate_list/evaluate_list",
  148 + "pages/luckactivity/luckinfo/luckinfo",
  149 + "pages/luckactivity/index/index",
  150 + "pages/user/Change_phone/Change_phone",
  151 + "pages/zuhegou/index/index",
  152 + "pages/zuhegou/list/list",
  153 + "pages/user/binding_info/binding_info",
  154 + "pages/user/choice_guide/choice_guide",
  155 + "pages/video/index",
  156 + "pages/boxes-list/boxes-list",
  157 + "pages/boxes-details/boxes-details",
  158 + "pages/AI-test-skin/index/aiskin",
  159 + "pages/AI-test-skin/shoot_notice/shoot_notice",
  160 + "pages/AI-test-skin/history_record/history_record",
  161 + "pages/AI-test-skin/select_photo/select_photo",
  162 + "pages/AI-test-skin/fail_result/fail_result",
  163 + "pages/AI-test-skin/success_result/success_result",
  164 + "pages/AI-test-skin/analyse/analyse"
  165 + ]
219 }, 166 },
220 - {  
221 - "pagePath": "pages/distribution/distribution",  
222 - "text": "分销",  
223 - "iconPath": "packageA/images/bar/fx.png",  
224 - "selectedIconPath": "packageA/images/bar/fx_on.png"  
225 - },  
226 { 167 {
227 - "pagePath": "pages/cart/cart/cart",  
228 - "text": "购物车",  
229 - "iconPath": "packageA/images/bar/car.png",  
230 - "selectedIconPath": "packageA/images/bar/car_on.png"  
231 - },  
232 - {  
233 - "pagePath": "pages/user/index/index",  
234 - "text": "我的",  
235 - "iconPath": "packageA/images/bar/user.png",  
236 - "selectedIconPath": "packageA/images/bar/user_on.png" 168 + "root": "packageC/",
  169 + "name": "pack3",
  170 + "pages": [
  171 + "pages/group_list/group_list",
  172 + "pages/presell/list/list",
  173 + "pages/presell/cart/cart",
  174 + "pages/presell/cart/cart2",
  175 + "pages/presell/cart/cart2_pre",
  176 + "pages/presell/goodsInfo/goodsInfo",
  177 + "pages/goods/distributionCategoryList/index",
  178 + "pages/goods/goodsList/goodsList",
  179 + "pages/payForAnother/payForAnother",
  180 + "pages/luckyGo/luckyGo_cart/luckyGo_cart",
  181 + "pages/luckyGo/luckyGo_cart_ct/luckyGo_cart_ct",
  182 + "pages/luckyGo/luckyGo_list/luckyGo_list",
  183 + "pages/luckyGo/luckyGo_order/luckyGo_order",
  184 + "pages/luckyGo/luckyGo_details/luckyGo_details",
  185 + "pages/luckyGo/luckyGo_winners/luckyGo_winners",
  186 + "pages/luckyGo/luckyGo_members/luckyGo_members",
  187 + "pages/luckyGo/luckyGo_goodsInfo/luckyGo_goodsInfo",
  188 + "pages/luckyGo/luckyGo_activityList/luckyGo_activityList"
  189 + ]
  190 + }
  191 + ],
  192 + "permission": {
  193 + "scope.userLocation": {
  194 + "desc": "获取你的位置信息"
237 } 195 }
238 - ]  
239 - },  
240 - "debug": false,  
241 - "sitemapLocation": "sitemap.json",  
242 - "usingComponents": {  
243 - "customtabbar":"custom-tab-bar/index"  
244 - }, 196 + },
  197 + "window": {
  198 + "backgroundTextStyle": "light",
  199 + "navigationBarTextStyle": "black",
  200 + "navigationBarTitleText": "加载中...",
  201 + "navigationBarBackgroundColor": "#ffffff",
  202 + "backgroundColor": "#ffffff",
  203 + "enablePullDownRefresh": true
  204 + },
  205 + "tabBar": {
  206 + "custom": true,
  207 + "color": "#6e6d6b",
  208 + "selectedColor": "#f23030",
  209 + "borderStyle": "white",
  210 + "backgroundColor": "#ffffff",
  211 + "list": [
  212 + {
  213 + "pagePath": "pages/index/index/index",
  214 + "text": "首页",
  215 + "iconPath": "packageA/images/bar/index.png",
  216 + "selectedIconPath": "packageA/images/bar/index_on.png"
  217 + },
  218 + {
  219 + "pagePath": "pages/goods/categoryList/categoryList",
  220 + "text": "分类",
  221 + "iconPath": "packageA/images/bar/fl.png",
  222 + "selectedIconPath": "packageA/images/bar/fl_on.png"
  223 + },
  224 + {
  225 + "pagePath": "pages/distribution/distribution",
  226 + "text": "分销",
  227 + "iconPath": "packageA/images/bar/fx.png",
  228 + "selectedIconPath": "packageA/images/bar/fx_on.png"
  229 + },
  230 + {
  231 + "pagePath": "pages/cart/cart/cart",
  232 + "text": "购物车",
  233 + "iconPath": "packageA/images/bar/car.png",
  234 + "selectedIconPath": "packageA/images/bar/car_on.png"
  235 + },
  236 + {
  237 + "pagePath": "pages/user/index/index",
  238 + "text": "我的",
  239 + "iconPath": "packageA/images/bar/user.png",
  240 + "selectedIconPath": "packageA/images/bar/user_on.png"
  241 + }
  242 + ]
  243 + },
  244 + "debug": false,
  245 + "sitemapLocation": "sitemap.json",
  246 + "usingComponents": {
  247 + "customtabbar": "custom-tab-bar/index"
  248 + },
245 "useExtendedLib": { 249 "useExtendedLib": {
246 - "weui": true 250 + "weui": true
247 } 251 }
248 -  
249 } 252 }
250 \ No newline at end of file 253 \ No newline at end of file
packageB/pages/AI-test-skin/analyse/analyse.js 0 → 100644
  1 +// packageB/pages/AI-test-skin/analyse/analyse.js
  2 +const app = getApp();
  3 +const request = app.request;
  4 +const os = app.globalData;
  5 +const setting = os.setting;
  6 +const ut = require('../../../../utils/util');
  7 +Page({
  8 +
  9 + /**
  10 + * 页面的初始数据
  11 + */
  12 + data: {
  13 + iurl: setting.imghost,
  14 + },
  15 +
  16 + /**
  17 + * 生命周期函数--监听页面加载
  18 + */
  19 + onLoad: function (options) {
  20 +
  21 + },
  22 +
  23 + /**
  24 + * 生命周期函数--监听页面初次渲染完成
  25 + */
  26 + onReady: function () {
  27 +
  28 + },
  29 +
  30 + /**
  31 + * 生命周期函数--监听页面显示
  32 + */
  33 + onShow: function () {
  34 +
  35 + },
  36 +
  37 + /**
  38 + * 生命周期函数--监听页面隐藏
  39 + */
  40 + onHide: function () {
  41 +
  42 + },
  43 +
  44 + /**
  45 + * 生命周期函数--监听页面卸载
  46 + */
  47 + onUnload: function () {
  48 +
  49 + },
  50 +
  51 + /**
  52 + * 页面相关事件处理函数--监听用户下拉动作
  53 + */
  54 + onPullDownRefresh: function () {
  55 +
  56 + },
  57 +
  58 + /**
  59 + * 页面上拉触底事件的处理函数
  60 + */
  61 + onReachBottom: function () {
  62 +
  63 + },
  64 +
  65 + /**
  66 + * 用户点击右上角分享
  67 + */
  68 + onShareAppMessage: function () {
  69 +
  70 + }
  71 +})
0 \ No newline at end of file 72 \ No newline at end of file
packageB/pages/AI-test-skin/analyse/analyse.json 0 → 100644
  1 +{
  2 + "usingComponents": {}
  3 +}
0 \ No newline at end of file 4 \ No newline at end of file
packageB/pages/AI-test-skin/analyse/analyse.wxml 0 → 100644
  1 +<!--packageB/pages/AI-test-skin/analyse/analyse.wxml-->
  2 +<view class="content">
  3 + <image src="{{iurl}}/miniapp/images/skinimg/11.jpeg"></image>
  4 +</view>
packageB/pages/AI-test-skin/analyse/analyse.wxss 0 → 100644
  1 +/* packageB/pages/AI-test-skin/analyse/analyse.wxss */
0 \ No newline at end of file 2 \ No newline at end of file
packageB/pages/AI-test-skin/fail_result/fail_result.js 0 → 100644
  1 +// packageB/pages/AI-test-skin/fail_result/fail_result.js
  2 +Page({
  3 +
  4 + /**
  5 + * 页面的初始数据
  6 + */
  7 + data: {
  8 +
  9 + },
  10 +
  11 + /**
  12 + * 生命周期函数--监听页面加载
  13 + */
  14 + onLoad: function (options) {
  15 +
  16 + },
  17 +
  18 + /**
  19 + * 生命周期函数--监听页面初次渲染完成
  20 + */
  21 + onReady: function () {
  22 +
  23 + },
  24 +
  25 + /**
  26 + * 生命周期函数--监听页面显示
  27 + */
  28 + onShow: function () {
  29 +
  30 + },
  31 +
  32 + /**
  33 + * 生命周期函数--监听页面隐藏
  34 + */
  35 + onHide: function () {
  36 +
  37 + },
  38 +
  39 + /**
  40 + * 生命周期函数--监听页面卸载
  41 + */
  42 + onUnload: function () {
  43 +
  44 + },
  45 +
  46 + /**
  47 + * 页面相关事件处理函数--监听用户下拉动作
  48 + */
  49 + onPullDownRefresh: function () {
  50 +
  51 + },
  52 +
  53 + /**
  54 + * 页面上拉触底事件的处理函数
  55 + */
  56 + onReachBottom: function () {
  57 +
  58 + },
  59 +
  60 + /**
  61 + * 用户点击右上角分享
  62 + */
  63 + onShareAppMessage: function () {
  64 +
  65 + }
  66 +})
0 \ No newline at end of file 67 \ No newline at end of file
packageB/pages/AI-test-skin/fail_result/fail_result.json 0 → 100644
  1 +{
  2 + "usingComponents": {}
  3 +}
0 \ No newline at end of file 4 \ No newline at end of file
packageB/pages/AI-test-skin/fail_result/fail_result.wxml 0 → 100644
  1 +<!--packageB/pages/AI-test-skin/fail_result/fail_result.wxml-->
  2 +<text>packageB/pages/AI-test-skin/fail_result/fail_result.wxml</text>
packageB/pages/AI-test-skin/fail_result/fail_result.wxss 0 → 100644
  1 +/* packageB/pages/AI-test-skin/fail_result/fail_result.wxss */
0 \ No newline at end of file 2 \ No newline at end of file
packageB/pages/AI-test-skin/history_record/history_record.js 0 → 100644
  1 +// packageB/pages/AI-test-skin/history_record/history_record.js
  2 +Page({
  3 +
  4 + /**
  5 + * 页面的初始数据
  6 + */
  7 + data: {
  8 +
  9 + },
  10 +
  11 + /**
  12 + * 生命周期函数--监听页面加载
  13 + */
  14 + onLoad: function (options) {
  15 +
  16 + },
  17 +
  18 + /**
  19 + * 生命周期函数--监听页面初次渲染完成
  20 + */
  21 + onReady: function () {
  22 +
  23 + },
  24 +
  25 + /**
  26 + * 生命周期函数--监听页面显示
  27 + */
  28 + onShow: function () {
  29 +
  30 + },
  31 +
  32 + /**
  33 + * 生命周期函数--监听页面隐藏
  34 + */
  35 + onHide: function () {
  36 +
  37 + },
  38 +
  39 + /**
  40 + * 生命周期函数--监听页面卸载
  41 + */
  42 + onUnload: function () {
  43 +
  44 + },
  45 +
  46 + /**
  47 + * 页面相关事件处理函数--监听用户下拉动作
  48 + */
  49 + onPullDownRefresh: function () {
  50 +
  51 + },
  52 +
  53 + /**
  54 + * 页面上拉触底事件的处理函数
  55 + */
  56 + onReachBottom: function () {
  57 +
  58 + },
  59 +
  60 + /**
  61 + * 用户点击右上角分享
  62 + */
  63 + onShareAppMessage: function () {
  64 +
  65 + }
  66 +})
0 \ No newline at end of file 67 \ No newline at end of file
packageB/pages/AI-test-skin/history_record/history_record.json 0 → 100644
  1 +{
  2 + "usingComponents": {}
  3 +}
0 \ No newline at end of file 4 \ No newline at end of file
packageB/pages/AI-test-skin/history_record/history_record.wxml 0 → 100644
  1 +<!--packageB/pages/AI-test-skin/history_record/history_record.wxml-->
  2 +<text>packageB/pages/AI-test-skin/history_record/history_record.wxml</text>
packageB/pages/AI-test-skin/history_record/history_record.wxss 0 → 100644
  1 +/* packageB/pages/AI-test-skin/history_record/history_record.wxss */
  2 +page {
  3 + width: 100vw;
  4 + height: 100%;
  5 + padding: 20rpx;
  6 + padding-top: 40rpx;
  7 + box-sizing: border-box;
  8 + background-color: #e7f5fb;
  9 +}
0 \ No newline at end of file 10 \ No newline at end of file
packageB/pages/AI-test-skin/index/aiskin.wxml
@@ -3,7 +3,7 @@ @@ -3,7 +3,7 @@
3 <cover-view style="padding: 0 6rpx 0 25rpx;" bindtap="goto" data-url="/packageB/pages/AI-test-skin/history_record/history_record">历史档案</cover-view> 3 <cover-view style="padding: 0 6rpx 0 25rpx;" bindtap="goto" data-url="/packageB/pages/AI-test-skin/history_record/history_record">历史档案</cover-view>
4 <text class="iconfont icon-arrow_right"></text> 4 <text class="iconfont icon-arrow_right"></text>
5 </view> 5 </view>
6 - <image src="{{iurl}}/miniapp/images/skinimg/3.jpeg "></image> 6 + <image src="{{iurl}}/miniapp/images/skinimg/3.jpeg"></image>
7 <view class="start_btn" bindtap="goto" data-url="/packageB/pages/AI-test-skin/shoot_notice/shoot_notice"> 7 <view class="start_btn" bindtap="goto" data-url="/packageB/pages/AI-test-skin/shoot_notice/shoot_notice">
8 <text>开始测肤</text> 8 <text>开始测肤</text>
9 </view> 9 </view>
packageB/pages/AI-test-skin/select_photo/select_photo.js 0 → 100644
  1 +/*
  2 + * @Author: your name
  3 + * @Date: 2022-02-16 14:34:42
  4 + * @LastEditTime: 2022-02-16 15:42:25
  5 + * @LastEditors: Please set LastEditors
  6 + * @Description: 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
  7 + * @FilePath: \MShopWeApp\packageB\pages\AI-test-skin\select_photo\select_photo.js
  8 + */
  9 +// packageB/pages/AI-test-skin/select_photo/select_photo.js
  10 +const app = getApp();
  11 +const request = app.request;
  12 +const os = app.globalData;
  13 +const setting = os.setting;
  14 +const ut = require('../../../../utils/util');
  15 +Page({
  16 +
  17 + /**
  18 + * 页面的初始数据
  19 + */
  20 + data: {
  21 + iurl: setting.imghost,
  22 + },
  23 +
  24 + /**
  25 + * 生命周期函数--监听页面加载
  26 + */
  27 + onLoad: function (options) {
  28 +
  29 + },
  30 +
  31 + /**
  32 + * 生命周期函数--监听页面初次渲染完成
  33 + */
  34 + onReady: function () {
  35 +
  36 + },
  37 +
  38 + /**
  39 + * 生命周期函数--监听页面显示
  40 + */
  41 + onShow: function () {
  42 +
  43 + },
  44 +
  45 + goto(){
  46 + let url = "/packageB/pages/AI-test-skin/analyse/analyse"; //跳到分析页
  47 + app.goto(url);
  48 + },
  49 +
  50 + /**
  51 + * 生命周期函数--监听页面隐藏
  52 + */
  53 + onHide: function () {
  54 +
  55 + },
  56 +
  57 + /**
  58 + * 生命周期函数--监听页面卸载
  59 + */
  60 + onUnload: function () {
  61 +
  62 + },
  63 +
  64 + /**
  65 + * 页面相关事件处理函数--监听用户下拉动作
  66 + */
  67 + onPullDownRefresh: function () {
  68 +
  69 + },
  70 +
  71 + /**
  72 + * 页面上拉触底事件的处理函数
  73 + */
  74 + onReachBottom: function () {
  75 +
  76 + },
  77 +
  78 + /**
  79 + * 用户点击右上角分享
  80 + */
  81 + onShareAppMessage: function () {
  82 +
  83 + }
  84 +})
0 \ No newline at end of file 85 \ No newline at end of file
packageB/pages/AI-test-skin/select_photo/select_photo.json 0 → 100644
  1 +{
  2 + "usingComponents": {}
  3 +}
0 \ No newline at end of file 4 \ No newline at end of file
packageB/pages/AI-test-skin/select_photo/select_photo.wxml 0 → 100644
  1 +<view class="content" style="height: 70%;">
  2 + <view style="height: 100%;">
  3 + <image style="height: 100%;width: 100%;border-radius: 3%;" src="/packageB/images/touxiang.jpg"></image>
  4 + </view>
  5 + <view class="foot_btn">
  6 + <view class="reset_select">
  7 + <text class="iconfont icon-zuojiantou"></text>
  8 + <text>重拍</text>
  9 + </view>
  10 + <view class="ok_btn" bindtap="goto">
  11 + <text class="iconfont icon-dagou" style="margin-right: 10rpx"></text>
  12 + <text>完成</text>
  13 + </view>
  14 + </view>
  15 +</view>
packageB/pages/AI-test-skin/select_photo/select_photo.wxss 0 → 100644
  1 +/* packageB/pages/AI-test-skin/select_photo/select_photo.wxss */
  2 +page {
  3 + width: 100%;
  4 + height: 100%;
  5 +}
  6 +
  7 +.content {
  8 + padding: 10%;
  9 + height: 60%;
  10 +}
  11 +
  12 +.foot_btn {
  13 + margin-top: 80rpx;
  14 + display: flex;
  15 + justify-content: space-between;
  16 +}
  17 +
  18 +.foot_btn .reset_select {
  19 + display: flex;
  20 + flex-direction: column;
  21 +}
  22 +
  23 +.foot_btn .ok_btn {
  24 + background: #5dd9dc;
  25 + padding: 0 50rpx;
  26 + border-radius: 50rpx;
  27 + /* margin: 0 auto; */
  28 + line-height: 100rpx;
  29 + color: #fff;
  30 +}
packageB/pages/AI-test-skin/shoot_notice/shoot_notice.js
  1 +/*
  2 + * @Author: your name
  3 + * @Date: 2022-02-15 10:01:57
  4 + * @LastEditTime: 2022-02-16 15:40:54
  5 + * @LastEditors: Please set LastEditors
  6 + * @Description: 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AEet urkl
  7 + * @FilePath: \MShopWeApp\packageB\pages\AI-test-skin\shoot_notice\shoot_notice.js
  8 + */
1 // packageB/pages/AI-test-skin/shoot_notice/shoot_notice.js 9 // packageB/pages/AI-test-skin/shoot_notice/shoot_notice.js
2 const app = getApp(); 10 const app = getApp();
3 const request = app.request; 11 const request = app.request;
@@ -33,6 +41,10 @@ Page({ @@ -33,6 +41,10 @@ Page({
33 onShow: function () { 41 onShow: function () {
34 42
35 }, 43 },
  44 + goto(){
  45 + let url = "/packageB/pages/AI-test-skin/select_photo/select_photo";
  46 + app.goto(url);
  47 + },
36 48
37 /** 49 /**
38 * 生命周期函数--监听页面隐藏 50 * 生命周期函数--监听页面隐藏
packageB/pages/AI-test-skin/shoot_notice/shoot_notice.wxml
@@ -51,7 +51,7 @@ @@ -51,7 +51,7 @@
51 </view> 51 </view>
52 <view style="height: 300rpx;background-color: #e7f5fb;"> 52 <view style="height: 300rpx;background-color: #e7f5fb;">
53 <view class="btn_fixed"> 53 <view class="btn_fixed">
54 - <view class="btn"> 54 + <view class="btn" bindtap="goto">
55 准备闭眼拍摄 55 准备闭眼拍摄
56 </view> 56 </view>
57 <view class="notice" style="display:flex;justify-content:center;align-items: center;"> 57 <view class="notice" style="display:flex;justify-content:center;align-items: center;">
packageB/pages/AI-test-skin/success_result/success_result.js 0 → 100644
  1 +// packageB/pages/AI-test-skin/success_result/success_result.js
  2 +Page({
  3 +
  4 + /**
  5 + * 页面的初始数据
  6 + */
  7 + data: {
  8 +
  9 + },
  10 +
  11 + /**
  12 + * 生命周期函数--监听页面加载
  13 + */
  14 + onLoad: function (options) {
  15 +
  16 + },
  17 +
  18 + /**
  19 + * 生命周期函数--监听页面初次渲染完成
  20 + */
  21 + onReady: function () {
  22 +
  23 + },
  24 +
  25 + /**
  26 + * 生命周期函数--监听页面显示
  27 + */
  28 + onShow: function () {
  29 +
  30 + },
  31 +
  32 + /**
  33 + * 生命周期函数--监听页面隐藏
  34 + */
  35 + onHide: function () {
  36 +
  37 + },
  38 +
  39 + /**
  40 + * 生命周期函数--监听页面卸载
  41 + */
  42 + onUnload: function () {
  43 +
  44 + },
  45 +
  46 + /**
  47 + * 页面相关事件处理函数--监听用户下拉动作
  48 + */
  49 + onPullDownRefresh: function () {
  50 +
  51 + },
  52 +
  53 + /**
  54 + * 页面上拉触底事件的处理函数
  55 + */
  56 + onReachBottom: function () {
  57 +
  58 + },
  59 +
  60 + /**
  61 + * 用户点击右上角分享
  62 + */
  63 + onShareAppMessage: function () {
  64 +
  65 + }
  66 +})
0 \ No newline at end of file 67 \ No newline at end of file
packageB/pages/AI-test-skin/success_result/success_result.json 0 → 100644
  1 +{
  2 + "usingComponents": {}
  3 +}
0 \ No newline at end of file 4 \ No newline at end of file
packageB/pages/AI-test-skin/success_result/success_result.wxml 0 → 100644
  1 +<!--packageB/pages/AI-test-skin/success_result/success_result.wxml-->
  2 +<text>packageB/pages/AI-test-skin/success_result/success_result.wxml</text>
packageB/pages/AI-test-skin/success_result/success_result.wxss 0 → 100644
  1 +/* packageB/pages/AI-test-skin/success_result/success_result.wxss */
0 \ No newline at end of file 2 \ No newline at end of file