Blame view

src/pages/refundment/refundWays.vue 3.42 KB
697c1032c   范牧   设置git区分文件名大小写
1
  <template>
f8698caa3   Adam   s
2
3
4
5
6
7
8
9
10
11
12
13
    <view
      class="container"
      v-bind:style="{height: curheight+'px'}"
    >
      <view
        class="refund"
        v-for="(items) in refund"
        :key="items.key"
      >
        <view class="detail">
          <view class="detail_img">
            <image v-bind:src="items.img"></image>
697c1032c   范牧   设置git区分文件名大小写
14
          </view>
f8698caa3   Adam   s
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
          <view class="detail2">
            <view class="detail_name">{{items.name}}</view>
            <view class="detail_standard">规格:{{items.standard}}</view>
            <view class="detail_price">
              <span>¥{{items.price}}</span>
              <span>X{{items.number}}</span>
            </view>
          </view>
        </view>
        <view class="refund_price">
          <span class="refund_price1">退款金额</span>
          <span class="refund_price2">¥{{items.refundprice}}</span>
        </view>
        <view class="refund_reason">
          <view>仅退款<image src="/static/img/detail/xiala.png"></image>
          </view>
        </view>
        <view class="refund_reason">
          <view>退款退货<image src="/static/img/detail/xiala.png"></image>
          </view>
        </view>
        <view class="refund_reason">
          <view>换货<image src="/static/img/detail/xiala.png"></image>
          </view>
        </view>
697c1032c   范牧   设置git区分文件名大小写
40
      </view>
f8698caa3   Adam   s
41
    </view>
697c1032c   范牧   设置git区分文件名大小写
42
43
44
45
  </template>
  
  <script>
  export default {
f8698caa3   Adam   s
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
    //获取浏览器高度
    beforeMount(height) {
      var h = document.documentElement.clientHeight || document.body.clientHeight;
      this.curheight = h - 44;
    },
    data() {
      return {
        curheight: 0, //浏览器高度
        refund: [
          {
            key: 0,
            img: "/static/img/detail/d1.png",
            name: "商品名称",
            standard: "玫瑰金/钛合金/防日光防紫外线/超薄超轻",
            price: 180,
            number: 1,
            refundprice: 110,
            refund_img: "/static/img/detail/refund_img.png"
          }
        ]
      };
    }
  };
697c1032c   范牧   设置git区分文件名大小写
69
70
71
  </script>
  
  <style lang="scss">
f8698caa3   Adam   s
72
73
74
75
  .container {
    background: #f2f2f2;
    padding-top: 10px;
    box-sizing: border-box;
697c1032c   范牧   设置git区分文件名大小写
76
  }
f8698caa3   Adam   s
77
78
79
80
81
82
83
84
85
  .refund {
    width: 90%;
    height: 300px;
    margin: 0 auto;
    background: #ffffff;
    box-shadow: 0 0 10px 0 rgba(177, 128, 128, 0.06);
    border-radius: 8px;
    padding: 14px;
    box-sizing: border-box;
697c1032c   范牧   设置git区分文件名大小写
86
  }
f8698caa3   Adam   s
87
88
89
90
91
92
93
94
95
  .detail {
    display: flex;
    justify-content: space-between;
    font-family: PingFangSC-Regular;
    margin-bottom: 20px;
    .detail2 {
      width: 64%;
      view {
        margin-bottom: 8px;
697c1032c   范牧   设置git区分文件名大小写
96
      }
f8698caa3   Adam   s
97
98
99
      .detail_name {
        font-size: 14px;
        color: #333333;
697c1032c   范牧   设置git区分文件名大小写
100
      }
f8698caa3   Adam   s
101
102
103
104
105
106
107
108
109
      .detail_standard {
        font-size: 12px;
        color: #999999;
      }
      .detail_price {
        font-size: 14px;
        color: #999999;
        display: flex;
        justify-content: space-between;
697c1032c   范牧   设置git区分文件名大小写
110
      }
f8698caa3   Adam   s
111
112
113
114
115
116
117
118
    }
    .detail_img {
      width: 188rpx;
      height: 188rpx;
      border-radius: 40px;
      image {
        width: 100%;
        height: 100%;
697c1032c   范牧   设置git区分文件名大小写
119
      }
f8698caa3   Adam   s
120
    }
697c1032c   范牧   设置git区分文件名大小写
121
  }
f8698caa3   Adam   s
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
  
  .refund_price {
    font-family: PingFangSC-Semibold;
    font-size: 14px;
    color: #333333;
    letter-spacing: -0.26px;
    line-height: 18px;
    margin-bottom: 26px;
    .refund_price1 {
      font-weight: bold;
      margin-right: 16px;
    }
    .refund_price2 {
      color: #ff6b4a;
    }
  }
  .refund_reason {
    margin-top: 16px;
    margin-bottom: 16px;
    font-family: PingFangSC-Regular;
    font-size: 12px;
    color: #333333;
    letter-spacing: -0.23px;
    line-height: 18px;
    view {
      display: inline-block;
697c1032c   范牧   设置git区分文件名大小写
148
149
150
151
      font-size: 12px;
      color: #333333;
      letter-spacing: -0.23px;
      line-height: 18px;
f8698caa3   Adam   s
152
153
154
155
156
      width: 90%;
      image {
        width: 30rpx;
        height: 24rpx;
        float: right;
697c1032c   范牧   设置git区分文件名大小写
157
      }
f8698caa3   Adam   s
158
    }
697c1032c   范牧   设置git区分文件名大小写
159
  }
697c1032c   范牧   设置git区分文件名大小写
160
  </style>