Browse Source

v1.0.2版本下单维护

xiebaomin 1 năm trước cách đây
mục cha
commit
b7237fe4b5

+ 6 - 1
pages.json

@@ -151,6 +151,12 @@
                     "navigationBarTitleText": "商品详情",
                     "enablePullDownRefresh": false
                 }
+            }, {
+                "path": "Update-Maintenance",
+                "style": {
+                    "navigationBarTitleText": "提示",
+                    "enablePullDownRefresh": false
+                }
             }]
         },
         // 订单
@@ -180,7 +186,6 @@
                     "navigationBarTitleText": "订单列表",
                     "enablePullDownRefresh": false,
                     "navigationStyle": "custom"
-
                 }
             }, {
                 "path": "order-search",

+ 3 - 0
pages/tabBar/cart/cart.vue

@@ -238,6 +238,9 @@ export default {
 
         // 提交订单
         onSumit() {
+            return uni.navigateTo({
+                url:'/pages/views/goods/Update-Maintenance'
+            }) 
             if (this.checkedProductList.length <= 0) {
                 return this.$toast.error('请选择商品')
             }

+ 3 - 0
pages/views/cart/cart.vue

@@ -259,6 +259,9 @@ export default {
 
         // 提交订单
         onSumit() {
+            return uni.navigateTo({
+                url:'/pages/views/goods/Update-Maintenance'
+            })
             if (this.checkedProductList.length <= 0) {
                 return this.$toast.error('请选择商品')
             }

+ 25 - 0
pages/views/goods/Update-Maintenance.vue

@@ -0,0 +1,25 @@
+<template>
+    <view class="Update-Maintenance">
+        <image
+            src="https://static.caimei365.com/app/mini-hehe/icon/Update-Maintenance.png"
+            mode="aspectFill"
+            class="img"
+            show-menu-by-longpress="true"
+        ></image>
+    </view>
+</template>
+
+<script>
+export default {}
+</script>
+
+<style lang="scss" scoped>
+.Update-Maintenance {
+    width: 100vw;
+    height: 100vh;
+}
+.img {
+    width: 100%;
+    height: 100%;
+}
+</style>

+ 3 - 0
pages/views/goods/goods-detail.vue

@@ -268,6 +268,9 @@ export default {
 
         // 商品提交
         onSubmit(detail) {
+            return uni.navigateTo({
+                url:'/pages/views/goods/Update-Maintenance'
+            })
             // 用户未登录
             if (!this.userId) {
                 const pages = getCurrentPages()

+ 3 - 0
pages/views/order/mixins/orderList.js

@@ -15,6 +15,9 @@ const orderList = {
     methods: {
         // 操作订单
         handleConfirmClick(e) {
+            return uni.navigateTo({
+                url:'/pages/views/goods/Update-Maintenance'
+            })
             const { type, order } = (this.hanldOrder = e)
             switch (type) {
                 // 其他操作

+ 3 - 0
pages/views/order/order-pay.vue

@@ -114,6 +114,9 @@ export default {
         },
         // 确认支付
         handleModalConfirm(e) {
+            return uni.navigateTo({
+                url:'/pages/views/goods/Update-Maintenance'
+            })
             this.modal = false
             if (!e.index) return
             this.miniWxPayFor(this.orderInfo)