医废处置公司小程序

This commit is contained in:
2025-06-12 11:58:01 +08:00
parent 575bc6b568
commit bcde35513c
70 changed files with 13158 additions and 0 deletions
@@ -0,0 +1,239 @@
<template>
<view class="container">
<tui-sticky-wxs :scrollTop="scrollTop" stickyHeight="104rpx" container>
<template v-slot:header>
<view class="sticky-item">
<view class="date">本次转运</view>
<view class="amount">
<view>重量 2030.88kg 箱数 230</view>
</view>
</view>
</template>
<template v-slot:content>
<!--内容 start-->
<view class="list-view">
<view class="tui-list-item" hover-class="tui-hover" :hover-stay-time="150" @tap="detail">
<view class="content-box">
<view class="des-box">
<view class="tit">重量302kg 箱数4</view>
<view class="source">暂存点肿瘤医院暂存点</view>
<view class="time">转运人员 张宁</view>
</view>
</view>
<view class="content-box">
<view class="des-box">
<view class="tit">已入库</view>
<view class="time">2022-09-30 14:00</view>
</view>
</view>
</view>
<view class="tui-list-item" hover-class="tui-hover" :hover-stay-time="150" @tap="detail">
<view class="content-box">
<view class="des-box">
<view class="tit">重量302kg 箱数4</view>
<view class="source">暂存点肿瘤医院暂存点</view>
<view class="time">转运人员 张宁</view>
</view>
</view>
<view class="content-box">
<view class="des-box">
<view class="tit">已入库</view>
<view class="time">2022-09-30 14:00</view>
</view>
</view>
</view>
</view>
<!--内容 end-->
</template>
</tui-sticky-wxs>
</view>
</template>
<script>
export default {
data() {
return {
scrollTop: 0
}
},
methods: {
detail(e) {
this.tui.toast("功能开发中~")
},
sticky(e){
//通知事件
console.log(e)
}
},
//页面滚动执行方式
onPageScroll(e) {
this.scrollTop = e.scrollTop
}
}
</script>
<style>
.container {
padding-bottom: env(safe-area-inset-bottom);
}
.tips {
background: #fff;
padding: 50rpx 34rpx;
color: #555;
font-size: 24rpx;
line-height: 42rpx;
position: relative;
}
.tips::before {
content: '';
position: absolute;
border-top: 1rpx solid #eaeef1;
-webkit-transform: scaleY(0.5);
transform: scaleY(0.5);
top: 0;
right: 0;
left: 0;
}
/* sticky 容器 start */
.sticky-item {
width: 100%;
height: 104rpx;
padding: 20rpx 30rpx;
background-color: #fafafa;
display: flex;
align-items: center;
justify-content: space-between;
box-sizing: border-box;
}
/* sticky 容器 end */
.date {
height: 54rpx;
font-size: 28rpx;
background-color: #fff;
padding: 0 28rpx;
border-radius: 25rpx;
display: flex;
align-items: center;
justify-content: center;
position: relative;
/* box-shadow: 0 0 1rpx #7A7A7A; */
}
.date::after {
content: '';
position: absolute;
height: 200%;
width: 200%;
border: 1rpx solid #eaeef1;
border-radius: 60rpx;
-webkit-transform-origin: 0 0;
transform-origin: 0 0;
-webkit-transform: scale(0.5);
transform: scale(0.5);
left: 0;
top: 0;
}
.amount {
text-align: right;
color: #7A7A7A;
font-size: 24rpx;
}
.list-view {
position: relative;
width: 100%;
overflow: hidden;
}
.list-view::after {
content: '';
position: absolute;
border-top: 1rpx solid #eaeef1;
-webkit-transform: scaleY(0.5);
transform: scaleY(0.5);
top: 0;
right: 0;
left: 0;
}
.tui-list-item {
width: 100%;
padding: 30rpx 28rpx;
box-sizing: border-box;
background-color: #fff;
display: flex;
align-items: flex-start;
justify-content: space-between;
}
.tui-list-item::after {
left: 120rpx
}
.item-last::after {
left: 0 !important
}
.content-box {
display: flex;
align-items: flex-start;
justify-content: space-between;
}
.logo {
width: 60rpx;
height: 60rpx;
flex-grow: 1
}
.des-box {
min-height: 130rpx;
padding-left: 28rpx;
box-sizing: border-box;
vertical-align: top;
color: #333;
font-size: 24rpx;
display: flex;
flex-direction: column;
justify-content: space-between;
}
.tit {
font-size: 32rpx;
max-width: 420rpx;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
text-align:right;
}
.time {
color: #888
}
.money {
font-size: 38rpx;
font-weight: 500;
color: #000;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
padding-left: 20rpx;
}
.add {
color: #5677FC !important;
}
.tui-color-primary {
color: #5677fc;
}
</style>