將商務卡片改為/card

main
Wayne 3 years ago
parent 345da1f3f3
commit 908a601f7e

@ -2,7 +2,7 @@
<div class="preview page"> <div class="preview page">
<van-nav-bar <van-nav-bar
class="bg-skyBlue py-1" class="bg-skyBlue py-1"
@click-left="$router.push('/card/edit')" @click-left="$router.push('/card')"
> >
<template #title> <template #title>
<h5 class="text-white mb-1"><strong>預覽</strong></h5> <h5 class="text-white mb-1"><strong>預覽</strong></h5>

@ -51,7 +51,7 @@ const routes = [
component: Card, component: Card,
children: [ children: [
{ {
path: "/card/edit", path: "/card",
name: "CardEdit", name: "CardEdit",
component: () => component: () =>
import("../views/Card/Edit.vue"), import("../views/Card/Edit.vue"),

@ -295,7 +295,7 @@ const handleSubmit = async () => {
// } else { // } else {
// showToast.fail(""); // showToast.fail("");
// } // }
router.push("/card/edit"); router.push("/card");
}; };
</script> </script>

@ -1,5 +1,5 @@
<template> <template>
<van-nav-bar title="教學影片" right-text="" @click-right="$router.push('/card/edit')" /> <van-nav-bar title="教學影片" right-text="" @click-right="$router.push('/card')" />
<div class="yt-content"> <div class="yt-content">
<iframe width="375" height="215" src="https://www.youtube.com/embed/fjZsQ0Rh6yk" title="Utel電子名片教學" <iframe width="375" height="215" src="https://www.youtube.com/embed/fjZsQ0Rh6yk" title="Utel電子名片教學"
frameborder="0" frameborder="0"

@ -209,7 +209,7 @@ const goCardEdit = () => {
if (userInfo.value.level < 2) { if (userInfo.value.level < 2) {
router.push("/card/notice"); router.push("/card/notice");
} else { } else {
router.push("/card/edit"); router.push("/card");
} }
}; };

Loading…
Cancel
Save