Browse Source

新增提币记录中的撤销按钮1

master
liaoxinyu 2 years ago
parent
commit
9acfa7f13f
  1. 2
      api/serve/index.js
  2. 28
      main.html
  3. 3
      manifest.json
  4. 8
      pages/assets/records.vue
  5. BIN
      static/favicon.ico

2
api/serve/index.js

@ -88,7 +88,7 @@ x.fn = x.prototype = {
&& newMsg!='_article_detail' && newMsg!='_contract_getSymbolDetail' && newMsg!='_categoryList' && newMsg!='_articleList'
&& newMsg!='_user_wdcode' && newMsg!='_register_Graph_che' && newMsg!='_register_sendEmailCode'
&& newMsg!='_college' && newMsg!='_exchange_getCoinInfo' && newMsg!='_user_primaryAuth' && newMsg!='_exchange_getCurrentEntrust'
&& newMsg!='_wallet_getBalance' && newMsg!='_contract_getMarketInfo'&& newMsg!='_contract_openNum'){
&& newMsg!='_wallet_getBalance' && newMsg!='_contract_getMarketInfo'&& newMsg!='_contract_openNum' && newMsg!='_user_withdrawalRecord'){
resolve(Cache.get(newMsg).data);
}
uni.request({

28
main.html

@ -0,0 +1,28 @@
<!DOCTYPE html>
<html lang="zh-CN">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<link rel="icon" href="/static/favicon.ico">
<title>
<%= htmlWebpackPlugin.options.title %>
</title>
<!-- Open Graph data -->
<!-- <meta property="og:title" content="Title Here" /> -->
<!-- <meta property="og:url" content="http://www.example.com/" /> -->
<!-- <meta property="og:image" content="http://example.com/image.jpg" /> -->
<!-- <meta property="og:description" content="Description Here" /> -->
<script>
var coverSupport = 'CSS' in window && typeof CSS.supports === 'function' && (CSS.supports('top: env(a)') || CSS.supports('top: constant(a)'))
document.write('<meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0' + (coverSupport ? ', viewport-fit=cover' : '') + '" />')
</script>
<link rel="stylesheet" href="<%= BASE_URL %>static/index.<%= VUE_APP_INDEX_CSS_HASH %>.css" />
</head>
<body>
<noscript>
<strong>Please enable JavaScript to continue.</strong>
</noscript>
<div id="app"></div>
<!-- built files will be auto injected -->
</body>
</html>

3
manifest.json

@ -112,6 +112,7 @@
"router" : {
"base" : "./"
},
"domain" : "https://app.pnecoin.com"
"domain" : "https://app.pnecoin.com",
"template" : "main.html"
}
}

8
pages/assets/records.vue

@ -25,8 +25,8 @@
</thead>
<tbody>
<tr class="color-light trChange p-x-md rounded-md" style="height: 40px;" v-for="item in list" :key="item.id">
<!-- <td class="p-y-xs p-l-md rounded-tl-sm rounded-bl-sm fn-sm"> -->
<td class="p-y-xs rounded-tl-sm rounded-bl-sm fn-sm">
<td class="p-y-xs p-l-md rounded-tl-sm rounded-bl-sm fn-sm">
<!-- <td class="p-y-xs rounded-tl-sm rounded-bl-sm fn-sm"> -->
{{ item.datetime | parseTime }}
</td>
<td v-if="type=='draw'">
@ -42,8 +42,8 @@
<span class="color-default">({{ item.coin_name }})</span>
</td>
<td class="" v-if="item.status==0">
<button style="color: black;background-color: red;width: 60px;height: 30px;font-size: 12px;"
@click="cancelWithdraw(item)">{{$t('exchange.g4')}}</button>
<span style="color: #4381F6;width: 60px;height: 30px;font-size: 12px;"
@click="cancelWithdraw(item)">{{$t('exchange.g4')}}</span>
</td>
</tr>
<!-- <tr v-if="loadMore">

BIN
static/favicon.ico

Binary file not shown.

After

Width:  |  Height:  |  Size: 17 KiB

Loading…
Cancel
Save