index.vue 3.61 KB
<template>
	<view class="app-container">
		<u-navbar :title="title" safeAreaInsetTop placeholder>
			<view slot="left" class="text-red"></view>
		</u-navbar>
		<view class="">
			<uv-drop-down ref="dropDown" sign="dropDown_1" :customStyle="{'justifyContent':'space-around'}"
				:extra-icon="{name:'arrow-down-fill',color:'#666',size:'26rpx'}"
				:extra-active-icon="{name:'arrow-up-fill',color:'#3c9cff',size:'26rpx'}">
				<uv-drop-down-item name="type" type="2" label="项目公司" value="0">
				</uv-drop-down-item>
				<uv-drop-down-item name="type" type="2" label="点火确认" value="0">
				</uv-drop-down-item>
			</uv-drop-down>
		</view>

		<view class="usuallyCard margin padding">
			<view class="flex flex-direction">
				<view class="flex justify-between">
					<view class="">
						<text class="text-grey margin-right-xs">项目公司:</text>咸宁中燃城镇燃气有限公司
					</view>
					<view class="flex">
						<u-tag bgColor="#EFF1FD" borderColor="#fff" color="#5875EE" size="mini" text="待审批"></u-tag>
					</view>
				</view>
        <view class="margin-top-sm">
        	<text class="text-grey margin-right-xs">用户编号:</text>20240423112758317528770
        </view>
				<view class="margin-top-sm">
					<text class="text-grey margin-right-xs">户名:</text>张三
				</view>
        <view class="margin-top-sm">
        	<text class="text-grey margin-right-xs">地址:</text>中建·南湖壹号三栋一单元(1206室)
        </view>
				<view class="margin-top-sm">
					<text class="text-grey margin-right-xs">点火时间:</text>— —
				</view>
			</view>
			<view class="flex justify-end margin-top">
				<view class="margin-right" @click="handleDetail">
					<u-button shape="circle">查看详情</u-button>
				</view>
				<view class="" @click="handleOpen">
					<u-button shape="circle" color="#CF000D">点火维护</u-button>
				</view>
			</view>
			<!-- <view class="nodeCss">
				当前审批节点:项目公司_市场负责人
			</view> -->
		</view>
    <popUpFillIn type="dhwh" title="点火维护" ref="popUpFillInRef"></popUpFillIn>
		<TabBar :currentPagePath="this.$route.meta.pagePath"></TabBar>
	</view>
</template>

<script>
  import popUpFillIn from '@/components/popUpFillIn/popUpFillIn.vue'
	export default {
		components: {
      popUpFillIn
    },
		props: {

		},
		data() {
			return {
				title: "点火维护",
				keyword: "",
				actionStyle: {
					'color': '#fff',
					'background': '#EC1E19',
					'borderRadius': "15px",
					'width': '60px',
					'height': '25px',
					'line-height': '25px',
				},
				approvalValue: [],
				approval: [{
					name: "待我审批"
				}]
			}
		},
		computed: {

		},
		onLoad() {

		},
		methods: {
			onSearch(e) {
				console.log("搜索", e);
			},
			checkboxChange(e) {
				console.log(e);
			},
			handleDetail() {
				uni.navigateTo({
					url: '/pages/visitsAndFees/detail'
				})
			},
      handleOpen(){
        this.$refs.popUpFillInRef.open();
      }
		}
	}
</script>

<style lang="scss" scoped>
	/deep/.u-search__content {
		width: 70vw;
		padding-right: 140rpx;
	}

	/deep/.u-search__action {
		position: absolute;
		left: 50%;
	}

	.nodeCss {
		position: relative;
		display: flex;
		justify-content: center;
		align-items: center;
		margin: 25rpx auto;
		border-radius: 20rpx;
		width: 95%;
		height: 80rpx;
		background: #EFF1FD;
		color: #5875EB;
		text-align: center;
	}


	.nodeCss::after {
		content: '';
		position: absolute;
		top: 0%;
		right: 25rpx;
		transform: translate(-50%, -50%) rotate(45deg);
		width: 10px;
		height: 10px;
		background: #EFF1FD;
		border: 1px solid #EFF1FD;
		border-style: none none solid solid;
	}
</style>