2、拼团收藏点击收藏显示的黑色,应该是红色吧 3、拼团开团选择规格 价格上面商品标题没显示 4、下单余额支付 立即结算怎么付款不了,其实是付款 怎么还是当前页面 什么也没提示,就提示订单生成中 6、拼团海报显示的原价是null 7、秒杀列表 限时价格没出来(后端返回如果sku多个返回最小价格) 8、秒杀详情价格没出来,立刻购买旁边还有原价购买(看下原来h5),收藏的按钮也显示出来 10、砍价点击立刻砍价下 提示的框跑到右下角了!!! 11、我的商品收藏一直加载中数据出不来 13、商户管理 订单详情下单时间显示不对 14、优惠券背景也没显示出来,首页天天惠买单跳转到领取优惠券页面,不是我到优惠券页面 15、下次再次提交体验版 把充值也放开,也一块测试测试 16、立即提现页面,上面到微信与支付宝tab替换成普通到tab,不要这样子的,替换成跟下单时候选择快递配送或者到店自提那种tab 17、提现没有提示,当前金额0,提现金额1,提交的时候提示下提现金额足不
117 lines
3.2 KiB
Vue
117 lines
3.2 KiB
Vue
<template>
|
|
<view class="my-account">
|
|
<view class="wrapper">
|
|
<view class="header">
|
|
<view class="headerCon">
|
|
<view class="account acea-row row-top row-between">
|
|
<view class="assets">
|
|
<view>总资产(元)</view>
|
|
<view class="money">{{ now_money }}</view>
|
|
</view>
|
|
<navigator url="/pages/user/Recharge/index" class="recharge font-color-red">充值</navigator>
|
|
</view>
|
|
<view class="cumulative acea-row row-top">
|
|
<view class="item">
|
|
<view>累计消费(元)</view>
|
|
<view class="money">{{ orderStatusSum }}</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
<view class="nav acea-row row-middle">
|
|
<view class="item" @click="goUserBill(0)">
|
|
<view class="pictrue">
|
|
<image src="@/static/images/record1.png" />
|
|
</view>
|
|
<view>账单记录</view>
|
|
</view>
|
|
<view class="item" @click="goUserBill(1)">
|
|
<view class="pictrue">
|
|
<image src="@/static/images/record2.png" />
|
|
</view>
|
|
<view>消费记录</view>
|
|
</view>
|
|
<view class="item" @click="goUserBill(2)">
|
|
<view class="pictrue">
|
|
<image src="@/static/images/record3.png" />
|
|
</view>
|
|
<view>充值记录</view>
|
|
</view>
|
|
</view>
|
|
<view class="advert acea-row row-between-wrapper"></view>
|
|
</view>
|
|
<Recommend></Recommend>
|
|
</view>
|
|
</template>
|
|
<script>
|
|
import Recommend from "@/components/Recommend";
|
|
import { getActivityStatus, getBalance } from "@/api/user";
|
|
export default {
|
|
name: "UserAccount",
|
|
components: {
|
|
Recommend
|
|
},
|
|
props: {},
|
|
data: function() {
|
|
return {
|
|
now_money: 0,
|
|
orderStatusSum: 0,
|
|
recharge: 0,
|
|
activity: {
|
|
is_bargin: false,
|
|
is_pink: false,
|
|
is_seckill: false
|
|
}
|
|
};
|
|
},
|
|
onShow: function() {
|
|
this.getIndex();
|
|
this.getActivity();
|
|
},
|
|
methods: {
|
|
goUserBill(types) {
|
|
this.$yrouter.push({
|
|
path: "/pages/user/UserBill/index",
|
|
query: { types }
|
|
});
|
|
},
|
|
getIndex: function() {
|
|
let that = this;
|
|
getBalance().then(
|
|
res => {
|
|
that.now_money = res.data.now_money;
|
|
that.orderStatusSum = res.data.orderStatusSum;
|
|
that.recharge = res.data.recharge;
|
|
},
|
|
err => {
|
|
uni.showToast({
|
|
title:
|
|
err.msg || err.response.data.msg || err.response.data.message,
|
|
icon: "none",
|
|
duration: 2000
|
|
});
|
|
}
|
|
);
|
|
},
|
|
getActivity: function() {
|
|
let that = this;
|
|
getActivityStatus().then(
|
|
res => {
|
|
that.activity.is_bargin = res.data.is_bargin;
|
|
that.activity.is_pink = res.data.is_pink;
|
|
that.activity.is_seckill = res.data.is_seckill;
|
|
},
|
|
err => {
|
|
uni.showToast({
|
|
title:
|
|
err.msg || err.response.data.msg || err.response.data.message,
|
|
icon: "none",
|
|
duration: 2000
|
|
});
|
|
}
|
|
);
|
|
}
|
|
}
|
|
};
|
|
</script>
|