瀏覽代碼

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

吃个甘蔗嚼一年 3 年之前
父節點
當前提交
9ccdcb9df0

+ 1
- 1
src/components/foodCards/foodCards.jsx 查看文件

51
             </view>
51
             </view>
52
             <view className='address'>
52
             <view className='address'>
53
               <image className='dw' src={wz} />
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
               <view style={{ display: 'inline-block' }} onClick={toggleSave}>
55
               <view style={{ display: 'inline-block' }} onClick={toggleSave}>
56
                 <image className='star' src={isSaved > 0 ? ax : good}></image>
56
                 <image className='star' src={isSaved > 0 ? ax : good}></image>
57
                 <text className='collection'>{isSaved > 0 ? '已收藏' : '加入收藏'}</text>
57
                 <text className='collection'>{isSaved > 0 ? '已收藏' : '加入收藏'}</text>

+ 4
- 0
src/pages/MineUserAll/RefundMoney/CheckRefund/index.jsx 查看文件

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

+ 1
- 0
src/pages/TobeShop/index.jsx 查看文件

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

+ 1
- 1
src/pages/details/foodDetails/foodDetails.jsx 查看文件

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