lisen 3 years ago
parent
commit
c1ad05b064
1 changed files with 2 additions and 1 deletions
  1. 2
    1
      src/pages/PayOrder/index.jsx

+ 2
- 1
src/pages/PayOrder/index.jsx View File

@@ -2,6 +2,7 @@ import withLayout from "@/layouts";
2 2
 import image from "@/assets/icons/ProCard/8kb.jpg";
3 3
 import { useState, useEffect } from "react";
4 4
 import { Button, Checkbox, Input } from "@tarojs/components";
5
+import AuthPage from '@/components/AuthPage'
5 6
 import food from "@/assets/icons/ProCard/food.png";
6 7
 import ProCard_hot from "@/assets/icons/ProCard/ProCard_hot.png";
7 8
 import CustomNav from "@/components/CustomNav";
@@ -180,7 +181,7 @@ export default withLayout((props) => {
180 181
   }, [list]);
181 182
 
182 183
   return (
183
-    <view class="container">
184
+    !person.phone ? <AuthPage /> : <view class="container">
184 185
       <CustomNav title="订单" />
185 186
       <Popup show={showDialog} maskClosable={false}>
186 187
         <OrderMolded item={detail} />