feat: 修改配置文件和页面逻辑,优化商品采购和订单获取功能

This commit is contained in:
mkm 2024-09-25 20:46:07 +08:00
parent 79cef97d78
commit d27c25141f
3 changed files with 6 additions and 8 deletions

View File

@ -17,7 +17,7 @@ switch (env) {
WSS_URL = 'wss://ceshi-multi-store.lihaink.cn/pull' WSS_URL = 'wss://ceshi-multi-store.lihaink.cn/pull'
break; break;
case 'local': case 'local':
BASE_URL = 'http://192.168.1.22:8545'; BASE_URL = 'http://192.168.1.8:8545';
WSS_URL = 'wss://ceshi-multi-store.lihaink.cn/pull' WSS_URL = 'wss://ceshi-multi-store.lihaink.cn/pull'
break; break;
default: default:

View File

@ -1,8 +1,7 @@
<template> <template>
<view <view
style="--view-theme: rgb(32, 177, 40);--view-priceColor:#FF7600;--view-minorColor:rgba(108, 198, 94, 0.5);--view-minorColorT:rgba(66, 202, 77, 0.1);--view-bntColor:#FE960F;--view-gradient:#4DEA4D"> style="--view-theme: rgb(32, 177, 40);--view-priceColor:#FF7600;--view-minorColor:rgba(108, 198, 94, 0.5);--view-minorColorT:rgba(66, 202, 77, 0.1);--view-bntColor:#FE960F;--view-gradient:#4DEA4D">
<view class='cash-withdrawal'> <!-- <view class='cash-withdrawal'>
<!-- #ifdef MP -->
<view class="accountTitle"> <view class="accountTitle">
<view :style="{height:getHeight.barTop+'px'}"></view> <view :style="{height:getHeight.barTop+'px'}"></view>
<view class="sysTitle acea-row row-center-wrapper" :style="{height:getHeight.barHeight+'px'}"> <view class="sysTitle acea-row row-center-wrapper" :style="{height:getHeight.barHeight+'px'}">
@ -10,14 +9,13 @@
</view> </view>
</view> </view>
<view :style="{height:(getHeight.barTop+getHeight.barHeight)+'px'}"></view> <view :style="{height:(getHeight.barTop+getHeight.barHeight)+'px'}"></view>
<!-- #endif -->
<view class="header"> <view class="header">
<view class="headerCon"> <view class="headerCon">
<view class="money">000</view> <view class="money">000</view>
<view>可提现金额</view> <view>可提现金额</view>
</view> </view>
</view> </view>
</view> </view> -->
<view class="content"> <view class="content">
<up-transition :show="true" mode="slide-left"> <up-transition :show="true" mode="slide-left">

View File

@ -80,7 +80,7 @@
<view class="done" @click="show = 2"> <view class="done" @click="show = 2">
<up-icon name="arrow-down"></up-icon> <up-icon name="arrow-down"></up-icon>
</view> </view>
<view class="order-by"> <!-- <view class="order-by">
<view class="item" :class="{ 'order-active': where.order == '' }" @click="changeOrder('')">综合 <view class="item" :class="{ 'order-active': where.order == '' }" @click="changeOrder('')">综合
</view> </view>
<view class="item" style="display: flex;align-items: center;" <view class="item" style="display: flex;align-items: center;"
@ -97,7 +97,7 @@
<view class="item" :class="{ 'order-active': where.order == 'sales' }" <view class="item" :class="{ 'order-active': where.order == 'sales' }"
@click="changeOrder('sales')">销量 @click="changeOrder('sales')">销量
</view> </view>
</view> </view> -->
</view> </view>
<viewPopup v-if="show === 2" @close="show = 0"> <viewPopup v-if="show === 2" @close="show = 0">
<view class="cateOne"> <view class="cateOne">
@ -139,7 +139,7 @@
铺货量 铺货量
</span> </span>
<span class="shop-content-li-r" style="color:#FC452F ;"><text <span class="shop-content-li-r" style="color:#FC452F ;"><text
style="font-size: 30rpx;">{{item.sales}}</text> style="font-size: 30rpx;">{{item.distribution_nums}}</text>
</span> </span>
</view> </view>
<view > <view >