详情开发
This commit is contained in:
@@ -1,22 +1,82 @@
|
||||
<template>
|
||||
<view>
|
||||
1
|
||||
<view class="title">
|
||||
<text class="fontStyle">{{info.proName}}</text>
|
||||
<view class="titleBox">
|
||||
<image :src="info.proImg" mode="" style="width: 102rpx;height: 102rpx;border-radius: 12rpx 12rpx 12rpx 12rpx;"></image>
|
||||
<view class="ml-20 rightText">
|
||||
<view >
|
||||
{{info.avaTime}}
|
||||
</view>
|
||||
<view style="margin-top: 8rpx;">{{info.proDetail}}</view>
|
||||
</view>
|
||||
</view>
|
||||
<view class="moneyStyle">
|
||||
<text class="moneys">¥{{info.orderAmount}}</text>
|
||||
<u-icon name="arrow-right" color="#000" size="28"></u-icon>
|
||||
</view>
|
||||
</view>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
export default {
|
||||
props: ['info'],
|
||||
data() {
|
||||
return {
|
||||
|
||||
|
||||
}
|
||||
},
|
||||
methods: {
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
||||
<style>
|
||||
<style lang="less">
|
||||
.title {
|
||||
width: 750rpx;
|
||||
height: 206rpx;
|
||||
background: #FFFFFF;
|
||||
border-radius: 16rpx 16rpx 16rpx 16rpx;
|
||||
padding: 32rpx 64rpx;
|
||||
margin-top: 32rpx;
|
||||
position: relative;
|
||||
|
||||
</style>
|
||||
.fontStyle {
|
||||
font-weight: 400;
|
||||
font-size: 28rpx;
|
||||
color: #333333;
|
||||
}
|
||||
|
||||
.titleBox {
|
||||
.df();
|
||||
|
||||
.rightText {
|
||||
font-weight: 400;
|
||||
font-size: 24rpx;
|
||||
color: #999999;
|
||||
}
|
||||
}
|
||||
|
||||
.moneyStyle {
|
||||
position: absolute;
|
||||
right: 30rpx;
|
||||
top: 80rpx;
|
||||
.df();
|
||||
.moneys{
|
||||
font-weight: bold;
|
||||
font-size: 32rpx;
|
||||
color: #333333;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.ml-20 {
|
||||
margin-left: 20rpx;
|
||||
}
|
||||
|
||||
.df(@start: flex-start, @position: center) {
|
||||
display: flex;
|
||||
justify-content: @start;
|
||||
align-items: @position;
|
||||
}
|
||||
</style>
|
||||
Reference in New Issue
Block a user