Explorar el Código

Merge branches 'dev' and 'dev' of http://git.ycjcjy.com/shigongli/miniapp-v2 into dev

吃个甘蔗嚼一年 hace 3 años
padre
commit
18529d0625

+ 1
- 1
project.config.json Ver fichero

2
   "miniprogramRoot": "./dist",
2
   "miniprogramRoot": "./dist",
3
   "projectname": "miniapp",
3
   "projectname": "miniapp",
4
   "description": "十公里",
4
   "description": "十公里",
5
-  "appid": "wx06a7372d48d56843",
5
+  "appid": "wx835627a9b9b3932a",
6
   "setting": {
6
   "setting": {
7
     "urlCheck": true,
7
     "urlCheck": true,
8
     "es6": false,
8
     "es6": false,

+ 1
- 1
src/hotel/pages/components/Extend/index.jsx Ver fichero

110
             : item.contentType == 'video' ?
110
             : item.contentType == 'video' ?
111
               <View>
111
               <View>
112
                 <SlideView del onDelete={handelDelete}>
112
                 <SlideView del onDelete={handelDelete}>
113
-                  <Video className='storezn' style={{ width: '100%', display: 'block' }} src={eimg} />
113
+                  <Video style={{ width: '100%', display: 'block' }} src={eimg} />
114
                 </SlideView>
114
                 </SlideView>
115
               </View>
115
               </View>
116
               : null
116
               : null

+ 1
- 0
src/hotel/pages/components/Extend/style.less Ver fichero

48
     line-height: 64px;
48
     line-height: 64px;
49
     margin-bottom: 60px;
49
     margin-bottom: 60px;
50
     text-align: justify;
50
     text-align: justify;
51
+    white-space: pre-wrap;
51
   }
52
   }
52
   // .weui-slideview__btn__wrp{
53
   // .weui-slideview__btn__wrp{
53
   //   background: #FFFFFF;
54
   //   background: #FFFFFF;

+ 5
- 7
src/shop/pages/spread/spreadIndex.jsx Ver fichero

22
 
22
 
23
 export default withLayout((props) => {
23
 export default withLayout((props) => {
24
   const { router, person } = props
24
   const { router, person } = props
25
-
26
   const { params } = useRouter()
25
   const { params } = useRouter()
27
-  const { tab } = params || {}
26
+  const { tab,cardShop } = params || {}
28
   const [currentTab, setCurrentTab] = useState(0)
27
   const [currentTab, setCurrentTab] = useState(0)
28
+  //顶部的商铺列表
29
   const [shopList, setShopList] = useState([])
29
   const [shopList, setShopList] = useState([])
30
+  //当前商铺
30
   const [shop, setShop] = useState()
31
   const [shop, setShop] = useState()
31
   const shopId = shop?.shopId
32
   const shopId = shop?.shopId
32
-  const [loading, setLoading] = useState(false)
33
 
33
 
34
+  
34
   const [amountType, setAmountType] = useState('order')
35
   const [amountType, setAmountType] = useState('order')
35
   const [isVerified, setisVerified] = useState(0)
36
   const [isVerified, setisVerified] = useState(0)
36
   const [shopMoney, setShopMoney] = useState([])
37
   const [shopMoney, setShopMoney] = useState([])
73
   }
74
   }
74
 
75
 
75
   useEffect(() => {
76
   useEffect(() => {
76
-    setLoading(true)
77
     if (shopId) {
77
     if (shopId) {
78
       getShopMoney(shopId, amountType).then((e) => {
78
       getShopMoney(shopId, amountType).then((e) => {
79
         setShopMoney(e)
79
         setShopMoney(e)
80
-        setLoading(false)
81
-      }).catch(setLoading(false))
80
+      })
82
     }
81
     }
83
-
84
   }, [amountType, shopId, currentTab])
82
   }, [amountType, shopId, currentTab])
85
 
83
 
86
   //店铺选择
84
   //店铺选择