Sfoglia il codice sorgente

公告置顶、支付成功提示换成加载

xiaomei 1 anno fa
parent
commit
ea73f6dc2e

+ 12 - 0
src/pages/consultation-list/index.vue

@@ -14,6 +14,8 @@
             class="gg_img"
             :src="i.thumb"
           ></image>
+          <span class="topicon" v-if="i.open_type == 1">⭐️</span>
+          <!-- <image class="topicon" src="@/static/wallet/top.svg" /> -->
         </div>
       </div>
     </div>
@@ -65,6 +67,7 @@ export default {
       opacity: 1;
       border: 1px solid #dddddd;
       margin-top: 20px;
+      position: relative;
       // border-image: linear-gradient(
       //     135deg,
       //     rgba(41.00000135600567, 121.00000038743019, 255, 1),
@@ -111,8 +114,17 @@ export default {
           width: 237rpx;
           height: 166rpx;
           border-radius: 8px 8px 8px 8px;
+          margin-left: 10rpx;
           // background: red;
         }
+        .topicon{
+          position: absolute;
+          left:  4px;
+          top: 2px;
+          // width: 30rpx;
+          // height: 30rpx;
+          font-size: 18rpx;
+        }
       }
     }
   }

+ 4 - 2
src/pagesC/settledMerchant/pay.vue

@@ -157,14 +157,16 @@ export default {
                 if (res.code == 0 && data.prepayid) {
                     toPayOpre.toPay(data, (rea) => {
                         if (!rea) {
-                            this.$toast(res.msg)
+                            // this.$toast(res.msg)
+                            uni.showLoading()
                             setTimeout(() => {
                                 this.goto("/pagesB/orderingfood/orderlist",{type:2})
                             }, 1500);
                         } else {}
                     });
                 }else if (res.code == 0) {
-                    this.$toast(res.msg)
+                    // this.$toast(res.msg)
+                    uni.showLoading()
                     setTimeout(() => {
                         this.goto("/pagesB/orderingfood/orderlist",{type:2})
                     }, 1500);