优化修改头像提示报错的问题;修改积分时间错误的问题
This commit is contained in:
@ -9,7 +9,7 @@
|
|||||||
<view class="line1">{{ attr.productSelect.store_name }}</view>
|
<view class="line1">{{ attr.productSelect.store_name }}</view>
|
||||||
<view class="money font-color-red">
|
<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>
|
<text class="stock">库存: {{ attr.productSelect.stock }}</text>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
@ -68,6 +68,11 @@ export default {
|
|||||||
mounted: function () {
|
mounted: function () {
|
||||||
console.log(this);
|
console.log(this);
|
||||||
},
|
},
|
||||||
|
watch: {
|
||||||
|
attr(nextAttr) {
|
||||||
|
console.log(nextAttr);
|
||||||
|
},
|
||||||
|
},
|
||||||
methods: {
|
methods: {
|
||||||
closeAttr: function () {
|
closeAttr: function () {
|
||||||
this.$emit("changeFun", { action: "changeattr", value: false });
|
this.$emit("changeFun", { action: "changeattr", value: false });
|
||||||
|
@ -263,6 +263,7 @@ export default {
|
|||||||
that.posterData.price = that.storeInfo.price;
|
that.posterData.price = that.storeInfo.price;
|
||||||
that.posterData.code = that.storeInfo.code_base;
|
that.posterData.code = that.storeInfo.code_base;
|
||||||
that.domStatus = true;
|
that.domStatus = true;
|
||||||
|
console.log(this.storeInfo)
|
||||||
//that.getImageBase64();
|
//that.getImageBase64();
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
@ -321,10 +322,12 @@ export default {
|
|||||||
var attr = that.attr;
|
var attr = that.attr;
|
||||||
attr.productSelect.image = that.storeInfo.image;
|
attr.productSelect.image = that.storeInfo.image;
|
||||||
attr.productSelect.store_name = that.storeInfo.title;
|
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.productSelect.stock = that.storeInfo.stock;
|
||||||
attr.cartAttr = false;
|
attr.cartAttr = false;
|
||||||
|
console.log(that.storeInfo)
|
||||||
that.$set(that, "attr", attr);
|
that.$set(that, "attr", attr);
|
||||||
|
console.log(this)
|
||||||
},
|
},
|
||||||
openTeam: function() {
|
openTeam: function() {
|
||||||
var that = this;
|
var that = this;
|
||||||
|
@ -166,7 +166,7 @@ export default {
|
|||||||
}).then(
|
}).then(
|
||||||
res => {
|
res => {
|
||||||
this.$store.dispatch("userInfo", true);
|
this.$store.dispatch("userInfo", true);
|
||||||
this.$uni.showToast({
|
uni.showToast({
|
||||||
title: res.msg,
|
title: res.msg,
|
||||||
icon: "none",
|
icon: "none",
|
||||||
duration: 2000
|
duration: 2000
|
||||||
|
@ -44,7 +44,7 @@
|
|||||||
>
|
>
|
||||||
<view>
|
<view>
|
||||||
<text class="state">{{ item.title }}</text>
|
<text class="state">{{ item.title }}</text>
|
||||||
<div>{{ dataFormat(item.addTime) }}</div>
|
<div>{{ item.createTime }}</div>
|
||||||
</view>
|
</view>
|
||||||
<text class="num" v-if="item.pm == 1">+{{ item.number }}</text>
|
<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>
|
<text class="num font-color-red" v-if="item.pm == 0">-{{ item.number }}</text>
|
||||||
|
Reference in New Issue
Block a user