|
|
@@ -1,377 +1,216 @@
|
|
|
<template>
|
|
|
- <div v-loading="loading" class="ng-public-signup">
|
|
|
- <el-form :model="form" label-position="top" @submit.native.prevent>
|
|
|
- <ui-section-card title="Network Information">
|
|
|
- <el-row :gutter="24">
|
|
|
- <el-col :xs="24" :sm="12">
|
|
|
- <el-form-item label="Referrer ID" required>
|
|
|
- <el-input
|
|
|
- v-model="form.recUserName"
|
|
|
- label="Referrer ID"
|
|
|
- aria-required="true"
|
|
|
- @change="handleChkRecUser"
|
|
|
- />
|
|
|
- </el-form-item>
|
|
|
- </el-col>
|
|
|
- <el-col :xs="24" :sm="12">
|
|
|
- <el-form-item label="Actual Referrer ID" required>
|
|
|
- <el-input
|
|
|
- v-model="form.conUserName"
|
|
|
- label="Actual Referrer ID"
|
|
|
- aria-required="true"
|
|
|
- @change="handleChkRecommenderActualName"
|
|
|
- />
|
|
|
- </el-form-item>
|
|
|
- </el-col>
|
|
|
- </el-row>
|
|
|
- </ui-section-card>
|
|
|
- <ui-section-card title="Basic Information">
|
|
|
- <el-row :gutter="24">
|
|
|
- <el-col :xs="24" :sm="12">
|
|
|
- <el-form-item label="Country">
|
|
|
- <el-select
|
|
|
- id="ng-signup-SignupPagevue-0"
|
|
|
- v-model="form.countryId"
|
|
|
- filterable
|
|
|
- placeholder="Select country"
|
|
|
- popper-class="ng-refactor-popper"
|
|
|
- @change="countriesChange"
|
|
|
- >
|
|
|
- <el-option
|
|
|
- v-for="item in countriesList"
|
|
|
- :key="item.ID"
|
|
|
- :label="item.NAME"
|
|
|
- :value="item.ID"
|
|
|
- />
|
|
|
- </el-select>
|
|
|
- </el-form-item>
|
|
|
- </el-col>
|
|
|
- <el-col :xs="24" :sm="12">
|
|
|
- <el-form-item label="Language" for="ng-signup-SignupPagevue-1">
|
|
|
- <el-select
|
|
|
- id="ng-signup-SignupPagevue-1"
|
|
|
- v-model="form.languageId"
|
|
|
- filterable
|
|
|
- placeholder="Select language"
|
|
|
- popper-class="ng-refactor-popper"
|
|
|
- >
|
|
|
- <el-option
|
|
|
- v-for="item in languageList"
|
|
|
- :key="item.ID"
|
|
|
- :label="item.NAME"
|
|
|
- :value="item.ID"
|
|
|
- />
|
|
|
- </el-select>
|
|
|
- </el-form-item>
|
|
|
- </el-col>
|
|
|
- <el-col :xs="24" :sm="12">
|
|
|
- <el-form-item label="Member ID">
|
|
|
- <el-input
|
|
|
- v-model="form.insertUserName"
|
|
|
- label="Member ID"
|
|
|
- :readonly="userReadOnly"
|
|
|
- placeholder="Member ID"
|
|
|
- @blur="checkBaUser"
|
|
|
- />
|
|
|
- </el-form-item>
|
|
|
- </el-col>
|
|
|
- <el-col :xs="24" :sm="12">
|
|
|
- <el-form-item label="Order Level" for="ng-signup-SignupPagevue-2">
|
|
|
- <el-select
|
|
|
- id="ng-signup-SignupPagevue-2"
|
|
|
- v-model="form.decLv"
|
|
|
- placeholder="Select level"
|
|
|
- popper-class="ng-refactor-popper"
|
|
|
- >
|
|
|
- <el-option
|
|
|
- v-for="item in allDecLevel"
|
|
|
- :key="item.ID"
|
|
|
- :label="item.LEVEL_NAME"
|
|
|
- :value="item.ID"
|
|
|
- />
|
|
|
- </el-select>
|
|
|
- </el-form-item>
|
|
|
- </el-col>
|
|
|
- <el-col :span="24">
|
|
|
- <el-form-item label="Reporting Center ID">
|
|
|
- <el-input v-model="form.decUserName" label="Reporting Center ID" />
|
|
|
- </el-form-item>
|
|
|
- </el-col>
|
|
|
- </el-row>
|
|
|
- </ui-section-card>
|
|
|
-
|
|
|
- <ui-section-card title="Products">
|
|
|
- <signup-products
|
|
|
- :items="tableData"
|
|
|
- use-market-price
|
|
|
- :quantities="storeNums"
|
|
|
- :selected-ids="selectedIds"
|
|
|
- :country-selected="!!form.countryId"
|
|
|
- :subtotal="sellPriceSum"
|
|
|
- :bv="pricePvSum"
|
|
|
- :tax="taxSum"
|
|
|
- :currency="currencyUnitCode"
|
|
|
- @toggle="toggleProduct"
|
|
|
- @quantity="changeProductQuantity"
|
|
|
- @details="handleProduct"
|
|
|
- />
|
|
|
- </ui-section-card>
|
|
|
-
|
|
|
- <ui-section-card title="Personal Information">
|
|
|
- <el-row :gutter="24">
|
|
|
- <el-col :xs="24" :sm="12">
|
|
|
- <el-form-item label="Member Name">
|
|
|
- <el-input v-model="form.realName" label="Member Name" autocomplete="name" />
|
|
|
- </el-form-item>
|
|
|
- </el-col>
|
|
|
- <el-col :xs="24" :sm="12">
|
|
|
- <el-form-item label="Phone">
|
|
|
- <el-input v-model="form.mobile" label="Phone" autocomplete="tel" />
|
|
|
- </el-form-item>
|
|
|
- </el-col>
|
|
|
- <el-col :xs="24" :sm="12">
|
|
|
- <el-form-item label="Email">
|
|
|
- <el-input v-model="form.email" label="Email" autocomplete="email" />
|
|
|
- </el-form-item>
|
|
|
- </el-col>
|
|
|
- <el-col :xs="24" :sm="12">
|
|
|
- <el-form-item label="Login Password">
|
|
|
- <el-input
|
|
|
- v-model="form.password"
|
|
|
- label="Login Password"
|
|
|
- maxlength="32"
|
|
|
- autocomplete="new-password"
|
|
|
- />
|
|
|
- </el-form-item>
|
|
|
- </el-col>
|
|
|
- <el-col :xs="24" :sm="12">
|
|
|
- <el-form-item label="Payment Password">
|
|
|
- <el-input
|
|
|
- v-model="form.payPassword"
|
|
|
- label="Payment Password"
|
|
|
- maxlength="32"
|
|
|
- autocomplete="new-password"
|
|
|
- />
|
|
|
- </el-form-item>
|
|
|
- </el-col>
|
|
|
- <el-col :xs="24" :sm="12">
|
|
|
- <el-form-item label="Recipient">
|
|
|
- <el-input v-model="form.consignee" label="Recipient" />
|
|
|
- </el-form-item>
|
|
|
- </el-col>
|
|
|
- <el-col :xs="24" :sm="12">
|
|
|
- <el-form-item label="Recipient Phone">
|
|
|
- <el-input v-model="form.acceptMobile" label="Recipient Phone" />
|
|
|
- </el-form-item>
|
|
|
- </el-col>
|
|
|
- </el-row>
|
|
|
- </ui-section-card>
|
|
|
-
|
|
|
- <ui-section-card class="ng-signup-delivery" title="Delivery Method">
|
|
|
- <el-form-item label="Delivery Method">
|
|
|
- <el-radio-group v-model="form.way" @change="wayChange">
|
|
|
- <el-radio label="express" border>Door Delivery</el-radio>
|
|
|
- <el-radio label="pickup" border>Pickup</el-radio>
|
|
|
- </el-radio-group>
|
|
|
- </el-form-item>
|
|
|
- </ui-section-card>
|
|
|
-
|
|
|
- <ui-section-card v-if="form.way !== 'pickup'" title="Address Details">
|
|
|
- <el-row :gutter="24">
|
|
|
- <el-col :xs="24" :sm="12">
|
|
|
- <el-form-item label="Region / State" prop="areaSelected">
|
|
|
- <el-cascader
|
|
|
- v-model="form.areaSelected"
|
|
|
- :disabled="areaDisabled"
|
|
|
- :options="regionData"
|
|
|
- placeholder="Select region"
|
|
|
- popper-class="ng-refactor-popper"
|
|
|
- />
|
|
|
- </el-form-item>
|
|
|
- </el-col>
|
|
|
- <el-col :xs="24" :sm="12">
|
|
|
- <el-form-item label="City">
|
|
|
- <el-input
|
|
|
- v-model="form.cityName"
|
|
|
- label="City"
|
|
|
- :disabled="addressDisabled"
|
|
|
- placeholder="City"
|
|
|
- />
|
|
|
- </el-form-item>
|
|
|
- </el-col>
|
|
|
- <el-col :span="24">
|
|
|
- <el-form-item label="Detailed Address">
|
|
|
- <el-input
|
|
|
- v-model="form.address"
|
|
|
- label="Detailed Address"
|
|
|
- :disabled="addressDisabled"
|
|
|
- type="textarea"
|
|
|
- :rows="3"
|
|
|
- placeholder="Street address, building, landmark..."
|
|
|
- />
|
|
|
- </el-form-item>
|
|
|
- </el-col>
|
|
|
- <el-col :xs="24" :sm="12">
|
|
|
- <el-form-item label="Area / District">
|
|
|
- <el-input
|
|
|
- v-model="form.lgaName"
|
|
|
- label="Area / District"
|
|
|
- :disabled="addressDisabled"
|
|
|
- placeholder="Area or district"
|
|
|
- />
|
|
|
- </el-form-item>
|
|
|
- </el-col>
|
|
|
- </el-row>
|
|
|
- </ui-section-card>
|
|
|
-
|
|
|
- <ui-section-card title="Bank Information">
|
|
|
- <el-row :gutter="24">
|
|
|
- <el-col :xs="24" :sm="12">
|
|
|
- <el-form-item label="Bank Name" for="ng-signup-SignupPagevue-3">
|
|
|
- <el-select
|
|
|
- id="ng-signup-SignupPagevue-3"
|
|
|
- v-model="form.openBank"
|
|
|
- placeholder="Select bank"
|
|
|
- popper-class="ng-refactor-popper"
|
|
|
- >
|
|
|
- <el-option
|
|
|
- v-for="item in allOpenBank"
|
|
|
- :key="item.BANK_CODE"
|
|
|
- :label="item.BANK_NAME"
|
|
|
- :value="item.BANK_CODE"
|
|
|
- />
|
|
|
- </el-select>
|
|
|
- </el-form-item>
|
|
|
- </el-col>
|
|
|
- <el-col :xs="24" :sm="12">
|
|
|
- <el-form-item label="Account Name">
|
|
|
- <el-input v-model="form.bankAddress" label="Account Name" />
|
|
|
- </el-form-item>
|
|
|
- </el-col>
|
|
|
- <el-col :xs="24" :sm="12">
|
|
|
- <el-form-item label="Bank Account">
|
|
|
- <el-input v-model="form.bankNo" label="Bank Account" maxlength="50" />
|
|
|
- </el-form-item>
|
|
|
- </el-col>
|
|
|
- </el-row>
|
|
|
- </ui-section-card>
|
|
|
-
|
|
|
+ <section
|
|
|
+ v-loading="loading"
|
|
|
+ class="ng-welcome-flow"
|
|
|
+ :class="isGuest ? 'ng-public-signup' : 'ng-member-welcome'"
|
|
|
+ :aria-label="isGuest ? 'Create account' : 'Member Welcome Pack'"
|
|
|
+ lang="en"
|
|
|
+ >
|
|
|
+ <el-alert v-if="!isGuest && loadError" :title="loadError" type="error" :closable="false" show-icon />
|
|
|
+ <el-button v-if="!isGuest && loadError" class="ng-welcome-retry" :disabled="busy" @click="initialize">Retry</el-button>
|
|
|
+ <el-form :model="form" label-position="top" :disabled="formDisabled" @submit.native.prevent>
|
|
|
+ <welcome-pack-fields
|
|
|
+ :form="form"
|
|
|
+ :guest="isGuest"
|
|
|
+ :countries="countriesList"
|
|
|
+ :country-name="countryName"
|
|
|
+ :languages="formLanguages"
|
|
|
+ :levels="allDecLevel"
|
|
|
+ :banks="allOpenBank"
|
|
|
+ :regions="regionData"
|
|
|
+ :stockist="!isGuest && Number(isDec) === 1"
|
|
|
+ :member-read-only="isGuest ? userReadOnly : true"
|
|
|
+ @change="updateForm"
|
|
|
+ @country-change="countryChanged"
|
|
|
+ @referrer-change="checkReferrer"
|
|
|
+ @actual-referrer-change="checkActualReferrer"
|
|
|
+ @member-blur="checkMember"
|
|
|
+ >
|
|
|
+ <ui-section-card title="Products">
|
|
|
+ <signup-products
|
|
|
+ :items="tableData || []"
|
|
|
+ :use-market-price="priceField === 'MARKET_PRICE'"
|
|
|
+ :quantities="storeNums"
|
|
|
+ :selected-ids="selectedIds"
|
|
|
+ :country-selected="!!form.countryId"
|
|
|
+ :subtotal="sellPriceSum"
|
|
|
+ :bv="pricePvSum"
|
|
|
+ :tax="taxSum"
|
|
|
+ :currency="currencyUnitCode"
|
|
|
+ :disabled="formDisabled"
|
|
|
+ @toggle="toggleProduct"
|
|
|
+ @quantity="changeProductQuantity"
|
|
|
+ @details="handleProduct"
|
|
|
+ />
|
|
|
+ </ui-section-card>
|
|
|
+ </welcome-pack-fields>
|
|
|
<payment-methods
|
|
|
v-model="form.payType"
|
|
|
:options="payList"
|
|
|
:currency="currencyUnitCode"
|
|
|
- :balances="userBalance"
|
|
|
+ :balances="paymentBalances"
|
|
|
:summary="paymentSummary"
|
|
|
- :disabled="loading || submitButtonStat || visible || paymentComplete"
|
|
|
+ :disabled="isGuest ? busy : formDisabled"
|
|
|
/>
|
|
|
-
|
|
|
- <div class="ng-signup-actions">
|
|
|
- <el-button
|
|
|
- class="ng-signup-save"
|
|
|
- type="primary"
|
|
|
- native-type="button"
|
|
|
- :loading="submitButtonStat"
|
|
|
- :disabled="paymentComplete"
|
|
|
- @click="onSubmit"
|
|
|
- >
|
|
|
- {{ submitLabel }}
|
|
|
- </el-button>
|
|
|
- <p class="ng-signup-login">
|
|
|
- Already have an account?
|
|
|
- <router-link class="link-type" :to="loginRoute"> Sign in </router-link>
|
|
|
- </p>
|
|
|
- </div>
|
|
|
+ <el-button
|
|
|
+ class="ng-welcome-save ng-signup-save"
|
|
|
+ type="primary"
|
|
|
+ native-type="button"
|
|
|
+ :loading="submitButtonStat"
|
|
|
+ :disabled="isGuest ? paymentComplete : formDisabled"
|
|
|
+ @click="onSubmit"
|
|
|
+ >{{ isGuest ? submitLabel : 'Save' }}</el-button>
|
|
|
+ <p v-if="isGuest" class="ng-signup-login">
|
|
|
+ Already have an account?
|
|
|
+ <router-link class="link-type" :to="loginRoute"> Sign in </router-link>
|
|
|
+ </p>
|
|
|
</el-form>
|
|
|
- <signup-dialogs
|
|
|
+ <welcome-pack-dialogs
|
|
|
+ :guest="isGuest"
|
|
|
:payment-visible="visible"
|
|
|
- :payment-order="paymentOrder"
|
|
|
- :payment-email="form.email"
|
|
|
+ :payment="dialogPayment"
|
|
|
+ :reference="isGuest ? paymentOrder.reference : reference"
|
|
|
+ :channels="isGuest ? [] : channels"
|
|
|
+ :cancel-loading="!isGuest && cancelLoading"
|
|
|
+ :success-visible="!isGuest && payDialog"
|
|
|
+ :countdown="isGuest ? 0 : countdown"
|
|
|
:product-visible="visibleProduct"
|
|
|
:product="product"
|
|
|
:currency="currencyUnitCode"
|
|
|
- @cancel-payment="handleClose"
|
|
|
+ @cancel="handleClose"
|
|
|
@paid="processPayment"
|
|
|
@payment-error="showLoadError"
|
|
|
+ @orders="openOrders"
|
|
|
@close-product="visibleProduct = false"
|
|
|
/>
|
|
|
- </div>
|
|
|
+ </section>
|
|
|
</template>
|
|
|
|
|
|
<script>
|
|
|
import UiSectionCard from '@/components/ui/UiSectionCard.vue'
|
|
|
import PaymentMethods from '@/ui-refactor/components/PaymentMethods.vue'
|
|
|
import { getPaymentSummary } from '@/ui-refactor/utils/paymentSummary'
|
|
|
-import registration from './components/welcomePackRegistration'
|
|
|
-import SignupProducts from './components/SignupProducts.vue'
|
|
|
-import SignupDialogs from './components/SignupDialogs.vue'
|
|
|
+import tool from '@/utils/tool'
|
|
|
+import SignupProducts from '@/ui-refactor/views/signup/components/SignupProducts.vue'
|
|
|
+import WelcomePackFields from '@/ui-refactor/views/welcome-pack/WelcomePackFields.vue'
|
|
|
+import WelcomePackDialogs from '@/ui-refactor/views/welcome-pack/WelcomePackDialogs.vue'
|
|
|
|
|
|
export default {
|
|
|
- name: 'SignupPage',
|
|
|
- components: { UiSectionCard, SignupProducts, SignupDialogs, PaymentMethods },
|
|
|
- // 页面只适配商品卡片事件,提交、计价与支付逻辑继续由业务模块维护。
|
|
|
- mixins: [registration],
|
|
|
+ name: 'WelcomePackFlow',
|
|
|
+ components: { UiSectionCard, SignupProducts, WelcomePackFields, PaymentMethods, WelcomePackDialogs },
|
|
|
+ data() {
|
|
|
+ return { active: true }
|
|
|
+ },
|
|
|
computed: {
|
|
|
- loginRoute() {
|
|
|
- return { path: '/login', query: this.$route.query }
|
|
|
+ isGuest() { return this.mode === 'guest' },
|
|
|
+ // 注册与会员报单均使用市场价,登录状态只区分业务流程。
|
|
|
+ priceField() { return 'MARKET_PRICE' },
|
|
|
+ selectedIds() { return this.multipleSelection.map(item => item.ID) },
|
|
|
+ loginRoute() { return { path: '/login', query: this.$route.query } },
|
|
|
+ countryName() {
|
|
|
+ const country = (this.countriesList || []).find(item => item.ID === this.form.countryId)
|
|
|
+ return country ? country.NAME : ''
|
|
|
},
|
|
|
- selectedIds() {
|
|
|
- return this.multipleSelection.map(item => item.ID)
|
|
|
+ formLanguages() { return this.isGuest ? this.languageList : this.memberLanguages },
|
|
|
+ busy() {
|
|
|
+ if (this.isGuest) return this.loading || this.submitButtonStat || this.visible || this.paymentComplete
|
|
|
+ return this.loading || this.submitButtonStat || this.visible || this.payDialog || this.cancelLoading || this.orderListOpened
|
|
|
},
|
|
|
+ formDisabled() { return !this.isGuest && (this.busy || !this.initialized) },
|
|
|
+ paymentBalances() { return this.isGuest ? this.userBalance : { cash: this.userBalance.cash } },
|
|
|
paymentSummary() {
|
|
|
- const balance = this.userBalance[this.form.payType]
|
|
|
+ const balance = this.paymentBalances[this.form.payType]
|
|
|
return getPaymentSummary(this.sellPriceSum, balance, this.form.payType === 'cash')
|
|
|
+ },
|
|
|
+ dialogPayment() {
|
|
|
+ return this.isGuest
|
|
|
+ ? { ...this.paymentOrder, email: this.form.email, publicKey: process.env.VUE_APP_BASE_PAY_STACK_PUBLIC_KEY || '' }
|
|
|
+ : this.payForm
|
|
|
}
|
|
|
},
|
|
|
+ beforeDestroy() {
|
|
|
+ this.active = false
|
|
|
+ },
|
|
|
methods: {
|
|
|
+ updateForm(patch) {
|
|
|
+ if (this.formDisabled) return
|
|
|
+ Object.assign(this.form, patch)
|
|
|
+ if ('way' in patch) this.wayChange()
|
|
|
+ },
|
|
|
+ countryChanged() { if (this.isGuest) this.countriesChange() },
|
|
|
+ checkReferrer() { if (this.isGuest) this.handleChkRecUser() },
|
|
|
+ checkActualReferrer() { if (this.isGuest) this.handleChkRecommenderActualName() },
|
|
|
+ checkMember() { if (this.isGuest) this.checkBaUser() },
|
|
|
+ showLoadError(error) { this.$message.error(String(error.message || error)) },
|
|
|
toggleProduct(row) {
|
|
|
- const selection = this.selectedIds.includes(row.ID)
|
|
|
+ if (this.formDisabled) return
|
|
|
+ this.handleSelectionChange(this.selectedIds.includes(row.ID)
|
|
|
? this.multipleSelection.filter(item => item.ID !== row.ID)
|
|
|
- : this.multipleSelection.concat(row)
|
|
|
- this.handleSelectionChange(selection)
|
|
|
+ : this.multipleSelection.concat(row))
|
|
|
},
|
|
|
changeProductQuantity({ value, row, index }) {
|
|
|
- // Vue 2 不能侦测数组下标赋值,使用 $set 保持数量控件与业务状态同步。
|
|
|
+ if (this.formDisabled) return
|
|
|
this.$set(this.storeNums, index, value)
|
|
|
this.handleInputNumber(value, row)
|
|
|
- }
|
|
|
+ },
|
|
|
+ handleInputNumber(current, row) {
|
|
|
+ const selected = this.multipleSelection.find(item => item.ID === row.ID)
|
|
|
+ if (selected) {
|
|
|
+ selected.goodsNum = current
|
|
|
+ this.handleSureChange()
|
|
|
+ }
|
|
|
+ },
|
|
|
+ handleSelectionChange(selection) {
|
|
|
+ selection.forEach(item => {
|
|
|
+ item.goodsNum = this.storeNums[this.tableData.findIndex(row => row.ID === item.ID)]
|
|
|
+ })
|
|
|
+ this.multipleSelection = selection
|
|
|
+ this.handleSureChange()
|
|
|
+ },
|
|
|
+ handleSureChange() {
|
|
|
+ if (!this.multipleSelection.length) {
|
|
|
+ this.sellPriceSum = this.pricePvSum = this.taxSum = 0
|
|
|
+ return
|
|
|
+ }
|
|
|
+ let subtotal = 0
|
|
|
+ let bv = 0
|
|
|
+ let tax = 0
|
|
|
+ this.multipleSelection.forEach(item => {
|
|
|
+ subtotal += Number(item[this.priceField]) * Number(item.goodsNum)
|
|
|
+ bv += Number(item.PRICE_PV) * Number(item.goodsNum)
|
|
|
+ tax += tool.calculateTax(Number(item[this.priceField]), Number(item.TAX_RATE), Number(item.goodsNum))
|
|
|
+ })
|
|
|
+ this.sellPriceSum = tool.formatPrice(subtotal)
|
|
|
+ this.pricePvSum = tool.formatPrice(bv)
|
|
|
+ this.taxSum = tool.formatPrice(tax)
|
|
|
+ },
|
|
|
+ selectProduct() {
|
|
|
+ this.form.goodsId = []
|
|
|
+ this.form.goodsNum = []
|
|
|
+ this.payAmount = 0
|
|
|
+ this.multipleSelection.forEach(item => {
|
|
|
+ this.form.goodsId.push(item.ID)
|
|
|
+ this.form.goodsNum.push(item.goodsNum)
|
|
|
+ this.payAmount += Number(item[this.priceField]) * Number(item.goodsNum)
|
|
|
+ })
|
|
|
+ },
|
|
|
+ handleProduct(row) {
|
|
|
+ this.product = { ...row, taxAmount: tool.calculateTax(Number(row[this.priceField]), Number(row.TAX_RATE)) }
|
|
|
+ this.visibleProduct = true
|
|
|
+ },
|
|
|
+ processPayment(response) {
|
|
|
+ if (this.active) this.completePayment(response)
|
|
|
+ },
|
|
|
+ openOrders() { if (!this.isGuest) this.handleOrderList() }
|
|
|
}
|
|
|
}
|
|
|
</script>
|
|
|
|
|
|
<style lang="scss" scoped>
|
|
|
-.ng-public-layout .ng-public-signup ::v-deep .el-select,
|
|
|
-.ng-public-layout .ng-public-signup ::v-deep .el-cascader {
|
|
|
- width: 100%;
|
|
|
-}
|
|
|
-.ng-public-layout .ng-public-signup ::v-deep .el-form-item__label {
|
|
|
- float: none;
|
|
|
- padding-bottom: 8px;
|
|
|
- line-height: 1.5;
|
|
|
-}
|
|
|
-.ng-public-layout .ng-public-signup .ng-signup-delivery ::v-deep .el-radio-group {
|
|
|
- display: flex;
|
|
|
- flex-wrap: wrap;
|
|
|
- gap: 12px;
|
|
|
- max-width: 100%;
|
|
|
-}
|
|
|
-.ng-public-layout .ng-public-signup .ng-signup-delivery ::v-deep .el-radio {
|
|
|
- height: auto;
|
|
|
- min-height: 40px;
|
|
|
- margin: 0;
|
|
|
- white-space: normal;
|
|
|
- line-height: 1.5;
|
|
|
-}
|
|
|
-.ng-public-layout .ng-public-signup .ng-signup-delivery ::v-deep .el-radio__label {
|
|
|
- white-space: normal;
|
|
|
- overflow-wrap: anywhere;
|
|
|
-}
|
|
|
-.ng-public-layout .ng-public-signup ::v-deep .el-alert {
|
|
|
- margin-bottom: 20px;
|
|
|
-}
|
|
|
-.ng-public-layout .ng-signup-save {
|
|
|
- width: 100%;
|
|
|
-}
|
|
|
-.ng-public-layout .ng-signup-login {
|
|
|
+.ng-welcome-flow { min-width: 0; }
|
|
|
+.ng-welcome-retry { margin: 16px 0 24px; }
|
|
|
+.ng-welcome-save { width: 100%; }
|
|
|
+.ng-signup-login {
|
|
|
margin: 12px 0 0;
|
|
|
text-align: center;
|
|
|
font-size: 13px;
|