吃个甘蔗嚼一年 3 년 전
부모
커밋
3ea5bd38e8
4개의 변경된 파일3개의 추가작업 그리고 27개의 파일을 삭제
  1. 0
    18
      .vscode/launch.json
  2. 0
    2
      src/components/PayOrderCard/index.jsx
  3. 0
    2
      src/pages/PayOrder/index.config.js
  4. 3
    5
      src/pages/PayOrder/index.jsx

+ 0
- 18
.vscode/launch.json 파일 보기

1
-{
2
-    // 使用 IntelliSense 了解相关属性。 
3
-    // 悬停以查看现有属性的描述。
4
-    // 欲了解更多信息,请访问: https://go.microsoft.com/fwlink/?linkid=830387
5
-    
6
-        "version": "0.2.0",
7
-        "configurations": [
8
-          {
9
-            "type": "pwa-msedge",
10
-            "request": "launch",
11
-            "name": "Launch Microsoft Edge and open the Edge DevTools",
12
-            "url": "http://localhost:8080",
13
-            "webRoot": "${workspaceFolder}"
14
-          }
15
-        ]
16
-      
17
-    
18
-}

+ 0
- 2
src/components/PayOrderCard/index.jsx 파일 보기

39
       onShopContent(shoPnumber)
39
       onShopContent(shoPnumber)
40
     })
40
     })
41
     onShopNumber()
41
     onShopNumber()
42
-    // console.log("🚀 ~ file: index.jsx ~ line 38 ~ ButtonOK ~ handeItemList", handeItemList)
43
 
42
 
44
 
43
 
45
   }
44
   }
115
         </view>
114
         </view>
116
       </view>
115
       </view>
117
     </view>
116
     </view>
118
-    // {moment(item.startTimeal).format('YYYY/MM/DD')}
119
 
117
 
120
 
118
 
121
   )
119
   )

+ 0
- 2
src/pages/PayOrder/index.config.js 파일 보기

8
     "mp-cells": "weui-miniprogram/cells/cells",
8
     "mp-cells": "weui-miniprogram/cells/cells",
9
     "mp-dialog": "weui-miniprogram/dialog/dialog"
9
     "mp-dialog": "weui-miniprogram/dialog/dialog"
10
   }
10
   }
11
-
12
-
13
 }
11
 }

+ 3
- 5
src/pages/PayOrder/index.jsx 파일 보기

2
 import image from "@/assets/icons/ProCard/8kb.jpg";
2
 import image from "@/assets/icons/ProCard/8kb.jpg";
3
 import { useState, useEffect } from "react";
3
 import { useState, useEffect } from "react";
4
 import { Button, Checkbox, Input } from "@tarojs/components";
4
 import { Button, Checkbox, Input } from "@tarojs/components";
5
-
6
 import food from "@/assets/icons/ProCard/food.png";
5
 import food from "@/assets/icons/ProCard/food.png";
7
 import ProCard_hot from "@/assets/icons/ProCard/ProCard_hot.png";
6
 import ProCard_hot from "@/assets/icons/ProCard/ProCard_hot.png";
8
 import CustomNav from "@/components/CustomNav";
7
 import CustomNav from "@/components/CustomNav";
9
 import OrderMolded from "@/components/OrderMolded";
8
 import OrderMolded from "@/components/OrderMolded";
10
 import Popup from "@/components/Popup";
9
 import Popup from "@/components/Popup";
11
-
12
 import "./style.less";
10
 import "./style.less";
13
 import Taro, { useDidShow } from "@tarojs/taro";
11
 import Taro, { useDidShow } from "@tarojs/taro";
14
 import { getShopPackageDetail } from "@/services/home";
12
 import { getShopPackageDetail } from "@/services/home";
167
     <view class="container">
165
     <view class="container">
168
       <CustomNav title="订单" />
166
       <CustomNav title="订单" />
169
       <Popup show={showDialog} maskClosable={false}>
167
       <Popup show={showDialog} maskClosable={false}>
170
-        <OrderMolded item={detail}/>
168
+        <OrderMolded item={detail} />
171
         <view className="item-center-Number">
169
         <view className="item-center-Number">
172
           <view
170
           <view
173
             className="buy-num-minus"
171
             className="buy-num-minus"
219
                   </view>
217
                   </view>
220
                   <text className="title-money">
218
                   <text className="title-money">
221
                     ¥{(item.actualPrice || item.unitPrice || 0) / 100}元
219
                     ¥{(item.actualPrice || item.unitPrice || 0) / 100}元
222
-                    <text className="title-money-2"></text>
220
+                    <text className="title-money-2">
223
                       门市价{(item.standardPrice || 0) / 100}元
221
                       门市价{(item.standardPrice || 0) / 100}元
224
                     </text>
222
                     </text>
225
                   </text>
223
                   </text>
286
           </Button>
284
           </Button>
287
         </view>
285
         </view>
288
       </view>
286
       </view>
289
-    </view >
287
+    </view>
290
   );
288
   );
291
 });
289
 });