Commit c81354a55497fedb01776e43ed981cd20fca23c9

Authored by boyang
2 parents 66ed627c 4ec8c0af

Merge branch 'dev' into 'master'

Dev



See merge request !1
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
1 1 #!/bin/bash
2 2 # 变量定义
3   -LAST_TAG="1.0.72"
4   -TAG="1.0.73"
  3 +LAST_TAG="1.0.74"
  4 +TAG="1.0.75"
5 5 TARGET_PATH="/root/web/canrud-outside-nuxt-front"
6 6 DOCKERFILE_PATH="/root/web/canrud-outside-nuxt-front/canrud-nuxt-front"
7 7 IMAGE_NAME="canrud-outside-front"
... ...
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 () =&gt; {
265 271 lastName: state.lastName,
266 272 email: state.email,
267 273 message: state.text,
268   - subject: "",
269 274 },
270 275 }),
271 276 {
... ...