冯诚 3 年之前
父节点
当前提交
eeceb04ae2
共有 2 个文件被更改,包括 46 次插入0 次删除
  1. 41 0
      src/pages/renewal/index.vue
  2. 5 0
      src/router.ts

+ 41 - 0
src/pages/renewal/index.vue

@@ -0,0 +1,41 @@
+<template>
+  <div class="p-renewal bg-gray">
+    <h3 class="ptc-title">Renewal management</h3>
+    <div class="ptc-block">
+      <div class="cell">
+        <span class="cell__label">Product Name:</span>
+        <span class="cell__value">Lite</span>
+      </div>
+      <div class="cell">
+        <span class="cell__label">Subscription method:</span>
+        <span class="cell__value">Annual</span>
+      </div>
+      <div class="ptc-text">Unsubscribe ></div>
+    </div>
+    <div class="ptc-wrap mt48">
+      <button class="ptc-button ptc-button--stroke">BACK</button>
+    </div>
+  </div>
+</template>
+
+<style lang="scss">
+.p-renewal {
+  .cell {
+    display: flex;
+    font-size: 32px;
+    line-height: 64px;
+    &__label {
+      margin-right: 8px;
+      color: #999;
+    }
+    &__value {
+      color: #333;
+    }
+  }
+  .ptc-text {
+    margin-top: 8px;
+    font-weight: bold;
+    font-size: 32px;
+  }
+}
+</style>

+ 5 - 0
src/router.ts

@@ -50,5 +50,10 @@ export default createRouter({
       component: () => import('./pages/mailing/index.vue'),
       props: true,
     },
+    {
+      path: '/renewal',
+      component: () => import('./pages/renewal/index.vue'),
+      props: true,
+    },
   ],
 })