Files
AnHanNET-UniAPP/pages/tabbar/home/home.vue
YangWork 3ea011d565 进一步完善个人资料页面
Signed-off-by: YangWork <yang@xixingwl.cn>
2023-02-17 18:03:47 +08:00

1441 lines
49 KiB
Vue
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<template>
<view>
<view class="warp">
<uni-nav-bar fixed="true" statusBar="true" leftWidth="10px" right-width="10px">
<view style="display: flex; align-items: center; width: 100%; background-color: transparent; ">
<uni-search-bar @confirm="search" v-model="searchValue" @input="input" clearButton="always"
cancelButton="none" @clear="scan">
<template v-slot:clearIcon>
<uni-icons color="#999999" size="18" type="scan" />
</template>
</uni-search-bar>
</view>
</uni-nav-bar>
<!-- 个人中心页方格列表数据 -->
<view class="Grid">
<view class="Grid-Item">
<view class="Grid-Item-1">
<image class="GSimg" src="../../../static/logo.png"></image>
<view class="GStitle">新闻动态</view>
</view>
</view>
<view class="Grid-Item">
<view class="Grid-Item-1">
<image class="GSimg" src="../../../static/logo.png"></image>
<view class="GStitle">视频教程</view>
</view>
</view>
<view class="Grid-Item">
<view class="Grid-Item-1">
<image class="GSimg" src="../../../static/logo.png"></image>
<view class="GStitle">产品追溯</view>
</view>
</view>
<view class="Grid-Item">
<view class="Grid-Item-1">
<image class="GSimg" src="../../../static/logo.png"></image>
<view class="GStitle">车架查询</view>
</view>
</view>
</view>
<view class="MsgList">
<view class="MlSon" v-for="item in List1" :key="item.id">
<view class="MlSonvBox">
<view class="SonOfImg">
<image class="Img" :src="item.img"></image>
</view>
<view class="SonOfName">
<view class="SNTop">
{{item.title}}
</view>
<view class="SNBom">
<view class="SBleft">
左边信息
</view>
<view class="SBright">
右边信息
</view>
</view>
</view>
</view>
</view>
</view>
<uni-section title="最热商品" type="line"><button class="button-box" @click="select">切换视图</button></uni-section>
<!-- 基于 uni-list 的页面布局 -->
<uni-list :class="{ 'uni-list--waterfall': options.waterfall }">
<!-- 通过 uni-list--waterfall 类决定页面布局方向 -->
<!-- to 属性携带参数跳转详情页面当前只为参考 -->
<uni-list-item :border="!options.waterfall" class="uni-list-item--waterfall" title="自定义商品列表"
v-for="item in lists" :key="item._id" :to="'/pages/detail/detail?id='+item._id+'&title='+item.name">
<!-- 通过header插槽定义列表左侧图片 -->
<template v-slot:header>
<view class="uni-thumb shop-picture" :class="{ 'shop-picture-column': options.waterfall }">
<image :src="item.goods_thumb" mode="aspectFill"></image>
</view>
</template>
<template v-slot:body>
<view class="shop">
<view>
<view class="uni-title">
<text class="uni-ellipsis-2">{{ item.name }}</text>
</view>
<view>
<text class="uni-tag hot-tag">{{ item.goods_tip }}</text>
<text v-for="tag in item.tag" :key="tag" class="uni-tag">{{ tag }}</text>
</view>
</view>
<view>
<view class="shop-price">
<text>¥</text>
<text class="shop-price-text">{{ item.goods_price }}</text>
<text>.00</text>
</view>
<view class="uni-note">{{ item.comment_count }}条评论 月销量 {{ item.month_sell_count }}
</view>
<view class="uni-note ellipsis">
<text class="uni-ellipsis-1">{{ item.shop_name }}</text>
<text class="uni-link">进店 ></text>
</view>
</view>
</view>
</template>
<!-- 通过body插槽定义商品布局 -->
</uni-list-item>
</uni-list>
</view>
</view>
</template>
<script>
export default {
data() {
return {
options: {
waterfall: false, // 布局方向切换
status: 'loading', // 加载状态
},
tipShow: false, // 是否显示顶部提示框
searchValue: '123123',
List1: [{
id: 1,
img: '../../../static/logo.png',
title: "这是标题超出两行的部分会被作为省略号隐藏,您也可以根据需求将其设为超出一行隐藏",
msg: "这是提示信息"
},
{
id: 2,
img: '../../../static/logo.png',
title: "这是标题超出部分会被作为省略号隐藏",
msg: "这是提示信息"
},
{
id: 2,
img: '../../../static/logo.png',
title: "这是标题超出部分会被作为省略号隐藏",
msg: "这是提示信息"
},
{
id: 2,
img: '../../../static/logo.png',
title: "这是标题超出部分会被作为省略号隐藏",
msg: "这是提示信息"
}
],
lists: [{
"category_id": "", // 分类id
"goods_sn": "", // 商品的唯一货号
"name": "Apple iPhone X 256GB 深空灰色 移动联通电信4G手机", // 商品名称
"keywords": "手机,iPhone", // 商品关键字,为搜索引擎收录使用
"goods_desc": "", // 商品详细描述
"goods_thumb": "https://vkceyugu.cdn.bspapp.com/VKCEYUGU-f184e7c3-1912-41b2-b81f-435d1b37c7b4/2889c979-f69c-44f2-b631-14d864a3a0e3.jpg", // 商品缩略图,用于在列表或搜索结果中预览显示
"goods_banner_imgs": "", // 商品详情页的banner图地址
"goods_price": "9999", // 商品价格
"remain_count": "999999", // 库存数量
"month_sell_count": "640", // 月销量
"total_sell_count": "28512", // 总销量
"comment_count": "980021", // 累计评论数
"is_real": true, // 是否实物
"is_on_sale": true, // 是否上架销售
"is_alone_sale": true, // 是否能单独销售;如果不能单独销售,则只能作为某商品的配件或者赠品销售
"is_best": false, // 是否精品
"is_new": true, // 是否新品
"is_hot": false, // 是否热销
"add_date": "2020-8-26 09:37:21", // 上架时间
"last_modify_date": "2020-8-26 09:37:21", // 最后修改时间
"seller_note": "", //商家备注,仅商家可见
"shop_name": "京东商城网上自营专卖店",
"tag": ["手机", "iPhone"],
"goods_tip": "自营"
}, {
"category_id": "",
"goods_sn": "",
"name": "Apple iPad 平板电脑 2018年新款9.7英寸",
"keywords": "手机,iPhone",
"goods_desc": "",
"goods_thumb": "https://vkceyugu.cdn.bspapp.com/VKCEYUGU-f184e7c3-1912-41b2-b81f-435d1b37c7b4/2e0f2e26-585e-41f7-aab2-30710c706885.jpg",
"goods_banner_imgs": "",
"goods_price": "3499",
"remain_count": "999999",
"month_sell_count": "640",
"total_sell_count": "28512",
"comment_count": "12",
"is_real": true,
"is_on_sale": true,
"is_alone_sale": true,
"is_best": false,
"is_new": true,
"is_hot": false,
"add_date": "2020-8-26 09:37:21",
"last_modify_date": "2020-8-26 09:37:21",
"seller_note": "",
"shop_name": "手机专卖店",
"tag": ["手机", "iPhone"],
"goods_tip": "优惠"
}, {
"category_id": "",
"goods_sn": "",
"name": "Apple MacBook Pro 13.3英寸笔记本电脑2017款Core i5处理器/8GB内存/256GB硬盘 MupxT2CH/A",
"keywords": "手机,iPhone",
"goods_desc": "",
"goods_thumb": "https://vkceyugu.cdn.bspapp.com/VKCEYUGU-f184e7c3-1912-41b2-b81f-435d1b37c7b4/c05cd7d9-9102-4abd-ae66-47d4bf04befd.jpg",
"goods_banner_imgs": "",
"goods_price": "12999",
"remain_count": "999999",
"month_sell_count": "640",
"total_sell_count": "28512",
"comment_count": "156",
"is_real": true,
"is_on_sale": true,
"is_alone_sale": true,
"is_best": false,
"is_new": true,
"is_hot": false,
"add_date": "2020-8-26 09:37:21",
"last_modify_date": "2020-8-26 09:37:21",
"seller_note": "",
"shop_name": "北京京东自营店",
"tag": ["手机", "iPhone"],
"goods_tip": "秒杀"
}, {
"category_id": "",
"goods_sn": "",
"name": "Kindle Paperwhite电纸书阅读器 电子书墨水屏 6英寸wifi 黑色",
"keywords": "手机,iPhone",
"goods_desc": "",
"goods_thumb": "https://vkceyugu.cdn.bspapp.com/VKCEYUGU-f184e7c3-1912-41b2-b81f-435d1b37c7b4/ad82fd1b-d4ae-4f7c-abb7-ab370ff79e53.jpg",
"goods_banner_imgs": "",
"goods_price": "999",
"remain_count": "999999",
"month_sell_count": "640",
"total_sell_count": "28512",
"comment_count": "45",
"is_real": true,
"is_on_sale": true,
"is_alone_sale": true,
"is_best": false,
"is_new": true,
"is_hot": false,
"add_date": "2020-8-26 09:37:21",
"last_modify_date": "2020-8-26 09:37:21",
"seller_note": "",
"shop_name": "上海手机直营店",
"tag": ["手机", "iPhone"],
"goods_tip": "秒杀"
}, {
"category_id": "",
"goods_sn": "",
"name": "微软Microsoft新Surface Pro 二合一平板电脑笔记本 12.3英寸i5 8G内存 256G存储",
"keywords": "手机,iPhone",
"goods_desc": "",
"goods_thumb": "https://vkceyugu.cdn.bspapp.com/VKCEYUGU-f184e7c3-1912-41b2-b81f-435d1b37c7b4/936aa616-f567-4cb7-9cfc-313917bf8b00.jpg",
"goods_banner_imgs": "",
"goods_price": "8888",
"remain_count": "999999",
"month_sell_count": "640",
"total_sell_count": "28512",
"comment_count": "12",
"is_real": true,
"is_on_sale": true,
"is_alone_sale": true,
"is_best": false,
"is_new": true,
"is_hot": false,
"add_date": "2020-8-26 09:37:21",
"last_modify_date": "2020-8-26 09:37:21",
"seller_note": "",
"shop_name": "京东商城",
"tag": ["手机", "iPhone"],
"goods_tip": "优惠"
}, {
"category_id": "",
"goods_sn": "",
"name": "Apple Watch Series 3智能手表GPS款 42毫米 深空灰色铝金属表壳 黑色运动型表带 MQL12CH/A",
"keywords": "手机,iPhone",
"goods_desc": "",
"goods_thumb": "https://vkceyugu.cdn.bspapp.com/VKCEYUGU-f184e7c3-1912-41b2-b81f-435d1b37c7b4/3446b6fc-b3f5-484d-acb8-8aee410d8523.jpg",
"goods_banner_imgs": "",
"goods_price": "2899",
"remain_count": "999999",
"month_sell_count": "640",
"total_sell_count": "28512",
"comment_count": "252",
"is_real": true,
"is_on_sale": true,
"is_alone_sale": true,
"is_best": false,
"is_new": true,
"is_hot": false,
"add_date": "2020-8-26 09:37:21",
"last_modify_date": "2020-8-26 09:37:21",
"seller_note": "",
"shop_name": "京东商城",
"tag": ["手机", "iPhone"],
"goods_tip": "自营"
}, {
"category_id": "", // 分类id
"goods_sn": "", // 商品的唯一货号
"name": "Apple iPhone X 256GB 深空灰色 移动联通电信4G手机", // 商品名称
"keywords": "手机,iPhone", // 商品关键字,为搜索引擎收录使用
"goods_desc": "", // 商品详细描述
"goods_thumb": "https://vkceyugu.cdn.bspapp.com/VKCEYUGU-f184e7c3-1912-41b2-b81f-435d1b37c7b4/2889c979-f69c-44f2-b631-14d864a3a0e3.jpg", // 商品缩略图,用于在列表或搜索结果中预览显示
"goods_banner_imgs": "", // 商品详情页的banner图地址
"goods_price": "9999", // 商品价格
"remain_count": "999999", // 库存数量
"month_sell_count": "640", // 月销量
"total_sell_count": "28512", // 总销量
"comment_count": "980021", // 累计评论数
"is_real": true, // 是否实物
"is_on_sale": true, // 是否上架销售
"is_alone_sale": true, // 是否能单独销售;如果不能单独销售,则只能作为某商品的配件或者赠品销售
"is_best": false, // 是否精品
"is_new": true, // 是否新品
"is_hot": false, // 是否热销
"add_date": "2020-8-26 09:37:21", // 上架时间
"last_modify_date": "2020-8-26 09:37:21", // 最后修改时间
"seller_note": "", //商家备注,仅商家可见
"shop_name": "京东商城网上自营专卖店",
"tag": ["手机", "iPhone"],
"goods_tip": "自营"
}, {
"category_id": "",
"goods_sn": "",
"name": "Apple iPad 平板电脑 2018年新款9.7英寸",
"keywords": "手机,iPhone",
"goods_desc": "",
"goods_thumb": "https://vkceyugu.cdn.bspapp.com/VKCEYUGU-f184e7c3-1912-41b2-b81f-435d1b37c7b4/2e0f2e26-585e-41f7-aab2-30710c706885.jpg",
"goods_banner_imgs": "",
"goods_price": "3499",
"remain_count": "999999",
"month_sell_count": "640",
"total_sell_count": "28512",
"comment_count": "12",
"is_real": true,
"is_on_sale": true,
"is_alone_sale": true,
"is_best": false,
"is_new": true,
"is_hot": false,
"add_date": "2020-8-26 09:37:21",
"last_modify_date": "2020-8-26 09:37:21",
"seller_note": "",
"shop_name": "手机专卖店",
"tag": ["手机", "iPhone"],
"goods_tip": "优惠"
}, {
"category_id": "",
"goods_sn": "",
"name": "Apple MacBook Pro 13.3英寸笔记本电脑2017款Core i5处理器/8GB内存/256GB硬盘 MupxT2CH/A",
"keywords": "手机,iPhone",
"goods_desc": "",
"goods_thumb": "https://vkceyugu.cdn.bspapp.com/VKCEYUGU-f184e7c3-1912-41b2-b81f-435d1b37c7b4/c05cd7d9-9102-4abd-ae66-47d4bf04befd.jpg",
"goods_banner_imgs": "",
"goods_price": "12999",
"remain_count": "999999",
"month_sell_count": "640",
"total_sell_count": "28512",
"comment_count": "156",
"is_real": true,
"is_on_sale": true,
"is_alone_sale": true,
"is_best": false,
"is_new": true,
"is_hot": false,
"add_date": "2020-8-26 09:37:21",
"last_modify_date": "2020-8-26 09:37:21",
"seller_note": "",
"shop_name": "北京京东自营店",
"tag": ["手机", "iPhone"],
"goods_tip": "秒杀"
}, {
"category_id": "",
"goods_sn": "",
"name": "Kindle Paperwhite电纸书阅读器 电子书墨水屏 6英寸wifi 黑色",
"keywords": "手机,iPhone",
"goods_desc": "",
"goods_thumb": "https://vkceyugu.cdn.bspapp.com/VKCEYUGU-f184e7c3-1912-41b2-b81f-435d1b37c7b4/ad82fd1b-d4ae-4f7c-abb7-ab370ff79e53.jpg",
"goods_banner_imgs": "",
"goods_price": "999",
"remain_count": "999999",
"month_sell_count": "640",
"total_sell_count": "28512",
"comment_count": "45",
"is_real": true,
"is_on_sale": true,
"is_alone_sale": true,
"is_best": false,
"is_new": true,
"is_hot": false,
"add_date": "2020-8-26 09:37:21",
"last_modify_date": "2020-8-26 09:37:21",
"seller_note": "",
"shop_name": "上海手机直营店",
"tag": ["手机", "iPhone"],
"goods_tip": "秒杀"
}, {
"category_id": "",
"goods_sn": "",
"name": "微软Microsoft新Surface Pro 二合一平板电脑笔记本 12.3英寸i5 8G内存 256G存储",
"keywords": "手机,iPhone",
"goods_desc": "",
"goods_thumb": "https://vkceyugu.cdn.bspapp.com/VKCEYUGU-f184e7c3-1912-41b2-b81f-435d1b37c7b4/936aa616-f567-4cb7-9cfc-313917bf8b00.jpg",
"goods_banner_imgs": "",
"goods_price": "8888",
"remain_count": "999999",
"month_sell_count": "640",
"total_sell_count": "28512",
"comment_count": "12",
"is_real": true,
"is_on_sale": true,
"is_alone_sale": true,
"is_best": false,
"is_new": true,
"is_hot": false,
"add_date": "2020-8-26 09:37:21",
"last_modify_date": "2020-8-26 09:37:21",
"seller_note": "",
"shop_name": "京东商城",
"tag": ["手机", "iPhone"],
"goods_tip": "优惠"
}, {
"category_id": "",
"goods_sn": "",
"name": "Apple Watch Series 3智能手表GPS款 42毫米 深空灰色铝金属表壳 黑色运动型表带 MQL12CH/A",
"keywords": "手机,iPhone",
"goods_desc": "",
"goods_thumb": "https://vkceyugu.cdn.bspapp.com/VKCEYUGU-f184e7c3-1912-41b2-b81f-435d1b37c7b4/3446b6fc-b3f5-484d-acb8-8aee410d8523.jpg",
"goods_banner_imgs": "",
"goods_price": "2899",
"remain_count": "999999",
"month_sell_count": "640",
"total_sell_count": "28512",
"comment_count": "252",
"is_real": true,
"is_on_sale": true,
"is_alone_sale": true,
"is_best": false,
"is_new": true,
"is_hot": false,
"add_date": "2020-8-26 09:37:21",
"last_modify_date": "2020-8-26 09:37:21",
"seller_note": "",
"shop_name": "京东商城",
"tag": ["手机", "iPhone"],
"goods_tip": "自营"
}, {
"category_id": "", // 分类id
"goods_sn": "", // 商品的唯一货号
"name": "Apple iPhone X 256GB 深空灰色 移动联通电信4G手机", // 商品名称
"keywords": "手机,iPhone", // 商品关键字,为搜索引擎收录使用
"goods_desc": "", // 商品详细描述
"goods_thumb": "https://vkceyugu.cdn.bspapp.com/VKCEYUGU-f184e7c3-1912-41b2-b81f-435d1b37c7b4/2889c979-f69c-44f2-b631-14d864a3a0e3.jpg", // 商品缩略图,用于在列表或搜索结果中预览显示
"goods_banner_imgs": "", // 商品详情页的banner图地址
"goods_price": "9999", // 商品价格
"remain_count": "999999", // 库存数量
"month_sell_count": "640", // 月销量
"total_sell_count": "28512", // 总销量
"comment_count": "980021", // 累计评论数
"is_real": true, // 是否实物
"is_on_sale": true, // 是否上架销售
"is_alone_sale": true, // 是否能单独销售;如果不能单独销售,则只能作为某商品的配件或者赠品销售
"is_best": false, // 是否精品
"is_new": true, // 是否新品
"is_hot": false, // 是否热销
"add_date": "2020-8-26 09:37:21", // 上架时间
"last_modify_date": "2020-8-26 09:37:21", // 最后修改时间
"seller_note": "", //商家备注,仅商家可见
"shop_name": "京东商城网上自营专卖店",
"tag": ["手机", "iPhone"],
"goods_tip": "自营"
}, {
"category_id": "",
"goods_sn": "",
"name": "Apple iPad 平板电脑 2018年新款9.7英寸",
"keywords": "手机,iPhone",
"goods_desc": "",
"goods_thumb": "https://vkceyugu.cdn.bspapp.com/VKCEYUGU-f184e7c3-1912-41b2-b81f-435d1b37c7b4/2e0f2e26-585e-41f7-aab2-30710c706885.jpg",
"goods_banner_imgs": "",
"goods_price": "3499",
"remain_count": "999999",
"month_sell_count": "640",
"total_sell_count": "28512",
"comment_count": "12",
"is_real": true,
"is_on_sale": true,
"is_alone_sale": true,
"is_best": false,
"is_new": true,
"is_hot": false,
"add_date": "2020-8-26 09:37:21",
"last_modify_date": "2020-8-26 09:37:21",
"seller_note": "",
"shop_name": "手机专卖店",
"tag": ["手机", "iPhone"],
"goods_tip": "优惠"
}, {
"category_id": "",
"goods_sn": "",
"name": "Apple MacBook Pro 13.3英寸笔记本电脑2017款Core i5处理器/8GB内存/256GB硬盘 MupxT2CH/A",
"keywords": "手机,iPhone",
"goods_desc": "",
"goods_thumb": "https://vkceyugu.cdn.bspapp.com/VKCEYUGU-f184e7c3-1912-41b2-b81f-435d1b37c7b4/c05cd7d9-9102-4abd-ae66-47d4bf04befd.jpg",
"goods_banner_imgs": "",
"goods_price": "12999",
"remain_count": "999999",
"month_sell_count": "640",
"total_sell_count": "28512",
"comment_count": "156",
"is_real": true,
"is_on_sale": true,
"is_alone_sale": true,
"is_best": false,
"is_new": true,
"is_hot": false,
"add_date": "2020-8-26 09:37:21",
"last_modify_date": "2020-8-26 09:37:21",
"seller_note": "",
"shop_name": "北京京东自营店",
"tag": ["手机", "iPhone"],
"goods_tip": "秒杀"
}, {
"category_id": "",
"goods_sn": "",
"name": "Kindle Paperwhite电纸书阅读器 电子书墨水屏 6英寸wifi 黑色",
"keywords": "手机,iPhone",
"goods_desc": "",
"goods_thumb": "https://vkceyugu.cdn.bspapp.com/VKCEYUGU-f184e7c3-1912-41b2-b81f-435d1b37c7b4/ad82fd1b-d4ae-4f7c-abb7-ab370ff79e53.jpg",
"goods_banner_imgs": "",
"goods_price": "999",
"remain_count": "999999",
"month_sell_count": "640",
"total_sell_count": "28512",
"comment_count": "45",
"is_real": true,
"is_on_sale": true,
"is_alone_sale": true,
"is_best": false,
"is_new": true,
"is_hot": false,
"add_date": "2020-8-26 09:37:21",
"last_modify_date": "2020-8-26 09:37:21",
"seller_note": "",
"shop_name": "上海手机直营店",
"tag": ["手机", "iPhone"],
"goods_tip": "秒杀"
}, {
"category_id": "",
"goods_sn": "",
"name": "微软Microsoft新Surface Pro 二合一平板电脑笔记本 12.3英寸i5 8G内存 256G存储",
"keywords": "手机,iPhone",
"goods_desc": "",
"goods_thumb": "https://vkceyugu.cdn.bspapp.com/VKCEYUGU-f184e7c3-1912-41b2-b81f-435d1b37c7b4/936aa616-f567-4cb7-9cfc-313917bf8b00.jpg",
"goods_banner_imgs": "",
"goods_price": "8888",
"remain_count": "999999",
"month_sell_count": "640",
"total_sell_count": "28512",
"comment_count": "12",
"is_real": true,
"is_on_sale": true,
"is_alone_sale": true,
"is_best": false,
"is_new": true,
"is_hot": false,
"add_date": "2020-8-26 09:37:21",
"last_modify_date": "2020-8-26 09:37:21",
"seller_note": "",
"shop_name": "京东商城",
"tag": ["手机", "iPhone"],
"goods_tip": "优惠"
}, {
"category_id": "",
"goods_sn": "",
"name": "Apple Watch Series 3智能手表GPS款 42毫米 深空灰色铝金属表壳 黑色运动型表带 MQL12CH/A",
"keywords": "手机,iPhone",
"goods_desc": "",
"goods_thumb": "https://vkceyugu.cdn.bspapp.com/VKCEYUGU-f184e7c3-1912-41b2-b81f-435d1b37c7b4/3446b6fc-b3f5-484d-acb8-8aee410d8523.jpg",
"goods_banner_imgs": "",
"goods_price": "2899",
"remain_count": "999999",
"month_sell_count": "640",
"total_sell_count": "28512",
"comment_count": "252",
"is_real": true,
"is_on_sale": true,
"is_alone_sale": true,
"is_best": false,
"is_new": true,
"is_hot": false,
"add_date": "2020-8-26 09:37:21",
"last_modify_date": "2020-8-26 09:37:21",
"seller_note": "",
"shop_name": "京东商城",
"tag": ["手机", "iPhone"],
"goods_tip": "自营"
}, {
"category_id": "", // 分类id
"goods_sn": "", // 商品的唯一货号
"name": "Apple iPhone X 256GB 深空灰色 移动联通电信4G手机", // 商品名称
"keywords": "手机,iPhone", // 商品关键字,为搜索引擎收录使用
"goods_desc": "", // 商品详细描述
"goods_thumb": "https://vkceyugu.cdn.bspapp.com/VKCEYUGU-f184e7c3-1912-41b2-b81f-435d1b37c7b4/2889c979-f69c-44f2-b631-14d864a3a0e3.jpg", // 商品缩略图,用于在列表或搜索结果中预览显示
"goods_banner_imgs": "", // 商品详情页的banner图地址
"goods_price": "9999", // 商品价格
"remain_count": "999999", // 库存数量
"month_sell_count": "640", // 月销量
"total_sell_count": "28512", // 总销量
"comment_count": "980021", // 累计评论数
"is_real": true, // 是否实物
"is_on_sale": true, // 是否上架销售
"is_alone_sale": true, // 是否能单独销售;如果不能单独销售,则只能作为某商品的配件或者赠品销售
"is_best": false, // 是否精品
"is_new": true, // 是否新品
"is_hot": false, // 是否热销
"add_date": "2020-8-26 09:37:21", // 上架时间
"last_modify_date": "2020-8-26 09:37:21", // 最后修改时间
"seller_note": "", //商家备注,仅商家可见
"shop_name": "京东商城网上自营专卖店",
"tag": ["手机", "iPhone"],
"goods_tip": "自营"
}, {
"category_id": "",
"goods_sn": "",
"name": "Apple iPad 平板电脑 2018年新款9.7英寸",
"keywords": "手机,iPhone",
"goods_desc": "",
"goods_thumb": "https://vkceyugu.cdn.bspapp.com/VKCEYUGU-f184e7c3-1912-41b2-b81f-435d1b37c7b4/2e0f2e26-585e-41f7-aab2-30710c706885.jpg",
"goods_banner_imgs": "",
"goods_price": "3499",
"remain_count": "999999",
"month_sell_count": "640",
"total_sell_count": "28512",
"comment_count": "12",
"is_real": true,
"is_on_sale": true,
"is_alone_sale": true,
"is_best": false,
"is_new": true,
"is_hot": false,
"add_date": "2020-8-26 09:37:21",
"last_modify_date": "2020-8-26 09:37:21",
"seller_note": "",
"shop_name": "手机专卖店",
"tag": ["手机", "iPhone"],
"goods_tip": "优惠"
}, {
"category_id": "",
"goods_sn": "",
"name": "Apple MacBook Pro 13.3英寸笔记本电脑2017款Core i5处理器/8GB内存/256GB硬盘 MupxT2CH/A",
"keywords": "手机,iPhone",
"goods_desc": "",
"goods_thumb": "https://vkceyugu.cdn.bspapp.com/VKCEYUGU-f184e7c3-1912-41b2-b81f-435d1b37c7b4/c05cd7d9-9102-4abd-ae66-47d4bf04befd.jpg",
"goods_banner_imgs": "",
"goods_price": "12999",
"remain_count": "999999",
"month_sell_count": "640",
"total_sell_count": "28512",
"comment_count": "156",
"is_real": true,
"is_on_sale": true,
"is_alone_sale": true,
"is_best": false,
"is_new": true,
"is_hot": false,
"add_date": "2020-8-26 09:37:21",
"last_modify_date": "2020-8-26 09:37:21",
"seller_note": "",
"shop_name": "北京京东自营店",
"tag": ["手机", "iPhone"],
"goods_tip": "秒杀"
}, {
"category_id": "",
"goods_sn": "",
"name": "Kindle Paperwhite电纸书阅读器 电子书墨水屏 6英寸wifi 黑色",
"keywords": "手机,iPhone",
"goods_desc": "",
"goods_thumb": "https://vkceyugu.cdn.bspapp.com/VKCEYUGU-f184e7c3-1912-41b2-b81f-435d1b37c7b4/ad82fd1b-d4ae-4f7c-abb7-ab370ff79e53.jpg",
"goods_banner_imgs": "",
"goods_price": "999",
"remain_count": "999999",
"month_sell_count": "640",
"total_sell_count": "28512",
"comment_count": "45",
"is_real": true,
"is_on_sale": true,
"is_alone_sale": true,
"is_best": false,
"is_new": true,
"is_hot": false,
"add_date": "2020-8-26 09:37:21",
"last_modify_date": "2020-8-26 09:37:21",
"seller_note": "",
"shop_name": "上海手机直营店",
"tag": ["手机", "iPhone"],
"goods_tip": "秒杀"
}, {
"category_id": "",
"goods_sn": "",
"name": "微软Microsoft新Surface Pro 二合一平板电脑笔记本 12.3英寸i5 8G内存 256G存储",
"keywords": "手机,iPhone",
"goods_desc": "",
"goods_thumb": "https://vkceyugu.cdn.bspapp.com/VKCEYUGU-f184e7c3-1912-41b2-b81f-435d1b37c7b4/936aa616-f567-4cb7-9cfc-313917bf8b00.jpg",
"goods_banner_imgs": "",
"goods_price": "8888",
"remain_count": "999999",
"month_sell_count": "640",
"total_sell_count": "28512",
"comment_count": "12",
"is_real": true,
"is_on_sale": true,
"is_alone_sale": true,
"is_best": false,
"is_new": true,
"is_hot": false,
"add_date": "2020-8-26 09:37:21",
"last_modify_date": "2020-8-26 09:37:21",
"seller_note": "",
"shop_name": "京东商城",
"tag": ["手机", "iPhone"],
"goods_tip": "优惠"
}, {
"category_id": "",
"goods_sn": "",
"name": "Apple Watch Series 3智能手表GPS款 42毫米 深空灰色铝金属表壳 黑色运动型表带 MQL12CH/A",
"keywords": "手机,iPhone",
"goods_desc": "",
"goods_thumb": "https://vkceyugu.cdn.bspapp.com/VKCEYUGU-f184e7c3-1912-41b2-b81f-435d1b37c7b4/3446b6fc-b3f5-484d-acb8-8aee410d8523.jpg",
"goods_banner_imgs": "",
"goods_price": "2899",
"remain_count": "999999",
"month_sell_count": "640",
"total_sell_count": "28512",
"comment_count": "252",
"is_real": true,
"is_on_sale": true,
"is_alone_sale": true,
"is_best": false,
"is_new": true,
"is_hot": false,
"add_date": "2020-8-26 09:37:21",
"last_modify_date": "2020-8-26 09:37:21",
"seller_note": "",
"shop_name": "京东商城",
"tag": ["手机", "iPhone"],
"goods_tip": "自营"
}, {
"category_id": "", // 分类id
"goods_sn": "", // 商品的唯一货号
"name": "Apple iPhone X 256GB 深空灰色 移动联通电信4G手机", // 商品名称
"keywords": "手机,iPhone", // 商品关键字,为搜索引擎收录使用
"goods_desc": "", // 商品详细描述
"goods_thumb": "https://vkceyugu.cdn.bspapp.com/VKCEYUGU-f184e7c3-1912-41b2-b81f-435d1b37c7b4/2889c979-f69c-44f2-b631-14d864a3a0e3.jpg", // 商品缩略图,用于在列表或搜索结果中预览显示
"goods_banner_imgs": "", // 商品详情页的banner图地址
"goods_price": "9999", // 商品价格
"remain_count": "999999", // 库存数量
"month_sell_count": "640", // 月销量
"total_sell_count": "28512", // 总销量
"comment_count": "980021", // 累计评论数
"is_real": true, // 是否实物
"is_on_sale": true, // 是否上架销售
"is_alone_sale": true, // 是否能单独销售;如果不能单独销售,则只能作为某商品的配件或者赠品销售
"is_best": false, // 是否精品
"is_new": true, // 是否新品
"is_hot": false, // 是否热销
"add_date": "2020-8-26 09:37:21", // 上架时间
"last_modify_date": "2020-8-26 09:37:21", // 最后修改时间
"seller_note": "", //商家备注,仅商家可见
"shop_name": "京东商城网上自营专卖店",
"tag": ["手机", "iPhone"],
"goods_tip": "自营"
}, {
"category_id": "",
"goods_sn": "",
"name": "Apple iPad 平板电脑 2018年新款9.7英寸",
"keywords": "手机,iPhone",
"goods_desc": "",
"goods_thumb": "https://vkceyugu.cdn.bspapp.com/VKCEYUGU-f184e7c3-1912-41b2-b81f-435d1b37c7b4/2e0f2e26-585e-41f7-aab2-30710c706885.jpg",
"goods_banner_imgs": "",
"goods_price": "3499",
"remain_count": "999999",
"month_sell_count": "640",
"total_sell_count": "28512",
"comment_count": "12",
"is_real": true,
"is_on_sale": true,
"is_alone_sale": true,
"is_best": false,
"is_new": true,
"is_hot": false,
"add_date": "2020-8-26 09:37:21",
"last_modify_date": "2020-8-26 09:37:21",
"seller_note": "",
"shop_name": "手机专卖店",
"tag": ["手机", "iPhone"],
"goods_tip": "优惠"
}, {
"category_id": "",
"goods_sn": "",
"name": "Apple MacBook Pro 13.3英寸笔记本电脑2017款Core i5处理器/8GB内存/256GB硬盘 MupxT2CH/A",
"keywords": "手机,iPhone",
"goods_desc": "",
"goods_thumb": "https://vkceyugu.cdn.bspapp.com/VKCEYUGU-f184e7c3-1912-41b2-b81f-435d1b37c7b4/c05cd7d9-9102-4abd-ae66-47d4bf04befd.jpg",
"goods_banner_imgs": "",
"goods_price": "12999",
"remain_count": "999999",
"month_sell_count": "640",
"total_sell_count": "28512",
"comment_count": "156",
"is_real": true,
"is_on_sale": true,
"is_alone_sale": true,
"is_best": false,
"is_new": true,
"is_hot": false,
"add_date": "2020-8-26 09:37:21",
"last_modify_date": "2020-8-26 09:37:21",
"seller_note": "",
"shop_name": "北京京东自营店",
"tag": ["手机", "iPhone"],
"goods_tip": "秒杀"
}, {
"category_id": "",
"goods_sn": "",
"name": "Kindle Paperwhite电纸书阅读器 电子书墨水屏 6英寸wifi 黑色",
"keywords": "手机,iPhone",
"goods_desc": "",
"goods_thumb": "https://vkceyugu.cdn.bspapp.com/VKCEYUGU-f184e7c3-1912-41b2-b81f-435d1b37c7b4/ad82fd1b-d4ae-4f7c-abb7-ab370ff79e53.jpg",
"goods_banner_imgs": "",
"goods_price": "999",
"remain_count": "999999",
"month_sell_count": "640",
"total_sell_count": "28512",
"comment_count": "45",
"is_real": true,
"is_on_sale": true,
"is_alone_sale": true,
"is_best": false,
"is_new": true,
"is_hot": false,
"add_date": "2020-8-26 09:37:21",
"last_modify_date": "2020-8-26 09:37:21",
"seller_note": "",
"shop_name": "上海手机直营店",
"tag": ["手机", "iPhone"],
"goods_tip": "秒杀"
}, {
"category_id": "",
"goods_sn": "",
"name": "微软Microsoft新Surface Pro 二合一平板电脑笔记本 12.3英寸i5 8G内存 256G存储",
"keywords": "手机,iPhone",
"goods_desc": "",
"goods_thumb": "https://vkceyugu.cdn.bspapp.com/VKCEYUGU-f184e7c3-1912-41b2-b81f-435d1b37c7b4/936aa616-f567-4cb7-9cfc-313917bf8b00.jpg",
"goods_banner_imgs": "",
"goods_price": "8888",
"remain_count": "999999",
"month_sell_count": "640",
"total_sell_count": "28512",
"comment_count": "12",
"is_real": true,
"is_on_sale": true,
"is_alone_sale": true,
"is_best": false,
"is_new": true,
"is_hot": false,
"add_date": "2020-8-26 09:37:21",
"last_modify_date": "2020-8-26 09:37:21",
"seller_note": "",
"shop_name": "京东商城",
"tag": ["手机", "iPhone"],
"goods_tip": "优惠"
}, {
"category_id": "",
"goods_sn": "",
"name": "Apple Watch Series 3智能手表GPS款 42毫米 深空灰色铝金属表壳 黑色运动型表带 MQL12CH/A",
"keywords": "手机,iPhone",
"goods_desc": "",
"goods_thumb": "https://vkceyugu.cdn.bspapp.com/VKCEYUGU-f184e7c3-1912-41b2-b81f-435d1b37c7b4/3446b6fc-b3f5-484d-acb8-8aee410d8523.jpg",
"goods_banner_imgs": "",
"goods_price": "2899",
"remain_count": "999999",
"month_sell_count": "640",
"total_sell_count": "28512",
"comment_count": "252",
"is_real": true,
"is_on_sale": true,
"is_alone_sale": true,
"is_best": false,
"is_new": true,
"is_hot": false,
"add_date": "2020-8-26 09:37:21",
"last_modify_date": "2020-8-26 09:37:21",
"seller_note": "",
"shop_name": "京东商城",
"tag": ["手机", "iPhone"],
"goods_tip": "自营"
}, {
"category_id": "", // 分类id
"goods_sn": "", // 商品的唯一货号
"name": "Apple iPhone X 256GB 深空灰色 移动联通电信4G手机", // 商品名称
"keywords": "手机,iPhone", // 商品关键字,为搜索引擎收录使用
"goods_desc": "", // 商品详细描述
"goods_thumb": "https://vkceyugu.cdn.bspapp.com/VKCEYUGU-f184e7c3-1912-41b2-b81f-435d1b37c7b4/2889c979-f69c-44f2-b631-14d864a3a0e3.jpg", // 商品缩略图,用于在列表或搜索结果中预览显示
"goods_banner_imgs": "", // 商品详情页的banner图地址
"goods_price": "9999", // 商品价格
"remain_count": "999999", // 库存数量
"month_sell_count": "640", // 月销量
"total_sell_count": "28512", // 总销量
"comment_count": "980021", // 累计评论数
"is_real": true, // 是否实物
"is_on_sale": true, // 是否上架销售
"is_alone_sale": true, // 是否能单独销售;如果不能单独销售,则只能作为某商品的配件或者赠品销售
"is_best": false, // 是否精品
"is_new": true, // 是否新品
"is_hot": false, // 是否热销
"add_date": "2020-8-26 09:37:21", // 上架时间
"last_modify_date": "2020-8-26 09:37:21", // 最后修改时间
"seller_note": "", //商家备注,仅商家可见
"shop_name": "京东商城网上自营专卖店",
"tag": ["手机", "iPhone"],
"goods_tip": "自营"
}, {
"category_id": "",
"goods_sn": "",
"name": "Apple iPad 平板电脑 2018年新款9.7英寸",
"keywords": "手机,iPhone",
"goods_desc": "",
"goods_thumb": "https://vkceyugu.cdn.bspapp.com/VKCEYUGU-f184e7c3-1912-41b2-b81f-435d1b37c7b4/2e0f2e26-585e-41f7-aab2-30710c706885.jpg",
"goods_banner_imgs": "",
"goods_price": "3499",
"remain_count": "999999",
"month_sell_count": "640",
"total_sell_count": "28512",
"comment_count": "12",
"is_real": true,
"is_on_sale": true,
"is_alone_sale": true,
"is_best": false,
"is_new": true,
"is_hot": false,
"add_date": "2020-8-26 09:37:21",
"last_modify_date": "2020-8-26 09:37:21",
"seller_note": "",
"shop_name": "手机专卖店",
"tag": ["手机", "iPhone"],
"goods_tip": "优惠"
}, {
"category_id": "",
"goods_sn": "",
"name": "Apple MacBook Pro 13.3英寸笔记本电脑2017款Core i5处理器/8GB内存/256GB硬盘 MupxT2CH/A",
"keywords": "手机,iPhone",
"goods_desc": "",
"goods_thumb": "https://vkceyugu.cdn.bspapp.com/VKCEYUGU-f184e7c3-1912-41b2-b81f-435d1b37c7b4/c05cd7d9-9102-4abd-ae66-47d4bf04befd.jpg",
"goods_banner_imgs": "",
"goods_price": "12999",
"remain_count": "999999",
"month_sell_count": "640",
"total_sell_count": "28512",
"comment_count": "156",
"is_real": true,
"is_on_sale": true,
"is_alone_sale": true,
"is_best": false,
"is_new": true,
"is_hot": false,
"add_date": "2020-8-26 09:37:21",
"last_modify_date": "2020-8-26 09:37:21",
"seller_note": "",
"shop_name": "北京京东自营店",
"tag": ["手机", "iPhone"],
"goods_tip": "秒杀"
}, {
"category_id": "",
"goods_sn": "",
"name": "Kindle Paperwhite电纸书阅读器 电子书墨水屏 6英寸wifi 黑色",
"keywords": "手机,iPhone",
"goods_desc": "",
"goods_thumb": "https://vkceyugu.cdn.bspapp.com/VKCEYUGU-f184e7c3-1912-41b2-b81f-435d1b37c7b4/ad82fd1b-d4ae-4f7c-abb7-ab370ff79e53.jpg",
"goods_banner_imgs": "",
"goods_price": "999",
"remain_count": "999999",
"month_sell_count": "640",
"total_sell_count": "28512",
"comment_count": "45",
"is_real": true,
"is_on_sale": true,
"is_alone_sale": true,
"is_best": false,
"is_new": true,
"is_hot": false,
"add_date": "2020-8-26 09:37:21",
"last_modify_date": "2020-8-26 09:37:21",
"seller_note": "",
"shop_name": "上海手机直营店",
"tag": ["手机", "iPhone"],
"goods_tip": "秒杀"
}, {
"category_id": "",
"goods_sn": "",
"name": "微软Microsoft新Surface Pro 二合一平板电脑笔记本 12.3英寸i5 8G内存 256G存储",
"keywords": "手机,iPhone",
"goods_desc": "",
"goods_thumb": "https://vkceyugu.cdn.bspapp.com/VKCEYUGU-f184e7c3-1912-41b2-b81f-435d1b37c7b4/936aa616-f567-4cb7-9cfc-313917bf8b00.jpg",
"goods_banner_imgs": "",
"goods_price": "8888",
"remain_count": "999999",
"month_sell_count": "640",
"total_sell_count": "28512",
"comment_count": "12",
"is_real": true,
"is_on_sale": true,
"is_alone_sale": true,
"is_best": false,
"is_new": true,
"is_hot": false,
"add_date": "2020-8-26 09:37:21",
"last_modify_date": "2020-8-26 09:37:21",
"seller_note": "",
"shop_name": "京东商城",
"tag": ["手机", "iPhone"],
"goods_tip": "优惠"
}, {
"category_id": "",
"goods_sn": "",
"name": "Apple Watch Series 3智能手表GPS款 42毫米 深空灰色铝金属表壳 黑色运动型表带 MQL12CH/A",
"keywords": "手机,iPhone",
"goods_desc": "",
"goods_thumb": "https://vkceyugu.cdn.bspapp.com/VKCEYUGU-f184e7c3-1912-41b2-b81f-435d1b37c7b4/3446b6fc-b3f5-484d-acb8-8aee410d8523.jpg",
"goods_banner_imgs": "",
"goods_price": "2899",
"remain_count": "999999",
"month_sell_count": "640",
"total_sell_count": "28512",
"comment_count": "252",
"is_real": true,
"is_on_sale": true,
"is_alone_sale": true,
"is_best": false,
"is_new": true,
"is_hot": false,
"add_date": "2020-8-26 09:37:21",
"last_modify_date": "2020-8-26 09:37:21",
"seller_note": "",
"shop_name": "京东商城",
"tag": ["手机", "iPhone"],
"goods_tip": "自营"
}, {
"category_id": "", // 分类id
"goods_sn": "", // 商品的唯一货号
"name": "Apple iPhone X 256GB 深空灰色 移动联通电信4G手机", // 商品名称
"keywords": "手机,iPhone", // 商品关键字,为搜索引擎收录使用
"goods_desc": "", // 商品详细描述
"goods_thumb": "https://vkceyugu.cdn.bspapp.com/VKCEYUGU-f184e7c3-1912-41b2-b81f-435d1b37c7b4/2889c979-f69c-44f2-b631-14d864a3a0e3.jpg", // 商品缩略图,用于在列表或搜索结果中预览显示
"goods_banner_imgs": "", // 商品详情页的banner图地址
"goods_price": "9999", // 商品价格
"remain_count": "999999", // 库存数量
"month_sell_count": "640", // 月销量
"total_sell_count": "28512", // 总销量
"comment_count": "980021", // 累计评论数
"is_real": true, // 是否实物
"is_on_sale": true, // 是否上架销售
"is_alone_sale": true, // 是否能单独销售;如果不能单独销售,则只能作为某商品的配件或者赠品销售
"is_best": false, // 是否精品
"is_new": true, // 是否新品
"is_hot": false, // 是否热销
"add_date": "2020-8-26 09:37:21", // 上架时间
"last_modify_date": "2020-8-26 09:37:21", // 最后修改时间
"seller_note": "", //商家备注,仅商家可见
"shop_name": "京东商城网上自营专卖店",
"tag": ["手机", "iPhone"],
"goods_tip": "自营"
}, {
"category_id": "",
"goods_sn": "",
"name": "Apple iPad 平板电脑 2018年新款9.7英寸",
"keywords": "手机,iPhone",
"goods_desc": "",
"goods_thumb": "https://vkceyugu.cdn.bspapp.com/VKCEYUGU-f184e7c3-1912-41b2-b81f-435d1b37c7b4/2e0f2e26-585e-41f7-aab2-30710c706885.jpg",
"goods_banner_imgs": "",
"goods_price": "3499",
"remain_count": "999999",
"month_sell_count": "640",
"total_sell_count": "28512",
"comment_count": "12",
"is_real": true,
"is_on_sale": true,
"is_alone_sale": true,
"is_best": false,
"is_new": true,
"is_hot": false,
"add_date": "2020-8-26 09:37:21",
"last_modify_date": "2020-8-26 09:37:21",
"seller_note": "",
"shop_name": "手机专卖店",
"tag": ["手机", "iPhone"],
"goods_tip": "优惠"
}, {
"category_id": "",
"goods_sn": "",
"name": "Apple MacBook Pro 13.3英寸笔记本电脑2017款Core i5处理器/8GB内存/256GB硬盘 MupxT2CH/A",
"keywords": "手机,iPhone",
"goods_desc": "",
"goods_thumb": "https://vkceyugu.cdn.bspapp.com/VKCEYUGU-f184e7c3-1912-41b2-b81f-435d1b37c7b4/c05cd7d9-9102-4abd-ae66-47d4bf04befd.jpg",
"goods_banner_imgs": "",
"goods_price": "12999",
"remain_count": "999999",
"month_sell_count": "640",
"total_sell_count": "28512",
"comment_count": "156",
"is_real": true,
"is_on_sale": true,
"is_alone_sale": true,
"is_best": false,
"is_new": true,
"is_hot": false,
"add_date": "2020-8-26 09:37:21",
"last_modify_date": "2020-8-26 09:37:21",
"seller_note": "",
"shop_name": "北京京东自营店",
"tag": ["手机", "iPhone"],
"goods_tip": "秒杀"
}, {
"category_id": "",
"goods_sn": "",
"name": "Kindle Paperwhite电纸书阅读器 电子书墨水屏 6英寸wifi 黑色",
"keywords": "手机,iPhone",
"goods_desc": "",
"goods_thumb": "https://vkceyugu.cdn.bspapp.com/VKCEYUGU-f184e7c3-1912-41b2-b81f-435d1b37c7b4/ad82fd1b-d4ae-4f7c-abb7-ab370ff79e53.jpg",
"goods_banner_imgs": "",
"goods_price": "999",
"remain_count": "999999",
"month_sell_count": "640",
"total_sell_count": "28512",
"comment_count": "45",
"is_real": true,
"is_on_sale": true,
"is_alone_sale": true,
"is_best": false,
"is_new": true,
"is_hot": false,
"add_date": "2020-8-26 09:37:21",
"last_modify_date": "2020-8-26 09:37:21",
"seller_note": "",
"shop_name": "上海手机直营店",
"tag": ["手机", "iPhone"],
"goods_tip": "秒杀"
}, {
"category_id": "",
"goods_sn": "",
"name": "微软Microsoft新Surface Pro 二合一平板电脑笔记本 12.3英寸i5 8G内存 256G存储",
"keywords": "手机,iPhone",
"goods_desc": "",
"goods_thumb": "https://vkceyugu.cdn.bspapp.com/VKCEYUGU-f184e7c3-1912-41b2-b81f-435d1b37c7b4/936aa616-f567-4cb7-9cfc-313917bf8b00.jpg",
"goods_banner_imgs": "",
"goods_price": "8888",
"remain_count": "999999",
"month_sell_count": "640",
"total_sell_count": "28512",
"comment_count": "12",
"is_real": true,
"is_on_sale": true,
"is_alone_sale": true,
"is_best": false,
"is_new": true,
"is_hot": false,
"add_date": "2020-8-26 09:37:21",
"last_modify_date": "2020-8-26 09:37:21",
"seller_note": "",
"shop_name": "京东商城",
"tag": ["手机", "iPhone"],
"goods_tip": "优惠"
}, {
"category_id": "",
"goods_sn": "",
"name": "Apple Watch Series 3智能手表GPS款 42毫米 深空灰色铝金属表壳 黑色运动型表带 MQL12CH/A",
"keywords": "手机,iPhone",
"goods_desc": "",
"goods_thumb": "https://vkceyugu.cdn.bspapp.com/VKCEYUGU-f184e7c3-1912-41b2-b81f-435d1b37c7b4/3446b6fc-b3f5-484d-acb8-8aee410d8523.jpg",
"goods_banner_imgs": "",
"goods_price": "2899",
"remain_count": "999999",
"month_sell_count": "640",
"total_sell_count": "28512",
"comment_count": "252",
"is_real": true,
"is_on_sale": true,
"is_alone_sale": true,
"is_best": false,
"is_new": true,
"is_hot": false,
"add_date": "2020-8-26 09:37:21",
"last_modify_date": "2020-8-26 09:37:21",
"seller_note": "",
"shop_name": "京东商城",
"tag": ["手机", "iPhone"],
"goods_tip": "自营"
}]
}
},
onLoad() {
//this.$ajax('index')
},
methods: {
search(res) {
uni.showToast({
title: '搜索:' + res.value,
icon: 'none'
})
},
input(res) {
console.log('----input:', res)
},
scan(res) {
// #ifndef H5
uni.scanCode({
success: function(res) {
console.log('条码类型:' + res.scanType);
console.log('条码内容:' + res.result);
},
fail: function() {
},
complete: function() {
}
});
// #endif
},
},
onBackPress() {
// #ifdef APP-PLUS
plus.key.hideSoftKeybord();
// #endif
}
}
</script>
<style lang="scss">
@import '@/common/uni-ui.scss';
$max:100%;
.MsgList {
height: auto;
.MlSon {
border-radius: 12rpx;
.MlSonvBox {
padding: 24rpx 32rpx;
height: 168rpx;
display: flex;
justify-content: space-around;
background: #fff;
border: 1px solid fff;
border-radius: 25rpx;
margin-top: 10px;
.SonOfImg {
border: 1px solid red;
width: 164rpx;
height: $max;
border-radius: 12rpx;
overflow: hidden;
.Img {
width: $max;
height: $max;
}
}
.SonOfName {
width: 428rpx;
height: $max;
.SNTop {
//这部分是标题 我将其设置为超出两行隐藏掉您可根据需求设置为一行
width: $max;
height: 88rpx;
text-overflow: -o-ellipsis-lastline;
overflow: hidden;
text-overflow: ellipsis;
display: -webkit-box;
-webkit-line-clamp: 2;
line-clamp: 2;
-webkit-box-orient: vertical;
line-height: 44rpx;
color: #06121E;
font-size: 28rpx;
}
.SNBom {
width: $max;
height: 34rpx;
line-height: 34rpx;
font-size: 24rpx;
display: flex;
justify-content: space-between;
margin-top: 18rpx;
.SBleft {
//这里预留了底部左右信息的样式处理
}
.SBright {}
}
}
}
}
}
page {
display: flex;
flex-direction: column;
box-sizing: border-box;
background-color: #efeff4;
min-height: 100%;
height: auto;
}
.tips {
color: #67c23a;
font-size: 14px;
line-height: 40px;
text-align: center;
background-color: #f0f9eb;
height: 0;
opacity: 0;
transform: translateY(-100%);
transition: all 0.3s;
}
.tips-ani {
transform: translateY(0);
height: 40px;
opacity: 1;
}
.shop {
flex: 1;
display: flex;
flex-direction: column;
justify-content: space-between;
}
.shop-picture {
width: 110px;
height: 110px;
}
.shop-picture-column {
width: 100%;
height: 170px;
margin-bottom: 10px;
}
.shop-price {
margin-top: 5px;
font-size: 12px;
color: #ff5a5f;
}
.shop-price-text {
font-size: 16px;
}
.hot-tag {
background: #ff5a5f;
border: none;
color: #fff;
}
.button-box {
height: 30px;
line-height: 30px;
font-size: 12px;
background: #007AFF;
color: #fff;
}
.uni-link {
flex-shrink: 0;
}
.ellipsis {
display: flex;
overflow: hidden;
}
.uni-ellipsis-1 {
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
}
.uni-ellipsis-2 {
overflow: hidden;
text-overflow: ellipsis;
display: -webkit-box;
-webkit-line-clamp: 2;
-webkit-box-orient: vertical;
}
// 默认加入 scoped ,所以外面加一层提升权重
.list {
.uni-list--waterfall {
/* #ifndef H5 || APP-VUE */
// 小程序 编译后会多一层标签,而其他平台没有,所以需要特殊处理一下
::deep .uni-list {
/* #endif */
display: flex;
flex-direction: row;
flex-wrap: wrap;
padding: 5px;
box-sizing: border-box;
/* #ifdef H5 || APP-VUE */
// h5 和 app-vue 使用深度选择器,因为默认使用了 scoped ,所以样式会无法穿透
::deep
/* #endif */
.uni-list-item--waterfall {
width: 50%;
box-sizing: border-box;
.uni-list-item__container {
padding: 5px;
flex-direction: column;
}
}
/* #ifndef H5 || APP-VUE */
}
/* #endif */
}
}
</style>