123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101 |
- <template>
- <view>
- <view class="display" v-for="(item,index) in list">
- <view class="store-content" @click="handleClick(item)">
- <image :src="image(item.goodsPic)" mode="" class="store-image"></image>
- <view class="text-content">
- <view class="font-thirty-two font-color2">
- {{item.goodsName}}
- </view>
- <view class="font-twenty font-color5" style="margin-top: 20rpx;">
- 类别:商品未通过审核
- </view>
- </view>
- </view>
- <!-- <view class="button-dis">
- <button type="default" class="btn">通过</button>
- <button type="default" class="btn color">不通过</button>
- </view> -->
- </view>
- </view>
- </template>
- <script>
- import server from "@/api/index";
- import http from '@/common/http.js'
- export default {
- data() {
- return {
- list:[]
- }
- },
- mounted() {
- this.getListFn()
- },
- methods: {
- showMOdel(){
- this.getListFn()
- },
- image(e) {
- return http.webUrl + e
- },
- handleClick(item){
- // if(item.type === '店铺'){
- // uni.navigateTo({
- // url: '/pages/manage/modifyInfo/modifyInfo?id=' + item.shopsId + '&flag="false"'
- // })
- // }else if(item.type === '商品'){
- uni.navigateTo({
- url: '/pages/manage/modifyInfo/addToOrder?id=' + item.goodsId + '&flag="false"'
- })
- // }
- },
- getListFn(){
- server.getShenGoodsList({goodsStatus :'3'}).then(res =>{
- this.list = [];
- if(res){
- this.list = res
- }
- })
- }
- }
- }
- </script>
- <style lang="scss" scoped>
- .display {
- margin: 30rpx 30rpx 0;
- padding: 30rpx;
- background: #FFFFFF;
- opacity: 1;
- border-radius: 8rpx;
- .store-content {
- display: flex;
- align-items: center;
- padding-bottom: 30rpx;
- border-bottom: 2rpx solid #DEDEDE;
- .store-image {
- width: 220rpx;
- height: 150rpx;
- }
- .text-content{
- margin-left: 30rpx;
- }
- }
- .button-dis {
- display: flex;
- margin-top: 30rpx;
- .btn {
- width: 300rpx;
- background: #2E4F1C;
- color: #FFFFFF;
- border-radius: 48rpx;
- }
- .color{
- background: #CC1019;
- }
- }
- }
- </style>
|