Browse Source

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

吃个甘蔗嚼一年 3 years ago
parent
commit
9ccdcb9df0

+ 1
- 1
src/components/foodCards/foodCards.jsx View File

@@ -51,7 +51,7 @@ export default (props) => {
51 51
             </view>
52 52
             <view className='address'>
53 53
               <image className='dw' src={wz} />
54
-              <text className='wz'>{det.areaName=='南京市'?det.areaName:item.areaPName+'/'+det.areaName}</text>
54
+              <text className='wz'>{det.areaName=='南京市'?det.areaName:det.areaPName+'/'+det.areaName}</text>
55 55
               <view style={{ display: 'inline-block' }} onClick={toggleSave}>
56 56
                 <image className='star' src={isSaved > 0 ? ax : good}></image>
57 57
                 <text className='collection'>{isSaved > 0 ? '已收藏' : '加入收藏'}</text>

+ 4
- 0
src/pages/MineUserAll/RefundMoney/CheckRefund/index.jsx View File

@@ -80,10 +80,14 @@ export default withLayout((props) => {
80 80
 
81 81
 
82 82
   const onRefund = () => {
83
+    Taro.showLoading({
84
+      title: '退款中',
85
+    })
83 86
     refund(id, {
84 87
       refundDecription: checkeds?.map(x => options.filter(y => y.key == x)[0]?.title).join(';'),
85 88
       refundReason: explain,
86 89
     }).then((res) => {
90
+      Taro.hideLoading();
87 91
       Taro.navigateBack({ delta: 1 })
88 92
       Taro.showToast({
89 93
         title: "退款成功",

+ 1
- 0
src/pages/TobeShop/index.jsx View File

@@ -82,6 +82,7 @@ export default withLayout((props) => {
82 82
         Taro.hideLoading()
83 83
         setShowDialog(false);
84 84
         setConsumption(true);
85
+        Taro.navigateTo({ url: '/pages/MineUserAll/AllOrder/index?tabJump=3' })
85 86
       }).catch(e => {
86 87
         Taro.hideLoading()
87 88
         setShowDialog(false);

+ 1
- 1
src/pages/details/foodDetails/foodDetails.jsx View File

@@ -40,7 +40,7 @@ export default withLayout((props) => {
40 40
   }, [id, subOrderId]);
41 41
 
42 42
   useEffect(() => {
43
-    if (id && scene) {
43
+    if (id && scene&&!subOrderId) {
44 44
       getVerifyTargetList({
45 45
         shopId: id,
46 46
         isMine: true,