| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241 | <template>	<!-- 系统消息页面 -->	<view class="header">		<view class="content" v-for="(item,index) in datalist" @click="inDetails" :key="index">			<view class="content-one">				<text class="content-one-first">{{item.title}}</text>				<text class="content-one-second">{{item.data}}</text>			</view>			<!-- 中间的虚线 -->			<view class="content-two">			</view>			<view class="content-three">				{{item.order}}			</view>			<view class="content-four">				订单编号:{{item.number}}			</view>			<view class="content-four">				创建时间:{{item.time}}			</view>			<view class="content-four">				订单条数:{{item.amount}}条			</view>			<view class="content-four">				联系人:{{item.name}}			</view>			<view class="content-four">				联系电话:{{item.Telephone}}			</view>			<view class="content-four">				零售店地址:{{item.address}}			</view>			<view class="content-five">				<text class="content-five-first">查看订单详情</text>				<text class="content-five-second">					<u-icon name="arrow-right"></u-icon>				</text>			</view>		</view>		<view class="header">			<view class="content" v-for="(item,index) in goodsList" :key="index">				<view class="content-one">					<text class="content-one-first">{{item.title}}</text>					<text class="content-one-second">11.26</text>				</view>				<!-- 中间的虚线 -->				<view class="content-two">				</view>				<view class="content-three" style="color:red;">					{{item.data}}				</view>				<view class="content-four-tail">					促销商品1(规格):{{item.order1}}				</view>				<view class="content-four-tail">					优惠力度: {{item.order2}}				</view>				<view class="content-four-tail">					促销商品2(规格):{{item.order3}}				</view>				<view class="content-four-tail">					优惠力度: {{item.order3}}				</view>				<view class="content-four" style="color:#FF651A;">										{{item.address}}				</view>				<view class="content-five">					<text class="content-five-first">查看订单详情</text>					<text class="content-five-second">						<u-icon name="arrow-right"></u-icon>					</text>				</view>			</view>		</view>	</view></template><script>	export default {		data() {			return {				datalist: [{						title: '零售店订单信息',						data: '4月22日',						order: '您接收到赛轮轮胎市北店的新订单',						number: '20202000202202',						time: '2020/04/21',						amount: '300',						name: '曹某',						Telephone: '17863993980',						address: '山东省青岛市李沧区某某小区某楼'					}, {						title: '零售店订单信息',						data: '4月22日',						order: '您接收到赛轮轮胎市北店的新订单',						number: '20202000202202',						time: '2020/04/21',						amount: '300',						name: '曹某',						Telephone: '17863993980',						address: '山东省青岛市李沧区某某小区某楼'					},					{						title: '零售店订单信息',						data: '4月22日',						order: '您接收到赛轮轮胎市北店的新订单',						number: '20202000202202',						time: '2020/04/21',						amount: '300',						name: '曹某',						Telephone: '17863993980',						address: '山东省青岛市李沧区某某小区某楼'					},					{						title: '零售店订单信息',						data: '4月22日',						order: '您接收到赛轮轮胎市北店的新订单',						number: '20202000202202',						time: '2020/04/21',						amount: '300',						name: '曹某',						Telephone: '17863993980',						address: '山东省青岛市李沧区某某小区某楼'					},				],				goodsList: [					{						title: '零售店订单信息',						data: '赛轮集团针对优质客户提供以下优惠活动,立马抢购吧!',						order1: '225/55R17',						order2: '每条胎在零售价基础上优惠20元',						order3: '225/55R17',						order4: '每条胎在零售价基础上优惠20元',						address: '库存有限,赶紧去订单促销活动界面抢购吧。'					},					{						title: '零售店订单信息',						data: '赛轮集团针对优质客户提供以下优惠活动,立马抢购吧!',						order1: '225/55R17',						order2: '每条胎在零售价基础上优惠20元',						order3: '225/55R17',						order4: '每条胎在零售价基础上优惠20元',						address: '库存有限,赶紧去订单促销活动界面抢购吧。'					},				]			}		},		onLoad() {		},		methods: {			inDetails(){				this.$u.route({					url: 'pages/msg/Order-details/index',				})				}		},	}</script><style lang="scss" scoped>	.content {		width: 702rpx;		// height: 447rpx;		margin: 0 auto;		background: #FFFFFF;		margin-top: 20rpx;		box-shadow: 0rpx 0rpx 17rpx 0rpx rgba(78, 60, 63, 0.2);		border-radius: 10rpx;	}	.content-one {		display: flex;		justify-content: space-between;	}	.content-one-first {		font-size: 28rpx;		font-weight: bold;		margin: 20rpx;	}	.content-one-second {		font-size: 24rpx;		color: #B2B2B2;		margin: 20rpx;	}	.content-five {		display: flex;		justify-content: space-between;	}	.content-five-first {		font-size: 24rpx;		font-weight: bold;		margin: 20rpx;	}	.content-five-second {		font-size: 24rpx;		color: #B2B2B2;		margin: 20rpx;	}	// 中间虚线	.content-two {		width: 670rpx;		margin: 0 auto;		border-top: 1rpx solid #ededed;	}	.content-three {		color: #aeaeae;		margin-left: 20rpx;		margin-top: 20rpx;		font-size: 24rpx;		margin-bottom: 27rpx;	}	.content-four {		color: #aeaeae;		margin-left: 20rpx;		margin-top: 6rpx;		font-size: 24rpx;	}	.content-four-tail {		color: #000;		margin-left: 20rpx;		margin-top: 10rpx;		font-size: 24rpx;	}	.content-five {}</style>
 |