Commit 69e7d5151ba42b4d45592b28301abe7b3dd3baa3
1 parent
6ec9400c
oa 单
Showing
4 changed files
with
9 additions
and
15 deletions
packageD/pages/AI-test-skin/success_result/success_result.js
1 | /* | 1 | /* |
2 | * @Author: abson | 2 | * @Author: abson |
3 | * @Date: 2022-02-16 15:36:47 | 3 | * @Date: 2022-02-16 15:36:47 |
4 | - * @LastEditTime: 2022-02-28 16:01:07 | 4 | + * @LastEditTime: 2022-03-10 11:16:23 |
5 | * @LastEditors: Please set LastEditors | 5 | * @LastEditors: Please set LastEditors |
6 | * @Description: 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE | 6 | * @Description: 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE |
7 | * @FilePath: \MShopWeApp\packageB\pages\AI-test-skin\success_result\success_result.js | 7 | * @FilePath: \MShopWeApp\packageB\pages\AI-test-skin\success_result\success_result.js |
@@ -63,14 +63,7 @@ Page({ | @@ -63,14 +63,7 @@ Page({ | ||
63 | }, | 63 | }, |
64 | 64 | ||
65 | onReady: function () { | 65 | onReady: function () { |
66 | - //用异步的获取比较准一点 | ||
67 | - wx.getSystemInfo({ | ||
68 | - success(res) { | ||
69 | - console.log(111); | ||
70 | - console.log(res.windowWidth); | ||
71 | - console.log(res.windowHeight); | ||
72 | - } | ||
73 | - }) | 66 | + |
74 | }, | 67 | }, |
75 | 68 | ||
76 | /** | 69 | /** |
@@ -155,7 +148,6 @@ Page({ | @@ -155,7 +148,6 @@ Page({ | ||
155 | var eye_data1 = face_data1.landmark150.eye_left_corner_right; | 148 | var eye_data1 = face_data1.landmark150.eye_left_corner_right; |
156 | var eye_data2 = face_data1.landmark150.eye_left_corner_left; | 149 | var eye_data2 = face_data1.landmark150.eye_left_corner_left; |
157 | var eye_data3 = face_data1.landmark150.eye_right_corner_right; | 150 | var eye_data3 = face_data1.landmark150.eye_right_corner_right; |
158 | - | ||
159 | var hei1 = Math.abs(eye_data1.x - eye_data2.x); | 151 | var hei1 = Math.abs(eye_data1.x - eye_data2.x); |
160 | var bili_eye = th.data.face_height * 0.56 / hei1; | 152 | var bili_eye = th.data.face_height * 0.56 / hei1; |
161 | var eye_top = eye_data1.y - hei1 / 2 | 153 | var eye_top = eye_data1.y - hei1 / 2 |
pages/cart/cart2/cart2.js
@@ -2257,8 +2257,6 @@ Page({ | @@ -2257,8 +2257,6 @@ Page({ | ||
2257 | var order_prom_txt1 = "formData.order_prom_id"; | 2257 | var order_prom_txt1 = "formData.order_prom_id"; |
2258 | var order_prom_txt2 = "formData.order_prom_amount"; | 2258 | var order_prom_txt2 = "formData.order_prom_amount"; |
2259 | th.setData({ [order_prom_txt1]: 0, [order_prom_txt2]: 0 }) | 2259 | th.setData({ [order_prom_txt1]: 0, [order_prom_txt2]: 0 }) |
2260 | - | ||
2261 | - | ||
2262 | total_m = parseFloat(total_m) + parseFloat(th.data.formData.shipping_price); | 2260 | total_m = parseFloat(total_m) + parseFloat(th.data.formData.shipping_price); |
2263 | order_m = parseFloat(order_m) + parseFloat(th.data.formData.shipping_price); | 2261 | order_m = parseFloat(order_m) + parseFloat(th.data.formData.shipping_price); |
2264 | var atxt = "formData.total_amount"; | 2262 | var atxt = "formData.total_amount"; |
pages/goods/goodsInfo/goodsInfo.wxml
@@ -274,8 +274,9 @@ | @@ -274,8 +274,9 @@ | ||
274 | </view> | 274 | </view> |
275 | </view> | 275 | </view> |
276 | <view class="goods-title"> | 276 | <view class="goods-title"> |
277 | - <view class="goods-name elli">{{data.goods_name}}</view> | ||
278 | - </view> | 277 | + <image wx:if="{{data.commission > 0}}" style="width: 25rpx;height: 25rpx;margin-right: 6rpx;" src="https://mshop-lib.yolipai.net/template/mobile/new/static/images/addmoney.png"></image> |
278 | + <view class="goods-name elli">{{data.goods_name}}</view> | ||
279 | + </view> | ||
279 | <view class="goods-num"> | 280 | <view class="goods-num"> |
280 | <view class="sales">销量:{{prom_act.buy_num+prom_act.virtual}}件</view> | 281 | <view class="sales">销量:{{prom_act.buy_num+prom_act.virtual}}件</view> |
281 | <view class="stock"> | 282 | <view class="stock"> |
@@ -391,6 +392,7 @@ | @@ -391,6 +392,7 @@ | ||
391 | <!-- 许程商品名字 --> | 392 | <!-- 许程商品名字 --> |
392 | <view wx:if="{{prom_type!=1 && prom_type!=2 }}"> | 393 | <view wx:if="{{prom_type!=1 && prom_type!=2 }}"> |
393 | <view class="goods-title"> | 394 | <view class="goods-title"> |
395 | + <image wx:if="{{data.commission > 0}}" style="width: 25rpx;height: 25rpx;margin-right: 6rpx;" src="https://mshop-lib.yolipai.net/template/mobile/new/static/images/addmoney.png"></image> | ||
394 | <view class="goods-name elli">{{data.goods_name}}</view> | 396 | <view class="goods-name elli">{{data.goods_name}}</view> |
395 | </view> | 397 | </view> |
396 | </view> | 398 | </view> |
pages/goods/goodsInfo/goodsInfo.wxss
@@ -126,7 +126,9 @@ image { | @@ -126,7 +126,9 @@ image { | ||
126 | 126 | ||
127 | .goods-title { | 127 | .goods-title { |
128 | display: flex; | 128 | display: flex; |
129 | - justify-content: space-between; | 129 | + justify-content: space-between; |
130 | + align-items: center; | ||
131 | + vertical-align: middle; | ||
130 | /* overflow: hidden; */ | 132 | /* overflow: hidden; */ |
131 | /* height: 108rpx; */ | 133 | /* height: 108rpx; */ |
132 | } | 134 | } |