2025-11-07 17:31:30 +08:00
|
|
|
|
<template>
|
|
|
|
|
|
<view>
|
|
|
|
|
|
<view class="serchs">
|
|
|
|
|
|
<view class="ipt">
|
|
|
|
|
|
<input type="text" placeholder="物料名称/物料编码/物料简拼" v-model="form.wlParamInfo" />
|
|
|
|
|
|
<image src="/static/index/procurement/x.png" mode="aspectFill" v-if="form.wlParamInfo"
|
|
|
|
|
|
@click="search(0)"></image>
|
|
|
|
|
|
</view>
|
|
|
|
|
|
<view @click="search" class="scr">
|
|
|
|
|
|
检索
|
|
|
|
|
|
</view>
|
2025-11-10 17:14:13 +08:00
|
|
|
|
<view class="shx" @click="ification=true">
|
2025-11-07 17:31:30 +08:00
|
|
|
|
<image src="/static/index/procurement/sx.png" mode="aspectFill"></image>
|
|
|
|
|
|
筛选
|
|
|
|
|
|
</view>
|
2025-11-12 17:32:02 +08:00
|
|
|
|
<view class="back" @click="uni.navigateBack()">
|
|
|
|
|
|
<image src="/static/index/procurement/bk.png" mode="aspectFill"></image>
|
|
|
|
|
|
返回
|
|
|
|
|
|
</view>
|
2025-11-07 17:31:30 +08:00
|
|
|
|
</view>
|
|
|
|
|
|
<view class="kcyj">
|
|
|
|
|
|
<view class="kjlt">
|
|
|
|
|
|
库存预警
|
|
|
|
|
|
</view>
|
2025-11-10 17:14:13 +08:00
|
|
|
|
<scroll-view scroll-x="true" class="kcscrol guodu" :style="qb?'width:46.4vw':''"
|
|
|
|
|
|
scroll-with-animation :scroll-top="scrolltop" @scrolltolower="scrolltolower(1)">
|
2025-11-12 17:32:02 +08:00
|
|
|
|
<view class="yjbox" v-for="(v,i) in Material" :key="i" @click="clickaddcar(v,i)">
|
2025-11-10 17:14:13 +08:00
|
|
|
|
<image :src="v.materialImg?serverUrl+v.materialImg:'/static/index/procurement/k.png'" mode="aspectFill"></image>
|
|
|
|
|
|
<view>{{v.materialName}}</view>
|
|
|
|
|
|
<text class="ytj" v-if="v.isAdd==1">已添加</text>
|
2025-11-07 17:31:30 +08:00
|
|
|
|
</view>
|
|
|
|
|
|
</scroll-view>
|
|
|
|
|
|
<view class="kjlt more guodu" :style="qb?'width:11.2vw':''">
|
2025-11-14 10:34:26 +08:00
|
|
|
|
<view @click="qb=!qb;moredex=0" class="righ0">
|
2025-11-07 17:31:30 +08:00
|
|
|
|
{{!qb?'更多':'收起'}}
|
2025-11-11 17:34:38 +08:00
|
|
|
|
<image class="guodu" :style="qb?'transform: rotate(180deg);':''" src="/static/index/procurement/zjt.png" mode="aspectFill"></image>
|
2025-11-07 17:31:30 +08:00
|
|
|
|
</view>
|
2025-11-14 10:34:26 +08:00
|
|
|
|
<view class="guodu" :class="qb?(moredex==1?'avt':''):'righ0'" @click="moredex=1;Invenshow=true">查看全部</view>
|
|
|
|
|
|
<view class="guodu" :class="qb?(moredex==2?'avt':''):'righ0'" @click="moredex=2">添加全部</view>
|
2025-11-07 17:31:30 +08:00
|
|
|
|
|
|
|
|
|
|
</view>
|
|
|
|
|
|
<view class="kaprght">
|
|
|
|
|
|
<view class="ksfw">
|
|
|
|
|
|
<view class="lcar">
|
|
|
|
|
|
<image :src="'/static/index/procurement/k.png'" mode="aspectFill"></image>
|
|
|
|
|
|
<view class="nm">纸尿裤-拉拉裤纸拉拉裤纸拉拉裤纸拉拉裤纸</view>
|
|
|
|
|
|
<view class="jx">
|
|
|
|
|
|
<image src="/static/index/procurement/l0.png" mode="aspectFill"></image>
|
|
|
|
|
|
<text>待进行</text>
|
|
|
|
|
|
</view>
|
|
|
|
|
|
</view>
|
|
|
|
|
|
<view class="rcar">
|
|
|
|
|
|
|
|
|
|
|
|
<view class="tm">10:00 - 10:10</view>
|
|
|
|
|
|
<view class="wul">物料采购</view>
|
|
|
|
|
|
<view class="zhxng">
|
|
|
|
|
|
<view>
|
|
|
|
|
|
<image src="/static/index/procurement/xz.png" mode="aspectFill"></image>
|
|
|
|
|
|
<text>协助执行</text>
|
|
|
|
|
|
</view>
|
|
|
|
|
|
<view>
|
|
|
|
|
|
<image src="/static/index/procurement/ap.png" mode="aspectFill"></image>
|
|
|
|
|
|
<text>王金福 / 李贵田</text>
|
|
|
|
|
|
</view>
|
|
|
|
|
|
</view>
|
|
|
|
|
|
<view class="shjs">
|
|
|
|
|
|
<view class="iacts">开始服务</view>
|
|
|
|
|
|
<view>服务结束</view>
|
|
|
|
|
|
</view>
|
|
|
|
|
|
</view>
|
|
|
|
|
|
|
|
|
|
|
|
</view>
|
|
|
|
|
|
</view>
|
|
|
|
|
|
|
|
|
|
|
|
</view>
|
|
|
|
|
|
<view class="listcard">
|
2025-11-14 10:34:26 +08:00
|
|
|
|
<carditem :InvoicingList="InvoicingList" @addcartory="addcartory"
|
|
|
|
|
|
@scrolltolower="scrolltolower" :status="status" @crk="crk"></carditem>
|
2025-11-07 17:31:30 +08:00
|
|
|
|
</view>
|
|
|
|
|
|
<view class="fiedright">
|
2025-11-12 17:32:02 +08:00
|
|
|
|
<view @click="uni.navigateTo({ url:'/pages/procurement/materialcar' })">
|
2025-11-07 17:31:30 +08:00
|
|
|
|
<image src="/static/index/procurement/gc.png" mode="aspectFill"></image>
|
|
|
|
|
|
<text v-if="carnum>0">{{carnum>99?'99':carnum}}</text>
|
|
|
|
|
|
</view>
|
2025-11-17 16:23:25 +08:00
|
|
|
|
<view @click="uni.navigateTo({ url:'/pages/procurement/purchaseorder' })">
|
2025-11-07 17:31:30 +08:00
|
|
|
|
<image src="/static/index/procurement/cg.png" mode="aspectFill"></image>
|
|
|
|
|
|
</view>
|
|
|
|
|
|
</view>
|
2025-11-11 17:34:38 +08:00
|
|
|
|
<!-- num -->
|
|
|
|
|
|
<view class="mengban" style="z-index: 119;" v-if="addflag" @click="qk"></view>
|
2025-11-14 10:34:26 +08:00
|
|
|
|
<calculator :show="addflag" @jjnum="jjnum" :caigouobj="caigouobj" @colse="qk" @right="right"></calculator>
|
2025-11-11 17:34:38 +08:00
|
|
|
|
<!-- 筛选 -->
|
2025-11-10 17:14:13 +08:00
|
|
|
|
<view class="mengban" v-if="ification" @click="qk"></view>
|
2025-11-14 17:28:10 +08:00
|
|
|
|
<classification @confirm="confirm" :show="ification" :typenum="0"></classification>
|
2025-11-11 17:34:38 +08:00
|
|
|
|
<!-- more -->
|
2025-11-14 10:34:26 +08:00
|
|
|
|
<view class="mengban" v-if="Invenshow" @click="Invenshow = false;moredex=0"></view>
|
2025-11-11 17:34:38 +08:00
|
|
|
|
<Inventory @addcartory="addcartory" :show="Invenshow" :InvoicingList="Material"
|
|
|
|
|
|
:status="statustory" @tolower="scrolltolower(1)"></Inventory>
|
2025-11-12 17:32:02 +08:00
|
|
|
|
|
|
|
|
|
|
<view class="mengban" v-if="detailsshow" @click="detailsshow = false"></view>
|
|
|
|
|
|
<detail :InvoicingList="[caigouobj]" @addcartory="addcartory" :show="detailsshow"></detail>
|
|
|
|
|
|
|
|
|
|
|
|
<view class="mengban" v-if="crkflag" @click="crkflag = false"></view>
|
|
|
|
|
|
<inboundoutbound :crk="crkflag"></inboundoutbound>
|
2025-11-14 10:34:26 +08:00
|
|
|
|
|
|
|
|
|
|
<view class="mengban" v-if="moredex==2" @click="moredex=0"></view>
|
|
|
|
|
|
<addall :show="moredex==2" @back="moredex=0" @config="config"></addall>
|
2025-11-07 17:31:30 +08:00
|
|
|
|
</view>
|
|
|
|
|
|
</template>
|
|
|
|
|
|
|
|
|
|
|
|
<script setup lang="ts">
|
|
|
|
|
|
import { ref, onMounted, reactive, onBeforeUnmount, computed, nextTick, defineProps ,defineComponent} from 'vue';
|
2025-11-10 17:14:13 +08:00
|
|
|
|
import { queryInvoicingList,queryWlInfoByWlId,addShoppingCartList,queryShoppingCartList } from './api/lunpan.js'
|
2025-11-07 17:31:30 +08:00
|
|
|
|
import { onShow, onLoad, onHide, onPageScroll } from "@dcloudio/uni-app"
|
|
|
|
|
|
import calculator from './components/calculator.vue'
|
2025-11-10 17:14:13 +08:00
|
|
|
|
import classification from './components/classification.vue'
|
|
|
|
|
|
import Inventory from './components/Inventory.vue'
|
2025-11-11 17:34:38 +08:00
|
|
|
|
import carditem from './components/carditem.vue'
|
2025-11-12 17:32:02 +08:00
|
|
|
|
import detail from './components/details.vue'
|
|
|
|
|
|
import inboundoutbound from './components/inboundoutbound.vue'
|
2025-11-14 10:34:26 +08:00
|
|
|
|
import addall from './components/addall.vue'
|
2025-11-07 17:31:30 +08:00
|
|
|
|
const qb = ref(false)
|
|
|
|
|
|
const addflag = ref(false)
|
2025-11-10 17:14:13 +08:00
|
|
|
|
const ification = ref(false)
|
|
|
|
|
|
const Invenshow = ref(false)
|
2025-11-12 17:32:02 +08:00
|
|
|
|
const detailsshow = ref(false)
|
2025-11-14 10:34:26 +08:00
|
|
|
|
const crkflag = ref(false)
|
|
|
|
|
|
const addalls = ref(false)
|
2025-11-07 17:31:30 +08:00
|
|
|
|
|
2025-11-14 10:34:26 +08:00
|
|
|
|
const moredex = ref(0)
|
2025-11-07 17:31:30 +08:00
|
|
|
|
const InvoicingList = ref([]);
|
|
|
|
|
|
const caigouobj = ref({})
|
|
|
|
|
|
const status = ref('loading')
|
2025-11-10 17:14:13 +08:00
|
|
|
|
const statustory = ref('loading')
|
|
|
|
|
|
|
2025-11-07 17:31:30 +08:00
|
|
|
|
const scrolltop = ref(0)
|
|
|
|
|
|
const serverUrl = ref('')
|
|
|
|
|
|
const form = reactive({
|
2025-11-10 17:14:13 +08:00
|
|
|
|
nuId: uni.getStorageSync('nuId'),
|
2025-11-07 17:31:30 +08:00
|
|
|
|
pageNo: 1,
|
2025-11-10 17:14:13 +08:00
|
|
|
|
pageSize: 10,
|
2025-11-07 17:31:30 +08:00
|
|
|
|
categoryId: '',
|
|
|
|
|
|
typeId: '',
|
|
|
|
|
|
medicationId: '',
|
|
|
|
|
|
wlParamInfo: '',
|
2025-11-14 10:34:26 +08:00
|
|
|
|
isWaring: 0,
|
|
|
|
|
|
suppliers:''
|
2025-11-07 17:31:30 +08:00
|
|
|
|
})
|
2025-11-10 17:14:13 +08:00
|
|
|
|
const warn = reactive({
|
|
|
|
|
|
nuId: uni.getStorageSync('nuId'),
|
|
|
|
|
|
pageNo: 1,
|
|
|
|
|
|
pageSize: 10,
|
|
|
|
|
|
categoryId: '',
|
|
|
|
|
|
typeId: '',
|
|
|
|
|
|
medicationId: '',
|
|
|
|
|
|
wlParamInfo: '',
|
|
|
|
|
|
isWaring: 1
|
|
|
|
|
|
})
|
2025-11-07 17:31:30 +08:00
|
|
|
|
onLoad(() => {
|
|
|
|
|
|
serverUrl.value = uni.getStorageSync('serverUrl') + '/sys/common/static/';
|
|
|
|
|
|
})
|
|
|
|
|
|
onShow(()=>{
|
2025-11-14 17:28:10 +08:00
|
|
|
|
config()
|
2025-11-07 17:31:30 +08:00
|
|
|
|
})
|
2025-11-10 17:14:13 +08:00
|
|
|
|
const Material = ref([])
|
|
|
|
|
|
const getWaringMaterial=()=>{
|
|
|
|
|
|
queryInvoicingList(warn).then(res => {
|
|
|
|
|
|
console.log(res.result)
|
|
|
|
|
|
res.result.records.forEach(item=>{
|
|
|
|
|
|
item.zk = false;
|
2025-11-11 17:34:38 +08:00
|
|
|
|
item.scrollleft = 0;
|
2025-11-10 17:14:13 +08:00
|
|
|
|
})
|
|
|
|
|
|
Material.value.push(...res.result.records);
|
|
|
|
|
|
statustory.value = (res.result.total == Material.value.length ? 'nomore' : 'loadmore')
|
|
|
|
|
|
setout1.value = (res.result.total == Material.value.length ? false : true)
|
|
|
|
|
|
})
|
|
|
|
|
|
}
|
2025-11-14 10:34:26 +08:00
|
|
|
|
const config = ()=>{
|
2025-11-14 17:28:10 +08:00
|
|
|
|
form.pageNo=1;
|
|
|
|
|
|
warn.pageNo=1;
|
|
|
|
|
|
Material.value=[];
|
|
|
|
|
|
InvoicingList.value=[];
|
|
|
|
|
|
shoppcar();
|
|
|
|
|
|
queryInvo();
|
|
|
|
|
|
getWaringMaterial()
|
|
|
|
|
|
moredex.value=0;
|
|
|
|
|
|
shoppcar();
|
2025-11-14 10:34:26 +08:00
|
|
|
|
}
|
2025-11-07 17:31:30 +08:00
|
|
|
|
const carnum = ref(0)
|
|
|
|
|
|
const shoppcar=()=>{
|
|
|
|
|
|
let c = {
|
|
|
|
|
|
nuId: form.nuId,
|
|
|
|
|
|
pageNo: 1,
|
2025-11-14 17:28:10 +08:00
|
|
|
|
pageSize: 1 }
|
2025-11-07 17:31:30 +08:00
|
|
|
|
queryShoppingCartList(c).then(resr=>{
|
|
|
|
|
|
carnum.value = resr.result.total
|
|
|
|
|
|
})
|
|
|
|
|
|
}
|
2025-11-10 17:14:13 +08:00
|
|
|
|
const setout1 = ref(true)
|
|
|
|
|
|
const setout2 = ref(true)
|
2025-11-07 17:31:30 +08:00
|
|
|
|
let times = null;
|
2025-11-10 17:14:13 +08:00
|
|
|
|
const scrolltolower = (t:number) => {
|
|
|
|
|
|
if(t==1){
|
|
|
|
|
|
if (setout1.value==false) { return }
|
|
|
|
|
|
setout1.value = false;
|
|
|
|
|
|
statustory.value = 'loading'
|
|
|
|
|
|
warn.pageNo++;
|
|
|
|
|
|
getWaringMaterial()
|
|
|
|
|
|
}else{
|
|
|
|
|
|
if (setout2.value==false) { return }
|
|
|
|
|
|
status.value = 'loading'
|
|
|
|
|
|
setout2.value = false;
|
|
|
|
|
|
form.pageNo++;
|
|
|
|
|
|
queryInvo()
|
|
|
|
|
|
}
|
|
|
|
|
|
|
2025-11-07 17:31:30 +08:00
|
|
|
|
// times = setTimeout(() => {
|
|
|
|
|
|
// setout.value = true
|
|
|
|
|
|
// }, 1000)
|
|
|
|
|
|
}
|
2025-11-10 17:14:13 +08:00
|
|
|
|
const qk = () =>{
|
|
|
|
|
|
ification.value = false;
|
|
|
|
|
|
addflag.value = false;
|
|
|
|
|
|
}
|
|
|
|
|
|
const confirm =(e:any)=>{
|
|
|
|
|
|
form.categoryId = e.categoryId;
|
|
|
|
|
|
form.typeId = e.typeId;
|
|
|
|
|
|
form.medicationId = e.medicationId;
|
2025-11-14 10:34:26 +08:00
|
|
|
|
form.suppliers = e.suppliers;
|
2025-11-10 17:14:13 +08:00
|
|
|
|
form.pageNo=1;
|
|
|
|
|
|
InvoicingList.value = [];
|
|
|
|
|
|
queryInvo();
|
|
|
|
|
|
qk()
|
|
|
|
|
|
}
|
|
|
|
|
|
const search = (x : number) => {
|
|
|
|
|
|
if (x === 0) { form.wlParamInfo = '' }
|
|
|
|
|
|
form.pageNo = 1;
|
|
|
|
|
|
InvoicingList.value = [];
|
|
|
|
|
|
queryInvo();
|
|
|
|
|
|
}
|
2025-11-07 17:31:30 +08:00
|
|
|
|
const queryInvo = () => {
|
|
|
|
|
|
queryInvoicingList(form).then(res => {
|
|
|
|
|
|
res.result.records.forEach(item=>{
|
|
|
|
|
|
item.zk = false;
|
2025-11-11 17:34:38 +08:00
|
|
|
|
item.scrollleft = 0;
|
2025-11-07 17:31:30 +08:00
|
|
|
|
})
|
|
|
|
|
|
InvoicingList.value.push(...res.result.records);
|
|
|
|
|
|
status.value = (res.result.total == InvoicingList.value.length ? 'nomore' : 'loadmore')
|
2025-11-10 17:14:13 +08:00
|
|
|
|
setout2.value = (res.result.total == InvoicingList.value.length ? false : true)
|
2025-11-07 17:31:30 +08:00
|
|
|
|
})
|
|
|
|
|
|
}
|
2025-11-10 17:14:13 +08:00
|
|
|
|
const addcartory =(e:any)=>{
|
|
|
|
|
|
console.log(e)
|
|
|
|
|
|
caigouobj.value = e;
|
|
|
|
|
|
addflag.value = true;
|
|
|
|
|
|
}
|
2025-11-07 17:31:30 +08:00
|
|
|
|
const jjnum = (e:number) =>{
|
|
|
|
|
|
let n = Number(caigouobj.value.upperLimit)-Number(caigouobj.value.kcsl)
|
|
|
|
|
|
if(n==caigouobj.value.Limitnum&&e==1){return}
|
|
|
|
|
|
if(caigouobj.value.Limitnum==1&&e==-1){return}
|
|
|
|
|
|
caigouobj.value.Limitnum+=e;
|
|
|
|
|
|
}
|
2025-11-14 10:34:26 +08:00
|
|
|
|
const right = (n:number,nm:any,type:Object) => {
|
|
|
|
|
|
// let d = Number(caigouobj.value.upperLimit)-Number(caigouobj.value.kcsl)
|
2025-11-07 17:31:30 +08:00
|
|
|
|
|
2025-11-14 10:34:26 +08:00
|
|
|
|
// if(d>=n){
|
|
|
|
|
|
// caigouobj.value.Limitnum = n;
|
|
|
|
|
|
// }else{
|
|
|
|
|
|
// caigouobj.value.Limitnum = d;
|
|
|
|
|
|
// }
|
|
|
|
|
|
// if(n<1){
|
|
|
|
|
|
// caigouobj.value.Limitnum = 1;
|
|
|
|
|
|
// }
|
|
|
|
|
|
connfig(nm,n,type)
|
2025-11-11 17:34:38 +08:00
|
|
|
|
}
|
2025-11-07 17:31:30 +08:00
|
|
|
|
const timers = ref(true)
|
2025-11-14 10:34:26 +08:00
|
|
|
|
const connfig = (nm:any,num:Number,type:Object) =>{
|
2025-11-07 17:31:30 +08:00
|
|
|
|
if(timers.value==false){return}
|
|
|
|
|
|
if(caigouobj.value.izEnabled=='1'){
|
|
|
|
|
|
uni.showToast({
|
|
|
|
|
|
icon:'none',
|
|
|
|
|
|
title:'该物料已关闭,无法采购~'
|
|
|
|
|
|
})
|
|
|
|
|
|
return
|
|
|
|
|
|
}
|
|
|
|
|
|
timers.value=false;
|
|
|
|
|
|
let dt = {
|
|
|
|
|
|
nuId:form.nuId,
|
2025-11-14 10:34:26 +08:00
|
|
|
|
purchaseQuantity:num,
|
2025-11-07 17:31:30 +08:00
|
|
|
|
suppliersId:nm.id,
|
|
|
|
|
|
suppliersName:nm.name,
|
|
|
|
|
|
wlId:caigouobj.value.wlId,
|
2025-11-14 10:34:26 +08:00
|
|
|
|
kcsl:caigouobj.value.kcsl,
|
|
|
|
|
|
wlUnits:type.unit,
|
|
|
|
|
|
referenceUnitPrice:type.price,
|
|
|
|
|
|
dhbl:type.num
|
2025-11-07 17:31:30 +08:00
|
|
|
|
}
|
2025-11-14 17:28:10 +08:00
|
|
|
|
console.log(dt)
|
2025-11-07 17:31:30 +08:00
|
|
|
|
addShoppingCartList([dt]).then(res=>{
|
|
|
|
|
|
uni.showToast({
|
|
|
|
|
|
icon:res.success?'success':'none',
|
|
|
|
|
|
title:res.message
|
|
|
|
|
|
})
|
|
|
|
|
|
setTimeout(()=>{
|
|
|
|
|
|
timers.value=true;
|
|
|
|
|
|
if(res.success){
|
|
|
|
|
|
addflag.value = false;
|
2025-11-10 17:14:13 +08:00
|
|
|
|
shoppcar();
|
2025-11-11 17:34:38 +08:00
|
|
|
|
if(caigouobj.value.yj){
|
2025-11-10 17:14:13 +08:00
|
|
|
|
Material.value[caigouobj.value.index].isAdd = 1
|
2025-11-11 17:34:38 +08:00
|
|
|
|
}else{
|
|
|
|
|
|
InvoicingList.value[caigouobj.value.index].isAdd = 1
|
2025-11-10 17:14:13 +08:00
|
|
|
|
}
|
2025-11-07 17:31:30 +08:00
|
|
|
|
}
|
|
|
|
|
|
},700)
|
|
|
|
|
|
})
|
|
|
|
|
|
}
|
2025-11-12 17:32:02 +08:00
|
|
|
|
// 双击事件
|
|
|
|
|
|
const forthmenuIndex = ref<number>(0);
|
|
|
|
|
|
const lastTap = ref(0)
|
|
|
|
|
|
// 双击的最大间隔(ms),可根据体验调整
|
|
|
|
|
|
const DOUBLE_TAP_DELAY = 300;
|
|
|
|
|
|
const setout = ref(null)
|
|
|
|
|
|
const clickaddcar = (v : any,i:number) => {
|
|
|
|
|
|
const now = Date.now()
|
|
|
|
|
|
forthmenuIndex.value = i
|
|
|
|
|
|
if (now - lastTap.value < DOUBLE_TAP_DELAY) {
|
|
|
|
|
|
// 双击成立
|
|
|
|
|
|
clearTimeout(setout.value)
|
|
|
|
|
|
if(v.isAdd==1){
|
|
|
|
|
|
return
|
|
|
|
|
|
}else{
|
|
|
|
|
|
caigouobj.value = v;
|
|
|
|
|
|
caigouobj.value.index = i;
|
|
|
|
|
|
caigouobj.value.yj = true;
|
|
|
|
|
|
addcartory(caigouobj.value)
|
|
|
|
|
|
}
|
|
|
|
|
|
// 重置,避免多次触发
|
|
|
|
|
|
lastTap.value = 0
|
|
|
|
|
|
} else {
|
|
|
|
|
|
setout.value = setTimeout(()=>{
|
|
|
|
|
|
caigouobj.value = v;
|
|
|
|
|
|
caigouobj.value.index = i;
|
|
|
|
|
|
caigouobj.value.yj = true;
|
|
|
|
|
|
detailsshow.value = true;
|
|
|
|
|
|
console.log('11111111')
|
|
|
|
|
|
},DOUBLE_TAP_DELAY)
|
|
|
|
|
|
// 记录本次时间,等待下次点击
|
|
|
|
|
|
lastTap.value = now
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
2025-11-14 10:34:26 +08:00
|
|
|
|
const crk=(v,i)=>{
|
|
|
|
|
|
crkflag.value = true
|
|
|
|
|
|
}
|
2025-11-07 17:31:30 +08:00
|
|
|
|
</script>
|
|
|
|
|
|
|
|
|
|
|
|
<style scoped lang="less">
|
|
|
|
|
|
.fiedright{
|
|
|
|
|
|
width: 5vw;
|
|
|
|
|
|
height: 12vw;
|
|
|
|
|
|
position: fixed;
|
|
|
|
|
|
z-index: 200;
|
|
|
|
|
|
right: 2vw;
|
|
|
|
|
|
bottom: 6vw;
|
|
|
|
|
|
display: flex;
|
|
|
|
|
|
flex-direction: column;
|
|
|
|
|
|
justify-content: space-between;
|
|
|
|
|
|
view{
|
|
|
|
|
|
width: 5vw;
|
|
|
|
|
|
height: 5vw;
|
|
|
|
|
|
background: rgba(255, 255, 255, 0.86);
|
|
|
|
|
|
border-radius: 50%;
|
|
|
|
|
|
border: 1px solid #D9DADC;
|
|
|
|
|
|
display: flex;
|
|
|
|
|
|
justify-content: center;
|
|
|
|
|
|
align-items: center;
|
|
|
|
|
|
position: relative;
|
|
|
|
|
|
text{
|
|
|
|
|
|
min-width: 1.8vw;
|
|
|
|
|
|
height: 1.8vw;
|
|
|
|
|
|
border-radius: 0.8vw;
|
|
|
|
|
|
border: 2px solid #E81D1D;
|
|
|
|
|
|
display: flex;
|
|
|
|
|
|
align-items: center;
|
|
|
|
|
|
justify-content: center;
|
|
|
|
|
|
padding: 0 0.5vw;
|
|
|
|
|
|
font-weight: 400;
|
|
|
|
|
|
font-size: 1.3vw;
|
|
|
|
|
|
color: #E81D1D;
|
|
|
|
|
|
position: absolute;
|
|
|
|
|
|
top: -0.8vw;
|
|
|
|
|
|
right:-0.8vw;
|
|
|
|
|
|
}
|
|
|
|
|
|
image{
|
|
|
|
|
|
width: 3.3vw;
|
|
|
|
|
|
height: 3.3vw;
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.listcard {
|
|
|
|
|
|
width: 100%;
|
2025-11-10 17:14:13 +08:00
|
|
|
|
height: 70.3vh;
|
2025-11-07 17:31:30 +08:00
|
|
|
|
margin-top: 1vw;
|
2025-11-11 17:34:38 +08:00
|
|
|
|
|
2025-11-07 17:31:30 +08:00
|
|
|
|
.crdcroll {
|
|
|
|
|
|
width: 100%;
|
|
|
|
|
|
height: 100%;
|
2025-11-11 17:34:38 +08:00
|
|
|
|
display: grid;
|
|
|
|
|
|
grid-template-columns: 1fr 1fr;
|
2025-11-07 17:31:30 +08:00
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.kcyj {
|
|
|
|
|
|
width: 100%;
|
|
|
|
|
|
height: 10vw;
|
|
|
|
|
|
display: flex;
|
|
|
|
|
|
margin-top: 1vw;
|
|
|
|
|
|
|
|
|
|
|
|
.kaprght {
|
|
|
|
|
|
width: 32vw;
|
|
|
|
|
|
height: 10vw;
|
|
|
|
|
|
margin-left: 0.6vw;
|
|
|
|
|
|
position: relative;
|
|
|
|
|
|
|
|
|
|
|
|
.ksfw {
|
|
|
|
|
|
width: 100%;
|
|
|
|
|
|
height: 14.5vw;
|
|
|
|
|
|
background: rgba(255, 255, 255, 0.6);
|
|
|
|
|
|
border-radius: 1vw;
|
|
|
|
|
|
border: 1px solid #D9DADC;
|
|
|
|
|
|
padding: 0 1vw;
|
|
|
|
|
|
position: absolute;
|
|
|
|
|
|
bottom: 0;
|
|
|
|
|
|
left: 0;
|
|
|
|
|
|
overflow: hidden;
|
|
|
|
|
|
display: flex;
|
|
|
|
|
|
|
|
|
|
|
|
.lcar {
|
|
|
|
|
|
width: 12.7vw;
|
|
|
|
|
|
position: relative;
|
|
|
|
|
|
|
|
|
|
|
|
image {
|
|
|
|
|
|
width: 10vw;
|
|
|
|
|
|
height: 10vw;
|
|
|
|
|
|
margin: 1vw auto 0;
|
|
|
|
|
|
display: block;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.nm {
|
|
|
|
|
|
width: 100%;
|
|
|
|
|
|
height: 1.4vw;
|
|
|
|
|
|
font-weight: 400;
|
|
|
|
|
|
font-size: 1.3vw;
|
|
|
|
|
|
color: #212327;
|
|
|
|
|
|
white-space: nowrap;
|
|
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
|
|
overflow: hidden;
|
|
|
|
|
|
padding: 0 1vw;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
>.jx {
|
|
|
|
|
|
width: 4.6vw;
|
|
|
|
|
|
height: 1.9vw;
|
|
|
|
|
|
position: absolute;
|
|
|
|
|
|
top: 0.6vw;
|
|
|
|
|
|
right: 1vw;
|
|
|
|
|
|
font-weight: 400;
|
|
|
|
|
|
font-size: 1.1vw;
|
|
|
|
|
|
display: flex;
|
|
|
|
|
|
justify-content: center;
|
|
|
|
|
|
align-items: center;
|
|
|
|
|
|
line-height: 1.9vw;
|
|
|
|
|
|
|
|
|
|
|
|
>image {
|
|
|
|
|
|
position: absolute;
|
|
|
|
|
|
width: 100%;
|
|
|
|
|
|
height: 100%;
|
|
|
|
|
|
left: 0;
|
|
|
|
|
|
top: 0;
|
|
|
|
|
|
z-index: 1;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
>text {
|
|
|
|
|
|
position: relative;
|
|
|
|
|
|
z-index: 2;
|
|
|
|
|
|
color: #FFFFFF;
|
|
|
|
|
|
margin-top: 2vw;
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.rcar {
|
|
|
|
|
|
width: 19vw;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.shjs {
|
|
|
|
|
|
width: 100%;
|
|
|
|
|
|
margin-top: 0.8vw;
|
|
|
|
|
|
display: flex;
|
|
|
|
|
|
justify-content: space-around;
|
|
|
|
|
|
|
|
|
|
|
|
view {
|
|
|
|
|
|
width: 7.2vw;
|
|
|
|
|
|
height: 2.5vw;
|
|
|
|
|
|
background: #E4E9F4;
|
|
|
|
|
|
border-radius: 1.25vw;
|
|
|
|
|
|
font-weight: 400;
|
|
|
|
|
|
font-size: 1.1vw;
|
|
|
|
|
|
color: #333333;
|
|
|
|
|
|
display: flex;
|
|
|
|
|
|
align-items: center;
|
|
|
|
|
|
justify-content: center;
|
|
|
|
|
|
border: 1px solid #E4E9F4;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.iacts {
|
|
|
|
|
|
background: rgba(168, 212, 255, .75);
|
|
|
|
|
|
border: 1px solid #A8D4FF;
|
|
|
|
|
|
color: #249BFA;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.zhxng {
|
|
|
|
|
|
width: 100%;
|
|
|
|
|
|
height: 2.8vw;
|
|
|
|
|
|
margin-top: 0.4vw;
|
|
|
|
|
|
display: flex;
|
|
|
|
|
|
padding: 1.1vw 0 1.1vw 0;
|
|
|
|
|
|
border-bottom: 2px solid #E5E5E5;
|
|
|
|
|
|
|
|
|
|
|
|
view {
|
|
|
|
|
|
display: flex;
|
|
|
|
|
|
align-items: center;
|
|
|
|
|
|
white-space: nowrap;
|
|
|
|
|
|
|
|
|
|
|
|
image {
|
|
|
|
|
|
width: 1.6vw;
|
|
|
|
|
|
height: 1.6vw;
|
|
|
|
|
|
margin-right: 0.3vw;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
text {
|
|
|
|
|
|
font-weight: 400;
|
|
|
|
|
|
font-size: 1vw;
|
|
|
|
|
|
color: #555555;
|
|
|
|
|
|
margin-right: 0.5vw;
|
|
|
|
|
|
white-space: nowrap;
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.wul {
|
|
|
|
|
|
width: 100%;
|
|
|
|
|
|
height: 1.5vw;
|
|
|
|
|
|
font-weight: bold;
|
|
|
|
|
|
font-size: 1.5vw;
|
|
|
|
|
|
color: #555555;
|
|
|
|
|
|
margin: 1vw auto 0;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.tm {
|
|
|
|
|
|
width: 100%;
|
|
|
|
|
|
height: 1.8vw;
|
|
|
|
|
|
font-size: 2.2vw;
|
|
|
|
|
|
font-weight: bolder;
|
|
|
|
|
|
color: #555555;
|
|
|
|
|
|
margin-top: 2vw;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.kjlt {
|
|
|
|
|
|
width: 3.2vw;
|
|
|
|
|
|
height: 10vw;
|
|
|
|
|
|
background: rgba(255, 255, 255, 0.5);
|
|
|
|
|
|
border-radius: 1.1vw;
|
|
|
|
|
|
writing-mode: vertical-rl;
|
|
|
|
|
|
align-items: center;
|
|
|
|
|
|
display: flex;
|
|
|
|
|
|
justify-content: center;
|
|
|
|
|
|
letter-spacing: 3px;
|
|
|
|
|
|
font-size: 1.4vw;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.more {
|
|
|
|
|
|
margin-left: 0.6vw;
|
|
|
|
|
|
position: relative;
|
|
|
|
|
|
background: RGBA(239, 240, 244, 1);
|
|
|
|
|
|
|
|
|
|
|
|
.righ0 {
|
|
|
|
|
|
right: 0 !important;
|
|
|
|
|
|
}
|
2025-11-14 10:34:26 +08:00
|
|
|
|
|
2025-11-07 17:31:30 +08:00
|
|
|
|
view {
|
|
|
|
|
|
writing-mode: vertical-rl;
|
|
|
|
|
|
align-items: center;
|
|
|
|
|
|
display: flex;
|
|
|
|
|
|
justify-content: center;
|
|
|
|
|
|
letter-spacing: 3px;
|
|
|
|
|
|
width: 3.2vw;
|
|
|
|
|
|
height: 10vw;
|
|
|
|
|
|
position: absolute;
|
|
|
|
|
|
top: 0;
|
|
|
|
|
|
border-radius: 1.1vw;
|
|
|
|
|
|
font-size: 1.4vw;
|
2025-11-14 10:34:26 +08:00
|
|
|
|
color: #888888;
|
|
|
|
|
|
background: #fff;
|
2025-11-07 17:31:30 +08:00
|
|
|
|
|
|
|
|
|
|
&:nth-child(1) {
|
|
|
|
|
|
letter-spacing: 6px;
|
|
|
|
|
|
padding-top: 2vw;
|
|
|
|
|
|
z-index: 5;
|
|
|
|
|
|
image {
|
|
|
|
|
|
width: 1.6vw;
|
|
|
|
|
|
height: 1.6vw;
|
|
|
|
|
|
margin-top: 10px;
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
&:nth-child(2) {
|
|
|
|
|
|
right: 4.5vw;
|
|
|
|
|
|
z-index: 3;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
&:nth-child(3) {
|
|
|
|
|
|
right: 8.5vw;
|
|
|
|
|
|
z-index: 2;
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
2025-11-14 10:34:26 +08:00
|
|
|
|
.avt{
|
|
|
|
|
|
background: rgba(85, 166, 249, 1);
|
|
|
|
|
|
color: #FFFFFF;
|
|
|
|
|
|
}
|
2025-11-07 17:31:30 +08:00
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.zkw {
|
|
|
|
|
|
width: 46.4vw !important;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.kcscrol {
|
|
|
|
|
|
width: 54.4vw;
|
|
|
|
|
|
height: 10vw;
|
|
|
|
|
|
white-space: nowrap;
|
|
|
|
|
|
margin-left: 0.6vw;
|
|
|
|
|
|
|
|
|
|
|
|
.yjbox {
|
|
|
|
|
|
display: inline-block;
|
|
|
|
|
|
width: 14vw;
|
|
|
|
|
|
height: 10vw;
|
|
|
|
|
|
background: rgba(255, 255, 255, 0.5);
|
|
|
|
|
|
border-radius: 1.1vw;
|
|
|
|
|
|
margin-right: 0.6vw;
|
|
|
|
|
|
position: relative;
|
|
|
|
|
|
|
|
|
|
|
|
.ytj {
|
|
|
|
|
|
width: 4.5vw;
|
|
|
|
|
|
height: 1.8vw;
|
|
|
|
|
|
background: #E3EEF7;
|
|
|
|
|
|
border-radius: 0.9vw;
|
|
|
|
|
|
border: 1px solid rgba(3, 133, 250, 0.34);
|
|
|
|
|
|
font-weight: 400;
|
|
|
|
|
|
font-size: 1.1vw;
|
|
|
|
|
|
color: #1083F8;
|
|
|
|
|
|
text-align: center;
|
|
|
|
|
|
line-height: 1.75vw;
|
|
|
|
|
|
position: absolute;
|
|
|
|
|
|
top: 0.8vw;
|
|
|
|
|
|
right: 0.8vw;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
image {
|
|
|
|
|
|
width: 7vw;
|
|
|
|
|
|
height: 7vw;
|
2025-11-10 17:14:13 +08:00
|
|
|
|
margin: 0.5vw auto 0.5vw;
|
2025-11-07 17:31:30 +08:00
|
|
|
|
display: block;
|
2025-11-10 17:14:13 +08:00
|
|
|
|
border-radius: 1vw;
|
2025-11-07 17:31:30 +08:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
>view {
|
|
|
|
|
|
width: 100%;
|
|
|
|
|
|
height: 1.4vw;
|
|
|
|
|
|
font-weight: 400;
|
|
|
|
|
|
font-size: 1.3vw;
|
|
|
|
|
|
color: #212327;
|
|
|
|
|
|
white-space: nowrap;
|
|
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
|
|
overflow: hidden;
|
|
|
|
|
|
padding: 0 1vw;
|
2025-11-10 17:14:13 +08:00
|
|
|
|
text-align: center;
|
2025-11-07 17:31:30 +08:00
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.serchs {
|
2025-11-12 17:32:02 +08:00
|
|
|
|
width:64vw;
|
2025-11-07 17:31:30 +08:00
|
|
|
|
height: 3.3vw;
|
|
|
|
|
|
border-radius: 1.6vw;
|
|
|
|
|
|
display: flex;
|
|
|
|
|
|
align-items: center;
|
2025-11-10 17:14:13 +08:00
|
|
|
|
margin-top: 0.7vw;
|
2025-11-07 17:31:30 +08:00
|
|
|
|
.ipt {
|
|
|
|
|
|
display: flex;
|
|
|
|
|
|
align-items: center;
|
2025-11-12 17:32:02 +08:00
|
|
|
|
width: 30vw;
|
|
|
|
|
|
background: #E2E4E9;
|
|
|
|
|
|
border-radius: 1.65vw;
|
|
|
|
|
|
height: 3.3vw;
|
|
|
|
|
|
|
2025-11-07 17:31:30 +08:00
|
|
|
|
image {
|
|
|
|
|
|
width: 2.2vw;
|
|
|
|
|
|
height: 2.2vw;
|
2025-11-12 17:32:02 +08:00
|
|
|
|
margin:0 0.5vw;
|
2025-11-07 17:31:30 +08:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
input {
|
2025-11-12 17:32:02 +08:00
|
|
|
|
width: 25vw;
|
2025-11-07 17:31:30 +08:00
|
|
|
|
height: 3.3vw;
|
|
|
|
|
|
font-size: 1.1vw;
|
|
|
|
|
|
padding-left: 1.6vw;
|
2025-11-12 17:32:02 +08:00
|
|
|
|
|
2025-11-07 17:31:30 +08:00
|
|
|
|
}
|
|
|
|
|
|
}
|
2025-11-12 17:32:02 +08:00
|
|
|
|
.back{
|
|
|
|
|
|
width: 8vw;
|
|
|
|
|
|
height: 3.3vw;
|
|
|
|
|
|
border-radius: 1.6vw;
|
|
|
|
|
|
border: 1px solid rgba(85, 85, 85, 0.5);
|
|
|
|
|
|
background: rgba(255, 255, 255, 0.5);
|
|
|
|
|
|
border-radius: 1.65vw;
|
|
|
|
|
|
font-weight: 400;
|
|
|
|
|
|
font-size: 1.4vw;
|
|
|
|
|
|
color: rgba(85, 85, 85, 1);
|
|
|
|
|
|
display: flex;
|
|
|
|
|
|
justify-content: center;
|
|
|
|
|
|
align-items: center;
|
|
|
|
|
|
margin-left:5.5vw;
|
|
|
|
|
|
image {
|
|
|
|
|
|
width: 1.5vw;
|
|
|
|
|
|
height: 1.3vw;
|
|
|
|
|
|
margin: 0 0.5vw;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
}
|
2025-11-07 17:31:30 +08:00
|
|
|
|
.scr {
|
|
|
|
|
|
border-radius: 1.65vw;
|
|
|
|
|
|
font-weight: 400;
|
|
|
|
|
|
font-size: 1.5vw;
|
|
|
|
|
|
color: #1083F8;
|
|
|
|
|
|
display: flex;
|
|
|
|
|
|
justify-content: center;
|
|
|
|
|
|
align-items: center;
|
|
|
|
|
|
width: 8vw;
|
|
|
|
|
|
height: 3.3vw;
|
|
|
|
|
|
background: linear-gradient(-45deg, rgba(223, 244, 252, 1), rgba(204, 228, 249, 0.43));
|
|
|
|
|
|
border: 1px solid #1083F8;
|
2025-11-12 17:32:02 +08:00
|
|
|
|
margin: 0 1.2vw;
|
2025-11-07 17:31:30 +08:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.shx {
|
|
|
|
|
|
width: 8.2vw;
|
|
|
|
|
|
height: 3.3vw;
|
|
|
|
|
|
background: #FFFFFF;
|
|
|
|
|
|
border-radius: 1.65vw;
|
|
|
|
|
|
border: 1px solid #D9DADC;
|
|
|
|
|
|
font-weight: 400;
|
|
|
|
|
|
font-size: 1.4vw;
|
|
|
|
|
|
color: #222;
|
|
|
|
|
|
display: flex;
|
|
|
|
|
|
justify-content: center;
|
|
|
|
|
|
align-items: center;
|
|
|
|
|
|
box-shadow: 0.5rpx 5rpx 5rpx #dadee1;
|
|
|
|
|
|
|
|
|
|
|
|
image {
|
|
|
|
|
|
width: 1.5vw;
|
|
|
|
|
|
height: 1.3vw;
|
|
|
|
|
|
margin: 0 0.5vw;
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.guodu {
|
|
|
|
|
|
transition: .4s;
|
|
|
|
|
|
-webkit-transform-style: preserve-3d;
|
|
|
|
|
|
-webkit-overflow-scrolling: touch;
|
|
|
|
|
|
}
|
|
|
|
|
|
.mengban {
|
|
|
|
|
|
width: 100vw;
|
|
|
|
|
|
height: 100vh;
|
|
|
|
|
|
position: fixed;
|
|
|
|
|
|
top: 0;
|
|
|
|
|
|
left: 0;
|
|
|
|
|
|
z-index: 100;
|
|
|
|
|
|
background: RGBA(239, 240, 244, 0.55);
|
|
|
|
|
|
}
|
|
|
|
|
|
</style>
|
|
|
|
|
|
<style>
|
|
|
|
|
|
page {
|
|
|
|
|
|
background: RGBA(239, 240, 244, 1);
|
|
|
|
|
|
padding: 2vw;
|
|
|
|
|
|
box-sizing: border-box;
|
|
|
|
|
|
}
|
|
|
|
|
|
</style>
|