|
@@ -6,40 +6,40 @@
|
|
<el-tab-pane label="兑换剑鱼会员" name="1">
|
|
<el-tab-pane label="兑换剑鱼会员" name="1">
|
|
<div class="tab-pane-content">
|
|
<div class="tab-pane-content">
|
|
<div class="exchange-handle">
|
|
<div class="exchange-handle">
|
|
- <div class="ex-tips" v-if="jianyuExchange.showTips">
|
|
|
|
|
|
+ <div v-if="jianyuExchange.showTips" class="ex-tips">
|
|
<i class="j-icon icon-orange-phone"></i>
|
|
<i class="j-icon icon-orange-phone"></i>
|
|
<span
|
|
<span
|
|
- >兑换权益与当前用户权益不对等,无法兑换。请直接联系吕经理:<a
|
|
|
|
- class="tel"
|
|
|
|
- href="tel:15136295365"
|
|
|
|
- >151 3629 5365</a
|
|
|
|
- >。</span
|
|
|
|
|
|
+ >兑换权益与当前用户权益不对等,无法兑换。请直接联系吕经理:<a
|
|
|
|
+ class="tel"
|
|
|
|
+ href="tel:15136295365"
|
|
|
|
+ >151 3629 5365</a
|
|
|
|
+ >。</span
|
|
>
|
|
>
|
|
</div>
|
|
</div>
|
|
<div class="ex-input">
|
|
<div class="ex-input">
|
|
<span class="ex-input-label">兑换码</span>
|
|
<span class="ex-input-label">兑换码</span>
|
|
<el-input
|
|
<el-input
|
|
- :class="{ 'error-input': jianyuExchange.showTips }"
|
|
|
|
v-model="jianyuExchange.code"
|
|
v-model="jianyuExchange.code"
|
|
- placeholder="请输入兑换码"
|
|
|
|
|
|
+ :class="{ 'error-input': jianyuExchange.showTips }"
|
|
clearable
|
|
clearable
|
|
|
|
+ placeholder="请输入兑换码"
|
|
@input="onJyExchangeInput"
|
|
@input="onJyExchangeInput"
|
|
></el-input>
|
|
></el-input>
|
|
<span
|
|
<span
|
|
- class="status-text error-status"
|
|
|
|
v-show="jianyuExchange.errorStatus"
|
|
v-show="jianyuExchange.errorStatus"
|
|
- ><i class="j-icon icon-error-status"></i
|
|
|
|
- >{{ jianyuExchange.errorMsg }}</span
|
|
|
|
|
|
+ class="status-text error-status"
|
|
|
|
+ ><i class="j-icon icon-error-status"></i
|
|
|
|
+ >{{ jianyuExchange.errorMsg }}</span
|
|
>
|
|
>
|
|
<span
|
|
<span
|
|
- class="status-text success-status"
|
|
|
|
v-show="jianyuExchange.successStatus"
|
|
v-show="jianyuExchange.successStatus"
|
|
- ><i class="j-icon icon-success-status"></i>恭喜兑换成功</span
|
|
|
|
|
|
+ class="status-text success-status"
|
|
|
|
+ ><i class="j-icon icon-success-status"></i>恭喜兑换成功</span
|
|
>
|
|
>
|
|
</div>
|
|
</div>
|
|
<el-button class="ex-btn" type="primary" @click="onJyExchange"
|
|
<el-button class="ex-btn" type="primary" @click="onJyExchange"
|
|
- >立即兑换</el-button
|
|
|
|
- >
|
|
|
|
|
|
+ >立即兑换
|
|
|
|
+ </el-button>
|
|
<div class="ex-desc">
|
|
<div class="ex-desc">
|
|
<p>说明</p>
|
|
<p>说明</p>
|
|
<p>1.输入兑换码即可兑换;</p>
|
|
<p>1.输入兑换码即可兑换;</p>
|
|
@@ -51,8 +51,8 @@
|
|
<div class="exchange-list">
|
|
<div class="exchange-list">
|
|
<div class="list-title">我的兑换记录</div>
|
|
<div class="list-title">我的兑换记录</div>
|
|
<div
|
|
<div
|
|
- class="list-table"
|
|
|
|
v-if="jianyuExchange.list && jianyuExchange.list.length > 0"
|
|
v-if="jianyuExchange.list && jianyuExchange.list.length > 0"
|
|
|
|
+ class="list-table"
|
|
>
|
|
>
|
|
<div class="t-thead">
|
|
<div class="t-thead">
|
|
<span>兑换码</span>
|
|
<span>兑换码</span>
|
|
@@ -61,9 +61,9 @@
|
|
</div>
|
|
</div>
|
|
<div class="t-body">
|
|
<div class="t-body">
|
|
<p
|
|
<p
|
|
- class="t-list"
|
|
|
|
v-for="item in jianyuExchange.list"
|
|
v-for="item in jianyuExchange.list"
|
|
:key="item.EquityCode"
|
|
:key="item.EquityCode"
|
|
|
|
+ class="t-list"
|
|
>
|
|
>
|
|
<span>{{ item.EquityCode }}</span>
|
|
<span>{{ item.EquityCode }}</span>
|
|
<span>{{ item.EquityName }}</span>
|
|
<span>{{ item.EquityName }}</span>
|
|
@@ -78,52 +78,73 @@
|
|
</div>
|
|
</div>
|
|
</el-tab-pane>
|
|
</el-tab-pane>
|
|
<el-tab-pane label="获取三方会员兑换码" name="2">
|
|
<el-tab-pane label="获取三方会员兑换码" name="2">
|
|
|
|
+ <div class='other-equity-exchange-select-group flex-(row items-center)'>
|
|
|
|
+ <div class='other-equity-exchange-select-item' :class='{"is-active": activeType === 0 }' @click='doSelectType(0)'>购买产品获取</div>
|
|
|
|
+ <div class='other-equity-exchange-select-item' :class='{"is-active": activeType === 1 }' @click='doSelectType(1)'>抽奖活动获取</div>
|
|
|
|
+ </div>
|
|
<div class="tab-pane-content">
|
|
<div class="tab-pane-content">
|
|
<div class="waiting-exchange-container e-card-container">
|
|
<div class="waiting-exchange-container e-card-container">
|
|
<div class="e-card-header">
|
|
<div class="e-card-header">
|
|
- <div class="e-card-title">待获取兑换码订单列表</div>
|
|
|
|
|
|
+ <div class="e-card-title" v-if='activeType === 0'>待获取兑换码订单列表</div>
|
|
|
|
+ <div class="e-card-title" v-else>待获取兑换码列表</div>
|
|
<div class="e-card-actions">
|
|
<div class="e-card-actions">
|
|
<el-link
|
|
<el-link
|
|
|
|
+ v-if='activeType === 0'
|
|
|
|
+ :underline="false"
|
|
class="third-activity-rule"
|
|
class="third-activity-rule"
|
|
type="info"
|
|
type="info"
|
|
- :underline="false"
|
|
|
|
@click="goThirdActivityRule"
|
|
@click="goThirdActivityRule"
|
|
- >活动规则</el-link
|
|
|
|
- >
|
|
|
|
|
|
+ >活动规则
|
|
|
|
+ </el-link>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div
|
|
<div
|
|
- class="e-card-content"
|
|
|
|
v-loading="thirdPartyExchange.loading"
|
|
v-loading="thirdPartyExchange.loading"
|
|
|
|
+ class="e-card-content"
|
|
>
|
|
>
|
|
<div
|
|
<div
|
|
- class="list-table third-pending-table"
|
|
|
|
v-if="
|
|
v-if="
|
|
thirdPartyExchange.pending &&
|
|
thirdPartyExchange.pending &&
|
|
thirdPartyExchange.pending.length > 0 &&
|
|
thirdPartyExchange.pending.length > 0 &&
|
|
thirdPartyExchange.loaded
|
|
thirdPartyExchange.loaded
|
|
"
|
|
"
|
|
|
|
+ class="list-table third-pending-table"
|
|
>
|
|
>
|
|
- <div class="t-thead">
|
|
|
|
|
|
+ <div class="t-thead" v-if='activeType === 0'>
|
|
<span>购买产品</span>
|
|
<span>购买产品</span>
|
|
<span>购买时间</span>
|
|
<span>购买时间</span>
|
|
<span>获取兑换码</span>
|
|
<span>获取兑换码</span>
|
|
</div>
|
|
</div>
|
|
|
|
+ <div class="t-thead" v-else>
|
|
|
|
+ <span>会员名称</span>
|
|
|
|
+ <span>获奖时间</span>
|
|
|
|
+ <span>获取兑换码</span>
|
|
|
|
+ </div>
|
|
<div class="t-body">
|
|
<div class="t-body">
|
|
<p
|
|
<p
|
|
- class="t-list"
|
|
|
|
v-for="item in thirdPartyExchange.pending"
|
|
v-for="item in thirdPartyExchange.pending"
|
|
:key="item.account_id"
|
|
:key="item.account_id"
|
|
|
|
+ class="t-list"
|
|
>
|
|
>
|
|
- <span>{{ item.name }}</span>
|
|
|
|
|
|
+ <span v-if='activeType === 0'>{{ item.name }}</span>
|
|
|
|
+ <span v-else>{{ item.party_name }}</span>
|
|
<span>{{ item.create_date }}</span>
|
|
<span>{{ item.create_date }}</span>
|
|
<span>
|
|
<span>
|
|
<el-link
|
|
<el-link
|
|
|
|
+ v-if='activeType === 0'
|
|
|
|
+ :underline="false"
|
|
class="get-code-now"
|
|
class="get-code-now"
|
|
type="primary"
|
|
type="primary"
|
|
- :underline="false"
|
|
|
|
@click="getThirdCodeNow(item)"
|
|
@click="getThirdCodeNow(item)"
|
|
- >立即获取</el-link
|
|
|
|
|
|
+ >立即获取</el-link
|
|
|
|
+ >
|
|
|
|
+ <el-link
|
|
|
|
+ v-else
|
|
|
|
+ :underline="false"
|
|
|
|
+ class="get-code-now"
|
|
|
|
+ type="primary"
|
|
|
|
+ @click="getNewOtherProductInfo(item)"
|
|
|
|
+ >立即获取</el-link
|
|
>
|
|
>
|
|
</span>
|
|
</span>
|
|
</p>
|
|
</p>
|
|
@@ -139,54 +160,55 @@
|
|
<div class="list-title">我的兑换记录</div>
|
|
<div class="list-title">我的兑换记录</div>
|
|
<div class="exchange-list-actions">
|
|
<div class="exchange-list-actions">
|
|
<el-button
|
|
<el-button
|
|
- type="primary"
|
|
|
|
|
|
+ v-if="thirdPartyExchange.address"
|
|
|
|
+ class="to-exchange-button"
|
|
plain
|
|
plain
|
|
size="small"
|
|
size="small"
|
|
- class="to-exchange-button"
|
|
|
|
- v-if="thirdPartyExchange.address"
|
|
|
|
|
|
+ type="primary"
|
|
@click="thirdExchangeNow"
|
|
@click="thirdExchangeNow"
|
|
- >去兑换</el-button
|
|
|
|
- >
|
|
|
|
|
|
+ >去兑换
|
|
|
|
+ </el-button>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div
|
|
<div
|
|
- class="list-table third-processed-table"
|
|
|
|
- v-loading="thirdPartyExchange.loading"
|
|
|
|
v-if="
|
|
v-if="
|
|
thirdPartyExchange.processed &&
|
|
thirdPartyExchange.processed &&
|
|
thirdPartyExchange.processed.length > 0 &&
|
|
thirdPartyExchange.processed.length > 0 &&
|
|
thirdPartyExchange.loaded
|
|
thirdPartyExchange.loaded
|
|
"
|
|
"
|
|
|
|
+ v-loading="thirdPartyExchange.loading"
|
|
|
|
+ class="list-table third-processed-table"
|
|
>
|
|
>
|
|
<div class="t-thead">
|
|
<div class="t-thead">
|
|
- <span>购买产品</span>
|
|
|
|
- <span>购买时间</span>
|
|
|
|
|
|
+ <span>{{ activeType === 0 ? '购买产品' : '会员名称'}}</span>
|
|
|
|
+ <span>{{ activeType === 0 ? '购买时间' : '获奖时间'}}</span>
|
|
<span>获取状态</span>
|
|
<span>获取状态</span>
|
|
<span>获取权益</span>
|
|
<span>获取权益</span>
|
|
<span>获取时间</span>
|
|
<span>获取时间</span>
|
|
</div>
|
|
</div>
|
|
<div class="t-body">
|
|
<div class="t-body">
|
|
- <p
|
|
|
|
- class="t-list"
|
|
|
|
|
|
+ <div
|
|
v-for="item in thirdPartyExchange.processed"
|
|
v-for="item in thirdPartyExchange.processed"
|
|
:key="item.ex_code"
|
|
:key="item.ex_code"
|
|
|
|
+ class="t-list"
|
|
>
|
|
>
|
|
- <span>{{ item.name }}</span>
|
|
|
|
|
|
+ <span>{{ activeType === 0 ? item.name : item.party_name}}</span>
|
|
<span>{{ item.create_date }}</span>
|
|
<span>{{ item.create_date }}</span>
|
|
<span>{{
|
|
<span>{{
|
|
- item.state === -1 ? '超期未获取' : '已获取'
|
|
|
|
- }}</span>
|
|
|
|
- <span>
|
|
|
|
- <template v-if="item.party_name || item.ex_code">
|
|
|
|
- <p>会员名称:{{ item.party_name || '-' }}</p>
|
|
|
|
- <p>兑换码:{{ item.ex_code || '-' }}</p>
|
|
|
|
- </template>
|
|
|
|
- <template v-else>
|
|
|
|
- <p>-</p>
|
|
|
|
- </template>
|
|
|
|
|
|
+ item.state === -1 ? '超期未获取' : '已获取'
|
|
|
|
+ }}</span>
|
|
|
|
+ <span v-if='activeType === 0 && (item.party_name || item.ex_code)'>
|
|
|
|
+ <p>会员名称:{{ item.party_name || '-' }}</p>
|
|
|
|
+ <p>兑换码:{{ item.ex_code || '-' }}</p>
|
|
|
|
+ </span>
|
|
|
|
+ <span v-else-if='activeType === 1 && (item.ex_code)'>
|
|
|
|
+ <p>兑换码:{{ item.ex_code || '-' }}</p>
|
|
|
|
+ </span>
|
|
|
|
+ <span v-else>
|
|
|
|
+ <p>-</p>
|
|
</span>
|
|
</span>
|
|
<span>{{ item.ex_date || '-' }}</span>
|
|
<span>{{ item.ex_date || '-' }}</span>
|
|
- </p>
|
|
|
|
|
|
+ </div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<Empty v-else>
|
|
<Empty v-else>
|
|
@@ -198,27 +220,27 @@
|
|
</el-tabs>
|
|
</el-tabs>
|
|
</div>
|
|
</div>
|
|
<CustomDialog
|
|
<CustomDialog
|
|
- title="三方会员列表"
|
|
|
|
- class="exchange-dialog"
|
|
|
|
- top="30vh"
|
|
|
|
|
|
+ :disabled="thirdExchangePartyConfirmDisabled"
|
|
:showDialog.sync="thirdPartyExchange.inventoryListDialog"
|
|
:showDialog.sync="thirdPartyExchange.inventoryListDialog"
|
|
- confirmBtnText="立即获取兑换码"
|
|
|
|
- closePressEsc
|
|
|
|
|
|
+ class="exchange-dialog"
|
|
closeClickModal
|
|
closeClickModal
|
|
- :disabled="thirdExchangePartyConfirmDisabled"
|
|
|
|
|
|
+ closePressEsc
|
|
|
|
+ confirmBtnText="立即获取兑换码"
|
|
|
|
+ title="三方会员列表"
|
|
|
|
+ top="30vh"
|
|
@onConfirm="onExchangeThirdDialogConfirm"
|
|
@onConfirm="onExchangeThirdDialogConfirm"
|
|
>
|
|
>
|
|
<div slot="content" class="third-power-content">
|
|
<div slot="content" class="third-power-content">
|
|
<div class="third-power-select-list">
|
|
<div class="third-power-select-list">
|
|
<div
|
|
<div
|
|
- class="third-power-select-item"
|
|
|
|
v-for="item in thirdPartyExchange.thirdPowerList"
|
|
v-for="item in thirdPartyExchange.thirdPowerList"
|
|
:key="item.prize_id"
|
|
:key="item.prize_id"
|
|
- @click="clickThirdExchangePowerList(item)"
|
|
|
|
:class="{
|
|
:class="{
|
|
active: thirdPartyExchange.thirdPowerCheck === item.prize_id,
|
|
active: thirdPartyExchange.thirdPowerCheck === item.prize_id,
|
|
disabled: item.state === 0
|
|
disabled: item.state === 0
|
|
}"
|
|
}"
|
|
|
|
+ class="third-power-select-item"
|
|
|
|
+ @click="clickThirdExchangePowerList(item)"
|
|
>
|
|
>
|
|
<span class="t-p-s-item-label">{{ item.name }}</span>
|
|
<span class="t-p-s-item-label">{{ item.name }}</span>
|
|
<span class="t-p-s-item-check">
|
|
<span class="t-p-s-item-check">
|
|
@@ -227,17 +249,17 @@
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
- <div slot="footer" class="third-no-stock-tip" v-if="showThirdNotStockTip">
|
|
|
|
|
|
+ <div v-if="showThirdNotStockTip" slot="footer" class="third-no-stock-tip">
|
|
{{ thirdPartyExchange.errorTip.text }}
|
|
{{ thirdPartyExchange.errorTip.text }}
|
|
</div>
|
|
</div>
|
|
</CustomDialog>
|
|
</CustomDialog>
|
|
<CustomDialog
|
|
<CustomDialog
|
|
- title="获取成功"
|
|
|
|
- top="30vh"
|
|
|
|
- class="exchange-dialog"
|
|
|
|
- :showDialog.sync="thirdPartyExchange.successAlert"
|
|
|
|
:showCancelBtn="false"
|
|
:showCancelBtn="false"
|
|
|
|
+ :showDialog.sync="thirdPartyExchange.successAlert"
|
|
|
|
+ class="exchange-dialog"
|
|
confirmBtnText="我知道了"
|
|
confirmBtnText="我知道了"
|
|
|
|
+ title="获取成功"
|
|
|
|
+ top="30vh"
|
|
@onConfirm="thirdPartyExchange.successAlert = false"
|
|
@onConfirm="thirdPartyExchange.successAlert = false"
|
|
>
|
|
>
|
|
<div slot="content" class="third-exchange-success-list">
|
|
<div slot="content" class="third-exchange-success-list">
|
|
@@ -258,11 +280,14 @@ import { Input, Tabs, TabPane, Button, Link } from 'element-ui'
|
|
import { equityExchange, equityList } from '@/api/modules/pay'
|
|
import { equityExchange, equityList } from '@/api/modules/pay'
|
|
import {
|
|
import {
|
|
getActivityRecords,
|
|
getActivityRecords,
|
|
|
|
+ ajaxGetNewActivityEquityList,
|
|
|
|
+ ajaxGetNewActivityEquityProductList,
|
|
getActivityParties,
|
|
getActivityParties,
|
|
getActivityRedeem
|
|
getActivityRedeem
|
|
} from '@/api/modules/public'
|
|
} from '@/api/modules/public'
|
|
import Empty from '@/components/empty/Empty.vue'
|
|
import Empty from '@/components/empty/Empty.vue'
|
|
import CustomDialog from '@/components/dialog/Dialog.vue'
|
|
import CustomDialog from '@/components/dialog/Dialog.vue'
|
|
|
|
+
|
|
export default {
|
|
export default {
|
|
name: 'equityExchangeComponent',
|
|
name: 'equityExchangeComponent',
|
|
components: {
|
|
components: {
|
|
@@ -277,6 +302,7 @@ export default {
|
|
data() {
|
|
data() {
|
|
return {
|
|
return {
|
|
activeName: '1',
|
|
activeName: '1',
|
|
|
|
+ activeType: 0,
|
|
jianyuExchange: {
|
|
jianyuExchange: {
|
|
code: '',
|
|
code: '',
|
|
list: [],
|
|
list: [],
|
|
@@ -350,11 +376,18 @@ export default {
|
|
this.getThirdExchangeList()
|
|
this.getThirdExchangeList()
|
|
},
|
|
},
|
|
methods: {
|
|
methods: {
|
|
|
|
+ doSelectType (type) {
|
|
|
|
+ this.activeType = type
|
|
|
|
+ this.getThirdExchangeList()
|
|
|
|
+ },
|
|
getQuery() {
|
|
getQuery() {
|
|
- const { tab } = this.$route.query
|
|
|
|
|
|
+ const { tab, select } = this.$route.query
|
|
if (tab) {
|
|
if (tab) {
|
|
this.activeName = tab
|
|
this.activeName = tab
|
|
}
|
|
}
|
|
|
|
+ if (select?.length) {
|
|
|
|
+ this.activeType = Number(select) || 0
|
|
|
|
+ }
|
|
},
|
|
},
|
|
async getJyExchangeList() {
|
|
async getJyExchangeList() {
|
|
const { data } = await equityList()
|
|
const { data } = await equityList()
|
|
@@ -402,7 +435,8 @@ export default {
|
|
async getThirdExchangeList() {
|
|
async getThirdExchangeList() {
|
|
this.thirdPartyExchange.loading = true
|
|
this.thirdPartyExchange.loading = true
|
|
try {
|
|
try {
|
|
- const r = await getActivityRecords()
|
|
|
|
|
|
+ const ajaxFn = this.activeType === 0 ? getActivityRecords : ajaxGetNewActivityEquityList
|
|
|
|
+ const r = await ajaxFn()
|
|
const { error_code: code, data } = r
|
|
const { error_code: code, data } = r
|
|
if (code === 0 && data) {
|
|
if (code === 0 && data) {
|
|
this.thirdPartyExchange.pending = data.pending || []
|
|
this.thirdPartyExchange.pending = data.pending || []
|
|
@@ -442,6 +476,34 @@ export default {
|
|
this.$toast('获取兑换列表失败')
|
|
this.$toast('获取兑换列表失败')
|
|
}
|
|
}
|
|
},
|
|
},
|
|
|
|
+ async getNewOtherProductInfo (row) {
|
|
|
|
+ this.thirdPartyExchange.getCodeNow = row
|
|
|
|
+ const payload = {
|
|
|
|
+ pid: row.prize_id,
|
|
|
|
+ id: row.account_id
|
|
|
|
+ }
|
|
|
|
+ this.thirdPartyExchange.thirdPowerCheck = ''
|
|
|
|
+ try {
|
|
|
|
+ const r = await ajaxGetNewActivityEquityProductList(payload)
|
|
|
|
+ const { error_code: code, data } = r
|
|
|
|
+ if (code === 0 && Array.isArray(data)) {
|
|
|
|
+ this.thirdPartyExchange.thirdPowerList = data || []
|
|
|
|
+ // 默认选中赋值
|
|
|
|
+ if (data.length > 0) {
|
|
|
|
+ // do something
|
|
|
|
+ } else {
|
|
|
|
+ this.thirdPartyExchange.thirdPowerList = []
|
|
|
|
+ this.$toast('暂未获取到兑换列表')
|
|
|
|
+ }
|
|
|
|
+ } else {
|
|
|
|
+ this.thirdPartyExchange.thirdPowerList = []
|
|
|
|
+ this.$toast(r?.error_msg || '暂未获取到兑换列表')
|
|
|
|
+ }
|
|
|
|
+ } catch (error) {
|
|
|
|
+ console.log(error)
|
|
|
|
+ this.$toast( '获取兑换列表失败')
|
|
|
|
+ }
|
|
|
|
+ },
|
|
getThirdCodeNow(row) {
|
|
getThirdCodeNow(row) {
|
|
this.thirdPartyExchange.getCodeNow = row
|
|
this.thirdPartyExchange.getCodeNow = row
|
|
this.showInventoryListDialog(true)
|
|
this.showInventoryListDialog(true)
|
|
@@ -517,16 +579,39 @@ export default {
|
|
border-radius: 8px 8px 0 0;
|
|
border-radius: 8px 8px 0 0;
|
|
margin: 0;
|
|
margin: 0;
|
|
}
|
|
}
|
|
|
|
+
|
|
.el-tabs__item {
|
|
.el-tabs__item {
|
|
height: 50px;
|
|
height: 50px;
|
|
font-size: 16px;
|
|
font-size: 16px;
|
|
line-height: 50px;
|
|
line-height: 50px;
|
|
}
|
|
}
|
|
|
|
+
|
|
.el-tabs__nav-wrap {
|
|
.el-tabs__nav-wrap {
|
|
padding-left: 40px;
|
|
padding-left: 40px;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
|
|
|
|
+.other-equity-exchange-select-group {
|
|
|
|
+ padding: 10px 40px;
|
|
|
|
+ background-color: #fff;
|
|
|
|
+ border-bottom: 1px solid #ECECEC;
|
|
|
|
+ .other-equity-exchange-select-item {
|
|
|
|
+ display: inline-block;
|
|
|
|
+ border: 1px solid rgba(0, 0, 0, 0.1);
|
|
|
|
+ font-size: 13px;
|
|
|
|
+ line-height: 20px;
|
|
|
|
+ text-align: center;
|
|
|
|
+ color: rgba(95, 94, 100, 1);
|
|
|
|
+ padding: 4px 12px;
|
|
|
|
+ margin-right: 16px;
|
|
|
|
+ border-radius: 4px;
|
|
|
|
+ &.is-active {
|
|
|
|
+ background-color: #2ABED1;
|
|
|
|
+ color: #fff;
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+}
|
|
|
|
+
|
|
.exchange-dialog {
|
|
.exchange-dialog {
|
|
::v-deep {
|
|
::v-deep {
|
|
.jy-custom-dialog {
|
|
.jy-custom-dialog {
|
|
@@ -543,6 +628,7 @@ export default {
|
|
display: flex;
|
|
display: flex;
|
|
align-items: center;
|
|
align-items: center;
|
|
}
|
|
}
|
|
|
|
+
|
|
.equity-exchange {
|
|
.equity-exchange {
|
|
%bg {
|
|
%bg {
|
|
border-radius: 8px;
|
|
border-radius: 8px;
|
|
@@ -554,27 +640,32 @@ export default {
|
|
line-height: 24px;
|
|
line-height: 24px;
|
|
color: #1d1d1d;
|
|
color: #1d1d1d;
|
|
}
|
|
}
|
|
|
|
+
|
|
%item {
|
|
%item {
|
|
display: inline-block;
|
|
display: inline-block;
|
|
padding: 0 16px;
|
|
padding: 0 16px;
|
|
width: 33.33%;
|
|
width: 33.33%;
|
|
}
|
|
}
|
|
|
|
+
|
|
.exchange-header {
|
|
.exchange-header {
|
|
padding: 2px 0 26px;
|
|
padding: 2px 0 26px;
|
|
font-size: 24px;
|
|
font-size: 24px;
|
|
line-height: 36px;
|
|
line-height: 36px;
|
|
color: #1d1d1d;
|
|
color: #1d1d1d;
|
|
}
|
|
}
|
|
|
|
+
|
|
.exchange-list-hd {
|
|
.exchange-list-hd {
|
|
display: flex;
|
|
display: flex;
|
|
align-items: center;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
justify-content: space-between;
|
|
}
|
|
}
|
|
|
|
+
|
|
.exchange-handle {
|
|
.exchange-handle {
|
|
background: $white;
|
|
background: $white;
|
|
border-radius: 0 0 8px 8px;
|
|
border-radius: 0 0 8px 8px;
|
|
padding: 16px 16px 32px;
|
|
padding: 16px 16px 32px;
|
|
}
|
|
}
|
|
|
|
+
|
|
.ex-tips {
|
|
.ex-tips {
|
|
@extend %flex;
|
|
@extend %flex;
|
|
justify-content: center;
|
|
justify-content: center;
|
|
@@ -584,19 +675,23 @@ export default {
|
|
color: #f56500;
|
|
color: #f56500;
|
|
font-size: 14px;
|
|
font-size: 14px;
|
|
line-height: 22px;
|
|
line-height: 22px;
|
|
|
|
+
|
|
.tel {
|
|
.tel {
|
|
color: $main;
|
|
color: $main;
|
|
text-decoration: underline;
|
|
text-decoration: underline;
|
|
}
|
|
}
|
|
|
|
+
|
|
.icon-orange-phone {
|
|
.icon-orange-phone {
|
|
width: 20px;
|
|
width: 20px;
|
|
height: 20px;
|
|
height: 20px;
|
|
margin-right: 8px;
|
|
margin-right: 8px;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
+
|
|
.ex-input {
|
|
.ex-input {
|
|
@extend %flex;
|
|
@extend %flex;
|
|
padding: 16px 0;
|
|
padding: 16px 0;
|
|
|
|
+
|
|
.ex-input-label {
|
|
.ex-input-label {
|
|
padding: 0 22px 0 24px;
|
|
padding: 0 22px 0 24px;
|
|
flex-shrink: 0;
|
|
flex-shrink: 0;
|
|
@@ -604,86 +699,106 @@ export default {
|
|
line-height: 22px;
|
|
line-height: 22px;
|
|
color: #1d1d1d;
|
|
color: #1d1d1d;
|
|
}
|
|
}
|
|
|
|
+
|
|
.status-text {
|
|
.status-text {
|
|
@extend %flex;
|
|
@extend %flex;
|
|
margin-left: 18px;
|
|
margin-left: 18px;
|
|
flex-shrink: 0;
|
|
flex-shrink: 0;
|
|
font-size: 14px;
|
|
font-size: 14px;
|
|
line-height: 22px;
|
|
line-height: 22px;
|
|
|
|
+
|
|
i {
|
|
i {
|
|
margin-right: 8px;
|
|
margin-right: 8px;
|
|
}
|
|
}
|
|
|
|
+
|
|
&.error-status {
|
|
&.error-status {
|
|
color: #fe737a;
|
|
color: #fe737a;
|
|
}
|
|
}
|
|
|
|
+
|
|
&.success-status {
|
|
&.success-status {
|
|
color: $main;
|
|
color: $main;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
+
|
|
::v-deep {
|
|
::v-deep {
|
|
.el-input {
|
|
.el-input {
|
|
width: 590px;
|
|
width: 590px;
|
|
}
|
|
}
|
|
|
|
+
|
|
.error-input .el-input__inner:focus {
|
|
.error-input .el-input__inner:focus {
|
|
border-color: #f56500 !important;
|
|
border-color: #f56500 !important;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
+
|
|
.ex-btn {
|
|
.ex-btn {
|
|
margin: 16px 0 16px 88px;
|
|
margin: 16px 0 16px 88px;
|
|
width: 180px;
|
|
width: 180px;
|
|
height: 46px;
|
|
height: 46px;
|
|
font-size: 16px;
|
|
font-size: 16px;
|
|
}
|
|
}
|
|
|
|
+
|
|
.ex-desc {
|
|
.ex-desc {
|
|
margin-left: 88px;
|
|
margin-left: 88px;
|
|
|
|
+
|
|
p {
|
|
p {
|
|
color: #888888;
|
|
color: #888888;
|
|
font-size: 12px;
|
|
font-size: 12px;
|
|
line-height: 16px;
|
|
line-height: 16px;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
+
|
|
.exchange-list {
|
|
.exchange-list {
|
|
@extend %bg;
|
|
@extend %bg;
|
|
margin-top: 24px;
|
|
margin-top: 24px;
|
|
padding: 24px 40px;
|
|
padding: 24px 40px;
|
|
}
|
|
}
|
|
|
|
+
|
|
.list-title {
|
|
.list-title {
|
|
@extend %title;
|
|
@extend %title;
|
|
width: 100%;
|
|
width: 100%;
|
|
}
|
|
}
|
|
|
|
+
|
|
.list-table {
|
|
.list-table {
|
|
width: 100%;
|
|
width: 100%;
|
|
margin-top: 12px;
|
|
margin-top: 12px;
|
|
|
|
+
|
|
.t-thead {
|
|
.t-thead {
|
|
height: 40px;
|
|
height: 40px;
|
|
line-height: 40px;
|
|
line-height: 40px;
|
|
background: #f7f9fc;
|
|
background: #f7f9fc;
|
|
border-radius: 4px;
|
|
border-radius: 4px;
|
|
|
|
+
|
|
span {
|
|
span {
|
|
@extend %item;
|
|
@extend %item;
|
|
font-size: 14px;
|
|
font-size: 14px;
|
|
color: #686868;
|
|
color: #686868;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
+
|
|
&.third-processed-table {
|
|
&.third-processed-table {
|
|
span {
|
|
span {
|
|
&:nth-of-type(1) {
|
|
&:nth-of-type(1) {
|
|
width: 25%;
|
|
width: 25%;
|
|
}
|
|
}
|
|
|
|
+
|
|
&:nth-of-type(2) {
|
|
&:nth-of-type(2) {
|
|
width: 15%;
|
|
width: 15%;
|
|
}
|
|
}
|
|
|
|
+
|
|
&:nth-of-type(3) {
|
|
&:nth-of-type(3) {
|
|
width: 15%;
|
|
width: 15%;
|
|
}
|
|
}
|
|
|
|
+
|
|
&:nth-of-type(4) {
|
|
&:nth-of-type(4) {
|
|
width: 30%;
|
|
width: 30%;
|
|
}
|
|
}
|
|
|
|
+
|
|
&:nth-of-type(5) {
|
|
&:nth-of-type(5) {
|
|
width: 15%;
|
|
width: 15%;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
+
|
|
.t-list {
|
|
.t-list {
|
|
display: flex;
|
|
display: flex;
|
|
align-items: center;
|
|
align-items: center;
|
|
@@ -693,11 +808,13 @@ export default {
|
|
.t-body {
|
|
.t-body {
|
|
margin-top: 12px;
|
|
margin-top: 12px;
|
|
}
|
|
}
|
|
|
|
+
|
|
.t-list {
|
|
.t-list {
|
|
padding: 12px 0;
|
|
padding: 12px 0;
|
|
font-size: 16px;
|
|
font-size: 16px;
|
|
color: #1d1d1d;
|
|
color: #1d1d1d;
|
|
box-shadow: inset 0px -1px 0px rgba(0, 0, 0, 0.05);
|
|
box-shadow: inset 0px -1px 0px rgba(0, 0, 0, 0.05);
|
|
|
|
+
|
|
span {
|
|
span {
|
|
@extend %item;
|
|
@extend %item;
|
|
font-size: 16px;
|
|
font-size: 16px;
|
|
@@ -717,26 +834,32 @@ export default {
|
|
border-color: $color_main;
|
|
border-color: $color_main;
|
|
background: transparent;
|
|
background: transparent;
|
|
}
|
|
}
|
|
|
|
+
|
|
.e-card-container {
|
|
.e-card-container {
|
|
padding: 16px 40px;
|
|
padding: 16px 40px;
|
|
background: #fff;
|
|
background: #fff;
|
|
border-radius: 8px;
|
|
border-radius: 8px;
|
|
|
|
+
|
|
.e-card-header {
|
|
.e-card-header {
|
|
@extend %flex;
|
|
@extend %flex;
|
|
justify-content: space-between;
|
|
justify-content: space-between;
|
|
}
|
|
}
|
|
|
|
+
|
|
.e-card-title {
|
|
.e-card-title {
|
|
font-size: 16px;
|
|
font-size: 16px;
|
|
line-height: 24px;
|
|
line-height: 24px;
|
|
color: #1d1d1d;
|
|
color: #1d1d1d;
|
|
}
|
|
}
|
|
|
|
+
|
|
.e-card-content {
|
|
.e-card-content {
|
|
margin-top: 12px;
|
|
margin-top: 12px;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
+
|
|
.third-activity-rule {
|
|
.third-activity-rule {
|
|
color: #686868;
|
|
color: #686868;
|
|
}
|
|
}
|
|
|
|
+
|
|
.waiting-exchange-container {
|
|
.waiting-exchange-container {
|
|
border-radius: 0 0 8px 8px;
|
|
border-radius: 0 0 8px 8px;
|
|
}
|
|
}
|
|
@@ -753,9 +876,11 @@ export default {
|
|
color: #1d1d1d;
|
|
color: #1d1d1d;
|
|
border: 1px solid rgba(224, 224, 224, 1);
|
|
border: 1px solid rgba(224, 224, 224, 1);
|
|
cursor: pointer;
|
|
cursor: pointer;
|
|
|
|
+
|
|
&:not(:last-of-type) {
|
|
&:not(:last-of-type) {
|
|
margin-bottom: 12px;
|
|
margin-bottom: 12px;
|
|
}
|
|
}
|
|
|
|
+
|
|
.el-icon-check {
|
|
.el-icon-check {
|
|
font-size: 20px;
|
|
font-size: 20px;
|
|
display: none;
|
|
display: none;
|
|
@@ -764,10 +889,12 @@ export default {
|
|
&.active {
|
|
&.active {
|
|
color: $color_main;
|
|
color: $color_main;
|
|
border-color: $color_main;
|
|
border-color: $color_main;
|
|
|
|
+
|
|
.el-icon-check {
|
|
.el-icon-check {
|
|
display: block;
|
|
display: block;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
+
|
|
&.disabled {
|
|
&.disabled {
|
|
color: #999;
|
|
color: #999;
|
|
background-color: #f5f6f7;
|
|
background-color: #f5f6f7;
|
|
@@ -775,6 +902,7 @@ export default {
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
+
|
|
.third-no-stock-tip {
|
|
.third-no-stock-tip {
|
|
color: #ff3a20;
|
|
color: #ff3a20;
|
|
font-size: 14px;
|
|
font-size: 14px;
|