You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

1 line
3.8 KiB

{"remainingRequest":"/Users/linhuakun/Downloads/coderlhk/bigbar-start/node_modules/vue-loader/lib/index.js??vue-loader-options!/Users/linhuakun/Downloads/coderlhk/bigbar-start/src/views/category/childComps/SearchListItem.vue?vue&type=script&lang=js&","dependencies":[{"path":"/Users/linhuakun/Downloads/coderlhk/bigbar-start/src/views/category/childComps/SearchListItem.vue","mtime":1616333135928},{"path":"/Users/linhuakun/Downloads/coderlhk/bigbar-start/node_modules/babel-loader/lib/index.js","mtime":499162500000},{"path":"/Users/linhuakun/Downloads/coderlhk/bigbar-start/node_modules/cache-loader/dist/cjs.js","mtime":499162500000},{"path":"/Users/linhuakun/Downloads/coderlhk/bigbar-start/node_modules/vue-loader/lib/index.js","mtime":499162500000}],"contextDependencies":[],"result":[{"type":"Buffer","data":"base64:Ly8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KCgpleHBvcnQgZGVmYXVsdCB7CiAgbmFtZTogIlNlYXJjaExpc3RJdGVtIiwKICBjb21wb25lbnRzOiB7CiAgfSwKICBkYXRhKCl7CiAgICByZXR1cm4gewogICAgICBvcmRlcmRhdGE6ewogICAgICAgIG5hbWU6IiIsCiAgICAgICAgdGVsZXBob25lOiIiLAogICAgICAgIGFkZHJlc3M6IiIsCiAgICAgICAgaW1hZ2U6IiIsCiAgICAgICAgdGl0bGU6IiIsCiAgICAgICAgZGVzYzoiIiwKICAgICAgICBwcmljZToiIiwKICAgICAgfQogICAgfQogIH0sCiAgcHJvcHM6ewogICAgaXRlbUluZm86ewogICAgICB0eXBlOk9iamVjdCwKICAgICAgZGVmYXVsdCgpewogICAgICAgIHJldHVybiB7fQogICAgICB9CiAgICB9CiAgfSwKICBtZXRob2RzOnsKICAgIGNoZWNrQ2xpY2soKXsKICAgICAgdGhpcy5pdGVtSW5mby5jaGVja2VkPSF0aGlzLml0ZW1JbmZvLmNoZWNrZWQKICAgIH0sCiAgICBpdGVtQ2xpY2soKXsKICAgIHRoaXMuJHJvdXRlci5wdXNoKCcvZGV0YWlsLycrdGhpcy5pdGVtSW5mby5icmFuZF9pZCkKICAgIH0KICB9Cn0K"},{"version":3,"sources":["SearchListItem.vue"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;AAkBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA","file":"SearchListItem.vue","sourceRoot":"src/views/category/childComps","sourcesContent":["<template>\n <div id=\"shop-item\">\n <van-swipe-cell >\n <van-card\n :num=\"itemInfo.count\"\n :price=\"itemInfo.price\"\n :desc=\"itemInfo.desc\"\n :title=\"itemInfo.title\"\n class=\"goods-card\"\n :thumb=\"itemInfo.picture\"\n @click=\"itemClick()\"\n />\n</van-swipe-cell>\n </div>\n</template>\n\n<script>\n\n export default {\n name: \"SearchListItem\",\n components: {\n },\n data(){\n return {\n orderdata:{\n name:\"\",\n telephone:\"\",\n address:\"\",\n image:\"\",\n title:\"\",\n desc:\"\",\n price:\"\",\n }\n }\n },\n props:{\n itemInfo:{\n type:Object,\n default(){\n return {}\n }\n }\n },\n methods:{\n checkClick(){\n this.itemInfo.checked=!this.itemInfo.checked\n },\n itemClick(){\n this.$router.push('/detail/'+this.itemInfo.brand_id)\n }\n }\n }\n</script>\n\n<style scoped>\n #shop-item {\n width: 100%;\n display: flex;\n font-size: 0;\n padding: 5px;\n background-color: #fff;\n }\n\n .item-selector {\n width: 14%;\n display: flex;\n justify-content: center;\n align-items: center;\n }\n\n .item-title, .item-desc {\n overflow: hidden;\n white-space: nowrap;\n text-overflow: ellipsis;\n }\n\n .item-img {\n padding: 5px;\n /*border: 1px solid #ccc;*/\n }\n\n .item-img img {\n width: 80px;\n height: 100px;\n display: block;\n border-radius: 5px;\n }\n\n .item-info {\n font-size: 17px;\n color: #333;\n padding: 5px 10px;\n position: relative;\n overflow: hidden;\n }\n\n .item-info .item-desc {\n font-size: 14px;\n color: #666;\n margin-top: 15px;\n }\n\n .info-bottom {\n margin-top: 10px;\n position: absolute;\n bottom: 10px;\n left: 10px;\n right: 10px;\n }\n\n .info-bottom .item-price {\n color: orangered;\n }\n</style>\n"]}]}