详情开发
This commit is contained in:
@@ -1,22 +1,152 @@
|
||||
<template>
|
||||
<view>
|
||||
5
|
||||
<view class="Box">
|
||||
<view class="fontStyle">
|
||||
<image src="https://czg-qr-order.oss-cn-beijing.aliyuncs.com/drder/dengpao.png"
|
||||
style="width: 33.19rpx;height: 43.92rpx;" mode=""></image>
|
||||
<text>温馨提示</text>
|
||||
</view>
|
||||
<view class="content">
|
||||
<view>
|
||||
有效期:
|
||||
</view>
|
||||
<text>{{info.notice.dateUsed}}</text>
|
||||
</view>
|
||||
<view class="content">
|
||||
<view>
|
||||
使用时间:
|
||||
</view>
|
||||
<text>{{info.notice.availableTime}}</text>
|
||||
</view>
|
||||
<view class="content">
|
||||
<view>
|
||||
使用规则:
|
||||
</view>
|
||||
<text>{{info.notice.invoiceInfo}}</text>
|
||||
</view>
|
||||
<view @click="clickEvent" class="lookstyle" v-if="islook">
|
||||
查看更多<u-icon name="arrow-down" color="#575B66" size="28"></u-icon>
|
||||
</view>
|
||||
<view class="More" v-else>
|
||||
{{info.notice.usageRules}}
|
||||
</view>
|
||||
|
||||
|
||||
|
||||
</view>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
export default {
|
||||
props: ['info'],
|
||||
data() {
|
||||
return {
|
||||
|
||||
islook: true
|
||||
}
|
||||
},
|
||||
methods: {
|
||||
|
||||
clickEvent() {
|
||||
this.islook = false
|
||||
}
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
||||
<style>
|
||||
<style lang="less" scoped>
|
||||
.Box {
|
||||
width: 750rpx;
|
||||
background: #FFFFFF;
|
||||
border-radius: 16rpx 16rpx 16rpx 16rpx;
|
||||
padding: 32rpx 64rpx;
|
||||
margin-top: 32rpx;
|
||||
position: relative;
|
||||
|
||||
</style>
|
||||
.fontStyle {
|
||||
.df;
|
||||
|
||||
>text {
|
||||
font-weight: 500;
|
||||
font-size: 28rpx;
|
||||
color: #333333;
|
||||
margin-left: 12rpx
|
||||
}
|
||||
}
|
||||
|
||||
.content {
|
||||
.df(flex-start, stretch);
|
||||
margin-top: 16rpx;
|
||||
|
||||
>view {
|
||||
font-weight: 400;
|
||||
font-size: 24rpx;
|
||||
color: #999999;
|
||||
width: 120rpx;
|
||||
}
|
||||
|
||||
>text {
|
||||
font-weight: 400;
|
||||
font-size: 24rpx;
|
||||
color: #666666;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
.More {
|
||||
margin-left: 119rpx;
|
||||
font-weight: 400;
|
||||
font-size: 24rpx;
|
||||
color: #666666;
|
||||
}
|
||||
|
||||
|
||||
.buttonStyle {
|
||||
width: 158rpx;
|
||||
height: 56rpx;
|
||||
background: #FFFFFF;
|
||||
border-radius: 10rpx 10rpx 10rpx 10rpx;
|
||||
border: 2rpx solid #E8E8E8;
|
||||
position: absolute;
|
||||
right: 58rpx;
|
||||
top: 56rpx;
|
||||
}
|
||||
|
||||
.addreeStyle {
|
||||
font-weight: 400;
|
||||
font-size: 24rpx;
|
||||
color: #999999;
|
||||
margin-top: 22rpx;
|
||||
.df;
|
||||
}
|
||||
|
||||
.rightStyle {
|
||||
margin-top: 16rpx;
|
||||
font-weight: 400;
|
||||
font-size: 24rpx;
|
||||
color: #333;
|
||||
.df(space-between);
|
||||
|
||||
>view>text {
|
||||
margin-left: 8rpx;
|
||||
color: #999999;
|
||||
font-size: 24rpx;
|
||||
}
|
||||
}
|
||||
|
||||
.lookstyle {
|
||||
width: 100%;
|
||||
font-weight: 400;
|
||||
font-size: 28rpx;
|
||||
color: #333333;
|
||||
.df(center);
|
||||
}
|
||||
}
|
||||
|
||||
.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