提交 63a9fbe0 authored 作者: 劳广强's avatar 劳广强

fix: 修复 提现弹窗奖金数量和奖金记录icon

上级 a2040177
...@@ -8,7 +8,7 @@ ...@@ -8,7 +8,7 @@
<view class="date">{{ item.created }}</view> <view class="date">{{ item.created }}</view>
</view> </view>
<view class="right"> <view class="right">
<image mode="aspectFill" class="icon" src="/static/icon/ic_jifen1@2x.png" /> <image mode="aspectFill" class="icon" src="/static/icon/ic_jifen@2x.png" />
<view class="number" v-if="item.status === 1">+ {{ getPrice(item.original_trans_amount) }}</view> <view class="number" v-if="item.status === 1">+ {{ getPrice(item.original_trans_amount) }}</view>
<view class="number" v-if="item.status === 2">- {{ getPrice(item.original_trans_amount) }}</view> <view class="number" v-if="item.status === 2">- {{ getPrice(item.original_trans_amount) }}</view>
</view> </view>
......
...@@ -65,7 +65,7 @@ export default { ...@@ -65,7 +65,7 @@ export default {
methods: { methods: {
onSubmitClick() { onSubmitClick() {
this.submitTitle = '提现'; this.submitTitle = '提现';
this.submitContent = '目前奖金 ' + this.userInfo.integral; this.submitContent = '目前奖金 ' + this.userInfo.integral / 100;
this.submitShowCancel = true; this.submitShowCancel = true;
this.submitShow = true; this.submitShow = true;
......
...@@ -10,7 +10,6 @@ module.exports = (vm) => { ...@@ -10,7 +10,6 @@ module.exports = (vm) => {
(config) => { (config) => {
config.data = config.data || {}; config.data = config.data || {};
// config.header.token = '1234qwer1234';
config.params.token = '1234qwer1234'; config.params.token = '1234qwer1234';
return config; return config;
}, },
......
...@@ -64,14 +64,14 @@ const base64_encode = (str) => { ...@@ -64,14 +64,14 @@ const base64_encode = (str) => {
out = ''; out = '';
while (i < len) { while (i < len) {
c1 = str.charCodeAt(i++) & 0xff; c1 = str.charCodeAt(i++) & 0xff;
if (i == len) { if (i === len) {
out += base64EncodeChars.charAt(c1 >> 2); out += base64EncodeChars.charAt(c1 >> 2);
out += base64EncodeChars.charAt((c1 & 0x3) << 4); out += base64EncodeChars.charAt((c1 & 0x3) << 4);
out += '=='; out += '==';
break; break;
} }
c2 = str.charCodeAt(i++); c2 = str.charCodeAt(i++);
if (i == len) { if (i === len) {
out += base64EncodeChars.charAt(c1 >> 2); out += base64EncodeChars.charAt(c1 >> 2);
out += base64EncodeChars.charAt(((c1 & 0x3) << 4) | ((c2 & 0xf0) >> 4)); out += base64EncodeChars.charAt(((c1 & 0x3) << 4) | ((c2 & 0xf0) >> 4));
out += base64EncodeChars.charAt((c2 & 0xf) << 2); out += base64EncodeChars.charAt((c2 & 0xf) << 2);
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论