1
jhzh
2025-08-14 2d9eaadefb271a43a9a7de7c299377321e07bc8e
src/components/Dialog/index.vue
@@ -11,10 +11,10 @@
    <div class="footer">
      <div class="cancel-dialog" @click="show = false" v-if="showCancelButton">
        {{ cancelButtonText }}
        {{ $t(cancelButtonText) }}
      </div>
      <div class="confirm-dialog" v-if="showConfirmButton" @click="confirm">
        {{ confirmButtonText }}
        {{ $t(confirmButtonText) }}
      </div>
    </div>
  </van-dialog>
@@ -30,11 +30,11 @@
    },
    "confirm-button-text": {
      type: String,
      default: "确定",
      default: "hj161",
    },
    "cancel-button-text": {
      type: String,
      default: "取消",
      default: "qx",
    },
    "show-cancel-button": {
      type: Boolean,
@@ -91,8 +91,8 @@
      flex: 1;
      height: 100%;
      padding: 0 15px;
      background-color: #1989fa;
      border: 1px solid #1989fa;
      background-color: #185546;
      border: 1px solid #185546;
      color: #fff;
      margin-left: 20px;
    }