diff --git a/src/project/pidu/AppPointsChange/AppPointsChange.vue b/src/project/pidu/AppPointsChange/AppPointsChange.vue
index 0feb3033..59bde694 100644
--- a/src/project/pidu/AppPointsChange/AppPointsChange.vue
+++ b/src/project/pidu/AppPointsChange/AppPointsChange.vue
@@ -14,7 +14,7 @@
最新上架
-
价格⏶⏷
+
价格⏶⏷
可兑换的
@@ -215,6 +215,9 @@ export default {
.active {
color: #CA906A;
}
+ .mar-l8 {
+ margin-left: 8px;
+ }
}
.sure {
img {
diff --git a/src/project/pidu/AppPointsChange/detail.vue b/src/project/pidu/AppPointsChange/detail.vue
index 922c4d0d..b33f7273 100644
--- a/src/project/pidu/AppPointsChange/detail.vue
+++ b/src/project/pidu/AppPointsChange/detail.vue
@@ -1,7 +1,7 @@
-
+
{{goodsInfo.merchandiseName}}
@@ -53,6 +53,15 @@ export default {
}
})
},
+ imgClick(index) {
+ this.previewImages(this.list, this.list[index].image)
+ },
+ previewImages(images, img) {
+ uni.previewImage({
+ urls: images.map(v => v.image),
+ current: img
+ })
+ },
},
}
diff --git a/src/project/pidu/AppPointsChange/order.vue b/src/project/pidu/AppPointsChange/order.vue
index 5c2e7e75..c6ae2a30 100644
--- a/src/project/pidu/AppPointsChange/order.vue
+++ b/src/project/pidu/AppPointsChange/order.vue
@@ -74,19 +74,22 @@ export default {
})
},
submit() {
- this.$http.post(`/app/appintegralmerchandiseorder/addOrUpdate`, {
- merchandiseId: this.id,
- merchandiseNumber: this.number,
- remark: this.remark
- }).then((res) => {
- if (res.code == 0) {
- this.$u.toast('提交成功')
- uni.$emit('updateList')
- setTimeout(() => {
- uni.navigateBack({delta: 2})
- }, 600)
- }
+ this.$confirm('是否确认提交订单?').then(() => {
+ this.$http.post(`/app/appintegralmerchandiseorder/addOrUpdate`, {
+ merchandiseId: this.id,
+ merchandiseNumber: this.number,
+ remark: this.remark
+ }).then((res) => {
+ if (res.code == 0) {
+ this.$u.toast('提交成功')
+ uni.$emit('updateList')
+ setTimeout(() => {
+ uni.navigateBack({delta: 2})
+ }, 600)
+ }
+ })
})
+
},
},
}