绿满眶商城微信小程序-uniapp
peng
2025-07-21 5ef23f712359ef7b86cd577c92df2b176965366a
解决主包过大问题
6个文件已修改
188 ■■■■ 已修改文件
pages.json 161 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
pages/mine/deposit/index.vue 6 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
pages/mine/deposit/operation.vue 7 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
pages/mine/deposit/recharge.vue 10 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
pages/order/orderDetail.vue 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
pages/tabbar/user/my.vue 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
pages.json
@@ -2,7 +2,8 @@
  "easycom": {
    "autoscan": true,
    "custom": {
      "^u-(.*)": "@/pages/subComponents/uview-components/uview-ui/components/u-$1/u-$1.vue"
      "^u-(.*)": "@/pages/subComponents/uview-components/uview-ui/components/u-$1/u-$1.vue",
      "__placeholder__": true
      //uview,
      // "^uni-(.*)": "@/uni_modules/uni-$1/components/uni-$1/uni-$1.vue" // uniapp组件
    }
@@ -528,13 +529,15 @@
        {
          "path": "deposit/index",
          "style": {
            "navigationStyle": "custom"
            // "navigationStyle": "custom"
            "navigationBarTitleText": "预存款列表"
          }
        },
        {
          "path": "deposit/operation",
          "style": {
            "navigationStyle": "custom"
              "navigationBarTitleText": "余额"
            // "navigationStyle": "custom"
          }
        },
        {
@@ -647,7 +650,12 @@
            "navigationStyle": "custom",
            // 隐藏系统导航栏
            "enablePullDownRefresh": true,
            "app-plus": {}
            "app-plus": {},
            "componentPlaceholder": {
              "u-navbar": "view",
              "u-image": "view",
              "u-avatar": "view"
            }
          }
        },
        {
@@ -761,7 +769,13 @@
        {
          "path": "msgTips/packageMsg/logisticsDetail",
          "style": {
            "navigationBarTitleText": "订单跟踪"
            "navigationBarTitleText": "订单跟踪",
            "componentPlaceholder": {
              "u-time-line": "view",
              "u-time-line-item": "view",
              "u-icon": "view",
              "u-empty": "view"
            }
          }
        },
        {
@@ -811,8 +825,8 @@
            "enablePullDownRefresh": true,
            //下拉刷新
            "componentPlaceholder": {
              "u-form": "view",
              "u-form-item": "view",
              "u-empty": "view",
              "u-loadmore": "view",
              "u-input": "view",
              "u-icon": "view",
              "u-action-sheet": "view",
@@ -888,6 +902,79 @@
          }
        },
        {
          "path": "m-share/index",
          "style": {
            "navigationBarTitleText": "",
            "navigationStyle": "custom",
            "componentPlaceholder": {
              "u-popup": "view",
              "u-icon": "view"
            }
          }
        },
        {
          "path": "m-goods-list/list",
          "style": {
            "navigationBarTitleText": "",
            "navigationStyle": "custom",
            "app-plus": {
              //app页面不显示滚动条
              "scrollIndicator": "none",
              "bottom": "0",
              "contentAdjust": "false",
              "bounce": "none",
              "safearea": {
                "bottom": "none"
              }
            },
            "componentPlaceholder": {
              "u-image": "view",
              "u-loading": "view",
              "u-tag": "view",
              "u-icon": "view"
            }
          }
        },
           {
             "path": "m-buy/goods",
             "style": {
               "navigationBarTitleText": "",
               "componentPlaceholder": {
                 "u-popup": "view",
                 "u-image": "view",
                 "u-alert-tips": "view"
               }
             }
           },
           {
             "path": "m-take-down-sale-goods/index",
             "style": {
               "navigationBarTitleText": "",
               "componentPlaceholder": {
                 "u-popup": "view"
               }
             }
           },
        // {
        //   "path": "popups/popups",
        //   "style": {
        //     "navigationBarTitleText": "",
        //     "componentPlaceholder": {
        //       "u-icon": "view",
        //       "u-button": "view",
        //       "u-form": "view",
        //       "u-form-item": "view",
        //       "u-input": "view",
        //       "u-popup": "view",
        //       "u-search": "view",
        //       "u-loading": "view",
        //       "u-navbar": "view",
        //       "u-image": "view",
        //       "u-loadmore": "view"
        //     }
        //   }
        // },
        {
          "path": "shopList",
          "style": {
            "navigationBarTitleText": "",
@@ -904,7 +991,20 @@
          "path": "shopPageGoods",
          "style": {
            "navigationBarTitleText": "",
            "navigationStyle": "custom"
            "navigationStyle": "custom",
            "componentPlaceholder": {
              "u-icon": "view",
              "u-button": "view",
              "u-form": "view",
              "u-form-item": "view",
              "u-input": "view",
              "u-popup": "view",
              "u-search": "view",
              "u-loading": "view",
              "u-navbar": "view",
              "u-image": "view",
              "u-loadmore": "view"
            }
          }
        },
        {
@@ -1328,6 +1428,11 @@
            "app-plus": {
              "popGesture": "none"
              //禁止侧滑退出
            },
            "componentPlaceholder": {
              "u-count-down": "view",
              "u-row": "view",
              "u-icon": "view"
            }
          }
        },
@@ -1424,7 +1529,18 @@
        {
          "path": "orderDetail",
          "style": {
            "navigationBarTitleText": "订单详情"
            "navigationBarTitleText": "订单详情",
            "componentPlaceholder": {
              "u-icon": "view",
              "u-image": "view",
              "u-tag": "view",
              "u-button": "view",
              "u-popup": "view",
              "u-radio-group": "view",
              "u-radio": "view",
              "u-toast": "view",
              "u-modal": "view"
            }
          }
        },
        {
@@ -1436,13 +1552,24 @@
        {
          "path": "evaluate/evaluateDetail",
          "style": {
            "navigationBarTitleText": "评价详情"
            "navigationBarTitleText": "评价详情",
            "componentPlaceholder": {
              "u-image": "view"
            }
          }
        },
        {
          "path": "evaluate/releaseEvaluate",
          "style": {
            "navigationBarTitleText": "发布评价"
            "navigationBarTitleText": "发布评价",
          "componentPlaceholder": {
            "u-icon": "view",
            "u-image": "view",
            "u-input": "view",
            "u-upload": "view",
            "u-rate": "view",
            "u-toast": "view"
          }
          }
        },
        {
@@ -1497,7 +1624,11 @@
        {
          "path": "afterSales/afterSalesSelect",
          "style": {
            "navigationBarTitleText": "申请售后"
            "navigationBarTitleText": "申请售后",
            "componentPlaceholder": {
              "u-image": "view",
              "u-icon": "view"
            }
          }
        },
        {
@@ -1709,7 +1840,9 @@
              "u-search": "view",
              "u-loading": "view",
              "u-navbar": "view",
              "u-loadmore": "view"
              "u-loadmore": "view",
              "u-empty": "view"
            }
          }
        },
@@ -1723,7 +1856,7 @@
              "u-form": "view",
              "u-form-item": "view",
              "u-input": "view",
              "u-popup": "view",
              "u-toast": "view",
              "u-search": "view",
              "u-loading": "view",
              "u-navbar": "view",
pages/mine/deposit/index.vue
@@ -1,7 +1,7 @@
<template>
  <view class="wap">
    <u-navbar  title="预存款列表">
    </u-navbar>
<!--    <u-navbar  title="预存款列表">
    </u-navbar> -->
    <view class="wrapper-show-money">
      <view class="money-view">
        <h3>预存款金额 </h3>
@@ -27,7 +27,7 @@
              </view>
            </view>
            <u-empty v-if="depositData.length==0" mode="history" text="暂无记录" />
            <!-- <u-empty v-if="depositData.length==0" mode="history" text="暂无记录" /> -->
      
          </scroll-view>
pages/mine/deposit/operation.vue
@@ -1,6 +1,6 @@
<template>
  <div class="wrapper">
    <u-navbar :custom-back="back" title="余额"></u-navbar>
    <!-- <u-navbar :custom-back="back" title="余额"></u-navbar> -->
    <div class="box">
      <div class="deposit">预存款金额</div>
      <div class="money">¥{{walletNum | unitPrice }}</div>
@@ -13,14 +13,15 @@
    <div class="box list" @click="navigateTo('/pages/mine/deposit/index')">
      <div class="list-left">预存款明细</div>
      <div class="list-right">
        <u-icon name="arrow-right"></u-icon>
        <!-- <u-icon name="arrow-right"></u-icon> -->
        <uni-icons type="right" size="24"></uni-icons>
      </div>
    </div>
  </div>
</template>
<script>
import '@/components/uview-components/uview-ui'
import '@/pages/subComponents/uview-components/uview-ui';
import { getUserWallet } from "@/api/members";
export default {
  data() {
pages/mine/deposit/recharge.vue
@@ -6,7 +6,7 @@
      <view class="content">
        <view class="price">
          <span> ¥</span>
          <u-input v-model="price" placeholder='金额' type="number" />
          <input v-model="price" style="height: 120rpx;" placeholder='金额' type="number" />
                    
        </view>
@@ -50,4 +50,12 @@
</script>
<style lang="scss" scoped>
@import './style.scss';
.price{
    width: 60%;
    margin: 20rpx 0;
    font-size: 40rpx;
    display: flex;
    align-items: center;
    justify-content: center;
}
</style>
pages/order/orderDetail.vue
@@ -263,7 +263,7 @@
</template>
<script>
import '@/components/uview-components/uview-ui'
import '@/pages/subComponents/uview-components/uview-ui'
import { getExpress, getPackage ,buyBack} from "@/api/trade.js";
import { cancelOrder, confirmReceipt, getOrderDetail } from "@/api/order.js";
pages/tabbar/user/my.vue
@@ -116,7 +116,7 @@
  </view>
</template>
<script>
import '@/components/uview-components/uview-ui';
import '@/pages/subComponents/uview-components/uview-ui';
import tool from "@/pages/tabbar/user/utils/tool.vue";
import { getSTSToken } from "@/api/common.js";
import { getCouponsNum, getFootprintNum } from "@/api/members.js";