|
@@ -163,7 +163,7 @@
|
|
|
</el-tabs>
|
|
|
</div>
|
|
|
<el-dialog title="物品详情" :visible.sync="dialogVisible" width="40%">
|
|
|
- <div v-html="data.skuDesc"></div>
|
|
|
+ <div v-html="skuDesc"></div>
|
|
|
</el-dialog>
|
|
|
|
|
|
</div>
|
|
@@ -176,7 +176,7 @@ export default {
|
|
|
data() {
|
|
|
return {
|
|
|
dialogVisible: false,
|
|
|
- data:{},
|
|
|
+ skuDesc:'',
|
|
|
bannerList: [],
|
|
|
page: 1,
|
|
|
pages: 1,
|
|
@@ -256,17 +256,13 @@ export default {
|
|
|
})
|
|
|
},
|
|
|
handleClickGood(id) {
|
|
|
- this.getDataInfo(id);
|
|
|
- if(this.skuDesc){
|
|
|
- this.dialogVisible = true;
|
|
|
- }
|
|
|
- // this.dialogVisible = true;
|
|
|
- // this.$router.push({
|
|
|
- // path: '/home/pointsMall/goodDetail',
|
|
|
- // query: {
|
|
|
- // id: id,
|
|
|
- // }
|
|
|
- // });
|
|
|
+ integralInfo({skuId:id}).then(response => {
|
|
|
+ this.skuDesc = response.data.data.skuDesc;
|
|
|
+ if(this.skuDesc){
|
|
|
+ this.dialogVisible = true;
|
|
|
+ }
|
|
|
+ }).catch(() => {})
|
|
|
+
|
|
|
},
|
|
|
handleFilter() {
|
|
|
this.page = 1;
|