customerFileSuccess.vue 1.44 KB
<template>
  <div class="success-page flex flex-col items-center justify-center min-h-screen bg-white px-6">
    <div class="success-icon w-20 h-20 rounded-full bg-green-50 flex items-center justify-center mb-6">
      <svg
        xmlns="http://www.w3.org/2000/svg"
        width="40"
        height="40"
        viewBox="0 0 24 24"
        fill="none"
        stroke="currentColor"
        stroke-width="2.5"
        stroke-linecap="round"
        stroke-linejoin="round"
        class="text-green-500"
      >
        <path d="M22 11.08V12a10 10 0 1 1-5.93-9.14"></path>
        <polyline points="22 4 12 14.01 9 11.01"></polyline>
      </svg>
    </div>

    <h2 class="text-xl font-bold text-gray-900 mb-2">提交成功</h2>

    <p class="text-sm text-gray-500 text-center leading-relaxed mb-8">
      轻改档案已同步更新<br>
      感谢你的记录,继续加油哦!
    </p>

    <button
      class="w-full max-w-xs py-3 px-6 border border-gray-300 text-gray-700 text-base font-medium rounded-full transition-all duration-200 active:scale-95 hover:bg-gray-50"
      @click="goBack"
    >
      返回聊天
    </button>
  </div>
</template>

<script>
export default {
  name: 'CustomerFileSuccess',
  mounted () {
  },
  methods: {
    goBack () {
      // 尝试关闭窗口
      wx.closeWindow()
    }
  }
}
</script>

<style scoped lang='scss'>
.success-page {
  min-height: 100vh;
}
</style>