修改bug

This commit is contained in:
gaoxs
2020-08-10 17:40:29 +08:00
parent 3966b56c99
commit 67d134473c
4 changed files with 42 additions and 25 deletions

View File

@ -486,6 +486,7 @@ export default {
},
changeAddress(addressInfo) {
this.addressInfo = addressInfo;
this.getCartInfo()
},
createOrder() {
let shipping_type = this.shipping_type;

View File

@ -44,9 +44,7 @@
>
<view>
<text class="state">{{ item.title }}</text>
<view>
<data-format :date="item.addTime"></data-format>
</view>
<div>{{ dataFormat(item.addTime) }}</div>
</view>
<text class="num" v-if="item.pm == 1">+{{ item.number }}</text>
<text class="num font-color-red" v-if="item.pm == 0">-{{ item.number }}</text>
@ -74,12 +72,12 @@
<script>
import { getIntegralList, postSignUser } from "@/api/user";
import Loading from "@/components/Loading";
import DataFormat from "@/components/DataFormat";
import { dataFormat } from "@/utils";
export default {
name: "Integral",
components: {
Loading,
DataFormat
},
props: {},
data: function() {
@ -112,6 +110,7 @@ export default {
!this.loading && this.getInfo();
},
methods: {
dataFormat,
goSignIn() {
this.$yrouter.push("/pages/user/signIn/Sign/index");
},