Skip to content
  • Projects
  • Groups
  • Snippets
  • Help

saas / mini-program / points-mall

  • This project
    • Loading...
  • Sign in
Go to a project
  • Project
  • Repository
  • Issues 0
  • Merge Requests 0
  • Pipelines
  • Wiki
  • Settings
  • Activity
  • Graph
  • Charts
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • Files
  • Commits
  • Branches
  • Tags
  • Contributors
  • Graph
  • Compare
  • Charts
Switch branch/tag
  • points-mall
  • ..
  • RefundStatus
  • RefundStatus.js
  • liimin's avatar
    refactor(order): 重构售后详情页面 · 3d0c0b97 ...
    - 移除了 RefundStatus 导入和相关逻辑
    - 添加了 RefundStatus 组件引用
    - 删除了 status-box 相关样式和逻辑
    - 简化了页面结构,提高了组件化程度
    liimin committed Aug 15, 2025
    3d0c0b97
RefundStatus.js 386 Bytes
RawBlameHistoryPermalink
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23
import { RefundStatus } from "~/constants/mine.js";
Component({
  properties: {
    refundStatus: {
      type: String,
      value: "",
      observer: function (status) {
        this.updateStatus(status);
      },
    },
  },
  data: {
    refund: {},
  },

  methods: {
    updateStatus(status) {
      this.setData({
        refund: RefundStatus[status],
      });
    },
  },
});