Browse Source

优化修改头像提示报错的问题;修改积分时间错误的问题

master
gaoxs 4 years ago
parent
commit
bedfd9113e
  1. 7
      components/ProductWindow.vue
  2. 5
      pages/activity/GroupDetails/index.vue
  3. 2
      pages/user/PersonalData/index.vue
  4. 2
      pages/user/signIn/Integral/index.vue

7
components/ProductWindow.vue

@ -9,7 +9,7 @@
<view class="line1">{{ attr.productSelect.store_name }}</view>
<view class="money font-color-red">
<text class="num">{{ attr.productSelect.price+'' }}</text>
<text class="num">{{ attr.productSelect.price}}</text>
<text class="stock">库存: {{ attr.productSelect.stock }}</text>
</view>
</view>
@ -68,6 +68,11 @@ export default {
mounted: function () {
console.log(this);
},
watch: {
attr(nextAttr) {
console.log(nextAttr);
},
},
methods: {
closeAttr: function () {
this.$emit("changeFun", { action: "changeattr", value: false });

5
pages/activity/GroupDetails/index.vue

@ -263,6 +263,7 @@ export default {
that.posterData.price = that.storeInfo.price;
that.posterData.code = that.storeInfo.code_base;
that.domStatus = true;
console.log(this.storeInfo)
//that.getImageBase64();
});
},
@ -321,10 +322,12 @@ export default {
var attr = that.attr;
attr.productSelect.image = that.storeInfo.image;
attr.productSelect.store_name = that.storeInfo.title;
attr.productSelect.price = that.storeInfo.price;
attr.productSelect.price = that.storeInfo.price+'';
attr.productSelect.stock = that.storeInfo.stock;
attr.cartAttr = false;
console.log(that.storeInfo)
that.$set(that, "attr", attr);
console.log(this)
},
openTeam: function() {
var that = this;

2
pages/user/PersonalData/index.vue

@ -166,7 +166,7 @@ export default {
}).then(
res => {
this.$store.dispatch("userInfo", true);
this.$uni.showToast({
uni.showToast({
title: res.msg,
icon: "none",
duration: 2000

2
pages/user/signIn/Integral/index.vue

@ -44,7 +44,7 @@
>
<view>
<text class="state">{{ item.title }}</text>
<div>{{ dataFormat(item.addTime) }}</div>
<div>{{ item.createTime }}</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>

Loading…
Cancel
Save