peng
2 天以前 e562837cbcd40f72a1ab7f7ca6bd6db3dbdd53ca
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
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
<template>
  <div class="flex" v-if="data.options.right.model == 'brand'">
    <div class="left-side" @click="linkTo(data.options.right.data.image.url)">
      <img :src="data.options.right.data.image.src" alt="">
    </div>
    <div class="right-side">
      <div class="badge-box flex">
        <div class="round">
          <Icon type="ios-arrow-forward" />
        </div>
 
 
      </div>
      <div class="flex goods-list">
        <div class="goods-item flex" @click="linkTo(item.url)" :key="index" v-for="(item,index) in data.options.right.data.list">
          <div class="goods-thumbnail">
            <img :src="item.img" alt="">
          </div>
        </div>
      </div>
    </div>
  </div>
</template>
 
<script>
export default {
  name: "mix-goods",
  data() {
    return {}
  },
  props: {
    data: {
      type: Object,
      default: {}
    }
  },
  components: {},
  mounted() {
 
  },
  methods: {}
}
</script>
 
<style scoped lang="scss">
.right-side{
  width: 330px;
}
.goods-detail-title{
  font-size: 13px;
  font-weight: normal;
  line-height: 16px;
  text-align: center;
  letter-spacing: 0px;
  color: #333333;
}
.goods-detail-price{
  font-size: 14px;
  font-weight: normal;
  line-height: 17px;
  letter-spacing: 0px;
  color: $theme_color;
  margin-top: 8px;
  margin-bottom:10px;
}
.goods-thumbnail{
  margin-left: 7px;
  display: flex;
  align-items: center;
  >img{
    width:90px;
    height: 90px;
  }
}
.badge-box{
  margin-top: 33px;
  justify-content:right;
  >.round{
    width: 17.5px;
    height: 17.5px;
    opacity: 1;
    border-radius: 50%;
    text-align: center;
    line-height: 17.5px;
    border: 0.7px solid #333333;
    margin-right: 17.5px;
  }
}
.goods-list{
   width: 330px;
  flex-wrap: wrap;
  justify-content:space-between;
  padding: 0 16px;
}
.goods-item{
  display: flex;
  align-items: center;
  justify-content: center;
  width:50%;
  height: 85px;
  border-radius: 9.8px;
  opacity: 1;
  transition: .35s;
  background: #FFFFFF;
  margin-bottom:9px;
 
 
}
.left-side {
  >img{
    width: 254px;
    height: 344px;
    border-radius: 9.8px 0px 0px 9.8px;
    opacity: 1;
  }
}
.badge {
  width: 50px;
  height: 27px;
  line-height:27px;
  border-radius: 13.3px 0px 0px 13.3px;
  opacity: 1;
  background: #F31947;
  font-size: 12.6px;
  font-weight: normal;
  text-align: center;
  letter-spacing: 0px;
  color: #FFFFFF;
  margin-top: 26px;
  margin-bottom:17px;
}
</style>