xuxueyang
2024-07-12 c58aff5b2a349c6b1fc8a4a3f474f7f8cc529e09
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
<template>
    <view class="trade-detail">
        <view class="top-img-container">
            <image src="" class="top-img"></image>
            <view class="icon-container">
                <image src="../../../static/common/icon-sc.png" class="icon-sc"></image>
                <view class="num">12</view>
            </view>
            <view class="icon-container">
                <image src="../../../static/common/icon-shop.png" class="icon-shop"></image>
                
            </view>
        </view>
    </view>
</template>
 
<script>
    export default {
        data() {
            return {
                
            }
        },
        methods: {
            
        }
    }
</script>
 
<style lang="scss" scoped>
 
.trade-detail{
    .top-img-container{
        position: relative;
        .top-img{
            width: 750rpx;
            height: 764rpx;
        }
        .icon-container{
            position: absolute;
            top: 20rpx;
            width: 80rpx;
            height: 80rpx;
            background: rgba(0,0,0,0.42);
            
            .icon-sc{
                width: 54rpx;
                height: 54rpx;
                margin: 0 auto;
                margin-top: 12rpx;
            }
            .icon-shop{
                width: 54rpx;
                height: 54rpx;
                margin: 0 auto;
                margin-top: 12rpx;
            }
            .num{
                font-weight: 400;
                font-size: 20rpx;
                color: #FFFFFF;
                line-height: 28rpx;
                position: absolute;
                top: 6prx;
                right: 16rpx;
            }
        }
        .icon-container:last-child{
            left: 120rpx;
        }
        .icon-container:first-child{
            left: 20rpx;
        }
        
    }
}
</style>