|
@@ -2,7 +2,7 @@
|
|
|
<div class="box">
|
|
|
<div class="header-image">
|
|
|
<img
|
|
|
- src="@/assets/img/promotion/cn/banner2.png"
|
|
|
+ src="@/assets/img/promotion/en/holophyly.png"
|
|
|
alt=""
|
|
|
class="image"
|
|
|
/>
|
|
@@ -161,18 +161,22 @@
|
|
|
</div>
|
|
|
</div>
|
|
|
</div>
|
|
|
+ <!-- 弹框 -->
|
|
|
+ <popUp :popUpShow="popUpShow" @closePopUp="closePopUp"></popUp>
|
|
|
</div>
|
|
|
</template>
|
|
|
<script>
|
|
|
import ApplySampleTable from "./Components/ApplySampleTable.vue";
|
|
|
-
|
|
|
+import popUp from "@/components/popUp/index.vue";
|
|
|
export default {
|
|
|
components: {
|
|
|
- ApplySampleTable
|
|
|
+ ApplySampleTable,
|
|
|
+ popUp
|
|
|
},
|
|
|
name: "ApplySample",
|
|
|
data() {
|
|
|
return {
|
|
|
+ popUpShow: false, // 弹框
|
|
|
from: {
|
|
|
company: "",
|
|
|
shippingAddress: "",
|
|
@@ -196,6 +200,10 @@ export default {
|
|
|
};
|
|
|
},
|
|
|
methods: {
|
|
|
+ // 弹框
|
|
|
+ closePopUp() {
|
|
|
+ this.popUpShow = false;
|
|
|
+ },
|
|
|
// 清空
|
|
|
inputClear() {
|
|
|
this.pageable.page = 0;
|
|
@@ -296,16 +304,17 @@ export default {
|
|
|
};
|
|
|
this.$api.post("inquiry/submitForm", params).then(res => {
|
|
|
if (res.code === 0) {
|
|
|
- this.$message({
|
|
|
- message: this.$t("message.YourInformation"),
|
|
|
- type: "success",
|
|
|
- center: true,
|
|
|
- duration: 6000,
|
|
|
- customClass: "submit-success"
|
|
|
- });
|
|
|
+ // this.$message({
|
|
|
+ // message: this.$t("message.YourInformation"),
|
|
|
+ // type: "success",
|
|
|
+ // center: true,
|
|
|
+ // duration: 6000,
|
|
|
+ // customClass: "submit-success"
|
|
|
+ // });
|
|
|
// this.from = {'company': '', 'address': '', 'name': '', 'phone': '', 'region': ''}
|
|
|
// this.checkList = []
|
|
|
// this.catalog = ''
|
|
|
+ this.popUpShow = true
|
|
|
} else {
|
|
|
this.$message.error(res.msg);
|
|
|
}
|