hldy_app_mini/pages/procurement/material.vue

978 lines
22 KiB
Vue
Raw Normal View History

2025-11-07 17:31:30 +08:00
<template>
<view>
2025-11-21 16:34:45 +08:00
<view class="serchs guodu" :style="tx?'':'width:95vw'">
2025-11-07 17:31:30 +08:00
<view class="ipt">
2025-12-01 17:13:29 +08:00
<input type="text" placeholder="物料名称/物料编码/物料简拼" v-model="form.wlParamInfo" @confirm="search" />
2025-11-07 17:31:30 +08:00
<image src="/static/index/procurement/x.png" mode="aspectFill" v-if="form.wlParamInfo"
@click="search(0)"></image>
</view>
2025-11-21 14:45:32 +08:00
<view @click="search" class="scr guodu">
2025-11-27 13:58:23 +08:00
<image src="/static/index/procurement/sh.png" mode="aspectFill" class="sh"></image>
<image src="/static/index/procurement/shr.png" mode="aspectFill" class="shr"></image>
2025-11-07 17:31:30 +08:00
检索
</view>
2025-11-21 14:45:32 +08:00
<view class="shx guodu" @click="ification=true">
2025-11-07 17:31:30 +08:00
<image src="/static/index/procurement/sx.png" mode="aspectFill"></image>
筛选
</view>
2025-12-01 17:13:29 +08:00
<view class="shx guodu" @click="chongzhi"
v-if="form.categoryId!=''||form.wlParamInfo!=''||form.suppliers!=''">
<image src="/static/index/procurement/cz.png" mode="aspectFill"></image>
2025-11-20 13:54:18 +08:00
重置
</view>
2025-11-21 16:34:45 +08:00
<view class="back guodu" @click="uni.navigateBack()">
2025-11-12 17:32:02 +08:00
<image src="/static/index/procurement/bk.png" mode="aspectFill"></image>
返回
</view>
2025-11-07 17:31:30 +08:00
</view>
<view class="kcyj">
2025-11-21 16:34:45 +08:00
<view class="kjlt" @click="tx=!tx">
2025-11-07 17:31:30 +08:00
库存预警
</view>
2025-12-01 17:13:29 +08:00
<scroll-view scroll-x="true" class="kcscrol guodu"
:style="tx?(qb?'width:46.4vw':'width:55.4vw') : (qb?'width:78.4vw':'width:86.4vw') "
scroll-with-animation :scroll-left="scrollleft" @scroll="onScroll" @scrolltolower="scrolltolower(1)">
<view class="yjbox" v-for="(v,i) in Material" :key="i" @click="clickaddcar(v,i)">
<image :src="v.materialImg?serverUrl+v.materialImg:'/static/index/procurement/k.png'"
mode="aspectFill"></image>
2025-11-10 17:14:13 +08:00
<view>{{v.materialName}}</view>
<text class="ytj" v-if="v.isAdd==1">已添加</text>
2025-12-05 10:10:53 +08:00
<text class="sl" >{{v.ljkcsl}}</text>
2025-11-07 17:31:30 +08:00
</view>
2025-12-05 16:12:13 +08:00
<defaultr cont="暂无数据" v-if="Material.length==0&&timeout" style="position: absolute;width: 10vw;height: 10vw;left: 10%;"></defaultr>
2025-11-07 17:31:30 +08:00
</scroll-view>
2025-12-05 10:10:53 +08:00
<view class="kjlt more guodu" :style="qb?'width:12.15vw':'' " @touchstart="ts" @touchmove="canmove" v-if="Material.length>0">
<view @click="qb=!qb;moredex=0;moveleft()" class="righ0" >
2025-11-07 17:31:30 +08:00
{{!qb?'更多':'收起'}}
2025-12-01 17:13:29 +08:00
<image class="guodu" :style="qb?'transform: rotate(180deg);':''"
src="/static/index/procurement/zjt.png" mode="aspectFill"></image>
</view>
<view class="guodu" :class="qb?(moredex==1?'avt':''):'righ0'" @click="moredex=1;Invenshow=true">查看全部
2025-11-07 17:31:30 +08:00
</view>
2025-11-14 10:34:26 +08:00
<view class="guodu" :class="qb?(moredex==2?'avt':''):'righ0'" @click="moredex=2">添加全部</view>
2025-11-07 17:31:30 +08:00
</view>
2025-11-26 17:49:44 +08:00
<view class="kaprght guodu">
2025-11-21 16:34:45 +08:00
<view class="ksfw guodu" :style="tx?'':'right: -38vw !important;'">
2025-11-07 17:31:30 +08:00
<view class="lcar">
<image :src="'/static/index/procurement/k.png'" mode="aspectFill"></image>
<view class="nm">纸尿裤-拉拉裤纸拉拉裤纸拉拉裤纸拉拉裤纸</view>
</view>
<view class="rcar">
<view class="wul">物料采购</view>
2025-11-26 15:38:39 +08:00
<view class="tm">10:00 - 10:10</view>
2025-11-07 17:31:30 +08:00
<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>
2025-11-26 15:38:39 +08:00
<view class="jx">
<image src="/static/index/procurement/l0.png" mode="aspectFill"></image>
<text>待进行</text>
</view>
2025-11-07 17:31:30 +08:00
</view>
</view>
</view>
</view>
<view class="listcard">
2025-12-01 17:13:29 +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-26 15:38:39 +08:00
<image src="/static/index/procurement/gc1.png" mode="aspectFill"></image>
2025-11-21 11:20:28 +08:00
<text v-if="carnum>0">{{carnum>99?'99+':carnum}}</text>
2025-11-07 17:31:30 +08:00
</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-12-01 17:13:29 +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-12-01 17:13:29 +08:00
<classification @confirm="confirm" :show="ification" :typenum="0" ref="classication"></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-12-01 17:13:29 +08:00
<Inventory @addcartory="addcartory" :show="Invenshow" :InvoicingList="Material" :status="statustory"
@tolower="scrolltolower(1)"></Inventory>
<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>
<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">
2025-12-02 13:34:13 +08:00
import { ref, onMounted, reactive, onBeforeUnmount, computed, nextTick, defineComponent, inject } from 'vue';
2025-12-05 10:10:53 +08:00
import { queryInvoicingList, queryWlInfoByWlId, addShoppingCartList, queryShoppingCartList,queryCgdWaringList } 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-12-05 10:10:53 +08:00
import defaultr from './components/default.vue'
2025-11-21 16:34:45 +08:00
const tx = ref(true)
2025-12-01 17:13:29 +08:00
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-12-01 17:13:29 +08:00
2025-11-14 10:34:26 +08:00
const moredex = ref(0)
2025-12-01 17:13:29 +08:00
const InvoicingList = ref([]);
2025-11-07 17:31:30 +08:00
const caigouobj = ref({})
2025-12-02 09:41:23 +08:00
const status = ref('loadmore')
const statustory = ref('loadmore')
2025-11-10 17:14:13 +08:00
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,
2025-12-01 17:13:29 +08:00
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-12-01 17:13:29 +08:00
})
2025-11-20 15:37:45 +08:00
const classication = ref<InstanceType<typeof ChildComponent>>()
2025-12-05 10:10:53 +08:00
const timeout = ref(false)
2025-11-07 17:31:30 +08:00
onLoad(() => {
2025-12-05 10:10:53 +08:00
setTimeout(()=>{
timeout.value = true
},500)
2025-11-07 17:31:30 +08:00
serverUrl.value = uni.getStorageSync('serverUrl') + '/sys/common/static/';
})
2025-12-01 17:13:29 +08:00
onShow(() => {
form.pageNo = 1;
warn.pageNo = 1;
Material.value = [];
InvoicingList.value = [];
moredex.value = 0;
2025-11-28 10:23:57 +08:00
shoppcar();
getWaringMaterial()
2025-12-01 17:13:29 +08:00
nextTick(() => {
2025-11-24 14:08:19 +08:00
chongzhi()
})
2025-11-07 17:31:30 +08:00
})
2025-11-10 17:14:13 +08:00
const Material = ref([])
2025-12-01 17:13:29 +08:00
const getWaringMaterial = () => {
2025-12-05 10:10:53 +08:00
console.log(warn)
queryCgdWaringList(warn).then(res => {
2025-11-10 17:14:13 +08:00
console.log(res.result)
2025-12-01 17:13:29 +08:00
res.result.records.forEach(item => {
2025-11-10 17:14:13 +08:00
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-12-01 17:13:29 +08:00
const config = () => {
form.pageNo = 1;
warn.pageNo = 1;
Material.value = [];
InvoicingList.value = [];
moredex.value = 0;
shoppcar();
queryInvo();
getWaringMaterial()
2025-11-14 10:34:26 +08:00
}
2025-12-01 17:13:29 +08:00
const startX = ref(0)
const ts = (e) => {
startX.value = e.touches[0].clientX
}
const savescrollleft = ref(0)
// 监听用户滚动
function onScroll(e : any) {
savescrollleft.value = e?.detail?.scrollLeft ?? 0
}
2025-12-02 09:48:49 +08:00
const scrollleft = ref(0)
2025-12-01 17:13:29 +08:00
const canmove = (e : any) => {
const moveX = e.touches[0].clientX
const diff = moveX - startX.value
// diff 为负值就是向左滑
if (diff < -60 && !qb.value) { // 👉 60px 阈值,随便改
qb.value = !qb.value;
moredex.value = 0;
// 这么写是解决这个组件的响应丢失的bug
2025-12-02 13:34:13 +08:00
scrollleft.value = savescrollleft.value + 95.99
2025-12-01 17:13:29 +08:00
setTimeout(() => {
scrollleft.value = savescrollleft.value + 96
}, 50)
}
if (diff > 60 && qb.value) { // 👉 60px 阈值,随便改
qb.value = !qb.value;
moredex.value = 0;
2025-12-02 13:34:13 +08:00
scrollleft.value = savescrollleft.value - 95.99
2025-12-01 17:13:29 +08:00
setTimeout(() => {
scrollleft.value = savescrollleft.value - 96
}, 50)
}
2025-11-14 10:34:26 +08:00
}
2025-12-01 17:13:29 +08:00
const moveleft = () => {
if (qb.value) {
scrollleft.value = savescrollleft.value + 95
setTimeout(() => {
scrollleft.value = savescrollleft.value + 96
}, 50)
} else {
scrollleft.value = savescrollleft.value - 95
setTimeout(() => {
scrollleft.value = savescrollleft.value - 96
}, 50)
}
}
2025-11-07 17:31:30 +08:00
const carnum = ref(0)
2025-12-01 17:13:29 +08:00
const shoppcar = () => {
let c = {
nuId: form.nuId,
pageNo: 1,
pageSize: 1
}
queryShoppingCartList(c).then(resr => {
2025-11-07 17:31:30 +08:00
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-12-01 17:13:29 +08:00
const scrolltolower = (t : number) => {
if (t == 1) {
if (setout1.value == false) { return }
2025-11-10 17:14:13 +08:00
setout1.value = false;
statustory.value = 'loading'
warn.pageNo++;
getWaringMaterial()
2025-12-01 17:13:29 +08:00
} else {
if (setout2.value == false) { return }
2025-11-10 17:14:13 +08:00
status.value = 'loading'
setout2.value = false;
form.pageNo++;
queryInvo()
}
2025-12-01 17:13:29 +08:00
2025-11-07 17:31:30 +08:00
// times = setTimeout(() => {
// setout.value = true
// }, 1000)
}
2025-12-01 17:13:29 +08:00
const qk = () => {
2025-11-10 17:14:13 +08:00
ification.value = false;
addflag.value = false;
}
2025-12-01 17:13:29 +08:00
const confirm = (e : any) => {
2025-11-10 17:14:13 +08:00
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-12-01 17:13:29 +08:00
form.pageNo = 1;
2025-11-10 17:14:13 +08:00
InvoicingList.value = [];
queryInvo();
qk()
}
2025-12-01 17:13:29 +08:00
const chongzhi = () => {
2025-11-20 15:37:45 +08:00
form.categoryId = '';
form.typeId = '';
form.medicationId = '';
form.suppliers = '';
2025-12-01 17:13:29 +08:00
form.pageNo = 1;
form.wlParamInfo = '',
InvoicingList.value = [];
classication.value.typescroll(1, -1, {});
2025-11-20 15:37:45 +08:00
classication.value.qingkong();
classication.value.config();
}
2025-11-10 17:14:13 +08:00
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 => {
2025-12-01 17:13:29 +08:00
res.result.records.forEach(item => {
2025-11-07 17:31:30 +08:00
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-12-01 17:13:29 +08:00
const addcartory = (e : any) => {
// e把index覆盖了导致index永远是0
let index = caigouobj.value.index
caigouobj.value = e;
caigouobj.value.index = index
addflag.value = true;
2025-11-10 17:14:13 +08:00
}
2025-12-01 17:13:29 +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-07 17:31:30 +08:00
}
2025-12-01 17:13:29 +08:00
const right = (n : number, nm : any, type : Object) => {
2025-11-14 10:34:26 +08:00
// let d = Number(caigouobj.value.upperLimit)-Number(caigouobj.value.kcsl)
2025-12-01 17:13:29 +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;
// }
2025-12-01 17:13:29 +08:00
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-12-01 17:13:29 +08:00
const connfig = (nm : any, num : Number, type : Object) => {
if (timers.value == false) { return }
if (caigouobj.value.izEnabled == '1') {
2025-11-07 17:31:30 +08:00
uni.showToast({
2025-12-01 17:13:29 +08:00
icon: 'none',
title: '该物料已关闭,无法采购~'
2025-11-07 17:31:30 +08:00
})
return
}
2025-12-01 17:13:29 +08:00
timers.value = false;
2025-11-07 17:31:30 +08:00
let dt = {
2025-12-01 17:13:29 +08:00
nuId: form.nuId,
purchaseQuantity: num,
suppliersId: nm.id,
suppliersName: nm.name,
wlId: caigouobj.value.wlId,
kcsl: caigouobj.value.kcsl,
wlUnits: type.unit,
referenceUnitPrice: type.price,
dhbl: type.num
2025-11-07 17:31:30 +08:00
}
2025-12-01 17:13:29 +08:00
addShoppingCartList([dt]).then(res => {
2025-11-07 17:31:30 +08:00
uni.showToast({
2025-12-01 17:13:29 +08:00
icon: res.success ? 'success' : 'none',
title: res.message
2025-11-07 17:31:30 +08:00
})
2025-12-01 17:13:29 +08:00
setTimeout(() => {
timers.value = true;
if (res.success) {
2025-11-07 17:31:30 +08:00
addflag.value = false;
2025-12-01 17:13:29 +08:00
detailsshow.value = false;
2025-11-10 17:14:13 +08:00
shoppcar();
2025-12-05 10:10:53 +08:00
warn.pageNo = 1;
Material.value = [];
getWaringMaterial();
2025-12-05 16:12:13 +08:00
console.log("看看",caigouobj.value)
// console.log("第几个",forthmenuIndex.value)
console.log("参数",InvoicingList.value)
2025-12-01 17:13:29 +08:00
if (caigouobj.value.yj) {
2025-12-05 16:12:13 +08:00
InvoicingList.value.forEach((element:any)=>{
if(element.id===caigouobj.value.id){
element.isAdd = '1'
}
})
2025-12-01 17:13:29 +08:00
} else {
2025-12-05 10:10:53 +08:00
caigouobj.value.isAdd = 1
2025-11-10 17:14:13 +08:00
}
2025-11-07 17:31:30 +08:00
}
2025-12-01 17:13:29 +08:00
}, 700)
2025-11-07 17:31:30 +08:00
})
}
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)
2025-12-01 17:13:29 +08:00
const clickaddcar = (v : any, i : number) => {
2025-11-12 17:32:02 +08:00
const now = Date.now()
forthmenuIndex.value = i
2025-12-01 17:13:29 +08:00
2025-11-12 17:32:02 +08:00
if (now - lastTap.value < DOUBLE_TAP_DELAY) {
// 双击成立
clearTimeout(setout.value)
2025-12-01 17:13:29 +08:00
if (v.isAdd == 1) {
2025-11-12 17:32:02 +08:00
return
2025-12-01 17:13:29 +08:00
} else {
2025-11-12 17:32:02 +08:00
caigouobj.value = v;
caigouobj.value.index = i;
caigouobj.value.yj = true;
addcartory(caigouobj.value)
}
// 重置,避免多次触发
lastTap.value = 0
} else {
2025-12-01 17:13:29 +08:00
setout.value = setTimeout(() => {
2025-11-12 17:32:02 +08:00
caigouobj.value = v;
caigouobj.value.index = i;
caigouobj.value.yj = true;
detailsshow.value = true;
2025-12-01 17:13:29 +08:00
}, DOUBLE_TAP_DELAY)
2025-11-12 17:32:02 +08:00
// 记录本次时间,等待下次点击
lastTap.value = now
}
}
2025-12-01 17:13:29 +08:00
const crk = (v, i) => {
2025-11-14 10:34:26 +08:00
crkflag.value = true
}
2025-11-07 17:31:30 +08:00
</script>
<style scoped lang="less">
2025-12-01 17:13:29 +08:00
.fiedright {
2025-11-07 17:31:30 +08:00
width: 5vw;
height: 12vw;
position: fixed;
z-index: 200;
right: 2vw;
bottom: 6vw;
display: flex;
flex-direction: column;
justify-content: space-between;
2025-12-01 17:13:29 +08:00
view {
2025-11-07 17:31:30 +08:00
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;
2025-12-01 17:13:29 +08:00
text {
2025-11-07 17:31:30 +08:00
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;
2025-12-01 17:13:29 +08:00
right: -0.8vw;
2025-11-07 17:31:30 +08:00
}
2025-12-01 17:13:29 +08:00
image {
2025-11-07 17:31:30 +08:00
width: 3.3vw;
height: 3.3vw;
}
}
}
2025-12-01 17:13:29 +08:00
2025-11-07 17:31:30 +08:00
.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-12-01 17:13:29 +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;
2025-11-26 17:49:44 +08:00
position: relative;
2025-12-01 17:13:29 +08:00
2025-11-07 17:31:30 +08:00
.kaprght {
width: 32vw;
height: 10vw;
margin-left: 0.6vw;
2025-11-26 17:49:44 +08:00
position: absolute;
right: 0;
bottom: 0;
2025-11-07 17:31:30 +08:00
.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;
2025-11-21 16:34:45 +08:00
right: 0;
2025-11-07 17:31:30 +08:00
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;
}
2025-11-26 15:38:39 +08:00
}
.rcar {
width: 19vw;
position: relative;
2025-12-01 17:13:29 +08:00
2025-11-07 17:31:30 +08:00
>.jx {
width: 4.6vw;
height: 1.9vw;
position: absolute;
2025-11-27 13:39:56 +08:00
top: 1vw;
2025-11-07 17:31:30 +08:00
right: 1vw;
font-weight: 400;
font-size: 1.1vw;
display: flex;
justify-content: center;
align-items: center;
2025-12-01 17:13:29 +08:00
2025-11-07 17:31:30 +08:00
>image {
position: absolute;
width: 100%;
height: 100%;
left: 0;
top: 0;
z-index: 1;
}
2025-12-01 17:13:29 +08:00
2025-11-07 17:31:30 +08:00
>text {
position: relative;
z-index: 2;
color: #FFFFFF;
2025-11-27 13:39:56 +08:00
// margin-top: 2vw;
2025-11-07 17:31:30 +08:00
}
}
}
.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;
2025-11-26 17:49:44 +08:00
margin-top: 1vw;
2025-11-07 17:31:30 +08:00
display: flex;
padding: 1.1vw 0 1.1vw 0;
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;
2025-11-26 17:49:44 +08:00
margin: 2vw auto 0;
2025-11-07 17:31:30 +08:00
}
.tm {
width: 100%;
height: 1.8vw;
font-size: 2.2vw;
font-weight: bolder;
color: #555555;
2025-12-01 17:13:29 +08:00
margin-top: 0.5vw;
2025-11-07 17:31:30 +08:00
}
}
}
.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;
2025-11-26 17:49:44 +08:00
position: relative;
z-index: 100;
2025-11-07 17:31:30 +08:00
}
.more {
2025-12-01 17:13:29 +08:00
margin-left: 0.8vw;
2025-11-07 17:31:30 +08:00
position: relative;
background: RGBA(239, 240, 244, 1);
.righ0 {
right: 0 !important;
}
2025-12-01 17:13:29 +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;
2025-12-01 17:13:29 +08:00
2025-11-07 17:31:30 +08:00
image {
width: 1.6vw;
height: 1.6vw;
margin-top: 10px;
}
}
2025-12-01 17:13:29 +08:00
2025-11-07 17:31:30 +08:00
&:nth-child(2) {
2025-11-27 17:26:38 +08:00
right: 4.2vw;
2025-11-07 17:31:30 +08:00
z-index: 3;
}
&:nth-child(3) {
right: 8.5vw;
z-index: 2;
}
}
2025-12-01 17:13:29 +08:00
.avt {
2025-11-14 10:34:26 +08:00
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;
2025-11-26 17:49:44 +08:00
position: relative;
z-index: 99;
2025-11-07 17:31:30 +08:00
.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;
2025-12-05 10:10:53 +08:00
.sl {
min-width: 1.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;
padding: 0 1.6vw;
top: 0.8vw;
left: 0.8vw;
}
2025-11-07 17:31:30 +08:00
.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-12-01 17:13:29 +08:00
width: 62vw;
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-20 13:54:18 +08:00
position: relative;
2025-12-01 17:13:29 +08:00
2025-11-07 17:31:30 +08:00
.ipt {
display: flex;
align-items: center;
2025-11-20 15:37:45 +08:00
width: 24.2vw;
2025-11-12 17:32:02 +08:00
background: #E2E4E9;
border-radius: 1.65vw;
height: 3.3vw;
2025-12-01 17:13:29 +08:00
2025-11-07 17:31:30 +08:00
image {
width: 2.2vw;
height: 2.2vw;
2025-12-01 17:13:29 +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;
2025-11-27 17:26:38 +08:00
font-size: 1.4vw;
2025-11-07 17:31:30 +08:00
padding-left: 1.6vw;
2025-12-01 17:13:29 +08:00
2025-11-07 17:31:30 +08:00
}
}
2025-12-01 17:13:29 +08:00
.back {
2025-11-26 15:38:39 +08:00
width: 7.3vw;
2025-11-12 17:32:02 +08:00
height: 3.3vw;
border-radius: 1.6vw;
2025-11-27 13:58:23 +08:00
background: rgba(255, 255, 255, 1);
2025-11-12 17:32:02 +08:00
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;
2025-11-20 13:54:18 +08:00
position: absolute;
right: 0.5vw;
top: 0.2vw;
2025-11-27 13:58:23 +08:00
border: 1px solid #D9DADC;
2025-12-01 17:13:29 +08:00
2025-11-12 17:32:02 +08:00
image {
width: 1.5vw;
height: 1.3vw;
2025-11-21 14:45:32 +08:00
margin: 0 0.5vw 0 0;
2025-11-12 17:32:02 +08:00
}
2025-12-01 17:13:29 +08:00
2025-11-12 17:32:02 +08:00
}
2025-12-01 17:13:29 +08:00
.back:active,
.shx:active,
.scr:active {
2025-11-21 14:45:32 +08:00
color: #1083F8;
background: linear-gradient(-45deg, rgba(223, 244, 252, 1), rgba(204, 228, 249, 0.43));
border: 1px solid #1083F8;
}
2025-12-01 17:13:29 +08:00
2025-11-07 17:31:30 +08:00
.scr {
border-radius: 1.65vw;
font-weight: 400;
2025-12-01 17:13:29 +08:00
font-size: 1.4vw;
2025-11-07 17:31:30 +08:00
display: flex;
justify-content: center;
align-items: center;
2025-11-27 13:58:23 +08:00
width: 7.3vw;
2025-11-07 17:31:30 +08:00
height: 3.3vw;
2025-11-27 17:26:38 +08:00
margin: 0 0 0 0.7vw;
2025-11-21 14:45:32 +08:00
background: rgba(255, 255, 255, 0.6);
border: 1px solid #D9DADC;
color: #555555;
2025-12-01 17:13:29 +08:00
2025-11-27 13:58:23 +08:00
image {
width: 1.5vw;
height: 1.3vw;
margin: 0 0.5vw 0 0;
}
}
2025-12-01 17:13:29 +08:00
.shr {
2025-11-27 13:58:23 +08:00
display: none;
}
2025-12-01 17:13:29 +08:00
.scr:active .sh {
2025-11-27 13:58:23 +08:00
display: none;
}
2025-12-01 17:13:29 +08:00
.scr:active .shr {
2025-11-27 13:58:23 +08:00
display: inline-block;
2025-11-07 17:31:30 +08:00
}
.shx {
2025-11-26 15:38:39 +08:00
width: 7.3vw;
2025-11-07 17:31:30 +08:00
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;
2025-11-26 15:38:39 +08:00
margin: 0 0 0 0.7vw;
2025-11-21 14:45:32 +08:00
color: #555555;
2025-11-07 17:31:30 +08:00
image {
width: 1.5vw;
height: 1.3vw;
2025-11-26 15:38:39 +08:00
margin: 0 0.5vw 0 0;
2025-11-07 17:31:30 +08:00
}
}
}
.guodu {
transition: .4s;
-webkit-transform-style: preserve-3d;
-webkit-overflow-scrolling: touch;
}
2025-12-01 17:13:29 +08:00
2025-11-07 17:31:30 +08:00
.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>