|
@@ -1,6 +1,6 @@
|
|
|
<template>
|
|
<template>
|
|
|
-<view class="product" :class="[info.status ==2?'sold-out':'']">
|
|
|
|
|
- <view class="item-cmd_bx">
|
|
|
|
|
|
|
+<view class="product">
|
|
|
|
|
+ <view class="item-cmd_bx" :class="[info.status ==2?'sold-out':'']">
|
|
|
<view class="img_bx">
|
|
<view class="img_bx">
|
|
|
<app-img :src="info.cover" alt="花材" mode="aspectFit" :height="160" />
|
|
<app-img :src="info.cover" alt="花材" mode="aspectFit" :height="160" />
|
|
|
</view>
|
|
</view>
|
|
@@ -17,6 +17,7 @@
|
|
|
</view>
|
|
</view>
|
|
|
</view>
|
|
</view>
|
|
|
</view>
|
|
</view>
|
|
|
|
|
+ <text class="bottom-button" @click.stop="goToOrderDetail(info.id)">订单明细</text>
|
|
|
<text class="bottom-button" @click.stop="goToStockDetail(info.id)">库存明细</text>
|
|
<text class="bottom-button" @click.stop="goToStockDetail(info.id)">库存明细</text>
|
|
|
<text class="bottom-button" @click.stop="goToProduct(info.id)">分享</text>
|
|
<text class="bottom-button" @click.stop="goToProduct(info.id)">分享</text>
|
|
|
</view>
|
|
</view>
|
|
@@ -52,6 +53,10 @@ export default {
|
|
|
};
|
|
};
|
|
|
},
|
|
},
|
|
|
methods: {
|
|
methods: {
|
|
|
|
|
+ goToOrderDetail(id){
|
|
|
|
|
+ this.$msg('开发中')
|
|
|
|
|
+ //this.$util.pageTo({url: "/pagesStorehouse/stockWarn/detailed?id="+id})
|
|
|
|
|
+ },
|
|
|
goToStockDetail(id){
|
|
goToStockDetail(id){
|
|
|
this.$util.pageTo({url: "/pagesStorehouse/stockWarn/detailed?id="+id})
|
|
this.$util.pageTo({url: "/pagesStorehouse/stockWarn/detailed?id="+id})
|
|
|
},
|
|
},
|
|
@@ -92,6 +97,7 @@ export default {
|
|
|
color:#aaa9a9;
|
|
color:#aaa9a9;
|
|
|
}
|
|
}
|
|
|
.item-cmd_bx {
|
|
.item-cmd_bx {
|
|
|
|
|
+ height:160rpx;
|
|
|
position: relative;
|
|
position: relative;
|
|
|
margin-bottom: 20px;
|
|
margin-bottom: 20px;
|
|
|
.img_bx {
|
|
.img_bx {
|
|
@@ -157,4 +163,4 @@ export default {
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
-</style>
|
|
|
|
|
|
|
+</style>
|