acdr-ui/dist/dev/mp-weixin/sheep/components/s-goods-column/s-goods-column.js.map

1 line
25 KiB
Plaintext
Raw Normal View History

2024-09-19 07:20:14 +08:00
{"version":3,"file":"s-goods-column.js","sources":["../../../../../../src/sheep/components/s-goods-column/s-goods-column.vue","../../../../../../uniComponent:/RDovQXBwL1dvcmsvYWRkci9hY2RyLXVpL3NyYy9zaGVlcC9jb21wb25lbnRzL3MtZ29vZHMtY29sdW1uL3MtZ29vZHMtY29sdW1uLnZ1ZQ"],"sourcesContent":["<!-- 页面 -->\r\n<template>\r\n <view class=\"ss-goods-wrap\">\r\n <!-- xs卡片横向紧凑型一行放两个图片左内容右边 -->\r\n <view\r\n v-if=\"size === 'xs'\"\r\n class=\"xs-goods-card ss-flex ss-col-stretch\"\r\n :style=\"[elStyles]\"\r\n @tap=\"onClick\"\r\n >\r\n <view v-if=\"tagStyle.show\" class=\"tag-icon-box\">\r\n <image class=\"tag-icon\" :src=\"sheep.$url.cdn(tagStyle.src || tagStyle.imgUrl)\"></image>\r\n </view>\r\n <image\r\n class=\"xs-img-box\"\r\n :src=\"sheep.$url.cdn(data.image || data.picUrl)\"\r\n mode=\"aspectFit\"\r\n ></image>\r\n <view\r\n v-if=\"goodsFields.title?.show || goodsFields.name?.show || goodsFields.price?.show\"\r\n class=\"xs-goods-content ss-flex-col ss-row-around\"\r\n >\r\n <view\r\n v-if=\"goodsFields.title?.show || goodsFields.name?.show\"\r\n class=\"xs-goods-title ss-line-1\"\r\n :style=\"[{ color: titleColor, width: titleWidth ? titleWidth + 'rpx' : '' }]\"\r\n >\r\n {{ data.title || data.name }}\r\n </view>\r\n <view\r\n v-if=\"goodsFields.price?.show\"\r\n class=\"xs-goods-price font-OPPOSANS\"\r\n :style=\"[{ color: goodsFields.price.color }]\"\r\n >\r\n <text class=\"price-unit ss-font-24\">{{ priceUnit }}</text>\r\n {{ isArray(data.price) ? fen2yuan(data.price[0]) : fen2yuan(data.price) }}\r\n </view>\r\n </view>\r\n </view>\r\n\r\n <!-- sm卡片竖向紧凑一行放三个图上内容下 -->\r\n <view v-if=\"size === 'sm'\" class=\"sm-goods-card ss-flex-col\" :style=\"[elStyles]\" @tap=\"onClick\">\r\n <view v-if=\"tagStyle.show\" class=\"tag-icon-box\">\r\n <image class=\"tag-icon\" :src=\"sheep.$url.cdn(tagStyle.src || tagStyle.imgUrl)\"></image>\r\n </view>\r\n <image\r\n class=\"sm-img-box\"\r\n :src=\"sheep.$url.cdn(data.image || data.picUrl)\"\r\n mode=\"aspectFill\"\r\n ></image>\r\n\r\n <view\r\n v-if=\"goodsFields.title?.show || goodsFields.name?.show || goodsFields.price?.show\"\r\n class=\"sm-goods-content\"\r\n :style=\"[{ color: titleColor, width: titleWidth ? titleWidth + 'rpx' : '' }]\"\r\n >\r\n <view\r\n v-if=\"goodsFields.title?.show || goodsFields.name?.show\"\r\n class=\"sm-goods-title ss-line-1 ss-m-b-16\"\r\n >\r\n {{ data.title || data.name }}\r\n </view>\r\n <view\r\n v-if=\"goodsFields.price?.show\"\r\n class=\"sm-goods-price font-OPPOSANS\"\r\n :style=\"[{ color: goodsFields.price.color }]\"\r\n >\r\n <text class=\"price-unit ss-font-24\">{{ priceUnit }}</text>\r\n {{ isArray(data.price) ? fen2yuan(data.price[0]) : fen2yuan(data.price) }}\r\n </view>\r\n </view>\r\n </view>\r\n\r\n <!-- md卡片竖向一行放两个图上内容下 -->\r\n <view v-if=\"size === 'md'\" class=\"md-goods-card ss-flex-col\" :style=\"[elStyles]\" @tap=\"onClick\">\r\n <view v-if=\"tagStyle.show\" class=\"tag-icon-box\">\r\n <image class=\"tag-icon\" :src=\"sheep.$url.cdn(tagStyle.src || tagStyle.imgUrl)\"></image>\r\n </view>\r\n <image\r\n class=\"md-img-box\"\r\n :src=\"sheep.$url.cdn(data.image || data.picUrl)\"\r\n mode=\"widthFix\"\r\n ></image>\r\n <view\r\n class=\"md-goods-content ss-flex-col ss-row-around ss-p-b-20 ss-p-t-20 ss-p-x-16\"\r\n :id=\"elId\"\r\n >\r\n <view\r\n v-if=\"goodsFields.title?.show || goodsFields.name?.show\"\r\n class=\"md-goods-title ss-line-1\"\r\n :style=\"[{ color: t