Commit c81354a55497fedb01776e43ed981cd20fca23c9
Merge branch 'dev' into 'master'
Dev See merge request !1
Showing
4 changed files
with
15 additions
and
10 deletions
components/MobileProductDetail.vue
... | ... | @@ -163,9 +163,9 @@ |
163 | 163 | </td> |
164 | 164 | <td v-if="item.priceShow" class="td"> |
165 | 165 | <div style="color: #df3931">${{ item.price }}</div> |
166 | - <s style="font-size: 13px; color: #757575"> | |
167 | - ${{ item.originPrice }}</s | |
168 | - > | |
166 | +<!-- <s style="font-size: 13px; color: #757575">--> | |
167 | +<!-- ${{ item.originPrice }}</s--> | |
168 | +<!-- >--> | |
169 | 169 | </td> |
170 | 170 | <!-- <td class="td"> |
171 | 171 | <v-btn | ... | ... |
components/ProductDetail.vue
... | ... | @@ -158,9 +158,9 @@ |
158 | 158 | <div style="color: #df3931"> |
159 | 159 | {{ item.price + " " + item.priceUnit }} |
160 | 160 | </div> |
161 | - <s style="font-size: 13px; color: #757575">{{ | |
162 | - item.originPrice + " " + item.priceUnit | |
163 | - }}</s> | |
161 | +<!-- <s style="font-size: 13px; color: #757575">{{--> | |
162 | +<!-- item.originPrice + " " + item.priceUnit--> | |
163 | +<!-- }}</s>--> | |
164 | 164 | </td> |
165 | 165 | <td class="td"> |
166 | 166 | <v-btn | ... | ... |
deploy/prod2.sh
pages/contact.vue
... | ... | @@ -254,7 +254,13 @@ const state = reactive({ |
254 | 254 | }); |
255 | 255 | |
256 | 256 | const handleSubmit = async () => { |
257 | - // Removed verification condition since recaptcha is commented out | |
257 | + // Directly check if any field is empty | |
258 | + if (!state.firstName || !state.lastName || !state.email || !state.text) { | |
259 | + // At least one field is empty, stop here | |
260 | + return; | |
261 | + } | |
262 | + | |
263 | + // All fields have values, proceed with form submission | |
258 | 264 | let { data } = await useAsyncData( |
259 | 265 | "sendEmail", |
260 | 266 | () => |
... | ... | @@ -265,7 +271,6 @@ const handleSubmit = async () => { |
265 | 271 | lastName: state.lastName, |
266 | 272 | email: state.email, |
267 | 273 | message: state.text, |
268 | - subject: "", | |
269 | 274 | }, |
270 | 275 | }), |
271 | 276 | { | ... | ... |