<template>
	<view class="page" :style="themeColor">
		<view class="flex benben-position-layout flex flex-wrap align-center detailsPage_flex_0"
			:style="{height:(120+StatusBarRpx)+'rpx',paddingTop:StatusBarRpx+'rpx'}">
			<view class='flex flex-wrap align-center justify-between flex-sub detailsPage_fd0_0'>
				<view class='flex flex-wrap align-center' @tap.stop="handleJumpDiy" data-type="back" data-url="1">
					<text class='fu-iconfont2  detailsPage_fd0_0_c0_c0' @tap.stop="handleJumpDiy" data-type="back"
						data-url="1">&#xE794;</text>
				</view>
				<view class='flex flex-wrap align-stretch justify-center flex-sub'>
					<text class='detailsPage_fd0_0_c1_c0'>详情</text>
				</view>
				<view class='flex flex-wrap align-center detailsPage_fd0_0_c2'>
				</view>
			</view>

		</view>
		<view :style="{height: (120+StatusBarRpx)+'rpx'}"></view>
		<!---flex布局flex布局开始-->
		<view class="flex benben-flex-layout flex-wrap align-center detailsPage_flex_1">
			<view class='flex flex-direction flex-wrap align-stretch flex-sub detailsPage_fd1_0'>
				<view class='flex flex-wrap align-center justify-between detailsPage_fd1_0_c0'>
					<view class="flex align-center">
            <image class='detailsPage_fd1_0_c0_c0' mode="aspectFit" :src='STATIC_URL+"22.png"'></image>
            <text class='detailsPage_fd1_0_c0_c1'>{{details.store_name}}</text>
          </view>
          <view class="flex align-center" @tap.stop="handleJumpDiy"
          data-type="navigateTo" :data-url="`/pages/ddgl/orderDetails/orderDetails?order_sn=${details.order_sn}`">
            <text>查看订单</text>
            <image style="width: 24rpx; height: 24rpx; margin-left: 12rpx;"  mode="aspectFit" :src='STATIC_URL+"29.png"'></image>
          </view>
				</view>
				<view class='flex flex-wrap align-center justify-between detailsPage_fd1_0_c1'>
					<text class='detailsPage_fd1_0_c1_c0'>该笔订单累计获得抵用券：</text>
					<text class='detailsPage_fd1_0_c1_c1'>{{details.score}}</text>
				</view>
				<view class='flex flex-wrap align-center justify-between detailsPage_fd1_0_c2'>
					<text class='detailsPage_fd1_0_c2_c0'>该笔订单用户获得积分：</text>
					<text class='detailsPage_fd1_0_c2_c1'>{{details.freeze_score}}</text>
				</view>
				<view class='flex flex-wrap align-center justify-between detailsPage_fd1_0_c3'>
					<text class='detailsPage_fd1_0_c3_c0'>订单金额：</text>
					<text class='detailsPage_fd1_0_c3_c1'>{{details.order_money}}</text>
				</view>
				<view class='flex flex-wrap align-center justify-between detailsPage_fd1_0_c4'>
					<text class='detailsPage_fd1_0_c4_c0'>订单编号：</text>
					<text class='detailsPage_fd1_0_c4_c1'>{{details.order_sn}}</text>
				</view>
				<view class='flex flex-wrap align-center justify-between detailsPage_fd1_0_c5'>
					<text class='detailsPage_fd1_0_c5_c0'>下单时间：</text>
					<text class='detailsPage_fd1_0_c5_c1'>{{details.create_time}}</text>
				</view>
				<view class='flex flex-wrap align-start justify-between detailsPage_fd1_0_c6' v-for="(item,index) in lists" :key="index">
					<view class='flex flex-direction flex-wrap align-start'>
						<text class='detailsPage_fd1_0_c6_c0_c0'>变动时间</text>
						<text class='detailsPage_fd1_0_c6_c0_c1'>{{item.create_time}}</text>
						<text class="pointsDetails_fd3_0_c0_c1_c0">{{item.type_name}}</text>
					</view>
					<view class='flex flex-wrap align-center'>
						<text class='detailsPage_fd1_0_c6_c1_c0'>+</text>
						<text class='detailsPage_fd1_0_c6_c1_c1'>{{item.change_score}}</text>
					</view>
				</view>
				<!-- <view class='flex flex-wrap align-start justify-between detailsPage_fd1_0_c6' v-for="(item,index) in lists" :key="index">
					<view class='flex flex-direction flex-wrap align-start'>
						<text class='detailsPage_fd1_0_c6_c0_c0'>变动时间</text>
						<text class='detailsPage_fd1_0_c6_c0_c1'>{{item.create_time}}</text>
						<text class="pointsDetails_fd3_0_c0_c1_c0">{{item.type_name}}</text>
					</view>
					<view class='flex flex-wrap align-center'>
						<text class='detailsPage_fd1_0_c6_c1_c0'>+</text>
						<text class='detailsPage_fd1_0_c6_c1_c1'>{{item.change_score}}</text>
					</view>
				</view><view class='flex flex-wrap align-start justify-between detailsPage_fd1_0_c6' v-for="(item,index) in lists" :key="index">
					<view class='flex flex-direction flex-wrap align-start'>
						<text class='detailsPage_fd1_0_c6_c0_c0'>变动时间</text>
						<text class='detailsPage_fd1_0_c6_c0_c1'>{{item.create_time}}</text>
						<text class="pointsDetails_fd3_0_c0_c1_c0">{{item.type_name}}</text>
					</view>
					<view class='flex flex-wrap align-center'>
						<text class='detailsPage_fd1_0_c6_c1_c0'>+</text>
						<text class='detailsPage_fd1_0_c6_c1_c1'>{{item.change_score}}</text>
					</view>
				</view><view class='flex flex-wrap align-start justify-between detailsPage_fd1_0_c6' v-for="(item,index) in lists" :key="index">
					<view class='flex flex-direction flex-wrap align-start'>
						<text class='detailsPage_fd1_0_c6_c0_c0'>变动时间</text>
						<text class='detailsPage_fd1_0_c6_c0_c1'>{{item.create_time}}</text>
						<text class="pointsDetails_fd3_0_c0_c1_c0">{{item.type_name}}</text>
					</view>
					<view class='flex flex-wrap align-center'>
						<text class='detailsPage_fd1_0_c6_c1_c0'>+</text>
						<text class='detailsPage_fd1_0_c6_c1_c1'>{{item.change_score}}</text>
					</view>
				</view><view class='flex flex-wrap align-start justify-between detailsPage_fd1_0_c6' v-for="(item,index) in lists" :key="index">
					<view class='flex flex-direction flex-wrap align-start'>
						<text class='detailsPage_fd1_0_c6_c0_c0'>变动时间</text>
						<text class='detailsPage_fd1_0_c6_c0_c1'>{{item.create_time}}</text>
						<text class="pointsDetails_fd3_0_c0_c1_c0">{{item.type_name}}</text>
					</view>
					<view class='flex flex-wrap align-center'>
						<text class='detailsPage_fd1_0_c6_c1_c0'>+</text>
						<text class='detailsPage_fd1_0_c6_c1_c1'>{{item.change_score}}</text>
					</view>
				</view><view class='flex flex-wrap align-start justify-between detailsPage_fd1_0_c6' v-for="(item,index) in lists" :key="index">
					<view class='flex flex-direction flex-wrap align-start'>
						<text class='detailsPage_fd1_0_c6_c0_c0'>变动时间</text>
						<text class='detailsPage_fd1_0_c6_c0_c1'>{{item.create_time}}</text>
						<text class="pointsDetails_fd3_0_c0_c1_c0">{{item.type_name}}</text>
					</view>
					<view class='flex flex-wrap align-center'>
						<text class='detailsPage_fd1_0_c6_c1_c0'>+</text>
						<text class='detailsPage_fd1_0_c6_c1_c1'>{{item.change_score}}</text>
					</view>
				</view><view class='flex flex-wrap align-start justify-between detailsPage_fd1_0_c6' v-for="(item,index) in lists" :key="index">
					<view class='flex flex-direction flex-wrap align-start'>
						<text class='detailsPage_fd1_0_c6_c0_c0'>变动时间</text>
						<text class='detailsPage_fd1_0_c6_c0_c1'>{{item.create_time}}</text>
						<text class="pointsDetails_fd3_0_c0_c1_c0">{{item.type_name}}</text>
					</view>
					<view class='flex flex-wrap align-center'>
						<text class='detailsPage_fd1_0_c6_c1_c0'>+</text>
						<text class='detailsPage_fd1_0_c6_c1_c1'>{{item.change_score}}</text>
					</view>
				</view><view class='flex flex-wrap align-start justify-between detailsPage_fd1_0_c6' v-for="(item,index) in lists" :key="index">
					<view class='flex flex-direction flex-wrap align-start'>
						<text class='detailsPage_fd1_0_c6_c0_c0'>变动时间</text>
						<text class='detailsPage_fd1_0_c6_c0_c1'>{{item.create_time}}</text>
						<text class="pointsDetails_fd3_0_c0_c1_c0">{{item.type_name}}</text>
					</view>
					<view class='flex flex-wrap align-center'>
						<text class='detailsPage_fd1_0_c6_c1_c0'>+</text>
						<text class='detailsPage_fd1_0_c6_c1_c1'>{{item.change_score}}</text>
					</view>
				</view><view class='flex flex-wrap align-start justify-between detailsPage_fd1_0_c6' v-for="(item,index) in lists" :key="index">
					<view class='flex flex-direction flex-wrap align-start'>
						<text class='detailsPage_fd1_0_c6_c0_c0'>变动时间</text>
						<text class='detailsPage_fd1_0_c6_c0_c1'>{{item.create_time}}</text>
						<text class="pointsDetails_fd3_0_c0_c1_c0">{{item.type_name}}</text>
					</view>
					<view class='flex flex-wrap align-center'>
						<text class='detailsPage_fd1_0_c6_c1_c0'>+</text>
						<text class='detailsPage_fd1_0_c6_c1_c1'>{{item.change_score}}</text>
					</view>
				</view> -->

			</view>
		</view>

		<!---flex布局flex布局结束-->


	</view>
</template>
<script>
	export default {
		components: {},


		data() {
			return {
				"aid": "",
				details:"",
				lists:""
			};
		},
		computed: {
			themeColor() {
				return this.$store.getters.themeColor
			},

		},
		watch: {},
		onLoad(options) {
			let {aid} = options
			if (aid !== undefined) this.aid = aid
			this.post64916daebef0c()
		},
		methods: {
			post64916daebef0c(){
				this.$api.post(global.apiUrls.post64916daebef0c,{
					aid:this.aid
				}).then(res=>{
					if(res.data.code==1){
						this.details = res.data.data;
						this.lists = res.data.data.list
					}
				})
			}
		}
	};
</script>
<style lang="scss" scoped>
	.page {
		width: 100vw;
		overflow-x: hidden;
		min-height: calc(100vh - var(--window-bottom));
		background: rgba(246, 247, 249, 1);
		background-size: 100% auto !important;
	}
	.pointsDetails_fd3_0_c0_c1_c0 {
		margin-top: 8rpx;
		color: #59A6F4;
		font-size: 24rpx;
		font-weight: 500;
		line-height: 50rpx;
	}

	.detailsPage_flex_0 {
		background: #fff;
		width: 750rpx;
		height: 120rpx;
		overflow: hidden;
		z-index: 10;
		top: 0rpx;
		background-size: 100% auto !important;
	}

	.detailsPage_fd0_0_c2 {
		width: 32rpx;
		height: 32rpx;
	}

	.detailsPage_fd0_0_c1_c0 {
		font-size: 36rpx;
		font-weight: 600;
		color: #333333;
		line-height: 36rpx;
	}

	.detailsPage_fd0_0_c0_c0 {
		font-size: 32rpx;
		font-weight: 500;
		color: #333;
		line-height: 88rpx;
	}

	.detailsPage_fd0_0 {
		margin: 0rpx 32rpx 0rpx 32rpx;
	}

	.detailsPage_flex_1 {
		padding: 24rpx 32rpx 0rpx 32rpx;
	}

	.detailsPage_fd1_0_c7_c1_c1 {
		color: #333333;
		font-size: 28rpx;
		font-weight: 500;
		line-height: 30rpx;
	}

	.detailsPage_fd1_0_c7_c1_c0 {
		color: #333333;
		font-size: 28rpx;
		font-weight: 500;
		line-height: 30rpx;
	}

	.detailsPage_fd1_0_c7_c0_c1 {
		color: #999999;
		font-size: 24rpx;
		font-weight: 400;
		line-height: 30rpx;
		margin: 16rpx 0rpx 0rpx 0rpx;
	}

	.detailsPage_fd1_0_c7_c0_c0 {
		color: #333333;
		font-size: 28rpx;
		font-weight: 500;
		line-height: 30rpx;
	}

	.detailsPage_fd1_0_c7 {
		margin: 0rpx 0rpx 32rpx 0rpx;
	}

	.detailsPage_fd1_0_c6_c1_c1 {
		color: #333333;
		font-size: 28rpx;
		font-weight: 500;
		line-height: 30rpx;
	}

	.detailsPage_fd1_0_c6_c1_c0 {
		color: #333333;
		font-size: 28rpx;
		font-weight: 500;
		line-height: 30rpx;
	}

	.detailsPage_fd1_0_c6_c0_c1 {
		color: #999999;
		font-size: 24rpx;
		font-weight: 400;
		line-height: 30rpx;
		margin: 16rpx 0rpx 0rpx 0rpx;
	}

	.detailsPage_fd1_0_c6_c0_c0 {
		color: #333333;
		font-size: 28rpx;
		font-weight: 500;
		line-height: 30rpx;
	}

	.detailsPage_fd1_0_c6 {
		margin: 0rpx 0rpx 32rpx 0rpx;
	}

	.detailsPage_fd1_0_c5_c1 {
		color: #333333;
		font-size: 28rpx;
		font-weight: 400;
		line-height: 28rpx;
	}

	.detailsPage_fd1_0_c5_c0 {
		color: #666666;
		font-size: 28rpx;
		font-weight: 400;
		line-height: 28rpx;
	}

	.detailsPage_fd1_0_c5 {
		margin: 24rpx 0rpx 140rpx 0rpx;
	}

	.detailsPage_fd1_0_c4_c1 {
		color: #333333;
		font-size: 28rpx;
		font-weight: 400;
		line-height: 28rpx;
	}

	.detailsPage_fd1_0_c4_c0 {
		color: #666666;
		font-size: 28rpx;
		font-weight: 400;
		line-height: 28rpx;
	}

	.detailsPage_fd1_0_c4 {
		margin: 24rpx 0rpx 0rpx 0rpx;
	}

	.detailsPage_fd1_0_c3_c1 {
		color: #333333;
		font-size: 28rpx;
		font-weight: 400;
		line-height: 28rpx;
	}

	.detailsPage_fd1_0_c3_c0 {
		color: #666666;
		font-size: 28rpx;
		font-weight: 400;
		line-height: 28rpx;
	}

	.detailsPage_fd1_0_c3 {
		margin: 24rpx 0rpx 0rpx 0rpx;
	}

	.detailsPage_fd1_0_c2_c1 {
		color: #333333;
		font-size: 28rpx;
		font-weight: 400;
		line-height: 28rpx;
	}

	.detailsPage_fd1_0_c2_c0 {
		color: #666666;
		font-size: 28rpx;
		font-weight: 400;
		line-height: 28rpx;
	}

	.detailsPage_fd1_0_c2 {
		margin: 24rpx 0rpx 0rpx 0rpx;
	}

	.detailsPage_fd1_0_c1_c1 {
		color: #333333;
		font-size: 28rpx;
		font-weight: 400;
		line-height: 28rpx;
	}

	.detailsPage_fd1_0_c1_c0 {
		color: #666666;
		font-size: 28rpx;
		font-weight: 400;
		line-height: 28rpx;
	}

	.detailsPage_fd1_0_c1 {
		margin: 24rpx 0rpx 0rpx 0rpx;
	}

	.detailsPage_fd1_0_c0_c1 {
		color: #333333;
		font-size: 32rpx;
		font-weight: 500;
		line-height: 32rpx;
	}

	.detailsPage_fd1_0_c0_c0 {
		width: 30rpx;
		height: 28rpx;
		border-radius: 0rpx 0rpx 0rpx 0rpx;
		margin: 0rpx 16rpx 0rpx 0rpx;
	}

	.detailsPage_fd1_0_c0 {
		margin: 0rpx 0rpx 4rpx 0rpx;
	}

	.detailsPage_fd1_0 {
		background-color: #fff;
		// background: url(/static/images/28.png) no-repeat, #eee;
		background-size: 100% 100% !important;
		padding: 32rpx 24rpx 0rpx 24rpx;
	}
</style>
