wip
This commit is contained in:
parent
26eb9989d2
commit
d7d6028974
|
|
@ -115,8 +115,8 @@
|
||||||
|
|
||||||
deleteAddress(index) {
|
deleteAddress(index) {
|
||||||
this.$confirm('{{ __('shop/account.addresses.confirm_delete') }}', '{{ __('shop/account.addresses.hint') }}', {
|
this.$confirm('{{ __('shop/account.addresses.confirm_delete') }}', '{{ __('shop/account.addresses.hint') }}', {
|
||||||
confirmButtonText: '{{ __('shop/common.confirm') }}',
|
confirmButtonText: '{{ __('common.confirm') }}',
|
||||||
cancelButtonText: '{{ __('shop/common.cancel') }}',
|
cancelButtonText: '{{ __('common.cancel') }}',
|
||||||
type: 'warning'
|
type: 'warning'
|
||||||
}).then(() => {
|
}).then(() => {
|
||||||
$http.delete('/account/addresses/' + this.addresses[index].id).then((res) => {
|
$http.delete('/account/addresses/' + this.addresses[index].id).then((res) => {
|
||||||
|
|
|
||||||
|
|
@ -50,7 +50,7 @@
|
||||||
<button type="button" @click="submitForm('form')" class="btn w-50 btn-dark">
|
<button type="button" @click="submitForm('form')" class="btn w-50 btn-dark">
|
||||||
{{-- @{{ !isCode ? '发送验证码' : '提交' }} --}}
|
{{-- @{{ !isCode ? '发送验证码' : '提交' }} --}}
|
||||||
<template v-if="!isCode">{{ __('shop/forgotten.send_code') }}</template>
|
<template v-if="!isCode">{{ __('shop/forgotten.send_code') }}</template>
|
||||||
<template v-else>{{ __('shop/common.submit') }}</template>
|
<template v-else>{{ __('common.submit') }}</template>
|
||||||
</button>
|
</button>
|
||||||
</div>
|
</div>
|
||||||
<a href="javascript:void(0)" v-if="isCode" @click="isCode = false" class="text-muted">{{ __('shop/forgotten.to_back') }}</a>
|
<a href="javascript:void(0)" v-if="isCode" @click="isCode = false" class="text-muted">{{ __('shop/forgotten.to_back') }}</a>
|
||||||
|
|
|
||||||
|
|
@ -71,8 +71,8 @@
|
||||||
<div class="col-sm-6 mb-4">
|
<div class="col-sm-6 mb-4">
|
||||||
<label class="form-label">{{ __('shop/account.rma.rma_form.unpacked') }}</label>
|
<label class="form-label">{{ __('shop/account.rma.rma_form.unpacked') }}</label>
|
||||||
<select class="form-select" name="opened">
|
<select class="form-select" name="opened">
|
||||||
<option selected value="0">{{ __('shop/common.no') }}</option>
|
<option selected value="0">{{ __('common.no') }}</option>
|
||||||
<option value="1">{{ __('shop/common.yes') }}</option>
|
<option value="1">{{ __('common.yes') }}</option>
|
||||||
</select>
|
</select>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue