Files
mwims-mini-program/mwims-disposal-app/packagePage/pages/inware/inware.vue
T
2025-06-12 11:58:01 +08:00

286 lines
5.3 KiB
Vue
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
<template>
<view class="container">
<view class="tui-header">
<view class="tui-sub-title" style="padding-bottom: 10rpx;">累计转运批次</view>
<view class="tui-title">20</view>
<view class="tui-sub-title" style="padding-top: 10rpx;">总重量128 kg&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;总数量72</view>
</view>
<view>
<h4 class="headtitle">转运明细</h4>
</view>
<view style="padding-top: 26rpx;">
<tui-card :image="card[0].img" :title="card[0].title" :tag="card[0].tag">
<template v-slot:body>
<view class="tui-default" style="font-size: 26rpx;">
医废重量302kg2
</view>
</template>
<template v-slot:footer>
<view class="tui-default">
地址广西壮族自治区钦州市
</view>
</template>
</tui-card>
</view>
<view style="padding-top: 26rpx;">
<tui-card :image="card[0].img" :title="card[0].title" :tag="card[0].tag">
<template v-slot:body>
<view class="tui-default" style="font-size: 26rpx;">
医废重量302kg2
</view>
</template>
<template v-slot:footer>
<view class="tui-default">
地址广西壮族自治区钦州市
</view>
</template>
</tui-card>
</view>
<view style="padding-top: 26rpx;">
<tui-card :image="card[0].img" :title="card[0].title" :tag="card[0].tag">
<template v-slot:body>
<view class="tui-default" style="font-size: 26rpx;">
医废重量302kg2
</view>
</template>
<template v-slot:footer>
<view class="tui-default">
地址广西壮族自治区钦州市
</view>
</template>
</tui-card>
</view>
<button class="authbtn" @tap="clickIn">入库</button>
</view>
</template>
<script>
import myapp from '@/common/js/myapp.js'
export default {
data() {
return {
card: [{
img: {
url: "/static/images/icon/hospital.png",
width: 80,
height: 80,
circle: true
},
title: {
text: "浦北县人民医院",
color: "#000",
size: 30
},
tag: {
text: "09-02 12:07",
color: "#B0ABB2",
size: 26
}
}
]
}
},
onShow: function() {
// 检验是否登录
let user = myapp.checkLogin()
},
methods: {
clickIn: function() {
uni.navigateTo({
url:'/packagePage/pages/inware_success/inware_success'
})
}
}
}
</script>
<style>
@import '../../../static/style/thorui.css';
page {
background-color: #F5F6FA;
}
.tui-header {
padding: 40rpx 40rpx;
background-color: #ffffff;
}
.tui-title {
font-size: 46rpx;
color: #333;
font-weight: bold;
}
.tui-sub-title {
font-size: 26rpx;
color: #7a7a7a;
}
.textleft, .textright {
color: #949494;
font-size: 20rpx;
margin-bottom: 20rpx;
}
.textleft {
float:left;
}
.textright {
float:right;
}
.textleftright {
border-top:3px solid #F5F6FA;
}
.tui-default {
padding: 30rpx 10rpx 40rpx 10rpx;
font-size: 26rpx;
color: #000;
}
.tui-item-box {
width: 100%;
display: flex;
align-items: center;
padding-bottom: 20rpx;
padding-top: 20rpx;
}
.tui-msg-box {
display: flex;
align-items: center;
}
.tui-msg-item {
max-width: 500rpx;
min-height: 80rpx;
overflow: hidden;
display: flex;
flex-direction: column;
justify-content: space-between;
}
.tui-msg-pic {
width: 100rpx;
height: 100rpx;
border-radius: 50%;
display: block;
margin-right: 24rpx;
flex-shrink: 0;
}
.tui-msg-name {
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
font-size: 32rpx;
line-height: 1;
color: #262b3a;
font-weight: 600;
}
.tui-msg-content {
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
font-size: 24rpx;
line-height: 1;
color: #9397a4;
}
.tui-msg-right {
max-width: 120rpx;
height: 88rpx;
margin-left: auto;
text-align: right;
display: flex;
flex-direction: column;
justify-content: space-between;
align-items: flex-end;
margin-top:30rpx;
margin-right:30rpx;
}
.uni-tag--primary {
background-color:#ADDEFF !important;
border:none !important;
color:#000 !important;
}
.uni-tag--success {
background-color:#ADFFB5 !important;
border:none !important;
color:#000 !important;
}
.tui-content-box {
width: 100%;
height: 44px;
padding: 0 30rpx;
box-sizing: border-box;
display: flex;
align-items: center;
}
.tui-avatar-box {
width: 30px;
height: 30px;
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
border: 1px solid #eaeef1;
flex-shrink: 0;
}
.tui-avatar {
width: 28px;
height: 28px;
border-radius: 50%;
}
.tui-search-text {
padding-left: 10rpx;
}
.tui-notice-box {
position: relative;
flex-shrink: 0;
font-size: 44rpx;
color: #fff;
}
.tui-search-box {
width: 100%;
height: 32px;
margin: 0 0rpx;
border-radius: 18px;
font-size: 14px;
background-color: #f1f1f1;
padding: 0 12px;
box-sizing: border-box;
color: #bfbfbf;
display: flex;
align-items: center;
}
.tui-default {
padding: 15rpx 15rpx;
}
.headtitle {
font-size: 30rpx;
padding-top: 20rpx;
font-weight: bold;
padding-left: 10rpx;
color: #5B5B5B;
}
.authbtn {
background-color: #5767CF;
color: #FFF;
margin-top: 60rpx;
width: 90%;
border-radius: 40rpx;
}
</style>