<template>
	<view class="mainBox">
		<u-cell-group>
			<u-cell title="客户名称" arrow-direction="down">
				<text slot="value">
					{{form.contactName||''}}
				</text>
			</u-cell>
			<u-cell title="商机名称" arrow-direction="down">
				<text slot="value">
					{{form.name||''}}
				</text>
			</u-cell>
			<u-cell title="负责人名称" arrow-direction="down">
				<text slot="value">
					{{form.responsibleName||''}}
				</text>
			</u-cell>
			<u-cell title="商机来源" arrow-direction="down">
				<text slot="value">
					{{form.sourceName||''}}
				</text>
			</u-cell>
			<u-cell title="赢单率" arrow-direction="down">
				<text slot="value">
					{{form.winRate||''}}%
				</text>
			</u-cell>
			<u-cell title="预算" arrow-direction="down">
				<text slot="value">
					{{form.budget||''}}万元
				</text>
			</u-cell>
			<u-cell title="预计结单日期" arrow-direction="down">
				<text slot="value">
					{{form.expectedClosingDate||''}}
				</text>
			</u-cell>
			<u-cell title="计价方式" arrow-direction="down">
				<text slot="value">
					{{form.pricingWay==1?'按数量计价':'按重量计价'}}
				</text>
			</u-cell>
			
			<u-cell title="商机阶段" arrow-direction="down">
				<text slot="value">
					{{form.stageName||''}}
				</text>
			</u-cell>
			<u-cell title="备注" arrow-direction="down">
				<text slot="value">
					{{form.remark||''}}
				</text>
			</u-cell>
			<u-cell title="创建人" arrow-direction="down">
				<text slot="value">
					{{form.createUsername||''}}
				</text>
			</u-cell>
			<u-cell title="创建时间" arrow-direction="down">
				<text slot="value">
					{{form.createTime||''}}
				</text>
			</u-cell>
			
		</u-cell-group>
	</view>
</template>

<script>
	
	export default {
		data() {
			return {

				form: {},
			}
		},

		created() {

		},
		methods: {
			init(data) {
				console.log(data,'datasss')
				if (data) {
					this.form = data
		
				}
			},

		}
	}
</script>

<style lang="scss" scoped>
	/deep/.u-swipe-action-item__right__button__wrapper {
		background-color: #f56c6c !important;
	}
	/deep/.u-cell__body,/deep/.u-cell__title-text{
		font-size: 26rpx;
	}
</style>