Browse Source

修复装车速度慢以及新增提货单列表

master
qb 1 year ago
parent
commit
c64485b64c
  1. 18
      api/user.js
  2. 3
      compoment/BasicContainer/BasicContainer.vue
  3. 4
      config/host.js
  4. 4
      manifest.json
  5. 19
      pages.json
  6. 2
      pagesHome/pages/CustomerSign/CustomerSign.vue
  7. 19
      pagesHome/pages/DownGoods/DownGoods.vue
  8. 2
      pagesHome/pages/PickingScanList/PickingScanList.vue
  9. 28
      pagesHome/pages/ScanSortingType/ScanSortingType.vue
  10. 283
      pagesHome/pages/billsList/billsList.vue
  11. 8
      pagesHome/pages/codePlateBracket/codePlateBracket.vue
  12. 13
      pagesHome/pages/loadingRetention/loadingRetention.vue
  13. 13
      pagesHome/pages/storageInquiry/storageInquiry.vue
  14. 13
      pagesHome/pages/trayInquiry/trayInquiry.vue
  15. 2
      unpackage/dist/build/app-plus/__uniappautomator.js
  16. 2
      unpackage/dist/build/app-plus/pagesHome/pages/PickingScanList/PickingScanList.css
  17. 2
      unpackage/dist/build/app-plus/uni-app-view.umd.js
  18. 2
      unpackage/dist/dev/app-plus/__uniappautomator.js
  19. 4
      unpackage/dist/dev/app-plus/app-config-service.js
  20. 2105
      unpackage/dist/dev/app-plus/app-service.js
  21. 2
      unpackage/dist/dev/app-plus/app.css
  22. 6
      unpackage/dist/dev/app-plus/manifest.json
  23. 2
      unpackage/dist/dev/app-plus/uni-app-view.umd.js
  24. 17
      utils/utils.js

18
api/user.js

@ -2564,4 +2564,20 @@ export function postSyncOldTrayData(data, loadingObj = {}) {
},
loadingObj
);
}
}
/**
* 获取提货单列表
* @param {Object} data
*/
export function getBillladingList(data, loadingObj = {}) {
return request({
url: `logpm-trunkline/api/billlading/list`,
method: "post",
data
},
loadingObj
);
}
// /logpm-trunkline/api/billlading/list

3
compoment/BasicContainer/BasicContainer.vue

@ -101,7 +101,7 @@
// Loading
uni.hideLoading()
//
antiShake = null
clearTimeout(antiShake)
}, 500)
})
@ -114,7 +114,6 @@
} catch (e) {
//TODO handle the exception
} finally {
console.log('111 :>> ', 111);
const timer = setTimeout(() => {
//
uni.stopPullDownRefresh()

4
config/host.js

@ -8,7 +8,7 @@
// lmy
// const devhost = 'http://192.168.10.123:8889/'
// zhy
// const devhost = 'http://192.168.10.48:13000/'
const devhost = 'http://192.168.10.48:13000/'
// tjj
// const devhost = 'http://192.168.10.25:13000/'
// cyz
@ -17,7 +17,7 @@
// cg
// const devhost = 'http://192.168.10.57:13000/'
// 正式
const devhost = 'https://h5uapi.huitongys.com/'
// const devhost = 'https://h5uapi.huitongys.com/'
// cg
// const devhost = 'http://192.168.10.200:13000/'
/**

4
manifest.json

@ -2,8 +2,8 @@
"name" : "货无忧",
"appid" : "__UNI__EB22F37",
"description" : "",
"versionName" : "1.1.10",
"versionCode" : 1110,
"versionName" : "1.1.12",
"versionCode" : 1112,
"transformPx" : false,
/* 5+App */
"app-plus" : {

19
pages.json

@ -210,6 +210,25 @@
}
}
},
{
"path": "pages/billsList/billsList",
"style": {
"navigationBarTitleText": "提货批次",
"enablePullDownRefresh": true,
"onReachBottomDistance": 1,
"navigationStyle": "custom",
"app-plus": {
"animationDuration": 300,
"animationType": "zoom-fade-out",
"pullToRefresh": {
"support": true,
"color": "#d3832a", //
"style": "circle" //
}
}
}
},
{
"path": "pages/PickUpLotList/PickUpLotList",

2
pagesHome/pages/CustomerSign/CustomerSign.vue

@ -384,7 +384,7 @@
icon: 'none'
})
// #ifdef APP
utils.ttsspke('成功签收' + deliveryNumber.value + '件')
utils.ttsspke('成功签收' + item.reservationNum + '件')
// #endif
initpage()
}

19
pagesHome/pages/DownGoods/DownGoods.vue

@ -33,6 +33,7 @@
</view>
</view>
</view>
<view class="tbchec" v-if="details.pageType!=2&&details.pageType!=1">
<view :class="!isallcheck?'':'xz'" @click="allquanxuan">
<image :src="!isallcheck?'/pagesHome/static/downnocheck.png':'/pagesHome/static/downcheck.png'"></image>
@ -68,6 +69,7 @@
</view>
</view>
</view>
<scroll-view scroll-y="true" class="scvorder" :style="{'--height':pageType=='1'?'60vh':pageType=='2'?'60vh':'65vh'}">
<view class="itembox" v-for="(item,index) in datalist" v-if="details.pageType!=2&&details.pageType!=1">
@ -117,7 +119,15 @@
</view>
<view class="topon2">
<image src="/pagesHome/static/checi.png"></image>
<view>托盘码{{item?.trayCode + `(${item?.trayName})`}}</view>
<view class="">
托盘信息:
</view>
<view v-if="item.trayCode || item.trayName">
{{(item.trayCode || '暂无数据') + `(${item.trayName || '暂无数据'})`}}
</view>
<view v-else>
暂无数据
</view>
</view>
<!-- <view class="topon2" v-if="item?.positionCode">
<image src="/pagesHome/static/checi.png"></image>
@ -245,7 +255,12 @@
</view>
<view class="type1s">
<view>托盘信息</view>
<view>{{item.trayCode + `(${item.trayName})`}}</view>
<view v-if="item.trayCode || item.trayName">
{{(item.trayCode || '暂无数据') + `(${item.trayName || '暂无数据'})`}}
</view>
<view v-else>
暂无数据
</view>
</view>
<view class="rksu">
<view>

2
pagesHome/pages/PickingScanList/PickingScanList.vue

@ -30,7 +30,7 @@
</view>
<view class="contsx">
<view class="content">
<view><text style="color: #90A0AF;">备货是否完成</text>{{item.stockupStatusStr}}</view>
<view><text style="color: #90A0AF;">备货是否完成</text>{{item.stockStatusName}}</view>
<view><text style="color: #90A0AF;">备货类型</text>{{item.typeServiceStr}}</view>
</view>
<view class="content">

28
pagesHome/pages/ScanSortingType/ScanSortingType.vue

@ -18,13 +18,11 @@
onUnload
} from '@dcloudio/uni-app'
import { ref } from "vue";
import { useRoute } from 'vue-router';
import utils from '@/utils/utils.js';
let typelist = ref<{ type : number, name : string, src : string }[]>([])
let pageType = ref<string | number>('')
let trayCode = ref<string>('')
const $route = useRoute()
const query = ref({})
onShow(() => {
// #ifdef APP
@ -35,7 +33,9 @@
onLoad((op) => {
trayCode.value = op.trayCode
console.log('$route.query :>> ', $route.query);
query.value = op
console.log('query :>> ', query);
typelist.value = [
{ type: 1, name: '服务号', src: '/pagesHome/static/scicon1.png' },
@ -46,7 +46,7 @@
{ type: 6, name: '门店', src: '/pagesHome/static/scicon6.png' },
{ type: 7, name: '其他', src: '/pagesHome/static/scicon7.png' },
]
let trayCodeTypearr = uni.getStorageSync('trayCodeType')
let trayCodeTypearr = uni.getStorageSync('trayCodeType') || []
utils.ttsspke('请选择分拣方式')
console.log(trayCodeTypearr);
trayCodeTypearr.map((item, index) => {
@ -56,29 +56,13 @@
}
})
})
if (Number(op.type) == 2) {
typelist.value = [
{ type: 1, name: '运单号', src: '/pagesHome/static/scicon1.png' },
{ type: 2, name: '订单自编码', src: '/pagesHome/static/scicon2.png' },
]
utils.ttsspke('请选择分拣方式')
let trayCodeTypearr = uni.getStorageSync('trayCodeType')
console.log(trayCodeTypearr);
trayCodeTypearr.map((item, index) => {
typelist.value.map((ite, inde) => {
if (item.dictValue == ite.name) {
typelist.value[inde]['dictKey'] = item.dictKey
}
})
})
}
console.log(typelist.value);
})
function gotourl(item : any) {
let url = ''
console.log('item>>>>>>>', item);
const SkipRoute = $route.query.SkipRoute
const SkipRoute = query.value.SkipRoute
console.log('SkipRoute :>> ', SkipRoute);

283
pagesHome/pages/billsList/billsList.vue

@ -0,0 +1,283 @@
<template>
<BasicContainer ref='basicContainer' :option="option">
<!-- 头部 -->
<template #head>
<view class="header">
请选择提货批次
</view>
</template>
<!-- 主体 -->
<template #body>
<!-- 提货单件数 -->
<scroll-view class="scollView" scroll-y="true" :style="{height: details.height}"
@scrolltolower="utils.debounce(reachDown, 500)">
<block v-for="(item, index) in details.data" :key="item.id">
<view @click="handleChooseStatus(index)"
:class="{'list_container': true, 'active': details.chooseIndex === index}">
<view class="list_row">
提货批次: {{item.billladingCode || '暂无数据'}}
</view>
<view class="list_row">
路线: {{item.lineNameTitle || '暂无数据'}}
</view>
<view class="list_row">
<view class="">
仓库名称{{item.warehouseName || '暂无数据'}}
</view>
<view class="">
承运商{{item.carrierName || '暂无数据'}}
</view>
</view>
<view class="list_row">
<view class="">
司机名字{{item.driverName || '暂无数据'}}
</view>
<view class="">
司机电话{{item.driverPhone || '暂无数据'}}
</view>
</view>
<view class="list_row">
备注{{item.remark || '暂无数据'}}
</view>
<!-- 状态标签 -->
<view class="list_tips">
{{details.type[Number(item.billladingStatus) ]|| '暂无状态数据'}}
</view>
</view>
</block>
<!-- 底部站位 -->
<view class="footer">
</view>
</scroll-view>
<!-- 底部站位 -->
<view class="button_container">
<view @click="handleSkip">
跳过
</view>
<view @click="handleConfirm">
下一步
</view>
</view>
</template>
</BasicContainer>
<!-- #ifdef APP -->
<saomiao2 :ishidestop="scanState !== 0"></saomiao2>
<!-- #endif -->
</template>
<script lang="ts" setup>
import {
getBillladingList
} from '@/api/user.js'
import {
onLoad,
onShow,
} from '@dcloudio/uni-app'
import { nextTick, reactive, ref } from "vue";
import utils from '@/utils/utils.js'
import useSystemSettingsStore from '@/store/useSystemSettingsStore';
import { storeToRefs } from 'pinia';
const { scanState } = storeToRefs(useSystemSettingsStore())
//
const option = reactive({
//
title: '提货批次',
//
async pullDownRefreshInitPage() {
//
details.chooseIndex = -1
details.data = []
details.page.pageNum = 1
initpage()
return null
},
//
reachBottomInitPage: async () => { return null },
haveData: true,
isEnd: false
})
let details = reactive({
/** 提货批次列表 */
data: [] as any[],
page: {
pageSize: 10,
pageNum: 1,
total: 0
},
/** 被选中的元素的索引 */
chooseIndex: -1,
/** 提货状态 */
type: {
1: '未开始', 2: '提货中', 3: '已完成', 4: '已结算', 5: '已取消'
},
height: '80vh',
pageInfo: {}
})
//
const basicContainer = ref()
onLoad((op) => {
details.pageInfo = op
// #ifdef APP
utils.ttsspke('请扫描或输入托盘码')
// #endif
})
onShow(async () => {
// #ifdef APP
//
uni.$off('scancodedate')
// #endif
await nextTick()
basicContainer.value.startPullDownRefresh()
details.height = await utils.getViewDistanceFormTop('.scollView')
})
async function initpage() {
try {
const res = await getBillladingList(details.page)
const { code, data } = res
if (code !== 200) return
details.data = [...details.data, ...data.records]
details.page.total = data.total
return null
} catch (err) {
//TODO handle the exception
console.log('err :>> ', err);
} finally {
return null
}
}
/** 触底加载 */
const reachDown = () => {
console.log('111 :>> ', 111);
details.page.pageNum += 1
if (details.page.total <= details.data.length) return uni.showToast({
title: '数据加载完毕',
icon: 'none'
})
initpage()
}
/** 元素激活状态 */
const handleChooseStatus = (index : number) => {
details.chooseIndex = details.chooseIndex === index ? -1 : index
}
/** 跳过 */
const handleSkip = () => {
uni.redirectTo({
url: '/pagesHome/pages/PickUpLotList/PickUpLotList'
})
}
/** 确认 */
const handleConfirm = () => {
if (details.chooseIndex === -1) return uni.showToast({
title: '请选择一条提货数据',
icon: 'none'
})
uni.redirectTo({
url: '/pagesHome/pages/PickUpLotList/PickUpLotList'
})
}
</script>
<style lang="scss" scoped>
//
.header {
padding: 10upx 10upx 30upx;
font-size: 0.8rem;
}
//
.list_container {
//
$borderRadius: 5upx;
position: relative;
margin: 10upx;
font-size: 0.8rem;
background: #fff;
padding: 10upx;
border-radius: $borderRadius;
box-shadow: 0 0 10px #eee, 3px 3px #eee;
&.active {
box-shadow: 0 0 10px var(--subjectColor), 3px 3px var(--subjectColor);
}
.list_row {
margin: 10upx;
display: flex;
>view {
flex: 1;
}
}
.list_tips {
position: absolute;
top: 0;
right: 0;
padding: 10upx 20upx;
background: #1b6ef3;
color: #fff;
border-top-right-radius: $borderRadius;
}
}
//
.button_container {
display: flex;
justify-content: center;
position: fixed;
width: 100%;
bottom: 40upx;
left: 0;
>view {
padding: 15upx 60upx;
background: var(--subjectColor);
border-radius: 5upx;
color: #fff;
box-shadow: 0 0 10px var(--subjectColor);
&:first-child {
background-color: #bd3734;
box-shadow: 0 0 10px #bd3734;
margin-right: 40upx;
}
}
}
//
.footer {
height: 160upx;
}
</style>

8
pagesHome/pages/codePlateBracket/codePlateBracket.vue

@ -247,11 +247,11 @@
// utils.ttsspke('')
uni.setStorageSync('trayCodeType', res.data.data)
uni.navigateTo({
url: '/pagesHome/pages/ScanSortingType/ScanSortingType?trayCode=' + details.scancode + '&SkipRoute=/ScanUp/ScanUp'
url: '/pagesHome/pages/ScanSortingType/ScanSortingType?trayCode=' + details.scancode + '&SkipRoute=/billsList/billsList'
})
} else {
uni.navigateTo({
url: '/pagesHome/pages/OrderSortingDetail/OrderSortingDetail?trayCode='
url: '/pagesHome/pages/billsList/billsList?trayCode='
+ res.data.data.trayCode + '&trayType='
+ res.data.data.trayType
})
@ -281,7 +281,7 @@
function goorderdetail(item : any) {
//
uni.navigateTo({
url: '/pagesHome/pages/PickUpLotList/PickUpLotList?trayCode='
url: '/pagesHome/pages/billsList/billsList?trayCode='
+ item.trayCode + '&trayType='
+ item.trayType
})
@ -301,7 +301,7 @@
if ((date.value as []).length != 0) {
details.datatime = date.value[0] + ' 至 ' + date.value[1]
}
initpage()
// initpage()
})
function cleartime() {
// console.log(1231211);

13
pagesHome/pages/loadingRetention/loadingRetention.vue

@ -32,10 +32,10 @@
<view>装车件数</view>
<view>{{scannedNumber}}</view>
</view> -->
<view>
<!-- <view>
<view>滞留数</view>
<view>{{scannedNumber}}</view>
</view>
</view> -->
</view>
</view>
<view class="soIntip">
@ -46,9 +46,9 @@
<view :class="{'tabBar-item': true, 'active': tabBarCode === 1}" @click="handleTabBarCode(1)">
定制/库存品
</view>
<view :class="{'tabBar-item': true, 'active': tabBarCode === 2}" @click="handleTabBarCode(2)">
<!-- <view :class="{'tabBar-item': true, 'active': tabBarCode === 2}" @click="handleTabBarCode(2)">
零担
</view>
</view> -->
<view :class="{'tabBar-item': true, 'active': tabBarCode === 3}" @click="handleTabBarCode(3)">
托盘
</view>
@ -318,6 +318,7 @@
if (res.data.retentionScanVOList) {
res.data.retentionScanVOList.forEach(item => {
if (item.scanType == 1) {
DataList1.value.push(item)///
}
if (item.scanType == 2) {
@ -414,16 +415,18 @@
console.log(res.data, '数据');
NumList.value = res.data
ZelNum.value = true;//
return
// return
}
if (OrType.value == 1) {
// ,
let hasDuplicate = DataList1.value.some(item => item.orderPackageCode == res.data[0].orderPackageCode);
console.log(hasDuplicate, '当前状态');
if (!hasDuplicate) {
res.data.forEach(item => {
item.parameter = true;//
if (item.scanType == 1) {
console.log('定制品当前');
DataList1.value.unshift(item)///
}
if (item.scanType == 2) {

13
pagesHome/pages/storageInquiry/storageInquiry.vue

@ -575,7 +575,7 @@
padding: 15upx;
border-radius: 5upx;
box-sizing: border-box;
box-shadow: 0 0 10px #acc, 3px 3px #abb;
box-shadow: 0 0 10px var(--subjectColor), 3px 3px var(--subjectColor);
font-size: 28upx;
.row_title1 {
@ -670,24 +670,21 @@
.uni-table-td,
.uni-table-th {
--borderColor: var(--subjectColor);
color: var(--borderColor);
color: var(--subjectColor);
padding: 10upx;
font-size: 28upx;
}
.table--border {
--borderColor: var(--subjectColor);
border-color: var(--borderColor);
border-color: var(--subjectColor);
}
:deep(.checkbox.tr-table--border) {
--borderColor: var(--subjectColor);
border-color: var(--borderColor);
border-color: var(--subjectColor);
.checkbox__inner {
border-color: var(--borderColor);
border-color: var(--subjectColor);
}
}
</style>

13
pagesHome/pages/trayInquiry/trayInquiry.vue

@ -530,7 +530,7 @@
padding: 15upx;
border-radius: 5upx;
box-sizing: border-box;
box-shadow: 0 0 10px #acc, 3px 3px #abb;
box-shadow: 0 0 10px var(--subjectColor), 3px 3px var(--subjectColor);
font-size: 28upx;
.row_title1 {
@ -625,24 +625,21 @@
.uni-table-td,
.uni-table-th {
--borderColor: var(--subjectColor);
color: var(--borderColor);
color: var(--subjectColor);
padding: 10upx;
font-size: 28upx;
}
.table--border {
--borderColor: var(--subjectColor);
border-color: var(--borderColor);
border-color: var(--subjectColor);
}
:deep(.checkbox.tr-table--border) {
--borderColor: var(--subjectColor);
border-color: var(--borderColor);
border-color: var(--subjectColor);
.checkbox__inner {
border-color: var(--borderColor);
border-color: var(--subjectColor);
}
}
</style>

2
unpackage/dist/build/app-plus/__uniappautomator.js vendored

File diff suppressed because one or more lines are too long

2
unpackage/dist/build/app-plus/pagesHome/pages/PickingScanList/PickingScanList.css vendored

@ -1 +1 @@
.topBox[data-v-b2ec859f]{width:100%;display:flex;align-items:center;margin-bottom:.3125rem;border-radius:.3125rem}.topBox .searchInput[data-v-b2ec859f]{margin-right:.3125rem;background:#eee;padding:.375rem .625rem;flex:1}.button[data-v-b2ec859f]{padding:.3125rem 1.25rem;border-radius:.15625rem;background-color:var(--subjectColor);color:#fff}.scoolv[data-v-b2ec859f]{width:100%;height:60vh;margin-top:.625rem}.scoolv .minbx[data-v-b2ec859f]{display:flex;flex-direction:column;align-items:center}.scoolv .minbx>.its[data-v-b2ec859f]{display:flex;flex-direction:column;align-items:center;width:21.4375rem;background:#FFFFFF;border-radius:.25rem;box-sizing:border-box;margin-bottom:.625rem}.scoolv .minbx>.its[data-v-b2ec859f]:nth-last-child(1){margin-bottom:0}.scoolv .minbx>.its .titl[data-v-b2ec859f]{width:100%;font-size:1rem;font-weight:400;color:#092c4d;border-bottom:.09375rem solid #EEEEEE;padding:.8125rem .75rem;box-sizing:border-box}.scoolv .minbx>.its .bts[data-v-b2ec859f]{display:flex;align-items:center;justify-content:center;padding:.625rem 0}.scoolv .minbx>.its .bts>uni-view[data-v-b2ec859f]{width:6.375rem;height:2rem;background:#FFFFFF;border-radius:.25rem;opacity:1;border:.0625rem solid #D3832A;font-size:.875rem;color:#d3832a;display:flex;align-items:center;justify-content:center}.scoolv .minbx>.its .contsx[data-v-b2ec859f]{width:100%;display:flex;flex-direction:column;padding:1.0625rem .75rem;box-sizing:border-box;border-bottom:.09375rem solid #EEEEEE}.scoolv .minbx>.its .contsx .content[data-v-b2ec859f]{width:100%;display:flex;align-items:center;justify-content:space-between;font-size:.875rem;color:#092c4d}.scoolv .minbx>.its .contsx .content>uni-view[data-v-b2ec859f]{flex:1}.scoolv .minbx>.its .contsx .total[data-v-b2ec859f]{width:100%;display:flex;align-items:center;justify-content:space-around;margin-top:1.375rem}.scoolv .minbx>.its .contsx .total>uni-view[data-v-b2ec859f]{display:flex;flex-direction:column;align-items:center;font-size:.875rem;color:#092c4d}.scoolv .minbx>.its .contsx .total>uni-view:nth-of-type(1)>uni-view[data-v-b2ec859f]:nth-of-type(2){color:#0086f1}.scoolv .minbx>.its .contsx .total>uni-view:nth-of-type(2)>uni-view[data-v-b2ec859f]:nth-of-type(2){color:#3ad8bc}.scoolv .minbx>.its .contsx .total>uni-view:nth-of-type(3)>uni-view[data-v-b2ec859f]:nth-of-type(2){color:#fa8c16}.scoolv .minbx>.its .contsx .total>uni-view>uni-view[data-v-b2ec859f]:nth-of-type(2){font-size:1.125rem;color:#0086f1;margin-top:.625rem}.hedtopt[data-v-b2ec859f]{display:flex;align-items:center;justify-content:center;flex-direction:column;background-color:#fff;padding:1.125rem 1rem;box-sizing:border-box}.hedtopt .typto[data-v-b2ec859f]{display:inline-flex;align-items:center;justify-content:space-between;width:100%;font-size:.875rem;font-weight:400;color:#092c4d;margin-bottom:.625rem}.hedtopt .typto .vibx[data-v-b2ec859f]{display:inline-block;min-width:3.125rem;height:1.875rem;padding:.3125rem;box-sizing:border-box;border:.03125rem solid #90A0AF;word-wrap:break-word;word-break:break-all}.hedtopt .typto[data-v-b2ec859f]:nth-last-child(1){margin-bottom:0}.hedtopt .typto>uni-view[data-v-b2ec859f]{flex:1}.hedtopt .kehupeison[data-v-b2ec859f]{width:100%;display:flex;align-items:center;justify-content:space-around;margin-top:.625rem}.hedtopt .kehupeison>uni-view[data-v-b2ec859f]{display:flex;flex-direction:column;align-items:center;font-size:.875rem;font-weight:400;color:#092c4d}.hedtopt .kehupeison>uni-view:nth-of-type(1)>uni-view[data-v-b2ec859f]:nth-of-type(2){color:#092c4d}.hedtopt .kehupeison>uni-view:nth-of-type(2)>uni-view[data-v-b2ec859f]:nth-of-type(2){color:#0086f1}.hedtopt .kehupeison>uni-view:nth-of-type(3)>uni-view[data-v-b2ec859f]:nth-of-type(2){color:#3ad8bc}.hedtopt .kehupeison>uni-view:nth-of-type(4)>uni-view[data-v-b2ec859f]:nth-of-type(2){color:#fa8c16}.hedtopt .kehupeison>uni-view>uni-view[data-v-b2ec859f]:nth-of-type(2){font-size:1.125rem;font-weight:400;color:#092c4d;margin-top:.625rem}
.topBox[data-v-ffbc8762]{width:100%;display:flex;align-items:center;margin-bottom:.3125rem;border-radius:.3125rem}.topBox .searchInput[data-v-ffbc8762]{margin-right:.3125rem;background:#eee;padding:.375rem .625rem;flex:1}.button[data-v-ffbc8762]{padding:.3125rem 1.25rem;border-radius:.15625rem;background-color:var(--subjectColor);color:#fff}.scoolv[data-v-ffbc8762]{width:100%;height:60vh;margin-top:.625rem}.scoolv .minbx[data-v-ffbc8762]{display:flex;flex-direction:column;align-items:center}.scoolv .minbx>.its[data-v-ffbc8762]{display:flex;flex-direction:column;align-items:center;width:21.4375rem;background:#FFFFFF;border-radius:.25rem;box-sizing:border-box;margin-bottom:.625rem}.scoolv .minbx>.its[data-v-ffbc8762]:nth-last-child(1){margin-bottom:0}.scoolv .minbx>.its .titl[data-v-ffbc8762]{width:100%;font-size:1rem;font-weight:400;color:#092c4d;border-bottom:.09375rem solid #EEEEEE;padding:.8125rem .75rem;box-sizing:border-box}.scoolv .minbx>.its .bts[data-v-ffbc8762]{display:flex;align-items:center;justify-content:center;padding:.625rem 0}.scoolv .minbx>.its .bts>uni-view[data-v-ffbc8762]{width:6.375rem;height:2rem;background:#FFFFFF;border-radius:.25rem;opacity:1;border:.0625rem solid #D3832A;font-size:.875rem;color:#d3832a;display:flex;align-items:center;justify-content:center}.scoolv .minbx>.its .contsx[data-v-ffbc8762]{width:100%;display:flex;flex-direction:column;padding:1.0625rem .75rem;box-sizing:border-box;border-bottom:.09375rem solid #EEEEEE}.scoolv .minbx>.its .contsx .content[data-v-ffbc8762]{width:100%;display:flex;align-items:center;justify-content:space-between;font-size:.875rem;color:#092c4d}.scoolv .minbx>.its .contsx .content>uni-view[data-v-ffbc8762]{flex:1}.scoolv .minbx>.its .contsx .total[data-v-ffbc8762]{width:100%;display:flex;align-items:center;justify-content:space-around;margin-top:1.375rem}.scoolv .minbx>.its .contsx .total>uni-view[data-v-ffbc8762]{display:flex;flex-direction:column;align-items:center;font-size:.875rem;color:#092c4d}.scoolv .minbx>.its .contsx .total>uni-view:nth-of-type(1)>uni-view[data-v-ffbc8762]:nth-of-type(2){color:#0086f1}.scoolv .minbx>.its .contsx .total>uni-view:nth-of-type(2)>uni-view[data-v-ffbc8762]:nth-of-type(2){color:#3ad8bc}.scoolv .minbx>.its .contsx .total>uni-view:nth-of-type(3)>uni-view[data-v-ffbc8762]:nth-of-type(2){color:#fa8c16}.scoolv .minbx>.its .contsx .total>uni-view>uni-view[data-v-ffbc8762]:nth-of-type(2){font-size:1.125rem;color:#0086f1;margin-top:.625rem}.hedtopt[data-v-ffbc8762]{display:flex;align-items:center;justify-content:center;flex-direction:column;background-color:#fff;padding:1.125rem 1rem;box-sizing:border-box}.hedtopt .typto[data-v-ffbc8762]{display:inline-flex;align-items:center;justify-content:space-between;width:100%;font-size:.875rem;font-weight:400;color:#092c4d;margin-bottom:.625rem}.hedtopt .typto .vibx[data-v-ffbc8762]{display:inline-block;min-width:3.125rem;height:1.875rem;padding:.3125rem;box-sizing:border-box;border:.03125rem solid #90A0AF;word-wrap:break-word;word-break:break-all}.hedtopt .typto[data-v-ffbc8762]:nth-last-child(1){margin-bottom:0}.hedtopt .typto>uni-view[data-v-ffbc8762]{flex:1}.hedtopt .kehupeison[data-v-ffbc8762]{width:100%;display:flex;align-items:center;justify-content:space-around;margin-top:.625rem}.hedtopt .kehupeison>uni-view[data-v-ffbc8762]{display:flex;flex-direction:column;align-items:center;font-size:.875rem;font-weight:400;color:#092c4d}.hedtopt .kehupeison>uni-view:nth-of-type(1)>uni-view[data-v-ffbc8762]:nth-of-type(2){color:#092c4d}.hedtopt .kehupeison>uni-view:nth-of-type(2)>uni-view[data-v-ffbc8762]:nth-of-type(2){color:#0086f1}.hedtopt .kehupeison>uni-view:nth-of-type(3)>uni-view[data-v-ffbc8762]:nth-of-type(2){color:#3ad8bc}.hedtopt .kehupeison>uni-view:nth-of-type(4)>uni-view[data-v-ffbc8762]:nth-of-type(2){color:#fa8c16}.hedtopt .kehupeison>uni-view>uni-view[data-v-ffbc8762]:nth-of-type(2){font-size:1.125rem;font-weight:400;color:#092c4d;margin-top:.625rem}

2
unpackage/dist/build/app-plus/uni-app-view.umd.js vendored

File diff suppressed because one or more lines are too long

2
unpackage/dist/dev/app-plus/__uniappautomator.js vendored

File diff suppressed because one or more lines are too long

4
unpackage/dist/dev/app-plus/app-config-service.js vendored

File diff suppressed because one or more lines are too long

2105
unpackage/dist/dev/app-plus/app-service.js vendored

File diff suppressed because it is too large Load Diff

2
unpackage/dist/dev/app-plus/app.css vendored

File diff suppressed because one or more lines are too long

6
unpackage/dist/dev/app-plus/manifest.json vendored

@ -7,8 +7,8 @@
"id": "__UNI__EB22F37",
"name": "货无忧",
"version": {
"name": "1.1.08",
"code": 1108
"name": "1.1.12",
"code": 1112
},
"description": "",
"developer": {
@ -185,7 +185,7 @@
"uni-app": {
"control": "uni-v3",
"vueVersion": "3",
"compilerVersion": "3.95",
"compilerVersion": "3.99",
"nvueCompiler": "uni-app",
"renderer": "auto",
"nvue": {

2
unpackage/dist/dev/app-plus/uni-app-view.umd.js vendored

File diff suppressed because one or more lines are too long

17
utils/utils.js

@ -467,6 +467,23 @@ const utils = {
// #ifdef APP
this.ttsspke(content)
// #endif
},
/** 防抖函数 */
debounce(func, delay) {
let timer;
if (!delay) delay = 500;
return (function() {
const context = this;
const args = arguments;
clearTimeout(timer);
timer = setTimeout(function() {
// func.apply(context, args);
func();
console.log('timer :>> ', timer);
clearTimeout(timer);
}, delay);
})();
}
}
export default utils
Loading…
Cancel
Save