refactor(CheckoutPage): 注释掉未使用的支付选项标签
为了提高代码可读性并减少冗余,注释掉CheckoutPage.vue中未使用的支付选项标签
Showing
1 changed file
with
4 additions
and
4 deletions
| ... | @@ -176,7 +176,7 @@ | ... | @@ -176,7 +176,7 @@ |
| 176 | </svg> | 176 | </svg> |
| 177 | </label> | 177 | </label> |
| 178 | 178 | ||
| 179 | - <label class="flex items-center p-3 border border-gray-200 rounded-lg bg-white/50"> | 179 | + <!-- <label class="flex items-center p-3 border border-gray-200 rounded-lg bg-white/50"> |
| 180 | <input | 180 | <input |
| 181 | v-model="formData.paymentMethod" | 181 | v-model="formData.paymentMethod" |
| 182 | type="radio" | 182 | type="radio" |
| ... | @@ -188,9 +188,9 @@ | ... | @@ -188,9 +188,9 @@ |
| 188 | <path d="M12,2C6.5,2 2,6.5 2,12s4.5,10 10,10s10,-4.5 10,-10S17.5,2 12,2zM12,20.5c-4.7,0 -8.5,-3.8 -8.5,-8.5S7.3,3.5 12,3.5s8.5,3.8 8.5,8.5S16.7,20.5 12,20.5z" /> | 188 | <path d="M12,2C6.5,2 2,6.5 2,12s4.5,10 10,10s10,-4.5 10,-10S17.5,2 12,2zM12,20.5c-4.7,0 -8.5,-3.8 -8.5,-8.5S7.3,3.5 12,3.5s8.5,3.8 8.5,8.5S16.7,20.5 12,20.5z" /> |
| 189 | <path d="M12,6c-3.3,0 -6,2.7 -6,6s2.7,6 6,6s6,-2.7 6,-6S15.3,6 12,6zM16,13h-3v3h-2v-3H8v-2h3V8h2v3h3V13z" /> | 189 | <path d="M12,6c-3.3,0 -6,2.7 -6,6s2.7,6 6,6s6,-2.7 6,-6S15.3,6 12,6zM16,13h-3v3h-2v-3H8v-2h3V8h2v3h3V13z" /> |
| 190 | </svg> | 190 | </svg> |
| 191 | - </label> | 191 | + </label> --> |
| 192 | 192 | ||
| 193 | - <label class="flex items-center p-3 border border-gray-200 rounded-lg bg-white/50"> | 193 | + <!-- <label class="flex items-center p-3 border border-gray-200 rounded-lg bg-white/50"> |
| 194 | <input | 194 | <input |
| 195 | v-model="formData.paymentMethod" | 195 | v-model="formData.paymentMethod" |
| 196 | type="radio" | 196 | type="radio" |
| ... | @@ -205,7 +205,7 @@ | ... | @@ -205,7 +205,7 @@ |
| 205 | <path d="M13,13h2v2h-2z" /> | 205 | <path d="M13,13h2v2h-2z" /> |
| 206 | <path d="M17,13h2v2h-2z" /> | 206 | <path d="M17,13h2v2h-2z" /> |
| 207 | </svg> | 207 | </svg> |
| 208 | - </label> | 208 | + </label> --> |
| 209 | </div> | 209 | </div> |
| 210 | </FrostedGlass> | 210 | </FrostedGlass> |
| 211 | 211 | ... | ... |
-
Please register or login to post a comment