|
7 | 7 | </v-icon>
|
8 | 8 | <div class="mew-heading-2">Select provider</div>
|
9 | 9 | </div>
|
10 |
| - |
| 10 | + <div class="mew-heading-4"> |
| 11 | + Spending <b>{{ topperQuote.plusFeeF }}</b> |
| 12 | + </div> |
11 | 13 | <div v-if="!processingBuy">
|
12 | 14 | <!-- ============================================================== -->
|
13 | 15 | <!-- Moonpay -->
|
|
26 | 28 | :class="hideMoonpay ? 'text-red' : ''"
|
27 | 29 | >
|
28 | 30 | {{ moonpayQuote.cryptoToFiat }}
|
29 |
| - <span |
30 |
| - class="mew-heading-3 pl-1" |
31 |
| - :class="hideMoonpay ? 'text-red' : ''" |
32 |
| - >{{ selectedCryptoName }}</span |
33 |
| - > |
34 |
| - </div> |
35 |
| - </div> |
36 |
| - <div class="d-flex align-center"> |
37 |
| - <div v-if="!hideMoonpay" class="mr-1 textDark--text"> |
38 |
| - ≈ {{ moonpayQuote.plusFeeF }} |
39 |
| - </div> |
40 |
| - <div v-else class="mr-1 text-red"> |
41 |
| - {{ moonpayQuote.plusFeeF }} |
42 |
| - </div> |
43 |
| - <v-tooltip v-if="!hideMoonpay" location="bottom"> |
44 |
| - <template #activator="{ props }"> |
45 |
| - <v-icon |
46 |
| - v-bind="props" |
47 |
| - color="grey-lighten-1" |
48 |
| - size="x-small" |
49 |
| - class="cursor-pointer" |
| 31 | + <div class="d-flex align-center"> |
| 32 | + <span |
| 33 | + class="mew-heading-3 pl-1 mr-1" |
| 34 | + :class="hideMoonpay ? 'text-red' : ''" |
| 35 | + >{{ selectedCryptoName }}</span |
50 | 36 | >
|
51 |
| - mdi-information |
52 |
| - </v-icon> |
53 |
| - </template> |
54 |
| - <div class="elevated-box pa-3"> |
55 |
| - {{ moonpayQuote.includesFeeText }} |
56 |
| - <br /> |
57 |
| - <br /> |
58 |
| - {{ moonpayQuote.networkFeeText }} |
59 |
| - <br /> |
60 |
| - <br /> |
61 |
| - {{ moonpayQuote.dailyLimit }} |
62 |
| - <br /> |
63 |
| - {{ moonpayQuote.monthlyLimit }} |
| 37 | + <v-tooltip v-if="!hideMoonpay" location="bottom"> |
| 38 | + <template #activator="{ props }"> |
| 39 | + <v-icon |
| 40 | + v-bind="props" |
| 41 | + color="grey-lighten-1" |
| 42 | + size="x-small" |
| 43 | + class="cursor-pointer" |
| 44 | + > |
| 45 | + mdi-information |
| 46 | + </v-icon> |
| 47 | + </template> |
| 48 | + <div class="elevated-box pa-3"> |
| 49 | + {{ moonpayQuote.includesFeeText }} |
| 50 | + <br /> |
| 51 | + <br /> |
| 52 | + {{ moonpayQuote.networkFeeText }} |
| 53 | + <br /> |
| 54 | + <br /> |
| 55 | + {{ moonpayQuote.dailyLimit }} |
| 56 | + <br /> |
| 57 | + {{ moonpayQuote.monthlyLimit }} |
| 58 | + </div> |
| 59 | + </v-tooltip> |
64 | 60 | </div>
|
65 |
| - </v-tooltip> |
| 61 | + </div> |
66 | 62 | </div>
|
67 | 63 | </div>
|
68 | 64 |
|
|
92 | 88 | <!-- ============================================================== -->
|
93 | 89 | <!-- Simplex -->
|
94 | 90 | <!-- ============================================================== -->
|
95 |
| - <div class="section-block pa-5"> |
| 91 | + <div class="section-block pa-5 mb-6"> |
96 | 92 | <div v-if="!loading" class="mb-3">
|
97 | 93 | <div class="d-flex mb-1 align-center justify-space-between">
|
98 | 94 | <div class="d-flex mew-heading-3">
|
99 | 95 | {{ simplexQuote.cryptoToFiat }}
|
100 |
| - <span class="mew-heading-3 pl-1">{{ selectedCryptoName }}</span> |
101 |
| - </div> |
102 |
| - </div> |
103 |
| - <div class="d-flex align-center"> |
104 |
| - <div class="mr-1">≈ {{ simplexQuote.plusFeeF }}</div> |
105 |
| - <v-tooltip location="bottom"> |
106 |
| - <template #activator="{ props }"> |
107 |
| - <v-icon |
108 |
| - v-bind="props" |
109 |
| - color="grey-lighten-1" |
110 |
| - size="x-small" |
111 |
| - class="cursor-pointer" |
112 |
| - > |
113 |
| - mdi-information |
114 |
| - </v-icon> |
115 |
| - </template> |
116 |
| - <div class="elevated-box pa-3"> |
117 |
| - {{ simplexQuote.includesFeeText }} |
118 |
| - <br /> |
119 |
| - <br /> |
120 |
| - {{ simplexQuote.networkFeeText }} |
121 |
| - <br /> |
122 |
| - <br /> |
123 |
| - {{ simplexQuote.dailyLimit }} |
124 |
| - <br /> |
125 |
| - {{ simplexQuote.monthlyLimit }} |
| 96 | + <div class="d-flex align-center"> |
| 97 | + <span class="mew-heading-3 pl-1 mr-1">{{ |
| 98 | + selectedCryptoName |
| 99 | + }}</span> |
| 100 | + <v-tooltip location="bottom"> |
| 101 | + <template #activator="{ props }"> |
| 102 | + <v-icon |
| 103 | + v-bind="props" |
| 104 | + color="grey-lighten-1" |
| 105 | + size="x-small" |
| 106 | + class="cursor-pointer" |
| 107 | + > |
| 108 | + mdi-information |
| 109 | + </v-icon> |
| 110 | + </template> |
| 111 | + <div class="elevated-box pa-3"> |
| 112 | + {{ simplexQuote.includesFeeText }} |
| 113 | + <br /> |
| 114 | + <br /> |
| 115 | + {{ simplexQuote.networkFeeText }} |
| 116 | + <br /> |
| 117 | + <br /> |
| 118 | + {{ simplexQuote.dailyLimit }} |
| 119 | + <br /> |
| 120 | + {{ simplexQuote.monthlyLimit }} |
| 121 | + </div> |
| 122 | + </v-tooltip> |
126 | 123 | </div>
|
127 |
| - </v-tooltip> |
| 124 | + </div> |
128 | 125 | </div>
|
129 | 126 | </div>
|
130 | 127 |
|
|
167 | 164 | <div class="d-flex mb-1 align-center justify-space-between">
|
168 | 165 | <div class="d-flex mew-heading-3">
|
169 | 166 | {{ topperQuote.cryptoToFiat }}
|
170 |
| - <span class="mew-heading-3 pl-1">{{ selectedCryptoName }}</span> |
171 |
| - </div> |
172 |
| - </div> |
173 |
| - <div class="d-flex align-center"> |
174 |
| - <div class="mr-1">≈ {{ topperQuote.plusFeeF }}</div> |
175 |
| - <v-tooltip location="bottom"> |
176 |
| - <template #activator="{ props }"> |
177 |
| - <v-icon |
178 |
| - v-bind="props" |
179 |
| - color="grey-lighten-1" |
180 |
| - size="x-small" |
181 |
| - class="cursor-pointer" |
182 |
| - > |
183 |
| - mdi-information |
184 |
| - </v-icon> |
185 |
| - </template> |
186 |
| - <div class="elevated-box pa-3"> |
187 |
| - {{ topperQuote.includesFeeText }} |
188 |
| - <br /> |
189 |
| - <br /> |
190 |
| - {{ topperQuote.networkFeeText }} |
191 |
| - <br /> |
192 |
| - <br /> |
193 |
| - {{ topperQuote.dailyLimit }} |
194 |
| - <br /> |
195 |
| - {{ topperQuote.monthlyLimit }} |
| 167 | + <div class="d-flex align-center"> |
| 168 | + <span class="mew-heading-3 pl-1 mr-1">{{ |
| 169 | + selectedCryptoName |
| 170 | + }}</span> |
| 171 | + <v-tooltip location="bottom"> |
| 172 | + <template #activator="{ props }"> |
| 173 | + <v-icon |
| 174 | + v-bind="props" |
| 175 | + color="grey-lighten-1" |
| 176 | + size="x-small" |
| 177 | + class="cursor-pointer" |
| 178 | + > |
| 179 | + mdi-information |
| 180 | + </v-icon> |
| 181 | + </template> |
| 182 | + <div class="elevated-box pa-3"> |
| 183 | + {{ topperQuote.includesFeeText }} |
| 184 | + <br /> |
| 185 | + <br /> |
| 186 | + {{ topperQuote.networkFeeText }} |
| 187 | + <br /> |
| 188 | + <br /> |
| 189 | + {{ topperQuote.dailyLimit }} |
| 190 | + <br /> |
| 191 | + {{ topperQuote.monthlyLimit }} |
| 192 | + </div> |
| 193 | + </v-tooltip> |
196 | 194 | </div>
|
197 |
| - </v-tooltip> |
| 195 | + </div> |
198 | 196 | </div>
|
199 | 197 | </div>
|
200 | 198 |
|
|
239 | 237 | >
|
240 | 238 | </div>
|
241 | 239 | </div>
|
| 240 | + |
| 241 | + <div class="pt-2 text-center mew-label"> |
| 242 | + Fees, availability, and purchase limits vary between providers, you can |
| 243 | + check their quotes and select on that works for you. |
| 244 | + </div> |
242 | 245 | </div>
|
243 | 246 | <div v-else class="text-center py-5">
|
244 | 247 | <v-progress-circular
|
@@ -305,6 +308,10 @@ export default defineComponent({
|
305 | 308 | type: String,
|
306 | 309 | default: "",
|
307 | 310 | },
|
| 311 | + fiatAmount: { |
| 312 | + type: String, |
| 313 | + default: "0", |
| 314 | + }, |
308 | 315 | },
|
309 | 316 | setup() {
|
310 | 317 | const amplitude: any = inject("$amplitude");
|
@@ -416,7 +423,7 @@ export default defineComponent({
|
416 | 423 | this.actualAddress
|
417 | 424 | )
|
418 | 425 | .then((data) => {
|
419 |
| - window.open(data.url, "_blank"); |
| 426 | + window.open(data.url); |
420 | 427 | this.amplitude.track(`CCBuySellBuyWithTopperSuccess`);
|
421 | 428 | this.reset();
|
422 | 429 | this.close();
|
|
0 commit comments