码迷,mamicode.com
首页 > 其他好文 > 详细

Mvp 购物车

时间:2017-12-19 12:35:49      阅读:108      评论:0      收藏:0      [点我收藏+]

标签:boolean   result   web   import   efault   round   基础   float   添加   

<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
    android:orientation="vertical" android:layout_width="match_parent"
    android:layout_height="match_parent">

    <android.support.v7.widget.RecyclerView
        android:id="@+id/third_recyclerview"
        android:layout_width="match_parent"
        android:layout_height="0dp"
        android:layout_weight="1"
        />

    <LinearLayout
        android:layout_weight="0"
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:orientation="horizontal"
        android:background="#FFFFFF"
        android:gravity="center_vertical"
        android:id="@+id/third_pay_linear"
        >

        <TextView
            android:id="@+id/third_allselect"
            android:layout_width="81dp"
            android:layout_height="wrap_content"
            android:layout_marginLeft="@dimen/margin_10dp"
            android:drawableLeft="@drawable/quanxuan"
            android:text="全选"
            android:drawablePadding="@dimen/padding_5dp"
            />

        <LinearLayout
            android:layout_width="0dp"
            android:layout_height="wrap_content"
            android:layout_weight="1"
            android:orientation="vertical"
            >

            <TextView
                android:id="@+id/third_totalprice"
                android:layout_width="200dp"
                android:layout_height="wrap_content"
                android:paddingLeft="@dimen/padding_10dp"
                android:paddingTop="@dimen/padding_10dp"
                android:text="总价:"
                android:textColor="@color/cblack"
                android:textSize="@dimen/common_font_size_16"
                />

            <TextView
                android:textColor="@color/cblack"
                android:id="@+id/third_totalnum"
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:paddingLeft="@dimen/padding_10dp"
                android:text="共0件商品"
                android:textSize="@dimen/common_font_size_14"
                android:paddingBottom="@dimen/padding_10dp"
                />

        </LinearLayout>

        <TextView
            android:id="@+id/third_submit"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:background="@drawable/login_btn"
            android:text="去结算"
            android:paddingLeft="@dimen/margin_30dp"
            android:paddingRight="@dimen/margin_30dp"
            android:paddingTop="@dimen/padding_10dp"
            android:paddingBottom="@dimen/padding_10dp"
            android:textColor="#ffffff"
            android:layout_marginRight="@dimen/margin_10dp"
            />

    </LinearLayout>


</LinearLayout>

 

<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
    android:orientation="vertical" android:layout_width="match_parent"
    android:layout_height="wrap_content"
    android:background="@color/cwhite">

    <LinearLayout
        android:id="@+id/ll_shopcart_header"
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:orientation="vertical"
        >

        <View
            android:layout_width="match_parent"
            android:layout_height="@dimen/margin_10dp"
            android:background="@color/background_color"
            android:id="@+id/view"/>

        <LinearLayout
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:gravity="center_vertical"
            >

            <ImageView
                android:id="@+id/iv_item_shopcart_shopselect"
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:src="@drawable/quanxuan"
                android:paddingLeft="@dimen/margin_15dp"
                android:paddingRight="@dimen/margin_15dp"
                android:paddingTop="@dimen/margin_10dp"
                android:paddingBottom="@dimen/margin_10dp"
                />

            <TextView
                android:textColor="@color/cblack"
                android:id="@+id/tv_item_shopcart_shopname"
                android:layout_width="match_parent"
                android:layout_height="wrap_content"
                android:drawableLeft="@drawable/shopcart_shop"
                android:text="宝儿家服装"
                android:padding="@dimen/padding_10dp"
                android:drawablePadding="@dimen/padding_5dp"
                />

        </LinearLayout>

    </LinearLayout>

    <LinearLayout
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:gravity="center_vertical"
        >


        <LinearLayout
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:orientation="vertical"
            >

            <View
                android:layout_width="match_parent"
                android:layout_height="@dimen/margin_1dp"
                android:background="@color/background_color"
                />

            <LinearLayout
                android:layout_width="match_parent"
                android:layout_height="wrap_content">

                <ImageView
                    android:layout_width="wrap_content"
                    android:layout_height="wrap_content"
                    android:src="@drawable/shopcart_selected"
                    android:layout_marginLeft="@dimen/margin_15dp"
                    android:layout_marginRight="@dimen/margin_15dp"
                    android:visibility="invisible"
                    />

                <TextView
                    android:textColor="@color/cblack"
                    android:id="@+id/tv_item_shopcart_clothname"
                    android:layout_width="match_parent"
                    android:layout_height="wrap_content"
                    android:text="穿秋装情侣字母徽章风衣"
                    android:paddingLeft="@dimen/padding_10dp"
                    android:paddingTop="@dimen/padding_10dp"
                    />
            </LinearLayout>
            <LinearLayout
                android:layout_width="match_parent"
                android:layout_height="wrap_content"
                android:orientation="horizontal"
                android:gravity="center_vertical"
                >

                <ImageView
                    android:id="@+id/tv_item_shopcart_clothselect"
                    android:layout_width="wrap_content"
                    android:layout_height="wrap_content"
                    android:src="@drawable/shopcart_selected"
                    android:padding="@dimen/margin_15dp"
                    />

                <ImageView
                    android:id="@+id/iv_item_shopcart_cloth_pic"
                    android:layout_width="60dp"
                    android:layout_height="60dp"
                    android:layout_margin="@dimen/margin_10dp"
                    />

                <LinearLayout
                    android:layout_width="0dp"
                    android:layout_height="wrap_content"
                    android:layout_weight="1"
                    android:orientation="vertical"
                    >

                    <TextView
                        android:id="@+id/tv_item_shopcart_cloth_price"
                        android:layout_width="wrap_content"
                        android:layout_height="wrap_content"
                        android:text="¥185"
                        android:textColor="@color/main_red_text"
                        android:textSize="@dimen/common_font_size_14"
                        />

                    <LinearLayout
                        android:layout_width="wrap_content"
                        android:layout_height="wrap_content"
                        android:layout_marginTop="@dimen/margin_5dp"
                        android:layout_marginBottom="@dimen/margin_5dp"
                        >

                        <TextView
                            android:textColor="@color/cblack"
                            android:id="@+id/tv_item_shopcart_cloth_color"
                            android:layout_width="wrap_content"
                            android:layout_height="wrap_content"
                            android:text="颜色:黑色"
                            android:textSize="@dimen/common_font_size_12"
                            />

                        <TextView
                            android:textColor="@color/cblack"
                            android:id="@+id/tv_item_shopcart_cloth_size"
                            android:layout_width="wrap_content"
                            android:layout_height="wrap_content"
                            android:text="尺寸:XL"
                            android:textSize="@dimen/common_font_size_12"
                            android:layout_marginLeft="@dimen/margin_10dp"
                            />

                    </LinearLayout>

                    <LinearLayout
                        android:layout_width="match_parent"
                        android:layout_height="wrap_content"
                        android:gravity="center_vertical"
                        >

                        <ImageView
                            android:id="@+id/iv_item_shopcart_cloth_minus"
                            android:layout_width="wrap_content"
                            android:layout_height="wrap_content"
                            android:src="@drawable/shopcart_minus_grey"
                            />

                        <TextView
                            android:textColor="@color/cblack"
                            android:id="@+id/et_item_shopcart_cloth_num"
                            android:layout_width="wrap_content"
                            android:layout_height="wrap_content"
                            android:paddingTop="@dimen/padding_2dp"
                            android:paddingBottom="@dimen/padding_2dp"
                            android:paddingLeft="@dimen/padding_20dp"
                            android:paddingRight="@dimen/padding_20dp"
                            android:background="@drawable/shopcart_add_btn"
                            android:layout_marginLeft="@dimen/margin_5dp"
                            android:text="1"
                            />

                        <ImageView
                            android:id="@+id/iv_item_shopcart_cloth_add"
                            android:layout_width="wrap_content"
                            android:layout_height="wrap_content"
                            android:src="@drawable/shopcart_add_red"
                            android:layout_marginLeft="@dimen/margin_5dp"
                            />

                    </LinearLayout>


                </LinearLayout>

                <View
                    android:layout_width="@dimen/margin_1dp"
                    android:layout_height="match_parent"
                    android:layout_marginTop="@dimen/padding_10dp"
                    android:layout_marginBottom="@dimen/padding_10dp"
                    android:background="@color/splitline_color"
                    />

                <ImageView
                    android:id="@+id/iv_item_shopcart_cloth_delete"
                    android:layout_width="wrap_content"
                    android:layout_height="wrap_content"
                    android:padding="@dimen/margin_20dp"
                    android:src="@drawable/shopcart_delete"
                    />

            </LinearLayout>



        </LinearLayout>

    </LinearLayout>

    <View
        android:layout_width="match_parent"
        android:layout_height="@dimen/margin_1dp"
        android:background="@color/background_color"
        />



</LinearLayout>

 

package com.example.myshopcart.Adapter; import android.app.Activity; import android.support.v7.widget.Recycl
package com.example.myshopcart.Adapter;

import android.app.Activity;
import android.support.v7.widget.RecyclerView;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.ImageView;
import android.widget.LinearLayout;
import android.widget.TextView;

import com.bumptech.glide.Glide;
import com.example.myshopcart.Bean.ShopBean;
import com.example.myshopcart.MainActivity;
import com.example.myshopcart.R;

import java.util.ArrayList;
import java.util.List;

import butterknife.BindView;
import butterknife.ButterKnife;

/**
 * Created by 佘鑫海 on 2017/12/4.
 */

public class MyAdapter extends RecyclerView.Adapter<MyAdapter.IViewHolder> {

    private Activity context;

    private List<ShopBean.DataBean.DefaultGoodsListBean> list ;

    public MyAdapter(MainActivity context) {
        this.context = context;
    }

    public void setData(List<ShopBean.DataBean.DefaultGoodsListBean> list){

        if(this.list == null){
            this.list = new ArrayList<>();
        }

        this.list.addAll(list);
        notifyDataSetChanged();

    }

    @Override
    public IViewHolder onCreateViewHolder(ViewGroup parent, int viewType) {
        View view = LayoutInflater.from(context).inflate(R.layout.third_fragment_item, parent, false);
        IViewHolder viewHolder = new IViewHolder(view);
        return viewHolder;
    }

    @Override
    public void onBindViewHolder(IViewHolder holder, final int position) {


        if (position > 0) {
            //头
            if (list.get(position).getId() == list.get(position - 1).getId()) {
                holder.llShopcartHeader.setVisibility(View.GONE);
            } else {
                holder.llShopcartHeader.setVisibility(View.VISIBLE);
            }
        }else {
            // position = 0
            holder.llShopcartHeader.setVisibility(View.VISIBLE);
        }

        System.out.println("holder = " + list.get(position).getGoods_name());


        holder.tvItemShopcartShopname.setText(list.get(position).getGoods_name());
        holder.tvItemShopcartClothPrice.setText("¥" + list.get(position).getShop_price());
        holder.etItemShopcartClothNum.setText(list.get(position).getStock_number() + "");




        Glide.with(context).load(list.get(position).getGoods_img()).into(holder.ivItemShopcartClothPic);


        //标记 商品是否被选中
        if(list.get(position).isSelect()){
            holder.tvItemShopcartClothselect.setImageDrawable(context.getResources().getDrawable(R.drawable.shopcart_selected));
        }else {
            holder.tvItemShopcartClothselect.setImageDrawable(context.getResources().getDrawable(R.drawable.shopcart_unselected));
        }

        //标记商店是否被选中
        if(list.get(position).isShopSelect()){
            holder.ivItemShopcartShopselect.setImageDrawable(context.getResources().getDrawable(R.drawable.shopcart_selected));
        }else {
            holder.ivItemShopcartShopselect.setImageDrawable(context.getResources().getDrawable(R.drawable.shopcart_unselected));
        }


        //?
        if(onRefershListener != null){
            boolean isSelect = false;

            for(int i=0;i<list.size();i++){
                if(!list.get(i).isSelect()){
                    isSelect = false;
                    // 只要有一个商品是 未选中的状态 ,全选按钮就是未选中
                    break;
                }else {
                    isSelect = true;
                }
            }
            onRefershListener.onRefersh(isSelect,list);

        }

       //删除事件 回调
        holder.ivItemShopcartClothDelete.setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View v) {

                if(onDeleteClickListener != null){
                    onDeleteClickListener.onDeleteClick(v,position,list.get(position).getCount());
                }
                list.remove(position);
                //如果删除的是第一条数据(或者是 数据带有商户名称的数据) 更新数据源, 标记 那条数据 显示商户名称
                MainActivity.setFirstState(list);
                notifyDataSetChanged();
            }
        });

        //  - 商品数量事件
        holder.ivItemShopcartClothMinus.setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View v) {

                if(list.get(position).getCount() > 1){

                    int count = list.get(position).getCount() - 1 ;
                    list.get(position).setCount(count);
                    notifyDataSetChanged();
                    if(onEditListener != null){
                        onEditListener.onEditListener(position,list.get(position).getCount(),count);
                    }
                }
            }
        });

        // + 商品数量事件
        holder.ivItemShopcartClothAdd.setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View v) {

                int count = list.get(position).getCount()+ 1 ;
                list.get(position).setCount(count);
                notifyDataSetChanged();

                if(onEditListener != null){
                    onEditListener.onEditListener(position,list.get(position).getCount(),count);
                }

            }
        });

        //商品 选中和未选中 事件点击
        holder.tvItemShopcartClothselect.setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View v) {

                //标记 当前 item 的选中状态
                list.get(position).setSelect(!list.get(position).isSelect());

                for(int i=0;i<list.size();i++){
                    for(int j=0;j<list.size();j++){
                        //如果是同一家商铺的商品,并且其中一个商品是未选中,那么商铺的全选勾选取消
                        if(list.get(j).getId() == list.get(i).getId() && !list.get(j).isSelect()){
                            list.get(i).setShopSelect(false);
                            break;
                        } else {
                            //如果是同一家商铺的商品,并且所有商品是选中,那么商铺的选中全选勾选
                            list.get(i).setShopSelect(true);
                        }
                    }
                }
                notifyDataSetChanged();

            }
        });

        // 店铺 选中 yu 未选中
        holder.ivItemShopcartShopselect.setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View v) {


                if(list.get(position).getCount() == 1){



                    list.get(position).setShopSelect(!list.get(position).isShopSelect());

                    for(int i=0;i<list.size();i++){

                        if(list.get(i).getCount() == list.get(position).getCount()){
                            list.get(i).setSelect(list.get(position).isShopSelect());
                        }

                    }
                    notifyDataSetChanged();

                }

            }
        });

    }

    // 全选
    public void setUnSelected(int selected){
        if(list != null && list.size() > 0){

            for (int i=0;i<list.size();i++){
                if(selected == 1){

                    list.get(i).setSelect(false);
                    list.get(i).setShopSelect(false);
                } else {
                    list.get(i).setSelect(true);
                    list.get(i).setShopSelect(true);

                }
            }
            notifyDataSetChanged();

        }

    }


    @Override
    public int getItemCount() {
        return list == null ? 0 : list.size() ;
    }


    // 点击事件

    public OnItemClickListener onItemClickListener;

    public interface OnItemClickListener {
        void onItemClick(View view, int position);
    }

    public void setOnItemClickListener(OnItemClickListener listener){
        this.onItemClickListener = listener ;
    }



    //删除
    public OnDeleteClickListener onDeleteClickListener;
    public interface OnDeleteClickListener {
        void onDeleteClick(View view, int position, int cartid);
    }

    public void setOnDeleteClickListener(OnDeleteClickListener deleteClickListener){
        this.onDeleteClickListener = deleteClickListener;
    }

    public OnEditListener onEditListener;
    //添加 减少
    public interface OnEditListener {
        void onEditListener(int position, int cartid, int count);
    }

    public void setOnEditListener(OnEditListener onEditListener){
        this.onEditListener = onEditListener;
    }


    // 商品 选中状态发生变化

    public OnRefershListener onRefershListener;

    public interface OnRefershListener{
        //isSelect true 表示商品全部选中 false 未全部选中
        void onRefersh(boolean isSelect, List<ShopBean.DataBean.DefaultGoodsListBean> list);
    }

    public void setOnRefershListener(OnRefershListener listener){
        this.onRefershListener = listener ;
    }



    class IViewHolder extends RecyclerView.ViewHolder{
        @BindView(R.id.view)
        View view;
        @BindView(R.id.iv_item_shopcart_shopselect)
        ImageView ivItemShopcartShopselect;
        @BindView(R.id.tv_item_shopcart_shopname)
        TextView tvItemShopcartShopname;
        @BindView(R.id.ll_shopcart_header)
        LinearLayout llShopcartHeader;
        @BindView(R.id.tv_item_shopcart_clothname)
        TextView tvItemShopcartClothname;
        @BindView(R.id.tv_item_shopcart_clothselect)
        ImageView tvItemShopcartClothselect;
        @BindView(R.id.iv_item_shopcart_cloth_pic)
        ImageView ivItemShopcartClothPic;
        @BindView(R.id.tv_item_shopcart_cloth_price)
        TextView tvItemShopcartClothPrice;
        @BindView(R.id.tv_item_shopcart_cloth_color)
        TextView tvItemShopcartClothColor;
        @BindView(R.id.tv_item_shopcart_cloth_size)
        TextView tvItemShopcartClothSize;
        @BindView(R.id.iv_item_shopcart_cloth_minus)
        ImageView ivItemShopcartClothMinus;
        @BindView(R.id.et_item_shopcart_cloth_num)
        TextView etItemShopcartClothNum;
        @BindView(R.id.iv_item_shopcart_cloth_add)
        ImageView ivItemShopcartClothAdd;
        @BindView(R.id.iv_item_shopcart_cloth_delete)
        ImageView ivItemShopcartClothDelete;

        public IViewHolder(View view) {
            super(view);
            ButterKnife.bind(this, view);
        }
    }

}

 

erView; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.ImageView; import android.widget.LinearLayout; import android.widget.TextView; import com.bumptech.glide.Glide; import com.example.myshopcart.Bean.ShopBean; import com.example.myshopcart.MainActivity; import com.example.myshopcart.R; import java.util.ArrayList; import java.util.List; import butterknife.BindView; import butterknife.ButterKnife; /** * Created by 佘鑫海 on 2017/12/4. */ public class MyAdapter extends RecyclerView.Adapter<MyAdapter.IViewHolder> { private Activity context; private List<ShopBean.DataBean.DefaultGoodsListBean> list ; public MyAdapter(MainActivity context) { this.context = context; } public void setData(List<ShopBean.DataBean.DefaultGoodsListBean> list){ if(this.list == null){ this.list = new ArrayList<>(); } this.list.addAll(list); notifyDataSetChanged(); } @Override public IViewHolder onCreateViewHolder(ViewGroup parent, int viewType) { View view = LayoutInflater.from(context).inflate(R.layout.third_fragment_item, parent, false); IViewHolder viewHolder = new IViewHolder(view); return viewHolder; } @Override public void onBindViewHolder(IViewHolder holder, final int position) { if (position > 0) { //头 if (list.get(position).getId() == list.get(position - 1).getId()) { holder.llShopcartHeader.setVisibility(View.GONE); } else { holder.llShopcartHeader.setVisibility(View.VISIBLE); } }else { // position = 0 holder.llShopcartHeader.setVisibility(View.VISIBLE); } System.out.println("holder = " + list.get(position).getGoods_name()); holder.tvItemShopcartShopname.setText(list.get(position).getGoods_name()); holder.tvItemShopcartClothPrice.setText("¥" + list.get(position).getShop_price()); holder.etItemShopcartClothNum.setText(list.get(position).getStock_number() + ""); Glide.with(context).load(list.get(position).getGoods_img()).into(holder.ivItemShopcartClothPic); //标记 商品是否被选中 if(list.get(position).isSelect()){ holder.tvItemShopcartClothselect.setImageDrawable(context.getResources().getDrawable(R.drawable.shopcart_selected)); }else { holder.tvItemShopcartClothselect.setImageDrawable(context.getResources().getDrawable(R.drawable.shopcart_unselected)); } //标记商店是否被选中 if(list.get(position).isShopSelect()){ holder.ivItemShopcartShopselect.setImageDrawable(context.getResources().getDrawable(R.drawable.shopcart_selected)); }else { holder.ivItemShopcartShopselect.setImageDrawable(context.getResources().getDrawable(R.drawable.shopcart_unselected)); } //? if(onRefershListener != null){ boolean isSelect = false; for(int i=0;i<list.size();i++){ if(!list.get(i).isSelect()){ isSelect = false; // 只要有一个商品是 未选中的状态 ,全选按钮就是未选中 break; }else { isSelect = true; } } onRefershListener.onRefersh(isSelect,list); } //删除事件 回调 holder.ivItemShopcartClothDelete.setOnClickListener(new View.OnClickListener() { @Override public void onClick(View v) { if(onDeleteClickListener != null){ onDeleteClickListener.onDeleteClick(v,position,list.get(position).getCount()); } list.remove(position); //如果删除的是第一条数据(或者是 数据带有商户名称的数据) 更新数据源, 标记 那条数据 显示商户名称 MainActivity.setFirstState(list); notifyDataSetChanged(); } }); // - 商品数量事件 holder.ivItemShopcartClothMinus.setOnClickListener(new View.OnClickListener() { @Override public void onClick(View v) { if(list.get(position).getCount() > 1){ int count = list.get(position).getCount() - 1 ; list.get(position).setCount(count); notifyDataSetChanged(); if(onEditListener != null){ onEditListener.onEditListener(position,list.get(position).getCount(),count); } } } }); // + 商品数量事件 holder.ivItemShopcartClothAdd.setOnClickListener(new View.OnClickListener() { @Override public void onClick(View v) { int count = list.get(position).getCount()+ 1 ; list.get(position).setCount(count); notifyDataSetChanged(); if(onEditListener != null){ onEditListener.onEditListener(position,list.get(position).getCount(),count); } } }); //商品 选中和未选中 事件点击 holder.tvItemShopcartClothselect.setOnClickListener(new View.OnClickListener() { @Override public void onClick(View v) { //标记 当前 item 的选中状态 list.get(position).setSelect(!list.get(position).isSelect()); for(int i=0;i<list.size();i++){ for(int j=0;j<list.size();j++){ //如果是同一家商铺的商品,并且其中一个商品是未选中,那么商铺的全选勾选取消 if(list.get(j).getId() == list.get(i).getId() && !list.get(j).isSelect()){ list.get(i).setShopSelect(false); break; } else { //如果是同一家商铺的商品,并且所有商品是选中,那么商铺的选中全选勾选 list.get(i).setShopSelect(true); } } } notifyDataSetChanged(); } }); // 店铺 选中 yu 未选中 holder.ivItemShopcartShopselect.setOnClickListener(new View.OnClickListener() { @Override public void onClick(View v) { if(list.get(position).getCount() == 1){ list.get(position).setShopSelect(!list.get(position).isShopSelect()); for(int i=0;i<list.size();i++){ if(list.get(i).getCount() == list.get(position).getCount()){ list.get(i).setSelect(list.get(position).isShopSelect()); } } notifyDataSetChanged(); } } }); } // 全选 public void setUnSelected(int selected){ if(list != null && list.size() > 0){ for (int i=0;i<list.size();i++){ if(selected == 1){ list.get(i).setSelect(false); list.get(i).setShopSelect(false); } else { list.get(i).setSelect(true); list.get(i).setShopSelect(true); } } notifyDataSetChanged(); } } @Override public int getItemCount() { return list == null ? 0 : list.size() ; } // 点击事件 public OnItemClickListener onItemClickListener; public interface OnItemClickListener { void onItemClick(View view, int position); } public void setOnItemClickListener(OnItemClickListener listener){ this.onItemClickListener = listener ; } //删除 public OnDeleteClickListener onDeleteClickListener; public interface OnDeleteClickListener { void onDeleteClick(View view, int position, int cartid); } public void setOnDeleteClickListener(OnDeleteClickListener deleteClickListener){ this.onDeleteClickListener = deleteClickListener; } public OnEditListener onEditListener; //添加 减少 public interface OnEditListener { void onEditListener(int position, int cartid, int count); } public void setOnEditListener(OnEditListener onEditListener){ this.onEditListener = onEditListener; } // 商品 选中状态发生变化 public OnRefershListener onRefershListener; public interface OnRefershListener{ //isSelect true 表示商品全部选中 false 未全部选中 void onRefersh(boolean isSelect, List<ShopBean.DataBean.DefaultGoodsListBean> list); } public void setOnRefershListener(OnRefershListener listener){ this.onRefershListener = listener ; } class IViewHolder extends RecyclerView.ViewHolder{ @BindView(R.id.view) View view; @BindView(R.id.iv_item_shopcart_shopselect) ImageView ivItemShopcartShopselect; @BindView(R.id.tv_item_shopcart_shopname) TextView tvItemShopcartShopname; @BindView(R.id.ll_shopcart_header) LinearLayout llShopcartHeader; @BindView(R.id.tv_item_shopcart_clothname) TextView tvItemShopcartClothname; @BindView(R.id.tv_item_shopcart_clothselect) ImageView tvItemShopcartClothselect; @BindView(R.id.iv_item_shopcart_cloth_pic) ImageView ivItemShopcartClothPic; @BindView(R.id.tv_item_shopcart_cloth_price) TextView tvItemShopcartClothPrice; @BindView(R.id.tv_item_shopcart_cloth_color) TextView tvItemShopcartClothColor; @BindView(R.id.tv_item_shopcart_cloth_size) TextView tvItemShopcartClothSize; @BindView(R.id.iv_item_shopcart_cloth_minus) ImageView ivItemShopcartClothMinus; @BindView(R.id.et_item_shopcart_cloth_num) TextView etItemShopcartClothNum; @BindView(R.id.iv_item_shopcart_cloth_add) ImageView ivItemShopcartClothAdd; @BindView(R.id.iv_item_shopcart_cloth_delete) ImageView ivItemShopcartClothDelete; public IViewHolder(View view) { super(view); ButterKnife.bind(this, view); } } }

 

Api



package com.example.myshopcart.API;

/**
 * Created by 佘鑫海 on 2017/12/4.
 */

public class Api {

    // http://result.eolinker.com/umIPmfS6c83237d9c70c7c9510c9b0f97171a308d13b611?uri=homepage
    public  static  final String api_data ="http://result.eolinker.com/";
}

 

Apisevice


package com.example.myshopcart.API;


import com.example.myshopcart.Bean.ShopBean;

import retrofit2.http.GET;
import rx.Observable;

/**
 * Created by 佘鑫海 on 2017/12/4.
 */

public interface ApiService {
    @GET("umIPmfS6c83237d9c70c7c9510c9b0f97171a308d13b611?uri=homepage")
    Observable<ShopBean> getData();
}

 

Bean 包


package com.example.myshopcart.Bean;

import java.util.List;

/**
 * Created by 佘鑫海 on 2017/12/16.
 */

public class ShopBean {

    /**
     * code : 200
     * msg : success
     * data : {"subjects":[{"id":"84","title":"新品上市","detail":"质本天然,探寻自然生命的非凡能量,给\u201c躁动\u201d的肌肤一场新的旅行~~","image":"https://image.yunifang.com/yunifang/images/goods/temp/171011162655217457875119759.jpg","start_time":"2017.05.16 09:26:13","end_time":"2017.10.31 00:00:00","show_number":6,"state":"1","sort":0,"descImage":"https://image.yunifang.com/yunifang/images/goods/temp/17051609265319705925918251.jpg","template":"templateDefault","goodsList":[{"id":"492","goods_name":"盈透美肌黑膜套装(插画版)","shop_price":99.9,"market_price":298,"goods_img":"https://image.yunifang.com/yunifang/images/goods/492/goods_img/171011191068814258195256706.jpg","reservable":false,"efficacy":"以黑吸黑 润透亮颜","stock_number":0,"restrict_purchase_num":0,"goodsName":"PG one热荐:★★★★★","goodsImage":"https://image.yunifang.com/yunifang/images/goods/temp/171011192212214258195254179.jpg","description":"三重植物精粹,三重水润膜力,美时美刻,水润透亮~"},{"id":"2076","goods_name":"鲜嫩美莓面膜套装","shop_price":129.9,"market_price":299,"goods_img":"https://image.yunifang.com/yunifang/images/goods/2076/goods_img/170930212555714134276722977.jpg","reservable":false,"efficacy":"果然水润 嫩颜美莓","stock_number":0,"restrict_purchase_num":0,"goodsName":"水润指数:★★★★☆","goodsImage":"https://image.yunifang.com/yunifang/images/goods/temp/17101119283583452898243380.jpg","description":"畅享鲜果派对,肌肤水嫩鲜活,萃取自然野草莓、黑莓、巴西莓精华,三款搭配持续水嫩鲜活~"},{"id":"1189","goods_name":"清透盈润面膜套装21片","shop_price":79.9,"market_price":297,"goods_img":"https://image.yunifang.com/yunifang/images/goods/1189/goods_img/17093019432252555150652465.jpg","reservable":false,"efficacy":"水感剔透 鲜颜嫩肌","stock_number":0,"restrict_purchase_num":0,"goodsName":"鲜嫩指数:★★★★☆","goodsImage":"https://image.yunifang.com/yunifang/images/goods/temp/17101119312216937168845205.jpg","description":"精选玫瑰、竹萃自然精粹,清洁力、补水力、亮泽度全新升级,另肌肤水感剔透~"},{"id":"1638","goods_name":"全新升级丨嫩肌酵素黑膜礼盒21片","shop_price":139.9,"market_price":299,"goods_img":"https://image.yunifang.com/yunifang/images/goods/1638/goods_img/170905151496114997886544712.jpg","reservable":false,"efficacy":"极地酵素 \u201c酵\u201d醒美肌","stock_number":0,"restrict_purchase_num":0,"goodsName":"推荐指数:★★★☆☆","goodsImage":"https://image.yunifang.com/yunifang/images/goods/temp/170905182614314997886548523.jpg","description":"蕴含南极活性补水酵素精华,持久补水锁水,轻蔬鲜果酵素助力平衡水油~"},{"id":"1830","goods_name":"新品尝鲜|水润茶萃微囊黑面膜20片","shop_price":129.9,"market_price":297,"goods_img":"https://image.yunifang.com/yunifang/images/goods/1830/goods_img/17063017284962337647468682.jpg","reservable":false,"efficacy":"只要一片 水润一天","stock_number":0,"restrict_purchase_num":0,"goodsName":"新品推荐:★★★★★","goodsImage":"https://image.yunifang.com/yunifang/images/goods/temp/1705240026717476518778188.jpg","description":"茶萃微囊精华,开创持续保湿新体验,只要一片,水润一天,持续保湿12小时以上"},{"id":"2091","goods_name":"新品上市丨V7伪妆素颜霜20g","shop_price":79,"market_price":79,"goods_img":"https://image.yunifang.com/yunifang/images/goods/2091/goods_img/170905172822119555059792173.jpg","reservable":false,"efficacy":"即刻提亮 闪亮肤色","stock_number":0,"restrict_purchase_num":0,"goodsName":"遮瑕指数:★★★★☆","goodsImage":"https://image.yunifang.com/yunifang/images/goods/temp/1709051825818467283561992.jpg","description":"如果你是素颜控,这款即刻提亮,闪亮肤色的懒人新品素颜霜你值得拥有~"},{"id":"2039","goods_name":"水润柔嫩黑膜21片","shop_price":89.9,"market_price":297,"goods_img":"https://image.yunifang.com/yunifang/images/goods/2039/goods_img/17093020002498271170145819.jpg","reservable":false,"efficacy":"自然纯粹 水润纯净","stock_number":0,"restrict_purchase_num":0,"goodsName":"补水指数:★★★☆☆","goodsImage":"https://image.yunifang.com/yunifang/images/goods/temp/171011193181418890895139029.jpg","description":"精选龙头竹菁萃、牛油果精粹、黑珍珠精粹,给你自然纯粹,水润纯净体验~"},{"id":"745","goods_name":"全新升级丨晶亮红石榴面膜7片","shop_price":79,"market_price":89,"goods_img":"https://image.yunifang.com/yunifang/images/goods/745/goods_img/17081617418998795654179347.jpg","reservable":false,"efficacy":"深度排浊 一扫黯哑","stock_number":0,"restrict_purchase_num":0,"goodsName":"亮肤指数:★★★★★","goodsImage":"https://image.yunifang.com/yunifang/images/goods/temp/170816184151311258603701437.jpg","description":"萃取红石榴原液,滴滴蕴含鲜活能量,清洁排浊、透亮无瑕,改善粗糙黯哑小能手"},{"id":"1870","goods_name":"新品尝鲜|玉润雪肌黑白膜盒20片","shop_price":129.9,"market_price":297,"goods_img":"https://image.yunifang.com/yunifang/images/goods/1870/goods_img/17071909555120332464127704.jpg","reservable":false,"efficacy":"黑白膜力 美肌如玉","stock_number":0,"restrict_purchase_num":0,"goodsName":"新品推荐:★★★★☆","goodsImage":"https://image.yunifang.com/yunifang/images/goods/temp/1707171037861467283567706.jpg","description":"白膜胶原蛋白精华,昼弹润生态库,黑膜三分子玻尿酸,夜补水先锋。黑白膜力,水肌如玉~"},{"id":"1919","goods_name":"透亮红酒酵力面膜21片","shop_price":129.9,"market_price":239,"goods_img":"https://image.yunifang.com/yunifang/images/goods/1919/goods_img/170630171021217601465422538.jpg","reservable":false,"efficacy":"红酒透亮 酵醒美肌","stock_number":0,"restrict_purchase_num":0,"goodsName":"亮肤指数:★★★★★","goodsImage":"https://image.yunifang.com/yunifang/images/goods/temp/170630224599017601465422520.jpg","description":"全新添加西班牙酵母发酵液,融合法国红酒多酚亮肤成分,加乘亮肤功效~"},{"id":"772","goods_name":"全新升级丨清润莹亮黑膜套装21片","shop_price":99.9,"market_price":297,"goods_img":"https://image.yunifang.com/yunifang/images/goods/772/goods_img/17090514228269026987111180.jpg","reservable":false,"efficacy":"自然莹亮 水感瓷肌","stock_number":0,"restrict_purchase_num":0,"goodsName":"水亮能量:★★★★☆","goodsImage":"https://image.yunifang.com/yunifang/images/goods/temp/1709191414112467283564077.jpg","description":"自然莹亮,水感瓷肌,精选龙头竹、葡萄籽,演绎水亮二重奏~"},{"id":"487","goods_name":"海洋弹性蛋白矿物精华眼霜25g","shop_price":139,"market_price":169,"goods_img":"https://image.yunifang.com/yunifang/images/goods/487/goods_img/170626101843492134395965.jpg","reservable":false,"efficacy":"提拉紧致 润亮双眸","stock_number":0,"restrict_purchase_num":0,"goodsName":"抗皱指数:★★★☆☆","goodsImage":"https://image.yunifang.com/yunifang/images/goods/temp/1706151917130467283566572.jpg","description":"不要等到有皱纹了才想起用眼霜,不要让眼睛放大你的年龄,每一滴自然精粹,都为你打造明亮双眸~"},{"id":"1281","goods_name":"新品眼霜丨红石榴矿物眼霜25g","shop_price":129,"market_price":159,"goods_img":"https://image.yunifang.com/yunifang/images/goods/1281/goods_img/170626102555811776047044227.jpg","reservable":false,"efficacy":"淡退黑眼圈 净彻排浊","stock_number":0,"restrict_purchase_num":0,"goodsName":"抗皱指数:★★★☆☆","goodsImage":"https://image.yunifang.com/yunifang/images/goods/temp/1706151918330467283566999.jpg","description":"熊猫眼克星!多种植物精粹,天然舒活肌肤水通道,清爽不油腻,好吸收,和细纹说拜拜~"}],"goodsIdsList":["492","2076","1923","1189","1638","1830","2091","2039","745","1870","1919","772","1280","487","1281","1250"],"goodsRelationList":[{"id":"14815","subject_id":"84","goods_id":"492","goodsName":"PG one热荐:★★★★★","goodsImage":"https://image.yunifang.com/yunifang/images/goods/temp/171011192212214258195254179.jpg","description":"三重植物精粹,三重水润膜力,美时美刻,水润透亮~"},{"id":"14816","subject_id":"84","goods_id":"2076","goodsName":"水润指数:★★★★☆","goodsImage":"https://image.yunifang.com/yunifang/images/goods/temp/17101119283583452898243380.jpg","description":"畅享鲜果派对,肌肤水嫩鲜活,萃取自然野草莓、黑莓、巴西莓精华,三款搭配持续水嫩鲜活~"},{"id":"14817","subject_id":"84","goods_id":"1923","goodsName":"美白指数:★★★★☆","goodsImage":"https://image.yunifang.com/yunifang/images/goods/temp/170816184068619872110797032.jpg","description":"真美白,匠心造!全新升级美白嫩肤面膜,多种美白成分助力美白,国家权威美白特证安全放心~"},{"id":"14818","subject_id":"84","goods_id":"1189","goodsName":"鲜嫩指数:★★★★☆","goodsImage":"https://image.yunifang.com/yunifang/images/goods/temp/17101119312216937168845205.jpg","description":"精选玫瑰、竹萃自然精粹,清洁力、补水力、亮泽度全新升级,另肌肤水感剔透~"},{"id":"14819","subject_id":"84","goods_id":"1638","goodsName":"推荐指数:★★★☆☆","goodsImage":"https://image.yunifang.com/yunifang/images/goods/temp/170905182614314997886548523.jpg","description":"蕴含南极活性补水酵素精华,持久补水锁水,轻蔬鲜果酵素助力平衡水油~"},{"id":"14820","subject_id":"84","goods_id":"1830","goodsName":"新品推荐:★★★★★","goodsImage":"https://image.yunifang.com/yunifang/images/goods/temp/1705240026717476518778188.jpg","description":"茶萃微囊精华,开创持续保湿新体验,只要一片,水润一天,持续保湿12小时以上"},{"id":"14821","subject_id":"84","goods_id":"2091","goodsName":"遮瑕指数:★★★★☆","goodsImage":"https://image.yunifang.com/yunifang/images/goods/temp/1709051825818467283561992.jpg","description":"如果你是素颜控,这款即刻提亮,闪亮肤色的懒人新品素颜霜你值得拥有~"},{"id":"14822","subject_id":"84","goods_id":"2039","goodsName":"补水指数:★★★☆☆","goodsImage":"https://image.yunifang.com/yunifang/images/goods/temp/171011193181418890895139029.jpg","description":"精选龙头竹菁萃、牛油果精粹、黑珍珠精粹,给你自然纯粹,水润纯净体验~"},{"id":"14823","subject_id":"84","goods_id":"745","goodsName":"亮肤指数:★★★★★","goodsImage":"https://image.yunifang.com/yunifang/images/goods/temp/170816184151311258603701437.jpg","description":"萃取红石榴原液,滴滴蕴含鲜活能量,清洁排浊、透亮无瑕,改善粗糙黯哑小能手"},{"id":"14824","subject_id":"84","goods_id":"1870","goodsName":"新品推荐:★★★★☆","goodsImage":"https://image.yunifang.com/yunifang/images/goods/temp/1707171037861467283567706.jpg","description":"白膜胶原蛋白精华,昼弹润生态库,黑膜三分子玻尿酸,夜补水先锋。黑白膜力,水肌如玉~"},{"id":"14825","subject_id":"84","goods_id":"1919","goodsName":"亮肤指数:★★★★★","goodsImage":"https://image.yunifang.com/yunifang/images/goods/temp/170630224599017601465422520.jpg","description":"全新添加西班牙酵母发酵液,融合法国红酒多酚亮肤成分,加乘亮肤功效~"},{"id":"14826","subject_id":"84","goods_id":"772","goodsName":"水亮能量:★★★★☆","goodsImage":"https://image.yunifang.com/yunifang/images/goods/temp/1709191414112467283564077.jpg","description":"自然莹亮,水感瓷肌,精选龙头竹、葡萄籽,演绎水亮二重奏~"},{"id":"14827","subject_id":"84","goods_id":"1280","goodsName":"遮瑕指数:★★★☆☆","goodsImage":"https://image.yunifang.com/yunifang/images/goods/temp/17051609285005287026507049.jpg","description":"日本进口粉扑,云母成分强遮瑕,接触肌肤绵密柔软,粉体细腻,妆感轻薄,完美遮瑕~"},{"id":"14828","subject_id":"84","goods_id":"487","goodsName":"抗皱指数:★★★☆☆","goodsImage":"https://image.yunifang.com/yunifang/images/goods/temp/1706151917130467283566572.jpg","description":"不要等到有皱纹了才想起用眼霜,不要让眼睛放大你的年龄,每一滴自然精粹,都为你打造明亮双眸~"},{"id":"14829","subject_id":"84","goods_id":"1281","goodsName":"抗皱指数:★★★☆☆","goodsImage":"https://image.yunifang.com/yunifang/images/goods/temp/1706151918330467283566999.jpg","description":"熊猫眼克星!多种植物精粹,天然舒活肌肤水通道,清爽不油腻,好吸收,和细纹说拜拜~"},{"id":"14830","subject_id":"84","goods_id":"1250","goodsName":"抗氧化指数:★★★★☆","goodsImage":"https://image.yunifang.com/yunifang/images/goods/temp/1706021026770467283563014.jpg","description":"你的梳妆台必不可少一瓶面霜,告别熬夜和岁月留下的黄脸,为肌肤注入鲜活能量。"}],"url":"http://h.yunifang.com/goods/subject.html?id=84","wapUrl":"http://vip.yunifang.com/goods/subject.html?id=84"},{"id":"85","title":"玫瑰系列","detail":"大马士革玫瑰 ,天然补水之选\n沙漠玫瑰 ,优质锁水之源\n打造花漾透润,奢宠水嫩肌","image":"https://image.yunifang.com/yunifang/images/goods/temp/17051609349138679665088294.jpg","start_time":"2017.05.16 09:34:46","end_time":"2017.10.31 00:00:00","show_number":6,"state":"1","sort":0,"descImage":"https://image.yunifang.com/yunifang/images/goods/temp/17051609348383766880399479.jpg","template":"templateDefault","goodsList":[{"id":"16","goods_name":"热销套装丨玫瑰滋养保湿四件套","shop_price":169.9,"market_price":259.9,"goods_img":"https://image.yunifang.com/yunifang/images/goods/16/goods_img/17062611152592656236701367.jpg","reservable":false,"efficacy":"一整套源源补水","stock_number":0,"restrict_purchase_num":0,"goodsName":"补水指数:★★★★☆","goodsImage":"https://image.yunifang.com/yunifang/images/goods/temp/17051609358507874536438833.jpg","description":"明星同款四件套,沙漠玫瑰精萃持久保湿,配合同款睡眠面膜保湿更持久~"},{"id":"87","goods_name":"全新升级丨玫瑰滋养面膜7片","shop_price":89,"market_price":89,"goods_img":"https://image.yunifang.com/yunifang/images/goods/87/goods_img/170904211885816205585811962.jpg","reservable":false,"efficacy":"岂止补水 更能锁水","stock_number":0,"restrict_purchase_num":0,"goodsName":"补水指数:★★★★☆","goodsImage":"https://image.yunifang.com/yunifang/images/goods/temp/1709051823381467283568718.jpg","description":"岂止补水,更能锁水,如沐玫瑰清泉,远离干渴沙肌~"},{"id":"101","goods_name":"玫瑰滋养矿物洁面乳100ml","shop_price":29.9,"market_price":59,"goods_img":"https://image.yunifang.com/yunifang/images/goods/101/goods_img/170626105885015353255525556.jpg","reservable":false,"efficacy":"温和清洁 补水保湿","stock_number":0,"restrict_purchase_num":0,"goodsName":"清洁指数:★★★☆☆","goodsImage":"https://image.yunifang.com/yunifang/images/goods/temp/170516093764320738763251731.jpg","description":"有淡淡玫瑰花香,细腻低泡质地,洗完水润清爽,补水锁水,脸部不紧绷~"},{"id":"9","goods_name":"玫瑰滋养矿物睡眠面膜180g","shop_price":59.9,"market_price":99,"goods_img":"https://image.yunifang.com/yunifang/images/goods/9/goods_img/170626112611018894167156705.jpg","reservable":false,"efficacy":"镇店之宝 彻夜补水","stock_number":0,"restrict_purchase_num":0,"goodsName":"推荐指数:★★★★★","goodsImage":"https://image.yunifang.com/yunifang/images/goods/temp/170516093920020890610623903.jpg","description":"晚上洁面后,用完水乳,再涂上薄薄的一层,翌日起来,皮肤弹润有光泽,上妆也完全不担心会脱妆~"},{"id":"336","goods_name":"玫瑰滋养矿物润肤乳液","shop_price":69,"market_price":129,"goods_img":"https://image.yunifang.com/yunifang/images/goods/336/goods_img/170626103574019791491356888.jpg","reservable":false,"efficacy":"长效保湿 持久滋养","stock_number":0,"restrict_purchase_num":0,"goodsName":"保湿指数:★★★★★","goodsImage":"https://image.yunifang.com/yunifang/images/goods/temp/170516093939713507603809610.jpg","description":"它可以说是保湿小助手,有它在,肌肤干燥、皮肤油腻,通通解决~"},{"id":"187","goods_name":"玫瑰滋养基础三件套","shop_price":149.9,"market_price":179.9,"goods_img":"https://image.yunifang.com/yunifang/images/goods/187/goods_img/17062610472505220941898288.jpg","reservable":false,"efficacy":"多倍补水 长效保湿","stock_number":0,"restrict_purchase_num":0,"goodsName":"补水指数:★★★★☆","goodsImage":"https://image.yunifang.com/yunifang/images/goods/temp/17051609414379789618916490.jpg","description":"超能补水,柔美的粉红色,淡淡的玫瑰香,闻起来特别舒服,保湿很明显~"},{"id":"315","goods_name":"玫瑰滋养矿物润肤水","shop_price":65,"market_price":109,"goods_img":"https://image.yunifang.com/yunifang/images/goods/315/goods_img/17062610389695661847862326.jpg","reservable":false,"efficacy":"持久保湿 静享芬芳","stock_number":0,"restrict_purchase_num":0,"goodsName":"补水指数:★★★★★","goodsImage":"https://image.yunifang.com/yunifang/images/goods/temp/17051609422120971403077934.jpg","description":"巧妙融合\u201c双重瑰宝\u201d萃取精华,\u201c黄金\u201d补水库,可使肌肤水嫩Q弹~"}],"goodsIdsList":["16","87","101","9","336","187","315"],"goodsRelationList":[{"id":"14299","subject_id":"85","goods_id":"16","goodsName":"补水指数:★★★★☆","goodsImage":"https://image.yunifang.com/yunifang/images/goods/temp/17051609358507874536438833.jpg","description":"明星同款四件套,沙漠玫瑰精萃持久保湿,配合同款睡眠面膜保湿更持久~"},{"id":"14300","subject_id":"85","goods_id":"87","goodsName":"补水指数:★★★★☆","goodsImage":"https://image.yunifang.com/yunifang/images/goods/temp/1709051823381467283568718.jpg","description":"岂止补水,更能锁水,如沐玫瑰清泉,远离干渴沙肌~"},{"id":"14301","subject_id":"85","goods_id":"101","goodsName":"清洁指数:★★★☆☆","goodsImage":"https://image.yunifang.com/yunifang/images/goods/temp/170516093764320738763251731.jpg","description":"有淡淡玫瑰花香,细腻低泡质地,洗完水润清爽,补水锁水,脸部不紧绷~"},{"id":"14302","subject_id":"85","goods_id":"9","goodsName":"推荐指数:★★★★★","goodsImage":"https://image.yunifang.com/yunifang/images/goods/temp/170516093920020890610623903.jpg","description":"晚上洁面后,用完水乳,再涂上薄薄的一层,翌日起来,皮肤弹润有光泽,上妆也完全不担心会脱妆~"},{"id":"14303","subject_id":"85","goods_id":"336","goodsName":"保湿指数:★★★★★","goodsImage":"https://image.yunifang.com/yunifang/images/goods/temp/170516093939713507603809610.jpg","description":"它可以说是保湿小助手,有它在,肌肤干燥、皮肤油腻,通通解决~"},{"id":"14304","subject_id":"85","goods_id":"187","goodsName":"补水指数:★★★★☆","goodsImage":"https://image.yunifang.com/yunifang/images/goods/temp/17051609414379789618916490.jpg","description":"超能补水,柔美的粉红色,淡淡的玫瑰香,闻起来特别舒服,保湿很明显~"},{"id":"14305","subject_id":"85","goods_id":"315","goodsName":"补水指数:★★★★★","goodsImage":"https://image.yunifang.com/yunifang/images/goods/temp/17051609422120971403077934.jpg","description":"巧妙融合\u201c双重瑰宝\u201d萃取精华,\u201c黄金\u201d补水库,可使肌肤水嫩Q弹~"}],"url":"http://h.yunifang.com/goods/subject.html?id=85","wapUrl":"http://vip.yunifang.com/goods/subject.html?id=85"},{"id":"86","title":"清爽系列","detail":"温度变化、空气污染、电脑辐射等易引起的肌肤出油,玉竹贡竹的清新搭配,悦享净透清爽~","image":"https://image.yunifang.com/yunifang/images/goods/temp/17101116265017851243534104.jpg","start_time":"2017.05.16 09:44:13","end_time":"2018.01.31 00:00:00","show_number":6,"state":"1","sort":0,"descImage":"https://image.yunifang.com/yunifang/images/goods/temp/170516094973114360348144160.jpg","template":"templateDefault","goodsList":[{"id":"189","goods_name":"控油必备丨清爽平衡护肤三件套","shop_price":99.9,"market_price":179.9,"goods_img":"https://image.yunifang.com/yunifang/images/goods/189/goods_img/1706261046499486999388441.jpg","reservable":false,"efficacy":"深层清洁 平衡水油","stock_number":0,"restrict_purchase_num":0,"goodsName":"控油指数:★★★★★","goodsImage":"https://image.yunifang.com/yunifang/images/goods/temp/170516095132819066095187324.jpg","description":"大油田的救星,水和乳的质地都很清爽,轻薄完全不油腻,味道也很好闻没有很刺鼻的香气~"},{"id":"341","goods_name":"清爽平衡矿物爽肤乳液120ml","shop_price":79,"market_price":129,"goods_img":"https://image.yunifang.com/yunifang/images/goods/341/goods_img/17062610346813637236975691.jpg","reservable":false,"efficacy":"补水保湿 清爽控油","stock_number":0,"restrict_purchase_num":0,"goodsName":"控油指数:★★★★☆","goodsImage":"https://image.yunifang.com/yunifang/images/goods/temp/170628154348413637236979205.jpg","description":"油性肌肤的烦恼需要从根源解决问题,该乳液蕴含玉竹精粹,可通过调节油脂平衡,告别油腻烦恼~"},{"id":"141","goods_name":"清爽平衡矿物睡眠面膜180g","shop_price":69.9,"market_price":79.9,"goods_img":"https://image.yunifang.com/yunifang/images/goods/141/goods_img/170626105338416020006362606.jpg","reservable":false,"efficacy":"平衡水油 清爽净透","stock_number":0,"restrict_purchase_num":0,"goodsName":"推荐指数:★★★☆☆","goodsImage":"https://image.yunifang.com/yunifang/images/goods/temp/170628154358216020006362358.jpg","description":"油皮妹纸们必备的懒人神器,睡前一抹,整晚无忧,让肌肤在睡眠中变得清新润泽~"},{"id":"313","goods_name":"清爽平衡矿物爽肤水150ml","shop_price":65,"market_price":109,"goods_img":"https://image.yunifang.com/yunifang/images/goods/313/goods_img/17062610398875573627694321.jpg","reservable":false,"efficacy":"补水控油 收敛毛孔","stock_number":0,"restrict_purchase_num":0,"goodsName":"清爽指数:★★★★☆","goodsImage":"https://image.yunifang.com/yunifang/images/goods/temp/17062815439285573627696368.jpg","description":"二次清洁小助手,\u201c大油田\u201d必备,精选玉竹精萃,这个夏天做个不油腻\u201c小清新\u201d~"},{"id":"11","goods_name":"清爽平衡矿物泥浆面膜260g","shop_price":99,"market_price":99,"goods_img":"https://image.yunifang.com/yunifang/images/goods/11/goods_img/170626112085420599974158029.jpg","reservable":false,"efficacy":"口碑泥浆 清爽控油","stock_number":0,"restrict_purchase_num":0,"goodsName":"口碑指数:★★★★★","goodsImage":"https://image.yunifang.com/yunifang/images/goods/temp/170628154316020599974151881.jpg","description":"整整一大瓶,对抗油田、草莓鼻、粗毛孔无忧虑,从此清新无油,爱上自拍,和美颜相机说拜拜~"},{"id":"559","goods_name":"竹炭净透矿物泥浆面膜110g","shop_price":59,"market_price":99,"goods_img":"https://image.yunifang.com/yunifang/images/goods/559/goods_img/170627164784010618075663103.jpg","reservable":false,"efficacy":"控油净肤 细腻毛孔","stock_number":0,"restrict_purchase_num":0,"goodsName":"控油指数:★★★☆☆","goodsImage":"https://image.yunifang.com/yunifang/images/goods/temp/170628154343010618075663627.jpg","description":"控油能力较好,竹炭味道清新,质地温和,能带走多余油脂,维持肌肤油脂平衡~"}],"goodsIdsList":["189","341","141","313","11","559"],"goodsRelationList":[{"id":"14745","subject_id":"86","goods_id":"189","goodsName":"控油指数:★★★★★","goodsImage":"https://image.yunifang.com/yunifang/images/goods/temp/170516095132819066095187324.jpg","description":"大油田的救星,水和乳的质地都很清爽,轻薄完全不油腻,味道也很好闻没有很刺鼻的香气~"},{"id":"14746","subject_id":"86","goods_id":"341","goodsName":"控油指数:★★★★☆","goodsImage":"https://image.yunifang.com/yunifang/images/goods/temp/170628154348413637236979205.jpg","description":"油性肌肤的烦恼需要从根源解决问题,该乳液蕴含玉竹精粹,可通过调节油脂平衡,告别油腻烦恼~"},{"id":"14747","subject_id":"86","goods_id":"141","goodsName":"推荐指数:★★★☆☆","goodsImage":"https://image.yunifang.com/yunifang/images/goods/temp/170628154358216020006362358.jpg","description":"油皮妹纸们必备的懒人神器,睡前一抹,整晚无忧,让肌肤在睡眠中变得清新润泽~"},{"id":"14748","subject_id":"86","goods_id":"313","goodsName":"清爽指数:★★★★☆","goodsImage":"https://image.yunifang.com/yunifang/images/goods/temp/17062815439285573627696368.jpg","description":"二次清洁小助手,\u201c大油田\u201d必备,精选玉竹精萃,这个夏天做个不油腻\u201c小清新\u201d~"},{"id":"14749","subject_id":"86","goods_id":"11","goodsName":"口碑指数:★★★★★","goodsImage":"https://image.yunifang.com/yunifang/images/goods/temp/170628154316020599974151881.jpg","description":"整整一大瓶,对抗油田、草莓鼻、粗毛孔无忧虑,从此清新无油,爱上自拍,和美颜相机说拜拜~"},{"id":"14750","subject_id":"86","goods_id":"559","goodsName":"控油指数:★★★☆☆","goodsImage":"https://image.yunifang.com/yunifang/images/goods/temp/170628154343010618075663627.jpg","description":"控油能力较好,竹炭味道清新,质地温和,能带走多余油脂,维持肌肤油脂平衡~"}],"url":"http://h.yunifang.com/goods/subject.html?id=86","wapUrl":"http://vip.yunifang.com/goods/subject.html?id=86"},{"id":"89","title":"美白系列","detail":"3年研究成果\n5种植物复配美白精华\n滴滴渗透,淡化黑色素\n美白层层递增恢复自然白皙","image":"https://image.yunifang.com/yunifang/images/goods/temp/17051612377286522760845671.jpg","start_time":"2017.05.16 12:38:21","end_time":"2017.11.30 00:00:00","show_number":6,"state":"1","sort":0,"descImage":"https://image.yunifang.com/yunifang/images/goods/temp/170516123730510604321177291.jpg","template":"templateDefault","goodsList":[{"id":"8","goods_name":"全新升级丨美白嫩肤面膜20片","shop_price":129.9,"market_price":359,"goods_img":"https://image.yunifang.com/yunifang/images/goods/8/goods_img/170818182578717903477668239.jpg","reservable":false,"efficacy":"真美白 匠心造","stock_number":0,"restrict_purchase_num":0,"goodsName":"美白指数:★★★★☆","goodsImage":"https://image.yunifang.com/yunifang/images/goods/temp/17081618370419872110796752.jpg","description":"真美白,匠心造!全新升级美白嫩肤面膜,多种美白成分助力美白,国家权威美白特证安全放心~"},{"id":"185","goods_name":"美白嫩肤护肤基础三件套装","shop_price":169.9,"market_price":209.9,"goods_img":"https://image.yunifang.com/yunifang/images/goods/185/goods_img/170626104732716695049042487.jpg","reservable":false,"efficacy":"温和清洁 补水美白","stock_number":0,"restrict_purchase_num":0,"goodsName":"美白指数:★★★★☆","goodsImage":"https://image.yunifang.com/yunifang/images/goods/temp/170630224949016695049047380.jpg","description":"美白嫩肤,名字是代表,品质是保证,还有什么可犹豫的~"},{"id":"10","goods_name":"美白嫩肤睡眠面膜180g","shop_price":69,"market_price":119,"goods_img":"https://image.yunifang.com/yunifang/images/goods/10/goods_img/170626112190919312919673075.jpg","reservable":false,"efficacy":"补水美白 越睡越白","stock_number":0,"restrict_purchase_num":0,"goodsName":"美白指数:★★★★☆","goodsImage":"https://image.yunifang.com/yunifang/images/goods/temp/170630224882619312919673312.jpg","description":"夜间是皮肤修复黄金期,若想修炼成白雪公主,每晚坚持使用效果更棒,白天也别忘防晒哦~"},{"id":"343","goods_name":"美白嫩肤润肤水150ml","shop_price":69,"market_price":119,"goods_img":"https://image.yunifang.com/yunifang/images/goods/343/goods_img/170626103423611420000294568.jpg","reservable":false,"efficacy":"补水保湿 美白嫩肤","stock_number":0,"restrict_purchase_num":0,"goodsName":"美白效果:★★★☆☆","goodsImage":"https://image.yunifang.com/yunifang/images/goods/temp/170630224836611420000297349.jpg","description":"质地不粘稠,洗完脸以后肌肤的第一道滋润,打开肌肤通道,助力美白营养成分吸收~"},{"id":"1101","goods_name":"美白嫩肤泥浆面膜110g","shop_price":69,"market_price":79,"goods_img":"https://image.yunifang.com/yunifang/images/goods/1101/goods_img/170627175248420984384699974.jpg","reservable":false,"efficacy":"清洁净透 美白嫩肤","stock_number":0,"restrict_purchase_num":0,"goodsName":"美白清洁:★★★★★","goodsImage":"https://image.yunifang.com/yunifang/images/goods/temp/170630224986120984384692751.jpg","description":"为了白,尝尽各种方法,然而效果不佳,这款泥浆,深层吸黑,草本焕白,国家美白特证放心体验~"},{"id":"121","goods_name":"镇店之宝丨美白嫩肤面膜7片","shop_price":49.9,"market_price":99,"goods_img":"https://image.yunifang.com/yunifang/images/goods/121/goods_img/17062610568378169043195978.jpg","reservable":false,"efficacy":"镇店之宝 美白爆款","stock_number":0,"restrict_purchase_num":0,"goodsName":"美白指数:★★★★☆","goodsImage":"https://image.yunifang.com/yunifang/images/goods/temp/17072910225828169043193082.jpg","description":"15分钟亲肤享受,洗完脸以后肌肤的第一道滋润,打开肌肤通道,助力美白营养成分吸收~"}],"goodsIdsList":["8","185","10","343","1101","121"],"goodsRelationList":[{"id":"14443","subject_id":"89","goods_id":"8","goodsName":"美白指数:★★★★☆","goodsImage":"https://image.yunifang.com/yunifang/images/goods/temp/17081618370419872110796752.jpg","description":"真美白,匠心造!全新升级美白嫩肤面膜,多种美白成分助力美白,国家权威美白特证安全放心~"},{"id":"14444","subject_id":"89","goods_id":"185","goodsName":"美白指数:★★★★☆","goodsImage":"https://image.yunifang.com/yunifang/images/goods/temp/170630224949016695049047380.jpg","description":"美白嫩肤,名字是代表,品质是保证,还有什么可犹豫的~"},{"id":"14445","subject_id":"89","goods_id":"10","goodsName":"美白指数:★★★★☆","goodsImage":"https://image.yunifang.com/yunifang/images/goods/temp/170630224882619312919673312.jpg","description":"夜间是皮肤修复黄金期,若想修炼成白雪公主,每晚坚持使用效果更棒,白天也别忘防晒哦~"},{"id":"14446","subject_id":"89","goods_id":"343","goodsName":"美白效果:★★★☆☆","goodsImage":"https://image.yunifang.com/yunifang/images/goods/temp/170630224836611420000297349.jpg","description":"质地不粘稠,洗完脸以后肌肤的第一道滋润,打开肌肤通道,助力美白营养成分吸收~"},{"id":"14447","subject_id":"89","goods_id":"1101","goodsName":"美白清洁:★★★★★","goodsImage":"https://image.yunifang.com/yunifang/images/goods/temp/170630224986120984384692751.jpg","description":"为了白,尝尽各种方法,然而效果不佳,这款泥浆,深层吸黑,草本焕白,国家美白特证放心体验~"},{"id":"14448","subject_id":"89","goods_id":"121","goodsName":"美白指数:★★★★☆","goodsImage":"https://image.yunifang.com/yunifang/images/goods/temp/17072910225828169043193082.jpg","description":"15分钟亲肤享受,洗完脸以后肌肤的第一道滋润,打开肌肤通道,助力美白营养成分吸收~"}],"url":"http://h.yunifang.com/goods/subject.html?id=89","wapUrl":"http://vip.yunifang.com/goods/subject.html?id=89"},{"id":"88","title":"红石榴系列","detail":"肌肤好像透着光\n每一滴红石榴原液含有护肤精粹\n赋予黯哑粗糙肌肤鲜润魅力\n红石榴不仅蕴含多种维他命矿物,更含有石榴多酚和花青素,渗透肌底,深层排浊,自内焕发肌肤红润光泽~\n","image":"https://image.yunifang.com/yunifang/images/goods/temp/170516122967511806265329475.jpg","start_time":"2017.05.16 12:29:44","end_time":"2017.10.31 00:00:00","show_number":6,"state":"1","sort":0,"descImage":"https://image.yunifang.com/yunifang/images/goods/temp/170516122975121341081719659.jpg","template":"templateDefault","goodsList":[{"id":"99","goods_name":"红石榴矿物洁面乳100ml","shop_price":29.9,"market_price":59,"goods_img":"https://image.yunifang.com/yunifang/images/goods/99/goods_img/170626105849718932898868035.jpg","reservable":false,"efficacy":"温和清洁 提亮肤色","stock_number":0,"restrict_purchase_num":0,"goodsName":"清洁指数:★★★☆☆","goodsImage":"https://image.yunifang.com/yunifang/images/goods/temp/17051612304946692218255625.jpg","description":"泡沫绵密,清扫毛孔浊质,助力鲜活补水,红石榴精华唤醒肌肤鲜活动力~"},{"id":"71","goods_name":"性价比之王|红石榴矿物补水亮肤十件套","shop_price":159.99,"market_price":319.9,"goods_img":"https://image.yunifang.com/yunifang/images/goods/71/goods_img/170914091495612767354095021.jpg","reservable":false,"efficacy":"补水亮肤 改善黯哑","stock_number":0,"restrict_purchase_num":0,"goodsName":"亮肤保湿:★★★★★","goodsImage":"https://image.yunifang.com/yunifang/images/goods/temp/170516123365218037277371021.jpg","description":"小仙女们都知道,红石榴有提亮肤色的功效,这款套装炒鸡滋润,而且不油腻,红色大气包装更能俘获人心~"},{"id":"1281","goods_name":"新品眼霜丨红石榴矿物眼霜25g","shop_price":129,"market_price":159,"goods_img":"https://image.yunifang.com/yunifang/images/goods/1281/goods_img/170626102555811776047044227.jpg","reservable":false,"efficacy":"淡退黑眼圈 净彻排浊","stock_number":0,"restrict_purchase_num":0,"goodsName":"淡化眼圈:★★★☆☆","goodsImage":"https://image.yunifang.com/yunifang/images/goods/temp/170729102668111776047045132.jpg","description":"熊猫眼克星!多种植物精粹,天然舒活肌肤水通道。清爽不油腻,好吸收,细纹看着浅。"},{"id":"151","goods_name":"红石榴鲜活矿物睡眠面膜180g","shop_price":99,"market_price":119,"goods_img":"https://image.yunifang.com/yunifang/images/goods/151/goods_img/170626105075810681841436827.jpg","reservable":false,"efficacy":"源源养护 鲜活亮颜","stock_number":0,"restrict_purchase_num":0,"goodsName":"提亮指数:★★★★★","goodsImage":"https://image.yunifang.com/yunifang/images/goods/temp/170729102811710681841435351.jpg","description":"看得见的鲜活粒子,增添肌肤鲜活能量!啫喱态的面膜,质地清爽不油腻!"}],"goodsIdsList":["99","1652","1250","71","1281","151"],"goodsRelationList":[{"id":"13960","subject_id":"88","goods_id":"99","goodsName":"清洁指数:★★★☆☆","goodsImage":"https://image.yunifang.com/yunifang/images/goods/temp/17051612304946692218255625.jpg","description":"泡沫绵密,清扫毛孔浊质,助力鲜活补水,红石榴精华唤醒肌肤鲜活动力~"},{"id":"13961","subject_id":"88","goods_id":"1652","goodsName":"亮肤指数:★★★★☆","goodsImage":"https://image.yunifang.com/yunifang/images/goods/temp/170516123680716693836711273.jpg","description":"红石榴精华有助于打散黑色素群,提亮肤色更给力,肤色暗黄的小伙伴们看过来~"},{"id":"13962","subject_id":"88","goods_id":"1250","goodsName":"抗氧化:★★★★☆","goodsImage":"https://image.yunifang.com/yunifang/images/goods/temp/170516123022219451838196701.jpg","description":"你的梳妆台必不可少一瓶面霜,告别熬夜和岁月留下的黄脸,为肌肤注入鲜活能量~"},{"id":"13963","subject_id":"88","goods_id":"71","goodsName":"亮肤保湿:★★★★★","goodsImage":"https://image.yunifang.com/yunifang/images/goods/temp/170516123365218037277371021.jpg","description":"小仙女们都知道,红石榴有提亮肤色的功效,这款套装炒鸡滋润,而且不油腻,红色大气包装更能俘获人心~"},{"id":"13964","subject_id":"88","goods_id":"1281","goodsName":"淡化眼圈:★★★☆☆","goodsImage":"https://image.yunifang.com/yunifang/images/goods/temp/170729102668111776047045132.jpg","description":"熊猫眼克星!多种植物精粹,天然舒活肌肤水通道。清爽不油腻,好吸收,细纹看着浅。"},{"id":"13965","subject_id":"88","goods_id":"151","goodsName":"提亮指数:★★★★★","goodsImage":"https://image.yunifang.com/yunifang/images/goods/temp/170729102811710681841435351.jpg","description":"看得见的鲜活粒子,增添肌肤鲜活能量!啫喱态的面膜,质地清爽不油腻!"}],"url":"http://h.yunifang.com/goods/subject.html?id=88","wapUrl":"http://vip.yunifang.com/goods/subject.html?id=88"},{"id":"101","title":"黑玫瑰系列","detail":"层层筛选优质黑玫瑰\n黑玫瑰精粹含单宁酸及植物多酚\n解决肌肤黯哑不均,显著提亮","image":"https://image.yunifang.com/yunifang/images/goods/temp/170731095719116873211372276.jpg","start_time":"2017.07.25 00:00:00","end_time":"2018.01.31 00:00:00","show_number":6,"state":"1","sort":0,"descImage":"https://image.yunifang.com/yunifang/images/goods/temp/17073109575402630402867921.jpg","template":"templateDefault","goodsList":[{"id":"4","goods_name":"黑玫瑰矿物洁面乳100ml","shop_price":49,"market_price":59,"goods_img":"https://image.yunifang.com/yunifang/images/goods/4/goods_img/17062611262464209534577694.jpg","reservable":false,"efficacy":"温和清洁 提亮肤色","stock_number":0,"restrict_purchase_num":0,"goodsName":"清洁提亮:★★★★☆","goodsImage":"https://image.yunifang.com/yunifang/images/goods/temp/17073110055984209534577564.jpg","description":"泡沫细腻,清洁清洁肌肤,一扫城市雾霾导致的肌肤污垢,同时黑玫瑰精粹由内而外提亮肤色~"},{"id":"1805","goods_name":"黑玫瑰护肤基础三件套","shop_price":269.9,"market_price":387,"goods_img":"https://image.yunifang.com/yunifang/images/goods/1805/goods_img/17050414108281642074189987.jpg","reservable":false,"efficacy":"击退黯哑 提亮莹润","stock_number":0,"restrict_purchase_num":0,"goodsName":"推荐指数:★★★★☆","goodsImage":"https://image.yunifang.com/yunifang/images/goods/temp/170731100820019181327789327.jpg","description":"3重亮肤能量,层层淡化黯哑,给予肌肤奢宠养护~"},{"id":"127","goods_name":"黑玫瑰泥浆面膜260g","shop_price":199,"market_price":199,"goods_img":"https://image.yunifang.com/yunifang/images/goods/127/goods_img/170626145396916224693431300.jpg","reservable":false,"efficacy":"滋养润滑 提亮肤色","stock_number":0,"restrict_purchase_num":0,"goodsName":"清洁亮肤:★★★★☆","goodsImage":"https://image.yunifang.com/yunifang/images/goods/temp/170731101056416224693431021.jpg","description":"大多肌肤问题源于脸部清洁不当,黑玫瑰泥浆解决护肤根本问题~"},{"id":"245","goods_name":"黑玫瑰睡眠面膜护肤四件套装","shop_price":429.9,"market_price":539.9,"goods_img":"https://image.yunifang.com/yunifang/images/goods/245/goods_img/17062610416972131702264912.jpg","reservable":false,"efficacy":"滋养肌肤 提亮肤色","stock_number":0,"restrict_purchase_num":0,"goodsName":"综合指数:★★★☆☆","goodsImage":"https://image.yunifang.com/yunifang/images/goods/temp/1707311016882131702267162.jpg","description":"一套护肤装备,解决肌肤粗糙暗沉,熟龄肌首选~"}],"goodsIdsList":["403","4","1805","127","83","245"],"goodsRelationList":[{"id":"13947","subject_id":"101","goods_id":"403","goodsName":"推荐指数:★★★★★","goodsImage":"https://image.yunifang.com/yunifang/images/goods/temp/1707311002441167403859909.jpg","description":"黑玫瑰精粹集于一瓶,一小瓶精华液唤醒肌肤夺目光彩"},{"id":"13948","subject_id":"101","goods_id":"4","goodsName":"清洁提亮:★★★★☆","goodsImage":"https://image.yunifang.com/yunifang/images/goods/temp/17073110055984209534577564.jpg","description":"泡沫细腻,清洁清洁肌肤,一扫城市雾霾导致的肌肤污垢,同时黑玫瑰精粹由内而外提亮肤色~"},{"id":"13949","subject_id":"101","goods_id":"1805","goodsName":"推荐指数:★★★★☆","goodsImage":"https://image.yunifang.com/yunifang/images/goods/temp/170731100820019181327789327.jpg","description":"3重亮肤能量,层层淡化黯哑,给予肌肤奢宠养护~"},{"id":"13950","subject_id":"101","goods_id":"127","goodsName":"清洁亮肤:★★★★☆","goodsImage":"https://image.yunifang.com/yunifang/images/goods/temp/170731101056416224693431021.jpg","description":"大多肌肤问题源于脸部清洁不当,黑玫瑰泥浆解决护肤根本问题~"},{"id":"13951","subject_id":"101","goods_id":"83","goodsName":"补水提亮:★★★★☆","goodsImage":"https://image.yunifang.com/yunifang/images/goods/temp/17073110134825656554699188.jpg","description":"15分钟亲肤享受,敷面膜时黑玫瑰自然清新的花香令人身心愉悦,于芬芳中绽放美好气色~"},{"id":"13952","subject_id":"101","goods_id":"245","goodsName":"综合指数:★★★☆☆","goodsImage":"https://image.yunifang.com/yunifang/images/goods/temp/1707311016882131702267162.jpg","description":"一套护肤装备,解决肌肤粗糙暗沉,熟龄肌首选~"}],"url":"http://h.yunifang.com/goods/subject.html?id=101","wapUrl":"http://vip.yunifang.com/goods/subject.html?id=101"}],"activityInfo":{"activityAreaDisplay":"1","activityInfoList":[{"id":"60","activityImg":"https://image.yunifang.com/yunifang/images/goods/temp/170527155491221343694704636.jpg","activityType":"60","activityData":"69","activityDataDetail":"69","activityAreaDisplay":"1","countDownEnable":"0","remark":"搭配购买立减","sort":0},{"id":"21","activityImg":"https://image.yunifang.com/yunifang/images/goods/temp/17051718251658680692616281.jpg","activityType":"1","activityData":"http://h.yunifang.com/invite/invite.html?login_check=2","activityDataDetail":"http%3A%2F%2Fh.yunifang.com%2Finvite%2Finvite.html%3Flogin_check%3D2","activityAreaDisplay":"1","countDownEnable":"0","sort":0}]},"ad1":[{"id":"1147","createtime":"2017.10.09 08:33:42","lastupdatetime":"2017.10.09 08:33:46","image":"https://image.yunifang.com/yunifang/images/goods/ad0/17100908319495742677657462.jpg","ad_type":0,"sort":1414,"position":0,"enabled":1,"createuser":"leiqi","lastupdateuser":"leiqi","ad_type_dynamic":"1","ad_type_dynamic_data":"http://h.yunifang.com/h/comment.html","ad_type_dynamic_detail":"http%3A%2F%2Fh.yunifang.com%2Fh%2Fcomment.html","title":"10月商品好评有礼","channelType":"0"},{"id":"1047","createtime":"2017.07.05 19:49:35","lastupdatetime":"2017.09.28 22:16:07","image":"https://image.yunifang.com/yunifang/images/goods/ad0/170905143497021095281713081.jpg","ad_type":0,"sort":1404,"position":0,"enabled":1,"createuser":"hani","lastupdateuser":"leiqi","ad_type_dynamic":"2","ad_type_dynamic_data":"8","ad_type_dynamic_detail":"8","show_channel":"1,2,3,4","title":"美白嫩肤新品面膜","channelType":"0"},{"id":"1055","createtime":"2017.07.19 14:52:20","lastupdatetime":"2017.10.09 10:53:21","image":"https://image.yunifang.com/yunifang/images/goods/ad0/170905143499118006873413769.jpg","ad_type":0,"sort":1403,"position":0,"enabled":1,"createuser":"xicheng","lastupdateuser":"hani","ad_type_dynamic":"2","ad_type_dynamic_data":"1870","ad_type_dynamic_detail":"1870","show_channel":"1,2,3,4","title":"820玉润雪肌膜盒","channelType":"0"},{"id":"1088","createtime":"2017.08.23 09:32:02","lastupdatetime":"2017.09.28 10:24:57","image":"https://image.yunifang.com/yunifang/images/goods/ad0/170823222049920659891841095.jpg","ad_type":0,"sort":1400,"position":0,"enabled":1,"createuser":"hani","lastupdateuser":"xicheng","ad_type_dynamic":"1","ad_type_dynamic_data":"http://h.yunifang.com/h/video.html","ad_type_dynamic_detail":"http%3A%2F%2Fh.yunifang.com%2Fh%2Fvideo.html","show_channel":"1,2,3,4","title":"国货力量","channelType":"0"}],"ad5":[{"id":"359","image":"https://image.yunifang.com/yunifang/images/goods/ad0/170516143575610973073847273.png","ad_type":4,"sort":295,"position":5,"enabled":0,"ad_type_dynamic":"1","ad_type_dynamic_data":"http://h.yunifang.com/sign/sign.html?login_check=2","ad_type_dynamic_detail":"http%3A%2F%2Fh.yunifang.com%2Fsign%2Fsign.html%3Flogin_check%3D2","show_channel":"1,2","title":"每日签到"},{"id":"358","image":"https://image.yunifang.com/yunifang/images/goods/ad0/170516143522410954603429327.png","ad_type":1,"url":"http://mobile.hmeili.com/yunifang/web/member/gift","sort":293,"position":5,"enabled":0,"ad_type_dynamic":"1","ad_type_dynamic_data":"http://m.yunifang.com/yunifang/mobile/creditShop/loginDBShop?dbredirect=http://www.duiba.com.cn/chome/index&login_check=2","ad_type_dynamic_detail":"http%3A%2F%2Fm.yunifang.com%2Fyunifang%2Fmobile%2FcreditShop%2FloginDBShop%3Fdbredirect%3Dhttp%3A%2F%2Fwww.duiba.com.cn%2Fchome%2Findex%26login_check%3D2","show_channel":"1,2","title":"积分商城"},{"id":"357","image":"https://image.yunifang.com/yunifang/images/goods/ad0/170516143491410936133008135.png","ad_type":1,"url":"http://mobile.hmeili.com/yunifang/web/help/cash","sort":291,"position":5,"enabled":0,"ad_type_dynamic":"1","ad_type_dynamic_data":"http://h.yunifang.com/exchange/code_app.html?login_check=1","ad_type_dynamic_detail":"http%3A%2F%2Fh.yunifang.com%2Fexchange%2Fcode_app.html%3Flogin_check%3D1","show_channel":"1,2","title":"兑换专区"},{"id":"360","image":"https://image.yunifang.com/yunifang/images/goods/ad0/170516143497810917662585920.png","ad_type":1,"url":"http://www.yunifang.com/a/fangweichaxun/wap_fwcx.html","sort":289,"position":5,"enabled":0,"ad_type_dynamic":"1","ad_type_dynamic_data":"http://www.yunifang.com/a/fangweichaxun/wap_fwcx.html","ad_type_dynamic_detail":"http%3A%2F%2Fwww.yunifang.com%2Fa%2Ffangweichaxun%2Fwap_fwcx.html","show_channel":"1,2,3,4","title":"真伪查询"}],"ad8":[{"id":"1056","image":"https://image.yunifang.com/yunifang/images/goods/ad0/170719150582816742818457761.png","ad_type":0,"sort":57,"position":8,"enabled":0,"description":"人气好物超值推荐","ad_type_dynamic":"1","ad_type_dynamic_data":"http://vip.yunifang.com/goods/recommend.html?id=87","ad_type_dynamic_detail":"http%3A%2F%2Fh.yunifang.com%2Fgoods%2Frecommend.html%3Fid%3D87","show_channel":"1,2,3,4","title":"新鲜每一天","goods":{"collect_count":0,"reservable":false,"restriction":0,"restrict_purchase_num":0,"is_coupon_allowed":false,"allocated_stock":0,"is_gift":0}},{"id":"954","image":"https://image.yunifang.com/yunifang/images/goods/ad0/171011094966420374041489003.jpg","ad_type":0,"sort":56,"position":8,"enabled":0,"description":"补水滢亮面膜礼盒","ad_type_dynamic":"1","ad_type_dynamic_data":"http://vip.yunifang.com/community_wap/theme-detail.html?id=14319","ad_type_dynamic_detail":"http%3A%2F%2Fvip.yunifang.com%2Fcommunity%2Ftheme-detail.html%3Fid%3D14319","show_channel":"1,2,3,4","title":"免费试用","goods":{"collect_count":0,"reservable":false,"restriction":0,"restrict_purchase_num":0,"is_coupon_allowed":false,"allocated_stock":0,"is_gift":0}},{"id":"1125","image":"https://image.yunifang.com/yunifang/images/goods/ad0/17093010304768203378533256.jpg","ad_type":0,"sort":54,"position":8,"enabled":0,"description":"解救干燥肌","ad_type_dynamic":"2","ad_type_dynamic_data":"16","ad_type_dynamic_detail":"16","show_channel":"1,2,3,4","title":"秋季热销","goods":{"collect_count":0,"reservable":false,"restriction":0,"restrict_purchase_num":0,"is_coupon_allowed":false,"allocated_stock":0,"is_gift":0}}],"defaultGoodsList":[{"id":"121","goods_name":"镇店之宝丨美白嫩肤面膜7片","shop_price":49.9,"market_price":99,"goods_img":"https://image.yunifang.com/yunifang/images/goods/121/goods_img/17062610568378169043195978.jpg","reservable":false,"efficacy":"镇店之宝 美白爆款","stock_number":0,"restrict_purchase_num":0},{"id":"389","goods_name":"热销爆款丨清爽平衡矿物黑面膜21片","shop_price":99.9,"market_price":297,"goods_img":"https://image.yunifang.com/yunifang/images/goods/389/goods_img/17062610265116850439553337.jpg","reservable":false,"efficacy":"以黑吸黑 净透亮肤","stock_number":0,"restrict_purchase_num":0},{"id":"684","goods_name":"解救肌渴丨花粹水润面膜套装10片","shop_price":29.9,"market_price":139,"goods_img":"https://image.yunifang.com/yunifang/images/goods/684/goods_img/17062610401397749701177609.jpg","reservable":false,"efficacy":"水润充盈 鲜嫩少女肌","stock_number":0,"restrict_purchase_num":0},{"id":"6","goods_name":"好用不贵丨亮颜水润蚕丝面膜(寂地定制版)","shop_price":59.9,"market_price":239.9,"goods_img":"https://image.yunifang.com/yunifang/images/goods/6/goods_img/170626112597120167739086821.jpg","reservable":false,"efficacy":"深层补水 提亮肤色","stock_number":0,"restrict_purchase_num":0},{"id":"772","goods_name":"全新升级丨清润莹亮黑膜套装21片","shop_price":99.9,"market_price":297,"goods_img":"https://image.yunifang.com/yunifang/images/goods/772/goods_img/17090514228269026987111180.jpg","reservable":false,"efficacy":"自然莹亮 水感瓷肌","stock_number":0,"restrict_purchase_num":0},{"id":"5","goods_name":"金桂花矿物眼膜贴60片","shop_price":69,"market_price":129,"goods_img":"https://image.yunifang.com/yunifang/images/goods/5/goods_img/170626112553213363513709796.jpg","reservable":false,"efficacy":"补水靓眼 改善熊猫眼","stock_number":0,"restrict_purchase_num":0}],"creditRecived":false,"goodsSpreeActivity":{"id":"327","name":"10.13早场","startDate":"2017.10.13 10:00:00","endDate":"2017.10.13 16:00:00","status":"1","startSeconds":"-12118","endSeconds":"9481","isChecked":"0","goodsList":[{"id":"997","goodsSpreeId":"327","goodsId":"340","goodsName":"【使用期一年以上介意慎拍】黑玫瑰矿物柔肤乳液120ml","goodsImg":"https://image.yunifang.com/yunifang/images/goods/340/goods_img/170626103460417447209262417.jpg","marketPrice":169,"activityPrice":39.9,"salesRatio":0,"stockNumber":30,"releaseNumber":40},{"id":"998","goodsSpreeId":"327","goodsId":"1324","goodsName":"鲜气少女肌|水光轻灵焕彩面膜5片","goodsImg":"https://image.yunifang.com/yunifang/images/goods/1324/goods_img/170626102366110382576889824.jpg","marketPrice":129,"activityPrice":59.9,"salesRatio":0,"stockNumber":30,"releaseNumber":30},{"id":"999","goodsSpreeId":"327","goodsId":"903","goodsName":"绿豆原浆泥面膜100g","goodsImg":"https://image.yunifang.com/yunifang/images/goods/903/goods_img/170627180542017051678666200.jpg","marketPrice":99,"activityPrice":49.9,"salesRatio":0,"stockNumber":28,"releaseNumber":30}]}}
     */

    private int code;
    private String msg;
    private DataBean data;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public static class DataBean {
        /**
         * subjects : [{"id":"84","title":"新品上市","detail":"质本天然,探寻自然生命的非凡能量,给\u201c躁动\u201d的肌肤一场新的旅行~~","image":"https://image.yunifang.com/yunifang/images/goods/temp/171011162655217457875119759.jpg","start_time":"2017.05.16 09:26:13","end_time":"2017.10.31 00:00:00","show_number":6,"state":"1","sort":0,"descImage":"https://image.yunifang.com/yunifang/images/goods/temp/17051609265319705925918251.jpg","template":"templateDefault","goodsList":[{"id":"492","goods_name":"盈透美肌黑膜套装(插画版)","shop_price":99.9,"market_price":298,"goods_img":"https://image.yunifang.com/yunifang/images/goods/492/goods_img/171011191068814258195256706.jpg","reservable":false,"efficacy":"以黑吸黑 润透亮颜","stock_number":0,"restrict_purchase_num":0,"goodsName":"PG one热荐:★★★★★","goodsImage":"https://image.yunifang.com/yunifang/images/goods/temp/171011192212214258195254179.jpg","description":"三重植物精粹,三重水润膜力,美时美刻,水润透亮~"},{"id":"2076","goods_name":"鲜嫩美莓面膜套装","shop_price":129.9,"market_price":299,"goods_img":"https://image.yunifang.com/yunifang/images/goods/2076/goods_img/170930212555714134276722977.jpg","reservable":false,"efficacy":"果然水润 嫩颜美莓","stock_number":0,"restrict_purchase_num":0,"goodsName":"水润指数:★★★★☆","goodsImage":"https://image.yunifang.com/yunifang/images/goods/temp/17101119283583452898243380.jpg","description":"畅享鲜果派对,肌肤水嫩鲜活,萃取自然野草莓、黑莓、巴西莓精华,三款搭配持续水嫩鲜活~"},{"id":"1189","goods_name":"清透盈润面膜套装21片","shop_price":79.9,"market_price":297,"goods_img":"https://image.yunifang.com/yunifang/images/goods/1189/goods_img/17093019432252555150652465.jpg","reservable":false,"efficacy":"水感剔透 鲜颜嫩肌","stock_number":0,"restrict_purchase_num":0,"goodsName":"鲜嫩指数:★★★★☆","goodsImage":"https://image.yunifang.com/yunifang/images/goods/temp/17101119312216937168845205.jpg","description":"精选玫瑰、竹萃自然精粹,清洁力、补水力、亮泽度全新升级,另肌肤水感剔透~"},{"id":"1638","goods_name":"全新升级丨嫩肌酵素黑膜礼盒21片","shop_price":139.9,"market_price":299,"goods_img":"https://image.yunifang.com/yunifang/images/goods/1638/goods_img/170905151496114997886544712.jpg","reservable":false,"efficacy":"极地酵素 \u201c酵\u201d醒美肌","stock_number":0,"restrict_purchase_num":0,"goodsName":"推荐指数:★★★☆☆","goodsImage":"https://image.yunifang.com/yunifang/images/goods/temp/170905182614314997886548523.jpg","description":"蕴含南极活性补水酵素精华,持久补水锁水,轻蔬鲜果酵素助力平衡水油~"},{"id":"1830","goods_name":"新品尝鲜|水润茶萃微囊黑面膜20片","shop_price":129.9,"market_price":297,"goods_img":"https://image.yunifang.com/yunifang/images/goods/1830/goods_img/17063017284962337647468682.jpg","reservable":false,"efficacy":"只要一片 水润一天","stock_number":0,"restrict_purchase_num":0,"goodsName":"新品推荐:★★★★★","goodsImage":"https://image.yunifang.com/yunifang/images/goods/temp/1705240026717476518778188.jpg","description":"茶萃微囊精华,开创持续保湿新体验,只要一片,水润一天,持续保湿12小时以上"},{"id":"2091","goods_name":"新品上市丨V7伪妆素颜霜20g","shop_price":79,"market_price":79,"goods_img":"https://image.yunifang.com/yunifang/images/goods/2091/goods_img/170905172822119555059792173.jpg","reservable":false,"efficacy":"即刻提亮 闪亮肤色","stock_number":0,"restrict_purchase_num":0,"goodsName":"遮瑕指数:★★★★☆","goodsImage":"https://image.yunifang.com/yunifang/images/goods/temp/1709051825818467283561992.jpg","description":"如果你是素颜控,这款即刻提亮,闪亮肤色的懒人新品素颜霜你值得拥有~"},{"id":"2039","goods_name":"水润柔嫩黑膜21片","shop_price":89.9,"market_price":297,"goods_img":"https://image.yunifang.com/yunifang/images/goods/2039/goods_img/17093020002498271170145819.jpg","reservable":false,"efficacy":"自然纯粹 水润纯净","stock_number":0,"restrict_purchase_num":0,"goodsName":"补水指数:★★★☆☆","goodsImage":"https://image.yunifang.com/yunifang/images/goods/temp/171011193181418890895139029.jpg","description":"精选龙头竹菁萃、牛油果精粹、黑珍珠精粹,给你自然纯粹,水润纯净体验~"},{"id":"745","goods_name":"全新升级丨晶亮红石榴面膜7片","shop_price":79,"market_price":89,"goods_img":"https://image.yunifang.com/yunifang/images/goods/745/goods_img/17081617418998795654179347.jpg","reservable":false,"efficacy":"深度排浊 一扫黯哑","stock_number":0,"restrict_purchase_num":0,"goodsName":"亮肤指数:★★★★★","goodsImage":"https://image.yunifang.com/yunifang/images/goods/temp/170816184151311258603701437.jpg","description":"萃取红石榴原液,滴滴蕴含鲜活能量,清洁排浊、透亮无瑕,改善粗糙黯哑小能手"},{"id":"1870","goods_name":"新品尝鲜|玉润雪肌黑白膜盒20片","shop_price":129.9,"market_price":297,"goods_img":"https://image.yunifang.com/yunifang/images/goods/1870/goods_img/17071909555120332464127704.jpg","reservable":false,"efficacy":"黑白膜力 美肌如玉","stock_number":0,"restrict_purchase_num":0,"goodsName":"新品推荐:★★★★☆","goodsImage":"https://image.yunifang.com/yunifang/images/goods/temp/1707171037861467283567706.jpg","description":"白膜胶原蛋白精华,昼弹润生态库,黑膜三分子玻尿酸,夜补水先锋。黑白膜力,水肌如玉~"},{"id":"1919","goods_name":"透亮红酒酵力面膜21片","shop_price":129.9,"market_price":239,"goods_img":"https://image.yunifang.com/yunifang/images/goods/1919/goods_img/170630171021217601465422538.jpg","reservable":false,"efficacy":"红酒透亮 酵醒美肌","stock_number":0,"restrict_purchase_num":0,"goodsName":"亮肤指数:★★★★★","goodsImage":"https://image.yunifang.com/yunifang/images/goods/temp/170630224599017601465422520.jpg","description":"全新添加西班牙酵母发酵液,融合法国红酒多酚亮肤成分,加乘亮肤功效~"},{"id":"772","goods_name":"全新升级丨清润莹亮黑膜套装21片","shop_price":99.9,"market_price":297,"goods_img":"https://image.yunifang.com/yunifang/images/goods/772/goods_img/17090514228269026987111180.jpg","reservable":false,"efficacy":"自然莹亮 水感瓷肌","stock_number":0,"restrict_purchase_num":0,"goodsName":"水亮能量:★★★★☆","goodsImage":"https://image.yunifang.com/yunifang/images/goods/temp/1709191414112467283564077.jpg","description":"自然莹亮,水感瓷肌,精选龙头竹、葡萄籽,演绎水亮二重奏~"},{"id":"487","goods_name":"海洋弹性蛋白矿物精华眼霜25g","shop_price":139,"market_price":169,"goods_img":"https://image.yunifang.com/yunifang/images/goods/487/goods_img/170626101843492134395965.jpg","reservable":false,"efficacy":"提拉紧致 润亮双眸","stock_number":0,"restrict_purchase_num":0,"goodsName":"抗皱指数:★★★☆☆","goodsImage":"https://image.yunifang.com/yunifang/images/goods/temp/1706151917130467283566572.jpg","description":"不要等到有皱纹了才想起用眼霜,不要让眼睛放大你的年龄,每一滴自然精粹,都为你打造明亮双眸~"},{"id":"1281","goods_name":"新品眼霜丨红石榴矿物眼霜25g","shop_price":129,"market_price":159,"goods_img":"https://image.yunifang.com/yunifang/images/goods/1281/goods_img/170626102555811776047044227.jpg","reservable":false,"efficacy":"淡退黑眼圈 净彻排浊","stock_number":0,"restrict_purchase_num":0,"goodsName":"抗皱指数:★★★☆☆","goodsImage":"https://image.yunifang.com/yunifang/images/goods/temp/1706151918330467283566999.jpg","description":"熊猫眼克星!多种植物精粹,天然舒活肌肤水通道,清爽不油腻,好吸收,和细纹说拜拜~"}],"goodsIdsList":["492","2076","1923","1189","1638","1830","2091","2039","745","1870","1919","772","1280","487","1281","1250"],"goodsRelationList":[{"id":"14815","subject_id":"84","goods_id":"492","goodsName":"PG one热荐:★★★★★","goodsImage":"https://image.yunifang.com/yunifang/images/goods/temp/171011192212214258195254179.jpg","description":"三重植物精粹,三重水润膜力,美时美刻,水润透亮~"},{"id":"14816","subject_id":"84","goods_id":"2076","goodsName":"水润指数:★★★★☆","goodsImage":"https://image.yunifang.com/yunifang/images/goods/temp/17101119283583452898243380.jpg","description":"畅享鲜果派对,肌肤水嫩鲜活,萃取自然野草莓、黑莓、巴西莓精华,三款搭配持续水嫩鲜活~"},{"id":"14817","subject_id":"84","goods_id":"1923","goodsName":"美白指数:★★★★☆","goodsImage":"https://image.yunifang.com/yunifang/images/goods/temp/170816184068619872110797032.jpg","description":"真美白,匠心造!全新升级美白嫩肤面膜,多种美白成分助力美白,国家权威美白特证安全放心~"},{"id":"14818","subject_id":"84","goods_id":"1189","goodsName":"鲜嫩指数:★★★★☆","goodsImage":"https://image.yunifang.com/yunifang/images/goods/temp/17101119312216937168845205.jpg","description":"精选玫瑰、竹萃自然精粹,清洁力、补水力、亮泽度全新升级,另肌肤水感剔透~"},{"id":"14819","subject_id":"84","goods_id":"1638","goodsName":"推荐指数:★★★☆☆","goodsImage":"https://image.yunifang.com/yunifang/images/goods/temp/170905182614314997886548523.jpg","description":"蕴含南极活性补水酵素精华,持久补水锁水,轻蔬鲜果酵素助力平衡水油~"},{"id":"14820","subject_id":"84","goods_id":"1830","goodsName":"新品推荐:★★★★★","goodsImage":"https://image.yunifang.com/yunifang/images/goods/temp/1705240026717476518778188.jpg","description":"茶萃微囊精华,开创持续保湿新体验,只要一片,水润一天,持续保湿12小时以上"},{"id":"14821","subject_id":"84","goods_id":"2091","goodsName":"遮瑕指数:★★★★☆","goodsImage":"https://image.yunifang.com/yunifang/images/goods/temp/1709051825818467283561992.jpg","description":"如果你是素颜控,这款即刻提亮,闪亮肤色的懒人新品素颜霜你值得拥有~"},{"id":"14822","subject_id":"84","goods_id":"2039","goodsName":"补水指数:★★★☆☆","goodsImage":"https://image.yunifang.com/yunifang/images/goods/temp/171011193181418890895139029.jpg","description":"精选龙头竹菁萃、牛油果精粹、黑珍珠精粹,给你自然纯粹,水润纯净体验~"},{"id":"14823","subject_id":"84","goods_id":"745","goodsName":"亮肤指数:★★★★★","goodsImage":"https://image.yunifang.com/yunifang/images/goods/temp/170816184151311258603701437.jpg","description":"萃取红石榴原液,滴滴蕴含鲜活能量,清洁排浊、透亮无瑕,改善粗糙黯哑小能手"},{"id":"14824","subject_id":"84","goods_id":"1870","goodsName":"新品推荐:★★★★☆","goodsImage":"https://image.yunifang.com/yunifang/images/goods/temp/1707171037861467283567706.jpg","description":"白膜胶原蛋白精华,昼弹润生态库,黑膜三分子玻尿酸,夜补水先锋。黑白膜力,水肌如玉~"},{"id":"14825","subject_id":"84","goods_id":"1919","goodsName":"亮肤指数:★★★★★","goodsImage":"https://image.yunifang.com/yunifang/images/goods/temp/170630224599017601465422520.jpg","description":"全新添加西班牙酵母发酵液,融合法国红酒多酚亮肤成分,加乘亮肤功效~"},{"id":"14826","subject_id":"84","goods_id":"772","goodsName":"水亮能量:★★★★☆","goodsImage":"https://image.yunifang.com/yunifang/images/goods/temp/1709191414112467283564077.jpg","description":"自然莹亮,水感瓷肌,精选龙头竹、葡萄籽,演绎水亮二重奏~"},{"id":"14827","subject_id":"84","goods_id":"1280","goodsName":"遮瑕指数:★★★☆☆","goodsImage":"https://image.yunifang.com/yunifang/images/goods/temp/17051609285005287026507049.jpg","description":"日本进口粉扑,云母成分强遮瑕,接触肌肤绵密柔软,粉体细腻,妆感轻薄,完美遮瑕~"},{"id":"14828","subject_id":"84","goods_id":"487","goodsName":"抗皱指数:★★★☆☆","goodsImage":"https://image.yunifang.com/yunifang/images/goods/temp/1706151917130467283566572.jpg","description":"不要等到有皱纹了才想起用眼霜,不要让眼睛放大你的年龄,每一滴自然精粹,都为你打造明亮双眸~"},{"id":"14829","subject_id":"84","goods_id":"1281","goodsName":"抗皱指数:★★★☆☆","goodsImage":"https://image.yunifang.com/yunifang/images/goods/temp/1706151918330467283566999.jpg","description":"熊猫眼克星!多种植物精粹,天然舒活肌肤水通道,清爽不油腻,好吸收,和细纹说拜拜~"},{"id":"14830","subject_id":"84","goods_id":"1250","goodsName":"抗氧化指数:★★★★☆","goodsImage":"https://image.yunifang.com/yunifang/images/goods/temp/1706021026770467283563014.jpg","description":"你的梳妆台必不可少一瓶面霜,告别熬夜和岁月留下的黄脸,为肌肤注入鲜活能量。"}],"url":"http://h.yunifang.com/goods/subject.html?id=84","wapUrl":"http://vip.yunifang.com/goods/subject.html?id=84"},{"id":"85","title":"玫瑰系列","detail":"大马士革玫瑰 ,天然补水之选\n沙漠玫瑰 ,优质锁水之源\n打造花漾透润,奢宠水嫩肌","image":"https://image.yunifang.com/yunifang/images/goods/temp/17051609349138679665088294.jpg","start_time":"2017.05.16 09:34:46","end_time":"2017.10.31 00:00:00","show_number":6,"state":"1","sort":0,"descImage":"https://image.yunifang.com/yunifang/images/goods/temp/17051609348383766880399479.jpg","template":"templateDefault","goodsList":[{"id":"16","goods_name":"热销套装丨玫瑰滋养保湿四件套","shop_price":169.9,"market_price":259.9,"goods_img":"https://image.yunifang.com/yunifang/images/goods/16/goods_img/17062611152592656236701367.jpg","reservable":false,"efficacy":"一整套源源补水","stock_number":0,"restrict_purchase_num":0,"goodsName":"补水指数:★★★★☆","goodsImage":"https://image.yunifang.com/yunifang/images/goods/temp/17051609358507874536438833.jpg","description":"明星同款四件套,沙漠玫瑰精萃持久保湿,配合同款睡眠面膜保湿更持久~"},{"id":"87","goods_name":"全新升级丨玫瑰滋养面膜7片","shop_price":89,"market_price":89,"goods_img":"https://image.yunifang.com/yunifang/images/goods/87/goods_img/170904211885816205585811962.jpg","reservable":false,"efficacy":"岂止补水 更能锁水","stock_number":0,"restrict_purchase_num":0,"goodsName":"补水指数:★★★★☆","goodsImage":"https://image.yunifang.com/yunifang/images/goods/temp/1709051823381467283568718.jpg","description":"岂止补水,更能锁水,如沐玫瑰清泉,远离干渴沙肌~"},{"id":"101","goods_name":"玫瑰滋养矿物洁面乳100ml","shop_price":29.9,"market_price":59,"goods_img":"https://image.yunifang.com/yunifang/images/goods/101/goods_img/170626105885015353255525556.jpg","reservable":false,"efficacy":"温和清洁 补水保湿","stock_number":0,"restrict_purchase_num":0,"goodsName":"清洁指数:★★★☆☆","goodsImage":"https://image.yunifang.com/yunifang/images/goods/temp/170516093764320738763251731.jpg","description":"有淡淡玫瑰花香,细腻低泡质地,洗完水润清爽,补水锁水,脸部不紧绷~"},{"id":"9","goods_name":"玫瑰滋养矿物睡眠面膜180g","shop_price":59.9,"market_price":99,"goods_img":"https://image.yunifang.com/yunifang/images/goods/9/goods_img/170626112611018894167156705.jpg","reservable":false,"efficacy":"镇店之宝 彻夜补水","stock_number":0,"restrict_purchase_num":0,"goodsName":"推荐指数:★★★★★","goodsImage":"https://image.yunifang.com/yunifang/images/goods/temp/170516093920020890610623903.jpg","description":"晚上洁面后,用完水乳,再涂上薄薄的一层,翌日起来,皮肤弹润有光泽,上妆也完全不担心会脱妆~"},{"id":"336","goods_name":"玫瑰滋养矿物润肤乳液","shop_price":69,"market_price":129,"goods_img":"https://image.yunifang.com/yunifang/images/goods/336/goods_img/170626103574019791491356888.jpg","reservable":false,"efficacy":"长效保湿 持久滋养","stock_number":0,"restrict_purchase_num":0,"goodsName":"保湿指数:★★★★★","goodsImage":"https://image.yunifang.com/yunifang/images/goods/temp/170516093939713507603809610.jpg","description":"它可以说是保湿小助手,有它在,肌肤干燥、皮肤油腻,通通解决~"},{"id":"187","goods_name":"玫瑰滋养基础三件套","shop_price":149.9,"market_price":179.9,"goods_img":"https://image.yunifang.com/yunifang/images/goods/187/goods_img/17062610472505220941898288.jpg","reservable":false,"efficacy":"多倍补水 长效保湿","stock_number":0,"restrict_purchase_num":0,"goodsName":"补水指数:★★★★☆","goodsImage":"https://image.yunifang.com/yunifang/images/goods/temp/17051609414379789618916490.jpg","description":"超能补水,柔美的粉红色,淡淡的玫瑰香,闻起来特别舒服,保湿很明显~"},{"id":"315","goods_name":"玫瑰滋养矿物润肤水","shop_price":65,"market_price":109,"goods_img":"https://image.yunifang.com/yunifang/images/goods/315/goods_img/17062610389695661847862326.jpg","reservable":false,"efficacy":"持久保湿 静享芬芳","stock_number":0,"restrict_purchase_num":0,"goodsName":"补水指数:★★★★★","goodsImage":"https://image.yunifang.com/yunifang/images/goods/temp/17051609422120971403077934.jpg","description":"巧妙融合\u201c双重瑰宝\u201d萃取精华,\u201c黄金\u201d补水库,可使肌肤水嫩Q弹~"}],"goodsIdsList":["16","87","101","9","336","187","315"],"goodsRelationList":[{"id":"14299","subject_id":"85","goods_id":"16","goodsName":"补水指数:★★★★☆","goodsImage":"https://image.yunifang.com/yunifang/images/goods/temp/17051609358507874536438833.jpg","description":"明星同款四件套,沙漠玫瑰精萃持久保湿,配合同款睡眠面膜保湿更持久~"},{"id":"14300","subject_id":"85","goods_id":"87","goodsName":"补水指数:★★★★☆","goodsImage":"https://image.yunifang.com/yunifang/images/goods/temp/1709051823381467283568718.jpg","description":"岂止补水,更能锁水,如沐玫瑰清泉,远离干渴沙肌~"},{"id":"14301","subject_id":"85","goods_id":"101","goodsName":"清洁指数:★★★☆☆","goodsImage":"https://image.yunifang.com/yunifang/images/goods/temp/170516093764320738763251731.jpg","description":"有淡淡玫瑰花香,细腻低泡质地,洗完水润清爽,补水锁水,脸部不紧绷~"},{"id":"14302","subject_id":"85","goods_id":"9","goodsName":"推荐指数:★★★★★","goodsImage":"https://image.yunifang.com/yunifang/images/goods/temp/170516093920020890610623903.jpg","description":"晚上洁面后,用完水乳,再涂上薄薄的一层,翌日起来,皮肤弹润有光泽,上妆也完全不担心会脱妆~"},{"id":"14303","subject_id":"85","goods_id":"336","goodsName":"保湿指数:★★★★★","goodsImage":"https://image.yunifang.com/yunifang/images/goods/temp/170516093939713507603809610.jpg","description":"它可以说是保湿小助手,有它在,肌肤干燥、皮肤油腻,通通解决~"},{"id":"14304","subject_id":"85","goods_id":"187","goodsName":"补水指数:★★★★☆","goodsImage":"https://image.yunifang.com/yunifang/images/goods/temp/17051609414379789618916490.jpg","description":"超能补水,柔美的粉红色,淡淡的玫瑰香,闻起来特别舒服,保湿很明显~"},{"id":"14305","subject_id":"85","goods_id":"315","goodsName":"补水指数:★★★★★","goodsImage":"https://image.yunifang.com/yunifang/images/goods/temp/17051609422120971403077934.jpg","description":"巧妙融合\u201c双重瑰宝\u201d萃取精华,\u201c黄金\u201d补水库,可使肌肤水嫩Q弹~"}],"url":"http://h.yunifang.com/goods/subject.html?id=85","wapUrl":"http://vip.yunifang.com/goods/subject.html?id=85"},{"id":"86","title":"清爽系列","detail":"温度变化、空气污染、电脑辐射等易引起的肌肤出油,玉竹贡竹的清新搭配,悦享净透清爽~","image":"https://image.yunifang.com/yunifang/images/goods/temp/17101116265017851243534104.jpg","start_time":"2017.05.16 09:44:13","end_time":"2018.01.31 00:00:00","show_number":6,"state":"1","sort":0,"descImage":"https://image.yunifang.com/yunifang/images/goods/temp/170516094973114360348144160.jpg","template":"templateDefault","goodsList":[{"id":"189","goods_name":"控油必备丨清爽平衡护肤三件套","shop_price":99.9,"market_price":179.9,"goods_img":"https://image.yunifang.com/yunifang/images/goods/189/goods_img/1706261046499486999388441.jpg","reservable":false,"efficacy":"深层清洁 平衡水油","stock_number":0,"restrict_purchase_num":0,"goodsName":"控油指数:★★★★★","goodsImage":"https://image.yunifang.com/yunifang/images/goods/temp/170516095132819066095187324.jpg","description":"大油田的救星,水和乳的质地都很清爽,轻薄完全不油腻,味道也很好闻没有很刺鼻的香气~"},{"id":"341","goods_name":"清爽平衡矿物爽肤乳液120ml","shop_price":79,"market_price":129,"goods_img":"https://image.yunifang.com/yunifang/images/goods/341/goods_img/17062610346813637236975691.jpg","reservable":false,"efficacy":"补水保湿 清爽控油","stock_number":0,"restrict_purchase_num":0,"goodsName":"控油指数:★★★★☆","goodsImage":"https://image.yunifang.com/yunifang/images/goods/temp/170628154348413637236979205.jpg","description":"油性肌肤的烦恼需要从根源解决问题,该乳液蕴含玉竹精粹,可通过调节油脂平衡,告别油腻烦恼~"},{"id":"141","goods_name":"清爽平衡矿物睡眠面膜180g","shop_price":69.9,"market_price":79.9,"goods_img":"https://image.yunifang.com/yunifang/images/goods/141/goods_img/170626105338416020006362606.jpg","reservable":false,"efficacy":"平衡水油 清爽净透","stock_number":0,"restrict_purchase_num":0,"goodsName":"推荐指数:★★★☆☆","goodsImage":"https://image.yunifang.com/yunifang/images/goods/temp/170628154358216020006362358.jpg","description":"油皮妹纸们必备的懒人神器,睡前一抹,整晚无忧,让肌肤在睡眠中变得清新润泽~"},{"id":"313","goods_name":"清爽平衡矿物爽肤水150ml","shop_price":65,"market_price":109,"goods_img":"https://image.yunifang.com/yunifang/images/goods/313/goods_img/17062610398875573627694321.jpg","reservable":false,"efficacy":"补水控油 收敛毛孔","stock_number":0,"restrict_purchase_num":0,"goodsName":"清爽指数:★★★★☆","goodsImage":"https://image.yunifang.com/yunifang/images/goods/temp/17062815439285573627696368.jpg","description":"二次清洁小助手,\u201c大油田\u201d必备,精选玉竹精萃,这个夏天做个不油腻\u201c小清新\u201d~"},{"id":"11","goods_name":"清爽平衡矿物泥浆面膜260g","shop_price":99,"market_price":99,"goods_img":"https://image.yunifang.com/yunifang/images/goods/11/goods_img/170626112085420599974158029.jpg","reservable":false,"efficacy":"口碑泥浆 清爽控油","stock_number":0,"restrict_purchase_num":0,"goodsName":"口碑指数:★★★★★","goodsImage":"https://image.yunifang.com/yunifang/images/goods/temp/170628154316020599974151881.jpg","description":"整整一大瓶,对抗油田、草莓鼻、粗毛孔无忧虑,从此清新无油,爱上自拍,和美颜相机说拜拜~"},{"id":"559","goods_name":"竹炭净透矿物泥浆面膜110g","shop_price":59,"market_price":99,"goods_img":"https://image.yunifang.com/yunifang/images/goods/559/goods_img/170627164784010618075663103.jpg","reservable":false,"efficacy":"控油净肤 细腻毛孔","stock_number":0,"restrict_purchase_num":0,"goodsName":"控油指数:★★★☆☆","goodsImage":"https://image.yunifang.com/yunifang/images/goods/temp/170628154343010618075663627.jpg","description":"控油能力较好,竹炭味道清新,质地温和,能带走多余油脂,维持肌肤油脂平衡~"}],"goodsIdsList":["189","341","141","313","11","559"],"goodsRelationList":[{"id":"14745","subject_id":"86","goods_id":"189","goodsName":"控油指数:★★★★★","goodsImage":"https://image.yunifang.com/yunifang/images/goods/temp/170516095132819066095187324.jpg","description":"大油田的救星,水和乳的质地都很清爽,轻薄完全不油腻,味道也很好闻没有很刺鼻的香气~"},{"id":"14746","subject_id":"86","goods_id":"341","goodsName":"控油指数:★★★★☆","goodsImage":"https://image.yunifang.com/yunifang/images/goods/temp/170628154348413637236979205.jpg","description":"油性肌肤的烦恼需要从根源解决问题,该乳液蕴含玉竹精粹,可通过调节油脂平衡,告别油腻烦恼~"},{"id":"14747","subject_id":"86","goods_id":"141","goodsName":"推荐指数:★★★☆☆","goodsImage":"https://image.yunifang.com/yunifang/images/goods/temp/170628154358216020006362358.jpg","description":"油皮妹纸们必备的懒人神器,睡前一抹,整晚无忧,让肌肤在睡眠中变得清新润泽~"},{"id":"14748","subject_id":"86","goods_id":"313","goodsName":"清爽指数:★★★★☆","goodsImage":"https://image.yunifang.com/yunifang/images/goods/temp/17062815439285573627696368.jpg","description":"二次清洁小助手,\u201c大油田\u201d必备,精选玉竹精萃,这个夏天做个不油腻\u201c小清新\u201d~"},{"id":"14749","subject_id":"86","goods_id":"11","goodsName":"口碑指数:★★★★★","goodsImage":"https://image.yunifang.com/yunifang/images/goods/temp/170628154316020599974151881.jpg","description":"整整一大瓶,对抗油田、草莓鼻、粗毛孔无忧虑,从此清新无油,爱上自拍,和美颜相机说拜拜~"},{"id":"14750","subject_id":"86","goods_id":"559","goodsName":"控油指数:★★★☆☆","goodsImage":"https://image.yunifang.com/yunifang/images/goods/temp/170628154343010618075663627.jpg","description":"控油能力较好,竹炭味道清新,质地温和,能带走多余油脂,维持肌肤油脂平衡~"}],"url":"http://h.yunifang.com/goods/subject.html?id=86","wapUrl":"http://vip.yunifang.com/goods/subject.html?id=86"},{"id":"89","title":"美白系列","detail":"3年研究成果\n5种植物复配美白精华\n滴滴渗透,淡化黑色素\n美白层层递增恢复自然白皙","image":"https://image.yunifang.com/yunifang/images/goods/temp/17051612377286522760845671.jpg","start_time":"2017.05.16 12:38:21","end_time":"2017.11.30 00:00:00","show_number":6,"state":"1","sort":0,"descImage":"https://image.yunifang.com/yunifang/images/goods/temp/170516123730510604321177291.jpg","template":"templateDefault","goodsList":[{"id":"8","goods_name":"全新升级丨美白嫩肤面膜20片","shop_price":129.9,"market_price":359,"goods_img":"https://image.yunifang.com/yunifang/images/goods/8/goods_img/170818182578717903477668239.jpg","reservable":false,"efficacy":"真美白 匠心造","stock_number":0,"restrict_purchase_num":0,"goodsName":"美白指数:★★★★☆","goodsImage":"https://image.yunifang.com/yunifang/images/goods/temp/17081618370419872110796752.jpg","description":"真美白,匠心造!全新升级美白嫩肤面膜,多种美白成分助力美白,国家权威美白特证安全放心~"},{"id":"185","goods_name":"美白嫩肤护肤基础三件套装","shop_price":169.9,"market_price":209.9,"goods_img":"https://image.yunifang.com/yunifang/images/goods/185/goods_img/170626104732716695049042487.jpg","reservable":false,"efficacy":"温和清洁 补水美白","stock_number":0,"restrict_purchase_num":0,"goodsName":"美白指数:★★★★☆","goodsImage":"https://image.yunifang.com/yunifang/images/goods/temp/170630224949016695049047380.jpg","description":"美白嫩肤,名字是代表,品质是保证,还有什么可犹豫的~"},{"id":"10","goods_name":"美白嫩肤睡眠面膜180g","shop_price":69,"market_price":119,"goods_img":"https://image.yunifang.com/yunifang/images/goods/10/goods_img/170626112190919312919673075.jpg","reservable":false,"efficacy":"补水美白 越睡越白","stock_number":0,"restrict_purchase_num":0,"goodsName":"美白指数:★★★★☆","goodsImage":"https://image.yunifang.com/yunifang/images/goods/temp/170630224882619312919673312.jpg","description":"夜间是皮肤修复黄金期,若想修炼成白雪公主,每晚坚持使用效果更棒,白天也别忘防晒哦~"},{"id":"343","goods_name":"美白嫩肤润肤水150ml","shop_price":69,"market_price":119,"goods_img":"https://image.yunifang.com/yunifang/images/goods/343/goods_img/170626103423611420000294568.jpg","reservable":false,"efficacy":"补水保湿 美白嫩肤","stock_number":0,"restrict_purchase_num":0,"goodsName":"美白效果:★★★☆☆","goodsImage":"https://image.yunifang.com/yunifang/images/goods/temp/170630224836611420000297349.jpg","description":"质地不粘稠,洗完脸以后肌肤的第一道滋润,打开肌肤通道,助力美白营养成分吸收~"},{"id":"1101","goods_name":"美白嫩肤泥浆面膜110g","shop_price":69,"market_price":79,"goods_img":"https://image.yunifang.com/yunifang/images/goods/1101/goods_img/170627175248420984384699974.jpg","reservable":false,"efficacy":"清洁净透 美白嫩肤","stock_number":0,"restrict_purchase_num":0,"goodsName":"美白清洁:★★★★★","goodsImage":"https://image.yunifang.com/yunifang/images/goods/temp/170630224986120984384692751.jpg","description":"为了白,尝尽各种方法,然而效果不佳,这款泥浆,深层吸黑,草本焕白,国家美白特证放心体验~"},{"id":"121","goods_name":"镇店之宝丨美白嫩肤面膜7片","shop_price":49.9,"market_price":99,"goods_img":"https://image.yunifang.com/yunifang/images/goods/121/goods_img/17062610568378169043195978.jpg","reservable":false,"efficacy":"镇店之宝 美白爆款","stock_number":0,"restrict_purchase_num":0,"goodsName":"美白指数:★★★★☆","goodsImage":"https://image.yunifang.com/yunifang/images/goods/temp/17072910225828169043193082.jpg","description":"15分钟亲肤享受,洗完脸以后肌肤的第一道滋润,打开肌肤通道,助力美白营养成分吸收~"}],"goodsIdsList":["8","185","10","343","1101","121"],"goodsRelationList":[{"id":"14443","subject_id":"89","goods_id":"8","goodsName":"美白指数:★★★★☆","goodsImage":"https://image.yunifang.com/yunifang/images/goods/temp/17081618370419872110796752.jpg","description":"真美白,匠心造!全新升级美白嫩肤面膜,多种美白成分助力美白,国家权威美白特证安全放心~"},{"id":"14444","subject_id":"89","goods_id":"185","goodsName":"美白指数:★★★★☆","goodsImage":"https://image.yunifang.com/yunifang/images/goods/temp/170630224949016695049047380.jpg","description":"美白嫩肤,名字是代表,品质是保证,还有什么可犹豫的~"},{"id":"14445","subject_id":"89","goods_id":"10","goodsName":"美白指数:★★★★☆","goodsImage":"https://image.yunifang.com/yunifang/images/goods/temp/170630224882619312919673312.jpg","description":"夜间是皮肤修复黄金期,若想修炼成白雪公主,每晚坚持使用效果更棒,白天也别忘防晒哦~"},{"id":"14446","subject_id":"89","goods_id":"343","goodsName":"美白效果:★★★☆☆","goodsImage":"https://image.yunifang.com/yunifang/images/goods/temp/170630224836611420000297349.jpg","description":"质地不粘稠,洗完脸以后肌肤的第一道滋润,打开肌肤通道,助力美白营养成分吸收~"},{"id":"14447","subject_id":"89","goods_id":"1101","goodsName":"美白清洁:★★★★★","goodsImage":"https://image.yunifang.com/yunifang/images/goods/temp/170630224986120984384692751.jpg","description":"为了白,尝尽各种方法,然而效果不佳,这款泥浆,深层吸黑,草本焕白,国家美白特证放心体验~"},{"id":"14448","subject_id":"89","goods_id":"121","goodsName":"美白指数:★★★★☆","goodsImage":"https://image.yunifang.com/yunifang/images/goods/temp/17072910225828169043193082.jpg","description":"15分钟亲肤享受,洗完脸以后肌肤的第一道滋润,打开肌肤通道,助力美白营养成分吸收~"}],"url":"http://h.yunifang.com/goods/subject.html?id=89","wapUrl":"http://vip.yunifang.com/goods/subject.html?id=89"},{"id":"88","title":"红石榴系列","detail":"肌肤好像透着光\n每一滴红石榴原液含有护肤精粹\n赋予黯哑粗糙肌肤鲜润魅力\n红石榴不仅蕴含多种维他命矿物,更含有石榴多酚和花青素,渗透肌底,深层排浊,自内焕发肌肤红润光泽~\n","image":"https://image.yunifang.com/yunifang/images/goods/temp/170516122967511806265329475.jpg","start_time":"2017.05.16 12:29:44","end_time":"2017.10.31 00:00:00","show_number":6,"state":"1","sort":0,"descImage":"https://image.yunifang.com/yunifang/images/goods/temp/170516122975121341081719659.jpg","template":"templateDefault","goodsList":[{"id":"99","goods_name":"红石榴矿物洁面乳100ml","shop_price":29.9,"market_price":59,"goods_img":"https://image.yunifang.com/yunifang/images/goods/99/goods_img/170626105849718932898868035.jpg","reservable":false,"efficacy":"温和清洁 提亮肤色","stock_number":0,"restrict_purchase_num":0,"goodsName":"清洁指数:★★★☆☆","goodsImage":"https://image.yunifang.com/yunifang/images/goods/temp/17051612304946692218255625.jpg","description":"泡沫绵密,清扫毛孔浊质,助力鲜活补水,红石榴精华唤醒肌肤鲜活动力~"},{"id":"71","goods_name":"性价比之王|红石榴矿物补水亮肤十件套","shop_price":159.99,"market_price":319.9,"goods_img":"https://image.yunifang.com/yunifang/images/goods/71/goods_img/170914091495612767354095021.jpg","reservable":false,"efficacy":"补水亮肤 改善黯哑","stock_number":0,"restrict_purchase_num":0,"goodsName":"亮肤保湿:★★★★★","goodsImage":"https://image.yunifang.com/yunifang/images/goods/temp/170516123365218037277371021.jpg","description":"小仙女们都知道,红石榴有提亮肤色的功效,这款套装炒鸡滋润,而且不油腻,红色大气包装更能俘获人心~"},{"id":"1281","goods_name":"新品眼霜丨红石榴矿物眼霜25g","shop_price":129,"market_price":159,"goods_img":"https://image.yunifang.com/yunifang/images/goods/1281/goods_img/170626102555811776047044227.jpg","reservable":false,"efficacy":"淡退黑眼圈 净彻排浊","stock_number":0,"restrict_purchase_num":0,"goodsName":"淡化眼圈:★★★☆☆","goodsImage":"https://image.yunifang.com/yunifang/images/goods/temp/170729102668111776047045132.jpg","description":"熊猫眼克星!多种植物精粹,天然舒活肌肤水通道。清爽不油腻,好吸收,细纹看着浅。"},{"id":"151","goods_name":"红石榴鲜活矿物睡眠面膜180g","shop_price":99,"market_price":119,"goods_img":"https://image.yunifang.com/yunifang/images/goods/151/goods_img/170626105075810681841436827.jpg","reservable":false,"efficacy":"源源养护 鲜活亮颜","stock_number":0,"restrict_purchase_num":0,"goodsName":"提亮指数:★★★★★","goodsImage":"https://image.yunifang.com/yunifang/images/goods/temp/170729102811710681841435351.jpg","description":"看得见的鲜活粒子,增添肌肤鲜活能量!啫喱态的面膜,质地清爽不油腻!"}],"goodsIdsList":["99","1652","1250","71","1281","151"],"goodsRelationList":[{"id":"13960","subject_id":"88","goods_id":"99","goodsName":"清洁指数:★★★☆☆","goodsImage":"https://image.yunifang.com/yunifang/images/goods/temp/17051612304946692218255625.jpg","description":"泡沫绵密,清扫毛孔浊质,助力鲜活补水,红石榴精华唤醒肌肤鲜活动力~"},{"id":"13961","subject_id":"88","goods_id":"1652","goodsName":"亮肤指数:★★★★☆","goodsImage":"https://image.yunifang.com/yunifang/images/goods/temp/170516123680716693836711273.jpg","description":"红石榴精华有助于打散黑色素群,提亮肤色更给力,肤色暗黄的小伙伴们看过来~"},{"id":"13962","subject_id":"88","goods_id":"1250","goodsName":"抗氧化:★★★★☆","goodsImage":"https://image.yunifang.com/yunifang/images/goods/temp/170516123022219451838196701.jpg","description":"你的梳妆台必不可少一瓶面霜,告别熬夜和岁月留下的黄脸,为肌肤注入鲜活能量~"},{"id":"13963","subject_id":"88","goods_id":"71","goodsName":"亮肤保湿:★★★★★","goodsImage":"https://image.yunifang.com/yunifang/images/goods/temp/170516123365218037277371021.jpg","description":"小仙女们都知道,红石榴有提亮肤色的功效,这款套装炒鸡滋润,而且不油腻,红色大气包装更能俘获人心~"},{"id":"13964","subject_id":"88","goods_id":"1281","goodsName":"淡化眼圈:★★★☆☆","goodsImage":"https://image.yunifang.com/yunifang/images/goods/temp/170729102668111776047045132.jpg","description":"熊猫眼克星!多种植物精粹,天然舒活肌肤水通道。清爽不油腻,好吸收,细纹看着浅。"},{"id":"13965","subject_id":"88","goods_id":"151","goodsName":"提亮指数:★★★★★","goodsImage":"https://image.yunifang.com/yunifang/images/goods/temp/170729102811710681841435351.jpg","description":"看得见的鲜活粒子,增添肌肤鲜活能量!啫喱态的面膜,质地清爽不油腻!"}],"url":"http://h.yunifang.com/goods/subject.html?id=88","wapUrl":"http://vip.yunifang.com/goods/subject.html?id=88"},{"id":"101","title":"黑玫瑰系列","detail":"层层筛选优质黑玫瑰\n黑玫瑰精粹含单宁酸及植物多酚\n解决肌肤黯哑不均,显著提亮","image":"https://image.yunifang.com/yunifang/images/goods/temp/170731095719116873211372276.jpg","start_time":"2017.07.25 00:00:00","end_time":"2018.01.31 00:00:00","show_number":6,"state":"1","sort":0,"descImage":"https://image.yunifang.com/yunifang/images/goods/temp/17073109575402630402867921.jpg","template":"templateDefault","goodsList":[{"id":"4","goods_name":"黑玫瑰矿物洁面乳100ml","shop_price":49,"market_price":59,"goods_img":"https://image.yunifang.com/yunifang/images/goods/4/goods_img/17062611262464209534577694.jpg","reservable":false,"efficacy":"温和清洁 提亮肤色","stock_number":0,"restrict_purchase_num":0,"goodsName":"清洁提亮:★★★★☆","goodsImage":"https://image.yunifang.com/yunifang/images/goods/temp/17073110055984209534577564.jpg","description":"泡沫细腻,清洁清洁肌肤,一扫城市雾霾导致的肌肤污垢,同时黑玫瑰精粹由内而外提亮肤色~"},{"id":"1805","goods_name":"黑玫瑰护肤基础三件套","shop_price":269.9,"market_price":387,"goods_img":"https://image.yunifang.com/yunifang/images/goods/1805/goods_img/17050414108281642074189987.jpg","reservable":false,"efficacy":"击退黯哑 提亮莹润","stock_number":0,"restrict_purchase_num":0,"goodsName":"推荐指数:★★★★☆","goodsImage":"https://image.yunifang.com/yunifang/images/goods/temp/170731100820019181327789327.jpg","description":"3重亮肤能量,层层淡化黯哑,给予肌肤奢宠养护~"},{"id":"127","goods_name":"黑玫瑰泥浆面膜260g","shop_price":199,"market_price":199,"goods_img":"https://image.yunifang.com/yunifang/images/goods/127/goods_img/170626145396916224693431300.jpg","reservable":false,"efficacy":"滋养润滑 提亮肤色","stock_number":0,"restrict_purchase_num":0,"goodsName":"清洁亮肤:★★★★☆","goodsImage":"https://image.yunifang.com/yunifang/images/goods/temp/170731101056416224693431021.jpg","description":"大多肌肤问题源于脸部清洁不当,黑玫瑰泥浆解决护肤根本问题~"},{"id":"245","goods_name":"黑玫瑰睡眠面膜护肤四件套装","shop_price":429.9,"market_price":539.9,"goods_img":"https://image.yunifang.com/yunifang/images/goods/245/goods_img/17062610416972131702264912.jpg","reservable":false,"efficacy":"滋养肌肤 提亮肤色","stock_number":0,"restrict_purchase_num":0,"goodsName":"综合指数:★★★☆☆","goodsImage":"https://image.yunifang.com/yunifang/images/goods/temp/1707311016882131702267162.jpg","description":"一套护肤装备,解决肌肤粗糙暗沉,熟龄肌首选~"}],"goodsIdsList":["403","4","1805","127","83","245"],"goodsRelationList":[{"id":"13947","subject_id":"101","goods_id":"403","goodsName":"推荐指数:★★★★★","goodsImage":"https://image.yunifang.com/yunifang/images/goods/temp/1707311002441167403859909.jpg","description":"黑玫瑰精粹集于一瓶,一小瓶精华液唤醒肌肤夺目光彩"},{"id":"13948","subject_id":"101","goods_id":"4","goodsName":"清洁提亮:★★★★☆","goodsImage":"https://image.yunifang.com/yunifang/images/goods/temp/17073110055984209534577564.jpg","description":"泡沫细腻,清洁清洁肌肤,一扫城市雾霾导致的肌肤污垢,同时黑玫瑰精粹由内而外提亮肤色~"},{"id":"13949","subject_id":"101","goods_id":"1805","goodsName":"推荐指数:★★★★☆","goodsImage":"https://image.yunifang.com/yunifang/images/goods/temp/170731100820019181327789327.jpg","description":"3重亮肤能量,层层淡化黯哑,给予肌肤奢宠养护~"},{"id":"13950","subject_id":"101","goods_id":"127","goodsName":"清洁亮肤:★★★★☆","goodsImage":"https://image.yunifang.com/yunifang/images/goods/temp/170731101056416224693431021.jpg","description":"大多肌肤问题源于脸部清洁不当,黑玫瑰泥浆解决护肤根本问题~"},{"id":"13951","subject_id":"101","goods_id":"83","goodsName":"补水提亮:★★★★☆","goodsImage":"https://image.yunifang.com/yunifang/images/goods/temp/17073110134825656554699188.jpg","description":"15分钟亲肤享受,敷面膜时黑玫瑰自然清新的花香令人身心愉悦,于芬芳中绽放美好气色~"},{"id":"13952","subject_id":"101","goods_id":"245","goodsName":"综合指数:★★★☆☆","goodsImage":"https://image.yunifang.com/yunifang/images/goods/temp/1707311016882131702267162.jpg","description":"一套护肤装备,解决肌肤粗糙暗沉,熟龄肌首选~"}],"url":"http://h.yunifang.com/goods/subject.html?id=101","wapUrl":"http://vip.yunifang.com/goods/subject.html?id=101"}]
         * activityInfo : {"activityAreaDisplay":"1","activityInfoList":[{"id":"60","activityImg":"https://image.yunifang.com/yunifang/images/goods/temp/170527155491221343694704636.jpg","activityType":"60","activityData":"69","activityDataDetail":"69","activityAreaDisplay":"1","countDownEnable":"0","remark":"搭配购买立减","sort":0},{"id":"21","activityImg":"https://image.yunifang.com/yunifang/images/goods/temp/17051718251658680692616281.jpg","activityType":"1","activityData":"http://h.yunifang.com/invite/invite.html?login_check=2","activityDataDetail":"http%3A%2F%2Fh.yunifang.com%2Finvite%2Finvite.html%3Flogin_check%3D2","activityAreaDisplay":"1","countDownEnable":"0","sort":0}]}
         * ad1 : [{"id":"1147","createtime":"2017.10.09 08:33:42","lastupdatetime":"2017.10.09 08:33:46","image":"https://image.yunifang.com/yunifang/images/goods/ad0/17100908319495742677657462.jpg","ad_type":0,"sort":1414,"position":0,"enabled":1,"createuser":"leiqi","lastupdateuser":"leiqi","ad_type_dynamic":"1","ad_type_dynamic_data":"http://h.yunifang.com/h/comment.html","ad_type_dynamic_detail":"http%3A%2F%2Fh.yunifang.com%2Fh%2Fcomment.html","title":"10月商品好评有礼","channelType":"0"},{"id":"1047","createtime":"2017.07.05 19:49:35","lastupdatetime":"2017.09.28 22:16:07","image":"https://image.yunifang.com/yunifang/images/goods/ad0/170905143497021095281713081.jpg","ad_type":0,"sort":1404,"position":0,"enabled":1,"createuser":"hani","lastupdateuser":"leiqi","ad_type_dynamic":"2","ad_type_dynamic_data":"8","ad_type_dynamic_detail":"8","show_channel":"1,2,3,4","title":"美白嫩肤新品面膜","channelType":"0"},{"id":"1055","createtime":"2017.07.19 14:52:20","lastupdatetime":"2017.10.09 10:53:21","image":"https://image.yunifang.com/yunifang/images/goods/ad0/170905143499118006873413769.jpg","ad_type":0,"sort":1403,"position":0,"enabled":1,"createuser":"xicheng","lastupdateuser":"hani","ad_type_dynamic":"2","ad_type_dynamic_data":"1870","ad_type_dynamic_detail":"1870","show_channel":"1,2,3,4","title":"820玉润雪肌膜盒","channelType":"0"},{"id":"1088","createtime":"2017.08.23 09:32:02","lastupdatetime":"2017.09.28 10:24:57","image":"https://image.yunifang.com/yunifang/images/goods/ad0/170823222049920659891841095.jpg","ad_type":0,"sort":1400,"position":0,"enabled":1,"createuser":"hani","lastupdateuser":"xicheng","ad_type_dynamic":"1","ad_type_dynamic_data":"http://h.yunifang.com/h/video.html","ad_type_dynamic_detail":"http%3A%2F%2Fh.yunifang.com%2Fh%2Fvideo.html","show_channel":"1,2,3,4","title":"国货力量","channelType":"0"}]
         * ad5 : [{"id":"359","image":"https://image.yunifang.com/yunifang/images/goods/ad0/170516143575610973073847273.png","ad_type":4,"sort":295,"position":5,"enabled":0,"ad_type_dynamic":"1","ad_type_dynamic_data":"http://h.yunifang.com/sign/sign.html?login_check=2","ad_type_dynamic_detail":"http%3A%2F%2Fh.yunifang.com%2Fsign%2Fsign.html%3Flogin_check%3D2","show_channel":"1,2","title":"每日签到"},{"id":"358","image":"https://image.yunifang.com/yunifang/images/goods/ad0/170516143522410954603429327.png","ad_type":1,"url":"http://mobile.hmeili.com/yunifang/web/member/gift","sort":293,"position":5,"enabled":0,"ad_type_dynamic":"1","ad_type_dynamic_data":"http://m.yunifang.com/yunifang/mobile/creditShop/loginDBShop?dbredirect=http://www.duiba.com.cn/chome/index&login_check=2","ad_type_dynamic_detail":"http%3A%2F%2Fm.yunifang.com%2Fyunifang%2Fmobile%2FcreditShop%2FloginDBShop%3Fdbredirect%3Dhttp%3A%2F%2Fwww.duiba.com.cn%2Fchome%2Findex%26login_check%3D2","show_channel":"1,2","title":"积分商城"},{"id":"357","image":"https://image.yunifang.com/yunifang/images/goods/ad0/170516143491410936133008135.png","ad_type":1,"url":"http://mobile.hmeili.com/yunifang/web/help/cash","sort":291,"position":5,"enabled":0,"ad_type_dynamic":"1","ad_type_dynamic_data":"http://h.yunifang.com/exchange/code_app.html?login_check=1","ad_type_dynamic_detail":"http%3A%2F%2Fh.yunifang.com%2Fexchange%2Fcode_app.html%3Flogin_check%3D1","show_channel":"1,2","title":"兑换专区"},{"id":"360","image":"https://image.yunifang.com/yunifang/images/goods/ad0/170516143497810917662585920.png","ad_type":1,"url":"http://www.yunifang.com/a/fangweichaxun/wap_fwcx.html","sort":289,"position":5,"enabled":0,"ad_type_dynamic":"1","ad_type_dynamic_data":"http://www.yunifang.com/a/fangweichaxun/wap_fwcx.html","ad_type_dynamic_detail":"http%3A%2F%2Fwww.yunifang.com%2Fa%2Ffangweichaxun%2Fwap_fwcx.html","show_channel":"1,2,3,4","title":"真伪查询"}]
         * ad8 : [{"id":"1056","image":"https://image.yunifang.com/yunifang/images/goods/ad0/170719150582816742818457761.png","ad_type":0,"sort":57,"position":8,"enabled":0,"description":"人气好物超值推荐","ad_type_dynamic":"1","ad_type_dynamic_data":"http://vip.yunifang.com/goods/recommend.html?id=87","ad_type_dynamic_detail":"http%3A%2F%2Fh.yunifang.com%2Fgoods%2Frecommend.html%3Fid%3D87","show_channel":"1,2,3,4","title":"新鲜每一天","goods":{"collect_count":0,"reservable":false,"restriction":0,"restrict_purchase_num":0,"is_coupon_allowed":false,"allocated_stock":0,"is_gift":0}},{"id":"954","image":"https://image.yunifang.com/yunifang/images/goods/ad0/171011094966420374041489003.jpg","ad_type":0,"sort":56,"position":8,"enabled":0,"description":"补水滢亮面膜礼盒","ad_type_dynamic":"1","ad_type_dynamic_data":"http://vip.yunifang.com/community_wap/theme-detail.html?id=14319","ad_type_dynamic_detail":"http%3A%2F%2Fvip.yunifang.com%2Fcommunity%2Ftheme-detail.html%3Fid%3D14319","show_channel":"1,2,3,4","title":"免费试用","goods":{"collect_count":0,"reservable":false,"restriction":0,"restrict_purchase_num":0,"is_coupon_allowed":false,"allocated_stock":0,"is_gift":0}},{"id":"1125","image":"https://image.yunifang.com/yunifang/images/goods/ad0/17093010304768203378533256.jpg","ad_type":0,"sort":54,"position":8,"enabled":0,"description":"解救干燥肌","ad_type_dynamic":"2","ad_type_dynamic_data":"16","ad_type_dynamic_detail":"16","show_channel":"1,2,3,4","title":"秋季热销","goods":{"collect_count":0,"reservable":false,"restriction":0,"restrict_purchase_num":0,"is_coupon_allowed":false,"allocated_stock":0,"is_gift":0}}]
         * defaultGoodsList : [{"id":"121","goods_name":"镇店之宝丨美白嫩肤面膜7片","shop_price":49.9,"market_price":99,"goods_img":"https://image.yunifang.com/yunifang/images/goods/121/goods_img/17062610568378169043195978.jpg","reservable":false,"efficacy":"镇店之宝 美白爆款","stock_number":0,"restrict_purchase_num":0},{"id":"389","goods_name":"热销爆款丨清爽平衡矿物黑面膜21片","shop_price":99.9,"market_price":297,"goods_img":"https://image.yunifang.com/yunifang/images/goods/389/goods_img/17062610265116850439553337.jpg","reservable":false,"efficacy":"以黑吸黑 净透亮肤","stock_number":0,"restrict_purchase_num":0},{"id":"684","goods_name":"解救肌渴丨花粹水润面膜套装10片","shop_price":29.9,"market_price":139,"goods_img":"https://image.yunifang.com/yunifang/images/goods/684/goods_img/17062610401397749701177609.jpg","reservable":false,"efficacy":"水润充盈 鲜嫩少女肌","stock_number":0,"restrict_purchase_num":0},{"id":"6","goods_name":"好用不贵丨亮颜水润蚕丝面膜(寂地定制版)","shop_price":59.9,"market_price":239.9,"goods_img":"https://image.yunifang.com/yunifang/images/goods/6/goods_img/170626112597120167739086821.jpg","reservable":false,"efficacy":"深层补水 提亮肤色","stock_number":0,"restrict_purchase_num":0},{"id":"772","goods_name":"全新升级丨清润莹亮黑膜套装21片","shop_price":99.9,"market_price":297,"goods_img":"https://image.yunifang.com/yunifang/images/goods/772/goods_img/17090514228269026987111180.jpg","reservable":false,"efficacy":"自然莹亮 水感瓷肌","stock_number":0,"restrict_purchase_num":0},{"id":"5","goods_name":"金桂花矿物眼膜贴60片","shop_price":69,"market_price":129,"goods_img":"https://image.yunifang.com/yunifang/images/goods/5/goods_img/170626112553213363513709796.jpg","reservable":false,"efficacy":"补水靓眼 改善熊猫眼","stock_number":0,"restrict_purchase_num":0}]
         * creditRecived : false
         * goodsSpreeActivity : {"id":"327","name":"10.13早场","startDate":"2017.10.13 10:00:00","endDate":"2017.10.13 16:00:00","status":"1","startSeconds":"-12118","endSeconds":"9481","isChecked":"0","goodsList":[{"id":"997","goodsSpreeId":"327","goodsId":"340","goodsName":"【使用期一年以上介意慎拍】黑玫瑰矿物柔肤乳液120ml","goodsImg":"https://image.yunifang.com/yunifang/images/goods/340/goods_img/170626103460417447209262417.jpg","marketPrice":169,"activityPrice":39.9,"salesRatio":0,"stockNumber":30,"releaseNumber":40},{"id":"998","goodsSpreeId":"327","goodsId":"1324","goodsName":"鲜气少女肌|水光轻灵焕彩面膜5片","goodsImg":"https://image.yunifang.com/yunifang/images/goods/1324/goods_img/170626102366110382576889824.jpg","marketPrice":129,"activityPrice":59.9,"salesRatio":0,"stockNumber":30,"releaseNumber":30},{"id":"999","goodsSpreeId":"327","goodsId":"903","goodsName":"绿豆原浆泥面膜100g","goodsImg":"https://image.yunifang.com/yunifang/images/goods/903/goods_img/170627180542017051678666200.jpg","marketPrice":99,"activityPrice":49.9,"salesRatio":0,"stockNumber":28,"releaseNumber":30}]}
         */

        private ActivityInfoBean activityInfo;
        private boolean creditRecived;
        private GoodsSpreeActivityBean goodsSpreeActivity;
        private List<SubjectsBean> subjects;
        private List<Ad1Bean> ad1;
        private List<Ad5Bean> ad5;
        private List<Ad8Bean> ad8;
        private List<DefaultGoodsListBean> defaultGoodsList;

        public ActivityInfoBean getActivityInfo() {
            return activityInfo;
        }

        public void setActivityInfo(ActivityInfoBean activityInfo) {
            this.activityInfo = activityInfo;
        }

        public boolean isCreditRecived() {
            return creditRecived;
        }

        public void setCreditRecived(boolean creditRecived) {
            this.creditRecived = creditRecived;
        }

        public GoodsSpreeActivityBean getGoodsSpreeActivity() {
            return goodsSpreeActivity;
        }

        public void setGoodsSpreeActivity(GoodsSpreeActivityBean goodsSpreeActivity) {
            this.goodsSpreeActivity = goodsSpreeActivity;
        }

        public List<SubjectsBean> getSubjects() {
            return subjects;
        }

        public void setSubjects(List<SubjectsBean> subjects) {
            this.subjects = subjects;
        }

        public List<Ad1Bean> getAd1() {
            return ad1;
        }

        public void setAd1(List<Ad1Bean> ad1) {
            this.ad1 = ad1;
        }

        public List<Ad5Bean> getAd5() {
            return ad5;
        }

        public void setAd5(List<Ad5Bean> ad5) {
            this.ad5 = ad5;
        }

        public List<Ad8Bean> getAd8() {
            return ad8;
        }

        public void setAd8(List<Ad8Bean> ad8) {
            this.ad8 = ad8;
        }

        public List<DefaultGoodsListBean> getDefaultGoodsList() {
            return defaultGoodsList;
        }

        public void setDefaultGoodsList(List<DefaultGoodsListBean> defaultGoodsList) {
            this.defaultGoodsList = defaultGoodsList;
        }

        public static class ActivityInfoBean {
            /**
             * activityAreaDisplay : 1
             * activityInfoList : [{"id":"60","activityImg":"https://image.yunifang.com/yunifang/images/goods/temp/170527155491221343694704636.jpg","activityType":"60","activityData":"69","activityDataDetail":"69","activityAreaDisplay":"1","countDownEnable":"0","remark":"搭配购买立减","sort":0},{"id":"21","activityImg":"https://image.yunifang.com/yunifang/images/goods/temp/17051718251658680692616281.jpg","activityType":"1","activityData":"http://h.yunifang.com/invite/invite.html?login_check=2","activityDataDetail":"http%3A%2F%2Fh.yunifang.com%2Finvite%2Finvite.html%3Flogin_check%3D2","activityAreaDisplay":"1","countDownEnable":"0","sort":0}]
             */

            private String activityAreaDisplay;
            private List<ActivityInfoListBean> activityInfoList;

            public String getActivityAreaDisplay() {
                return activityAreaDisplay;
            }

            public void setActivityAreaDisplay(String activityAreaDisplay) {
                this.activityAreaDisplay = activityAreaDisplay;
            }

            public List<ActivityInfoListBean> getActivityInfoList() {
                return activityInfoList;
            }

            public void setActivityInfoList(List<ActivityInfoListBean> activityInfoList) {
                this.activityInfoList = activityInfoList;
            }

            public static class ActivityInfoListBean {
                /**
                 * id : 60
                 * activityImg : https://image.yunifang.com/yunifang/images/goods/temp/170527155491221343694704636.jpg
                 * activityType : 60
                 * activityData : 69
                 * activityDataDetail : 69
                 * activityAreaDisplay : 1
                 * countDownEnable : 0
                 * remark : 搭配购买立减
                 * sort : 0
                 */

                private String id;
                private String activityImg;
                private String activityType;
                private String activityData;
                private String activityDataDetail;
                private String activityAreaDisplay;
                private String countDownEnable;
                private String remark;
                private int sort;

                public String getId() {
                    return id;
                }

                public void setId(String id) {
                    this.id = id;
                }

                public String getActivityImg() {
                    return activityImg;
                }

                public void setActivityImg(String activityImg) {
                    this.activityImg = activityImg;
                }

                public String getActivityType() {
                    return activityType;
                }

                public void setActivityType(String activityType) {
                    this.activityType = activityType;
                }

                public String getActivityData() {
                    return activityData;
                }

                public void setActivityData(String activityData) {
                    this.activityData = activityData;
                }

                public String getActivityDataDetail() {
                    return activityDataDetail;
                }

                public void setActivityDataDetail(String activityDataDetail) {
                    this.activityDataDetail = activityDataDetail;
                }

                public String getActivityAreaDisplay() {
                    return activityAreaDisplay;
                }

                public void setActivityAreaDisplay(String activityAreaDisplay) {
                    this.activityAreaDisplay = activityAreaDisplay;
                }

                public String getCountDownEnable() {
                    return countDownEnable;
                }

                public void setCountDownEnable(String countDownEnable) {
                    this.countDownEnable = countDownEnable;
                }

                public String getRemark() {
                    return remark;
                }

                public void setRemark(String remark) {
                    this.remark = remark;
                }

                public int getSort() {
                    return sort;
                }

                public void setSort(int sort) {
                    this.sort = sort;
                }
            }
        }

        public static class GoodsSpreeActivityBean {
            /**
             * id : 327
             * name : 10.13早场
             * startDate : 2017.10.13 10:00:00
             * endDate : 2017.10.13 16:00:00
             * status : 1
             * startSeconds : -12118
             * endSeconds : 9481
             * isChecked : 0
             * goodsList : [{"id":"997","goodsSpreeId":"327","goodsId":"340","goodsName":"【使用期一年以上介意慎拍】黑玫瑰矿物柔肤乳液120ml","goodsImg":"https://image.yunifang.com/yunifang/images/goods/340/goods_img/170626103460417447209262417.jpg","marketPrice":169,"activityPrice":39.9,"salesRatio":0,"stockNumber":30,"releaseNumber":40},{"id":"998","goodsSpreeId":"327","goodsId":"1324","goodsName":"鲜气少女肌|水光轻灵焕彩面膜5片","goodsImg":"https://image.yunifang.com/yunifang/images/goods/1324/goods_img/170626102366110382576889824.jpg","marketPrice":129,"activityPrice":59.9,"salesRatio":0,"stockNumber":30,"releaseNumber":30},{"id":"999","goodsSpreeId":"327","goodsId":"903","goodsName":"绿豆原浆泥面膜100g","goodsImg":"https://image.yunifang.com/yunifang/images/goods/903/goods_img/170627180542017051678666200.jpg","marketPrice":99,"activityPrice":49.9,"salesRatio":0,"stockNumber":28,"releaseNumber":30}]
             */

            private String id;
            private String name;
            private String startDate;
            private String endDate;
            private String status;
            private String startSeconds;
            private String endSeconds;
            private String isChecked;
            private List<GoodsListBean> goodsList;

            public String getId() {
                return id;
            }

            public void setId(String id) {
                this.id = id;
            }

            public String getName() {
                return name;
            }

            public void setName(String name) {
                this.name = name;
            }

            public String getStartDate() {
                return startDate;
            }

            public void setStartDate(String startDate) {
                this.startDate = startDate;
            }

            public String getEndDate() {
                return endDate;
            }

            public void setEndDate(String endDate) {
                this.endDate = endDate;
            }

            public String getStatus() {
                return status;
            }

            public void setStatus(String status) {
                this.status = status;
            }

            public String getStartSeconds() {
                return startSeconds;
            }

            public void setStartSeconds(String startSeconds) {
                this.startSeconds = startSeconds;
            }

            public String getEndSeconds() {
                return endSeconds;
            }

            public void setEndSeconds(String endSeconds) {
                this.endSeconds = endSeconds;
            }

            public String getIsChecked() {
                return isChecked;
            }

            public void setIsChecked(String isChecked) {
                this.isChecked = isChecked;
            }

            public List<GoodsListBean> getGoodsList() {
                return goodsList;
            }

            public void setGoodsList(List<GoodsListBean> goodsList) {
                this.goodsList = goodsList;
            }

            public static class GoodsListBean {
                /**
                 * id : 997
                 * goodsSpreeId : 327
                 * goodsId : 340
                 * goodsName : 【使用期一年以上介意慎拍】黑玫瑰矿物柔肤乳液120ml
                 * goodsImg : https://image.yunifang.com/yunifang/images/goods/340/goods_img/170626103460417447209262417.jpg
                 * marketPrice : 169.0
                 * activityPrice : 39.9
                 * salesRatio : 0
                 * stockNumber : 30
                 * releaseNumber : 40
                 */

                private String id;
                private String goodsSpreeId;
                private String goodsId;
                private String goodsName;
                private String goodsImg;
                private double marketPrice;
                private double activityPrice;
                private int salesRatio;
                private int stockNumber;
                private int releaseNumber;

                public String getId() {
                    return id;
                }

                public void setId(String id) {
                    this.id = id;
                }

                public String getGoodsSpreeId() {
                    return goodsSpreeId;
                }

                public void setGoodsSpreeId(String goodsSpreeId) {
                    this.goodsSpreeId = goodsSpreeId;
                }

                public String getGoodsId() {
                    return goodsId;
                }

                public void setGoodsId(String goodsId) {
                    this.goodsId = goodsId;
                }

                public String getGoodsName() {
                    return goodsName;
                }

                public void setGoodsName(String goodsName) {
                    this.goodsName = goodsName;
                }

                public String getGoodsImg() {
                    return goodsImg;
                }

                public void setGoodsImg(String goodsImg) {
                    this.goodsImg = goodsImg;
                }

                public double getMarketPrice() {
                    return marketPrice;
                }

                public void setMarketPrice(double marketPrice) {
                    this.marketPrice = marketPrice;
                }

                public double getActivityPrice() {
                    return activityPrice;
                }

                public void setActivityPrice(double activityPrice) {
                    this.activityPrice = activityPrice;
                }

                public int getSalesRatio() {
                    return salesRatio;
                }

                public void setSalesRatio(int salesRatio) {
                    this.salesRatio = salesRatio;
                }

                public int getStockNumber() {
                    return stockNumber;
                }

                public void setStockNumber(int stockNumber) {
                    this.stockNumber = stockNumber;
                }

                public int getReleaseNumber() {
                    return releaseNumber;
                }

                public void setReleaseNumber(int releaseNumber) {
                    this.releaseNumber = releaseNumber;
                }
            }
        }

        public static class SubjectsBean {
            /**
             * id : 84
             * title : 新品上市
             * detail : 质本天然,探寻自然生命的非凡能量,给“躁动”的肌肤一场新的旅行~~
             * image : https://image.yunifang.com/yunifang/images/goods/temp/171011162655217457875119759.jpg
             * start_time : 2017.05.16 09:26:13
             * end_time : 2017.10.31 00:00:00
             * show_number : 6
             * state : 1
             * sort : 0
             * descImage : https://image.yunifang.com/yunifang/images/goods/temp/17051609265319705925918251.jpg
             * template : templateDefault
             * goodsList : [{"id":"492","goods_name":"盈透美肌黑膜套装(插画版)","shop_price":99.9,"market_price":298,"goods_img":"https://image.yunifang.com/yunifang/images/goods/492/goods_img/171011191068814258195256706.jpg","reservable":false,"efficacy":"以黑吸黑 润透亮颜","stock_number":0,"restrict_purchase_num":0,"goodsName":"PG one热荐:★★★★★","goodsImage":"https://image.yunifang.com/yunifang/images/goods/temp/171011192212214258195254179.jpg","description":"三重植物精粹,三重水润膜力,美时美刻,水润透亮~"},{"id":"2076","goods_name":"鲜嫩美莓面膜套装","shop_price":129.9,"market_price":299,"goods_img":"https://image.yunifang.com/yunifang/images/goods/2076/goods_img/170930212555714134276722977.jpg","reservable":false,"efficacy":"果然水润 嫩颜美莓","stock_number":0,"restrict_purchase_num":0,"goodsName":"水润指数:★★★★☆","goodsImage":"https://image.yunifang.com/yunifang/images/goods/temp/17101119283583452898243380.jpg","description":"畅享鲜果派对,肌肤水嫩鲜活,萃取自然野草莓、黑莓、巴西莓精华,三款搭配持续水嫩鲜活~"},{"id":"1189","goods_name":"清透盈润面膜套装21片","shop_price":79.9,"market_price":297,"goods_img":"https://image.yunifang.com/yunifang/images/goods/1189/goods_img/17093019432252555150652465.jpg","reservable":false,"efficacy":"水感剔透 鲜颜嫩肌","stock_number":0,"restrict_purchase_num":0,"goodsName":"鲜嫩指数:★★★★☆","goodsImage":"https://image.yunifang.com/yunifang/images/goods/temp/17101119312216937168845205.jpg","description":"精选玫瑰、竹萃自然精粹,清洁力、补水力、亮泽度全新升级,另肌肤水感剔透~"},{"id":"1638","goods_name":"全新升级丨嫩肌酵素黑膜礼盒21片","shop_price":139.9,"market_price":299,"goods_img":"https://image.yunifang.com/yunifang/images/goods/1638/goods_img/170905151496114997886544712.jpg","reservable":false,"efficacy":"极地酵素 \u201c酵\u201d醒美肌","stock_number":0,"restrict_purchase_num":0,"goodsName":"推荐指数:★★★☆☆","goodsImage":"https://image.yunifang.com/yunifang/images/goods/temp/170905182614314997886548523.jpg","description":"蕴含南极活性补水酵素精华,持久补水锁水,轻蔬鲜果酵素助力平衡水油~"},{"id":"1830","goods_name":"新品尝鲜|水润茶萃微囊黑面膜20片","shop_price":129.9,"market_price":297,"goods_img":"https://image.yunifang.com/yunifang/images/goods/1830/goods_img/17063017284962337647468682.jpg","reservable":false,"efficacy":"只要一片 水润一天","stock_number":0,"restrict_purchase_num":0,"goodsName":"新品推荐:★★★★★","goodsImage":"https://image.yunifang.com/yunifang/images/goods/temp/1705240026717476518778188.jpg","description":"茶萃微囊精华,开创持续保湿新体验,只要一片,水润一天,持续保湿12小时以上"},{"id":"2091","goods_name":"新品上市丨V7伪妆素颜霜20g","shop_price":79,"market_price":79,"goods_img":"https://image.yunifang.com/yunifang/images/goods/2091/goods_img/170905172822119555059792173.jpg","reservable":false,"efficacy":"即刻提亮 闪亮肤色","stock_number":0,"restrict_purchase_num":0,"goodsName":"遮瑕指数:★★★★☆","goodsImage":"https://image.yunifang.com/yunifang/images/goods/temp/1709051825818467283561992.jpg","description":"如果你是素颜控,这款即刻提亮,闪亮肤色的懒人新品素颜霜你值得拥有~"},{"id":"2039","goods_name":"水润柔嫩黑膜21片","shop_price":89.9,"market_price":297,"goods_img":"https://image.yunifang.com/yunifang/images/goods/2039/goods_img/17093020002498271170145819.jpg","reservable":false,"efficacy":"自然纯粹 水润纯净","stock_number":0,"restrict_purchase_num":0,"goodsName":"补水指数:★★★☆☆","goodsImage":"https://image.yunifang.com/yunifang/images/goods/temp/171011193181418890895139029.jpg","description":"精选龙头竹菁萃、牛油果精粹、黑珍珠精粹,给你自然纯粹,水润纯净体验~"},{"id":"745","goods_name":"全新升级丨晶亮红石榴面膜7片","shop_price":79,"market_price":89,"goods_img":"https://image.yunifang.com/yunifang/images/goods/745/goods_img/17081617418998795654179347.jpg","reservable":false,"efficacy":"深度排浊 一扫黯哑","stock_number":0,"restrict_purchase_num":0,"goodsName":"亮肤指数:★★★★★","goodsImage":"https://image.yunifang.com/yunifang/images/goods/temp/170816184151311258603701437.jpg","description":"萃取红石榴原液,滴滴蕴含鲜活能量,清洁排浊、透亮无瑕,改善粗糙黯哑小能手"},{"id":"1870","goods_name":"新品尝鲜|玉润雪肌黑白膜盒20片","shop_price":129.9,"market_price":297,"goods_img":"https://image.yunifang.com/yunifang/images/goods/1870/goods_img/17071909555120332464127704.jpg","reservable":false,"efficacy":"黑白膜力 美肌如玉","stock_number":0,"restrict_purchase_num":0,"goodsName":"新品推荐:★★★★☆","goodsImage":"https://image.yunifang.com/yunifang/images/goods/temp/1707171037861467283567706.jpg","description":"白膜胶原蛋白精华,昼弹润生态库,黑膜三分子玻尿酸,夜补水先锋。黑白膜力,水肌如玉~"},{"id":"1919","goods_name":"透亮红酒酵力面膜21片","shop_price":129.9,"market_price":239,"goods_img":"https://image.yunifang.com/yunifang/images/goods/1919/goods_img/170630171021217601465422538.jpg","reservable":false,"efficacy":"红酒透亮 酵醒美肌","stock_number":0,"restrict_purchase_num":0,"goodsName":"亮肤指数:★★★★★","goodsImage":"https://image.yunifang.com/yunifang/images/goods/temp/170630224599017601465422520.jpg","description":"全新添加西班牙酵母发酵液,融合法国红酒多酚亮肤成分,加乘亮肤功效~"},{"id":"772","goods_name":"全新升级丨清润莹亮黑膜套装21片","shop_price":99.9,"market_price":297,"goods_img":"https://image.yunifang.com/yunifang/images/goods/772/goods_img/17090514228269026987111180.jpg","reservable":false,"efficacy":"自然莹亮 水感瓷肌","stock_number":0,"restrict_purchase_num":0,"goodsName":"水亮能量:★★★★☆","goodsImage":"https://image.yunifang.com/yunifang/images/goods/temp/1709191414112467283564077.jpg","description":"自然莹亮,水感瓷肌,精选龙头竹、葡萄籽,演绎水亮二重奏~"},{"id":"487","goods_name":"海洋弹性蛋白矿物精华眼霜25g","shop_price":139,"market_price":169,"goods_img":"https://image.yunifang.com/yunifang/images/goods/487/goods_img/170626101843492134395965.jpg","reservable":false,"efficacy":"提拉紧致 润亮双眸","stock_number":0,"restrict_purchase_num":0,"goodsName":"抗皱指数:★★★☆☆","goodsImage":"https://image.yunifang.com/yunifang/images/goods/temp/1706151917130467283566572.jpg","description":"不要等到有皱纹了才想起用眼霜,不要让眼睛放大你的年龄,每一滴自然精粹,都为你打造明亮双眸~"},{"id":"1281","goods_name":"新品眼霜丨红石榴矿物眼霜25g","shop_price":129,"market_price":159,"goods_img":"https://image.yunifang.com/yunifang/images/goods/1281/goods_img/170626102555811776047044227.jpg","reservable":false,"efficacy":"淡退黑眼圈 净彻排浊","stock_number":0,"restrict_purchase_num":0,"goodsName":"抗皱指数:★★★☆☆","goodsImage":"https://image.yunifang.com/yunifang/images/goods/temp/1706151918330467283566999.jpg","description":"熊猫眼克星!多种植物精粹,天然舒活肌肤水通道,清爽不油腻,好吸收,和细纹说拜拜~"}]
             * goodsIdsList : ["492","2076","1923","1189","1638","1830","2091","2039","745","1870","1919","772","1280","487","1281","1250"]
             * goodsRelationList : [{"id":"14815","subject_id":"84","goods_id":"492","goodsName":"PG one热荐:★★★★★","goodsImage":"https://image.yunifang.com/yunifang/images/goods/temp/171011192212214258195254179.jpg","description":"三重植物精粹,三重水润膜力,美时美刻,水润透亮~"},{"id":"14816","subject_id":"84","goods_id":"2076","goodsName":"水润指数:★★★★☆","goodsImage":"https://image.yunifang.com/yunifang/images/goods/temp/17101119283583452898243380.jpg","description":"畅享鲜果派对,肌肤水嫩鲜活,萃取自然野草莓、黑莓、巴西莓精华,三款搭配持续水嫩鲜活~"},{"id":"14817","subject_id":"84","goods_id":"1923","goodsName":"美白指数:★★★★☆","goodsImage":"https://image.yunifang.com/yunifang/images/goods/temp/170816184068619872110797032.jpg","description":"真美白,匠心造!全新升级美白嫩肤面膜,多种美白成分助力美白,国家权威美白特证安全放心~"},{"id":"14818","subject_id":"84","goods_id":"1189","goodsName":"鲜嫩指数:★★★★☆","goodsImage":"https://image.yunifang.com/yunifang/images/goods/temp/17101119312216937168845205.jpg","description":"精选玫瑰、竹萃自然精粹,清洁力、补水力、亮泽度全新升级,另肌肤水感剔透~"},{"id":"14819","subject_id":"84","goods_id":"1638","goodsName":"推荐指数:★★★☆☆","goodsImage":"https://image.yunifang.com/yunifang/images/goods/temp/170905182614314997886548523.jpg","description":"蕴含南极活性补水酵素精华,持久补水锁水,轻蔬鲜果酵素助力平衡水油~"},{"id":"14820","subject_id":"84","goods_id":"1830","goodsName":"新品推荐:★★★★★","goodsImage":"https://image.yunifang.com/yunifang/images/goods/temp/1705240026717476518778188.jpg","description":"茶萃微囊精华,开创持续保湿新体验,只要一片,水润一天,持续保湿12小时以上"},{"id":"14821","subject_id":"84","goods_id":"2091","goodsName":"遮瑕指数:★★★★☆","goodsImage":"https://image.yunifang.com/yunifang/images/goods/temp/1709051825818467283561992.jpg","description":"如果你是素颜控,这款即刻提亮,闪亮肤色的懒人新品素颜霜你值得拥有~"},{"id":"14822","subject_id":"84","goods_id":"2039","goodsName":"补水指数:★★★☆☆","goodsImage":"https://image.yunifang.com/yunifang/images/goods/temp/171011193181418890895139029.jpg","description":"精选龙头竹菁萃、牛油果精粹、黑珍珠精粹,给你自然纯粹,水润纯净体验~"},{"id":"14823","subject_id":"84","goods_id":"745","goodsName":"亮肤指数:★★★★★","goodsImage":"https://image.yunifang.com/yunifang/images/goods/temp/170816184151311258603701437.jpg","description":"萃取红石榴原液,滴滴蕴含鲜活能量,清洁排浊、透亮无瑕,改善粗糙黯哑小能手"},{"id":"14824","subject_id":"84","goods_id":"1870","goodsName":"新品推荐:★★★★☆","goodsImage":"https://image.yunifang.com/yunifang/images/goods/temp/1707171037861467283567706.jpg","description":"白膜胶原蛋白精华,昼弹润生态库,黑膜三分子玻尿酸,夜补水先锋。黑白膜力,水肌如玉~"},{"id":"14825","subject_id":"84","goods_id":"1919","goodsName":"亮肤指数:★★★★★","goodsImage":"https://image.yunifang.com/yunifang/images/goods/temp/170630224599017601465422520.jpg","description":"全新添加西班牙酵母发酵液,融合法国红酒多酚亮肤成分,加乘亮肤功效~"},{"id":"14826","subject_id":"84","goods_id":"772","goodsName":"水亮能量:★★★★☆","goodsImage":"https://image.yunifang.com/yunifang/images/goods/temp/1709191414112467283564077.jpg","description":"自然莹亮,水感瓷肌,精选龙头竹、葡萄籽,演绎水亮二重奏~"},{"id":"14827","subject_id":"84","goods_id":"1280","goodsName":"遮瑕指数:★★★☆☆","goodsImage":"https://image.yunifang.com/yunifang/images/goods/temp/17051609285005287026507049.jpg","description":"日本进口粉扑,云母成分强遮瑕,接触肌肤绵密柔软,粉体细腻,妆感轻薄,完美遮瑕~"},{"id":"14828","subject_id":"84","goods_id":"487","goodsName":"抗皱指数:★★★☆☆","goodsImage":"https://image.yunifang.com/yunifang/images/goods/temp/1706151917130467283566572.jpg","description":"不要等到有皱纹了才想起用眼霜,不要让眼睛放大你的年龄,每一滴自然精粹,都为你打造明亮双眸~"},{"id":"14829","subject_id":"84","goods_id":"1281","goodsName":"抗皱指数:★★★☆☆","goodsImage":"https://image.yunifang.com/yunifang/images/goods/temp/1706151918330467283566999.jpg","description":"熊猫眼克星!多种植物精粹,天然舒活肌肤水通道,清爽不油腻,好吸收,和细纹说拜拜~"},{"id":"14830","subject_id":"84","goods_id":"1250","goodsName":"抗氧化指数:★★★★☆","goodsImage":"https://image.yunifang.com/yunifang/images/goods/temp/1706021026770467283563014.jpg","description":"你的梳妆台必不可少一瓶面霜,告别熬夜和岁月留下的黄脸,为肌肤注入鲜活能量。"}]
             * url : http://h.yunifang.com/goods/subject.html?id=84
             * wapUrl : http://vip.yunifang.com/goods/subject.html?id=84
             */

            private String id;
            private String title;
            private String detail;
            private String image;
            private String start_time;
            private String end_time;
            private int show_number;
            private String state;
            private int sort;
            private String descImage;
            private String template;
            private String url;
            private String wapUrl;
            private List<GoodsListBeanX> goodsList;
            private List<String> goodsIdsList;
            private List<GoodsRelationListBean> goodsRelationList;

            public String getId() {
                return id;
            }

            public void setId(String id) {
                this.id = id;
            }

            public String getTitle() {
                return title;
            }

            public void setTitle(String title) {
                this.title = title;
            }

            public String getDetail() {
                return detail;
            }

            public void setDetail(String detail) {
                this.detail = detail;
            }

            public String getImage() {
                return image;
            }

            public void setImage(String image) {
                this.image = image;
            }

            public String getStart_time() {
                return start_time;
            }

            public void setStart_time(String start_time) {
                this.start_time = start_time;
            }

            public String getEnd_time() {
                return end_time;
            }

            public void setEnd_time(String end_time) {
                this.end_time = end_time;
            }

            public int getShow_number() {
                return show_number;
            }

            public void setShow_number(int show_number) {
                this.show_number = show_number;
            }

            public String getState() {
                return state;
            }

            public void setState(String state) {
                this.state = state;
            }

            public int getSort() {
                return sort;
            }

            public void setSort(int sort) {
                this.sort = sort;
            }

            public String getDescImage() {
                return descImage;
            }

            public void setDescImage(String descImage) {
                this.descImage = descImage;
            }

            public String getTemplate() {
                return template;
            }

            public void setTemplate(String template) {
                this.template = template;
            }

            public String getUrl() {
                return url;
            }

            public void setUrl(String url) {
                this.url = url;
            }

            public String getWapUrl() {
                return wapUrl;
            }

            public void setWapUrl(String wapUrl) {
                this.wapUrl = wapUrl;
            }

            public List<GoodsListBeanX> getGoodsList() {
                return goodsList;
            }

            public void setGoodsList(List<GoodsListBeanX> goodsList) {
                this.goodsList = goodsList;
            }

            public List<String> getGoodsIdsList() {
                return goodsIdsList;
            }

            public void setGoodsIdsList(List<String> goodsIdsList) {
                this.goodsIdsList = goodsIdsList;
            }

            public List<GoodsRelationListBean> getGoodsRelationList() {
                return goodsRelationList;
            }

            public void setGoodsRelationList(List<GoodsRelationListBean> goodsRelationList) {
                this.goodsRelationList = goodsRelationList;
            }

            public static class GoodsListBeanX {
                /**
                 * id : 492
                 * goods_name : 盈透美肌黑膜套装(插画版)
                 * shop_price : 99.9
                 * market_price : 298.0
                 * goods_img : https://image.yunifang.com/yunifang/images/goods/492/goods_img/171011191068814258195256706.jpg
                 * reservable : false
                 * efficacy : 以黑吸黑 润透亮颜
                 * stock_number : 0
                 * restrict_purchase_num : 0
                 * goodsName : PG one热荐:★★★★★
                 * goodsImage : https://image.yunifang.com/yunifang/images/goods/temp/171011192212214258195254179.jpg
                 * description : 三重植物精粹,三重水润膜力,美时美刻,水润透亮~
                 */

                private String id;
                private String goods_name;
                private double shop_price;
                private double market_price;
                private String goods_img;
                private boolean reservable;
                private String efficacy;
                private int stock_number;
                private int restrict_purchase_num;
                private String goodsName;
                private String goodsImage;
                private String description;

                public String getId() {
                    return id;
                }

                public void setId(String id) {
                    this.id = id;
                }

                public String getGoods_name() {
                    return goods_name;
                }

                public void setGoods_name(String goods_name) {
                    this.goods_name = goods_name;
                }

                public double getShop_price() {
                    return shop_price;
                }

                public void setShop_price(double shop_price) {
                    this.shop_price = shop_price;
                }

                public double getMarket_price() {
                    return market_price;
                }

                public void setMarket_price(double market_price) {
                    this.market_price = market_price;
                }

                public String getGoods_img() {
                    return goods_img;
                }

                public void setGoods_img(String goods_img) {
                    this.goods_img = goods_img;
                }

                public boolean isReservable() {
                    return reservable;
                }

                public void setReservable(boolean reservable) {
                    this.reservable = reservable;
                }

                public String getEfficacy() {
                    return efficacy;
                }

                public void setEfficacy(String efficacy) {
                    this.efficacy = efficacy;
                }

                public int getStock_number() {
                    return stock_number;
                }

                public void setStock_number(int stock_number) {
                    this.stock_number = stock_number;
                }

                public int getRestrict_purchase_num() {
                    return restrict_purchase_num;
                }

                public void setRestrict_purchase_num(int restrict_purchase_num) {
                    this.restrict_purchase_num = restrict_purchase_num;
                }

                public String getGoodsName() {
                    return goodsName;
                }

                public void setGoodsName(String goodsName) {
                    this.goodsName = goodsName;
                }

                public String getGoodsImage() {
                    return goodsImage;
                }

                public void setGoodsImage(String goodsImage) {
                    this.goodsImage = goodsImage;
                }

                public String getDescription() {
                    return description;
                }

                public void setDescription(String description) {
                    this.description = description;
                }
            }

            public static class GoodsRelationListBean {
                /**
                 * id : 14815
                 * subject_id : 84
                 * goods_id : 492
                 * goodsName : PG one热荐:★★★★★
                 * goodsImage : https://image.yunifang.com/yunifang/images/goods/temp/171011192212214258195254179.jpg
                 * description : 三重植物精粹,三重水润膜力,美时美刻,水润透亮~
                 */

                private String id;
                private String subject_id;
                private String goods_id;
                private String goodsName;
                private String goodsImage;
                private String description;

                public String getId() {
                    return id;
                }

                public void setId(String id) {
                    this.id = id;
                }

                public String getSubject_id() {
                    return subject_id;
                }

                public void setSubject_id(String subject_id) {
                    this.subject_id = subject_id;
                }

                public String getGoods_id() {
                    return goods_id;
                }

                public void setGoods_id(String goods_id) {
                    this.goods_id = goods_id;
                }

                public String getGoodsName() {
                    return goodsName;
                }

                public void setGoodsName(String goodsName) {
                    this.goodsName = goodsName;
                }

                public String getGoodsImage() {
                    return goodsImage;
                }

                public void setGoodsImage(String goodsImage) {
                    this.goodsImage = goodsImage;
                }

                public String getDescription() {
                    return description;
                }

                public void setDescription(String description) {
                    this.description = description;
                }
            }
        }

        public static class Ad1Bean {
            /**
             * id : 1147
             * createtime : 2017.10.09 08:33:42
             * lastupdatetime : 2017.10.09 08:33:46
             * image : https://image.yunifang.com/yunifang/images/goods/ad0/17100908319495742677657462.jpg
             * ad_type : 0
             * sort : 1414
             * position : 0
             * enabled : 1
             * createuser : leiqi
             * lastupdateuser : leiqi
             * ad_type_dynamic : 1
             * ad_type_dynamic_data : http://h.yunifang.com/h/comment.html
             * ad_type_dynamic_detail : http%3A%2F%2Fh.yunifang.com%2Fh%2Fcomment.html
             * title : 10月商品好评有礼
             * channelType : 0
             * show_channel : 1,2,3,4
             */

            private String id;
            private String createtime;
            private String lastupdatetime;
            private String image;
            private int ad_type;
            private int sort;
            private int position;
            private int enabled;
            private String createuser;
            private String lastupdateuser;
            private String ad_type_dynamic;
            private String ad_type_dynamic_data;
            private String ad_type_dynamic_detail;
            private String title;
            private String channelType;
            private String show_channel;

            public String getId() {
                return id;
            }

            public void setId(String id) {
                this.id = id;
            }

            public String getCreatetime() {
                return createtime;
            }

            public void setCreatetime(String createtime) {
                this.createtime = createtime;
            }

            public String getLastupdatetime() {
                return lastupdatetime;
            }

            public void setLastupdatetime(String lastupdatetime) {
                this.lastupdatetime = lastupdatetime;
            }

            public String getImage() {
                return image;
            }

            public void setImage(String image) {
                this.image = image;
            }

            public int getAd_type() {
                return ad_type;
            }

            public void setAd_type(int ad_type) {
                this.ad_type = ad_type;
            }

            public int getSort() {
                return sort;
            }

            public void setSort(int sort) {
                this.sort = sort;
            }

            public int getPosition() {
                return position;
            }

            public void setPosition(int position) {
                this.position = position;
            }

            public int getEnabled() {
                return enabled;
            }

            public void setEnabled(int enabled) {
                this.enabled = enabled;
            }

            public String getCreateuser() {
                return createuser;
            }

            public void setCreateuser(String createuser) {
                this.createuser = createuser;
            }

            public String getLastupdateuser() {
                return lastupdateuser;
            }

            public void setLastupdateuser(String lastupdateuser) {
                this.lastupdateuser = lastupdateuser;
            }

            public String getAd_type_dynamic() {
                return ad_type_dynamic;
            }

            public void setAd_type_dynamic(String ad_type_dynamic) {
                this.ad_type_dynamic = ad_type_dynamic;
            }

            public String getAd_type_dynamic_data() {
                return ad_type_dynamic_data;
            }

            public void setAd_type_dynamic_data(String ad_type_dynamic_data) {
                this.ad_type_dynamic_data = ad_type_dynamic_data;
            }

            public String getAd_type_dynamic_detail() {
                return ad_type_dynamic_detail;
            }

            public void setAd_type_dynamic_detail(String ad_type_dynamic_detail) {
                this.ad_type_dynamic_detail = ad_type_dynamic_detail;
            }

            public String getTitle() {
                return title;
            }

            public void setTitle(String title) {
                this.title = title;
            }

            public String getChannelType() {
                return channelType;
            }

            public void setChannelType(String channelType) {
                this.channelType = channelType;
            }

            public String getShow_channel() {
                return show_channel;
            }

            public void setShow_channel(String show_channel) {
                this.show_channel = show_channel;
            }
        }

        public static class Ad5Bean {
            /**
             * id : 359
             * image : https://image.yunifang.com/yunifang/images/goods/ad0/170516143575610973073847273.png
             * ad_type : 4
             * sort : 295
             * position : 5
             * enabled : 0
             * ad_type_dynamic : 1
             * ad_type_dynamic_data : http://h.yunifang.com/sign/sign.html?login_check=2
             * ad_type_dynamic_detail : http%3A%2F%2Fh.yunifang.com%2Fsign%2Fsign.html%3Flogin_check%3D2
             * show_channel : 1,2
             * title : 每日签到
             * url : http://mobile.hmeili.com/yunifang/web/member/gift
             */

            private String id;
            private String image;
            private int ad_type;
            private int sort;
            private int position;
            private int enabled;
            private String ad_type_dynamic;
            private String ad_type_dynamic_data;
            private String ad_type_dynamic_detail;
            private String show_channel;
            private String title;
            private String url;

            public String getId() {
                return id;
            }

            public void setId(String id) {
                this.id = id;
            }

            public String getImage() {
                return image;
            }

            public void setImage(String image) {
                this.image = image;
            }

            public int getAd_type() {
                return ad_type;
            }

            public void setAd_type(int ad_type) {
                this.ad_type = ad_type;
            }

            public int getSort() {
                return sort;
            }

            public void setSort(int sort) {
                this.sort = sort;
            }

            public int getPosition() {
                return position;
            }

            public void setPosition(int position) {
                this.position = position;
            }

            public int getEnabled() {
                return enabled;
            }

            public void setEnabled(int enabled) {
                this.enabled = enabled;
            }

            public String getAd_type_dynamic() {
                return ad_type_dynamic;
            }

            public void setAd_type_dynamic(String ad_type_dynamic) {
                this.ad_type_dynamic = ad_type_dynamic;
            }

            public String getAd_type_dynamic_data() {
                return ad_type_dynamic_data;
            }

            public void setAd_type_dynamic_data(String ad_type_dynamic_data) {
                this.ad_type_dynamic_data = ad_type_dynamic_data;
            }

            public String getAd_type_dynamic_detail() {
                return ad_type_dynamic_detail;
            }

            public void setAd_type_dynamic_detail(String ad_type_dynamic_detail) {
                this.ad_type_dynamic_detail = ad_type_dynamic_detail;
            }

            public String getShow_channel() {
                return show_channel;
            }

            public void setShow_channel(String show_channel) {
                this.show_channel = show_channel;
            }

            public String getTitle() {
                return title;
            }

            public void setTitle(String title) {
                this.title = title;
            }

            public String getUrl() {
                return url;
            }

            public void setUrl(String url) {
                this.url = url;
            }
        }

        public static class Ad8Bean {
            /**
             * id : 1056
             * image : https://image.yunifang.com/yunifang/images/goods/ad0/170719150582816742818457761.png
             * ad_type : 0
             * sort : 57
             * position : 8
             * enabled : 0
             * description : 人气好物超值推荐
             * ad_type_dynamic : 1
             * ad_type_dynamic_data : http://vip.yunifang.com/goods/recommend.html?id=87
             * ad_type_dynamic_detail : http%3A%2F%2Fh.yunifang.com%2Fgoods%2Frecommend.html%3Fid%3D87
             * show_channel : 1,2,3,4
             * title : 新鲜每一天
             * goods : {"collect_count":0,"reservable":false,"restriction":0,"restrict_purchase_num":0,"is_coupon_allowed":false,"allocated_stock":0,"is_gift":0}
             */

            private String id;
            private String image;
            private int ad_type;
            private int sort;
            private int position;
            private int enabled;
            private String description;
            private String ad_type_dynamic;
            private String ad_type_dynamic_data;
            private String ad_type_dynamic_detail;
            private String show_channel;
            private String title;
            private GoodsBean goods;

            public String getId() {
                return id;
            }

            public void setId(String id) {
                this.id = id;
            }

            public String getImage() {
                return image;
            }

            public void setImage(String image) {
                this.image = image;
            }

            public int getAd_type() {
                return ad_type;
            }

            public void setAd_type(int ad_type) {
                this.ad_type = ad_type;
            }

            public int getSort() {
                return sort;
            }

            public void setSort(int sort) {
                this.sort = sort;
            }

            public int getPosition() {
                return position;
            }

            public void setPosition(int position) {
                this.position = position;
            }

            public int getEnabled() {
                return enabled;
            }

            public void setEnabled(int enabled) {
                this.enabled = enabled;
            }

            public String getDescription() {
                return description;
            }

            public void setDescription(String description) {
                this.description = description;
            }

            public String getAd_type_dynamic() {
                return ad_type_dynamic;
            }

            public void setAd_type_dynamic(String ad_type_dynamic) {
                this.ad_type_dynamic = ad_type_dynamic;
            }

            public String getAd_type_dynamic_data() {
                return ad_type_dynamic_data;
            }

            public void setAd_type_dynamic_data(String ad_type_dynamic_data) {
                this.ad_type_dynamic_data = ad_type_dynamic_data;
            }

            public String getAd_type_dynamic_detail() {
                return ad_type_dynamic_detail;
            }

            public void setAd_type_dynamic_detail(String ad_type_dynamic_detail) {
                this.ad_type_dynamic_detail = ad_type_dynamic_detail;
            }

            public String getShow_channel() {
                return show_channel;
            }

            public void setShow_channel(String show_channel) {
                this.show_channel = show_channel;
            }

            public String getTitle() {
                return title;
            }

            public void setTitle(String title) {
                this.title = title;
            }

            public GoodsBean getGoods() {
                return goods;
            }

            public void setGoods(GoodsBean goods) {
                this.goods = goods;
            }

            public static class GoodsBean {
                /**
                 * collect_count : 0
                 * reservable : false
                 * restriction : 0
                 * restrict_purchase_num : 0
                 * is_coupon_allowed : false
                 * allocated_stock : 0
                 * is_gift : 0
                 */

                private int collect_count;
                private boolean reservable;
                private int restriction;
                private int restrict_purchase_num;
                private boolean is_coupon_allowed;
                private int allocated_stock;
                private int is_gift;

                public int getCollect_count() {
                    return collect_count;
                }

                public void setCollect_count(int collect_count) {
                    this.collect_count = collect_count;
                }

                public boolean isReservable() {
                    return reservable;
                }

                public void setReservable(boolean reservable) {
                    this.reservable = reservable;
                }

                public int getRestriction() {
                    return restriction;
                }

                public void setRestriction(int restriction) {
                    this.restriction = restriction;
                }

                public int getRestrict_purchase_num() {
                    return restrict_purchase_num;
                }

                public void setRestrict_purchase_num(int restrict_purchase_num) {
                    this.restrict_purchase_num = restrict_purchase_num;
                }

                public boolean isIs_coupon_allowed() {
                    return is_coupon_allowed;
                }

                public void setIs_coupon_allowed(boolean is_coupon_allowed) {
                    this.is_coupon_allowed = is_coupon_allowed;
                }

                public int getAllocated_stock() {
                    return allocated_stock;
                }

                public void setAllocated_stock(int allocated_stock) {
                    this.allocated_stock = allocated_stock;
                }

                public int getIs_gift() {
                    return is_gift;
                }

                public void setIs_gift(int is_gift) {
                    this.is_gift = is_gift;
                }
            }
        }

        public static class DefaultGoodsListBean {
            /**
             * id : 121
             * goods_name : 镇店之宝丨美白嫩肤面膜7片
             * shop_price : 49.9
             * market_price : 99.0
             * goods_img : https://image.yunifang.com/yunifang/images/goods/121/goods_img/17062610568378169043195978.jpg
             * reservable : false
             * efficacy : 镇店之宝 美白爆款
             * stock_number : 0
             * restrict_purchase_num : 0
             */

            private String id;
            private String goods_name;
            private double shop_price;
            private double market_price;
            private String goods_img;
            private boolean reservable;
            private String efficacy;
            private int stock_number;
            private int restrict_purchase_num;
            private int count;

            public int getCount() {
                return count;
            }

            public void setCount(int count) {
                this.count = count;
            }

            //商品是否被选中
            private boolean isSelect = true;
            //是否是第一个 如果isfirst 等于1 显示商户的名称, 否则隐藏商户的名称
            private int isFirst = 2;
            //商户是否被选中
            private boolean isShopSelect = true;

            public boolean isSelect() {
                return isSelect;
            }

            public void setSelect(boolean select) {
                isSelect = select;
            }

            public int getIsFirst() {
                return isFirst;
            }

            public void setIsFirst(int isFirst) {
                this.isFirst = isFirst;
            }

            public boolean isShopSelect() {
                return isShopSelect;
            }

            public void setShopSelect(boolean shopSelect) {
                isShopSelect = shopSelect;
            }

            public String getId() {
                return id;
            }

            public void setId(String id) {
                this.id = id;
            }

            public String getGoods_name() {
                return goods_name;
            }

            public void setGoods_name(String goods_name) {
                this.goods_name = goods_name;
            }

            public double getShop_price() {
                return shop_price;
            }

            public void setShop_price(double shop_price) {
                this.shop_price = shop_price;
            }

            public double getMarket_price() {
                return market_price;
            }

            public void setMarket_price(double market_price) {
                this.market_price = market_price;
            }

            public String getGoods_img() {
                return goods_img;
            }

            public void setGoods_img(String goods_img) {
                this.goods_img = goods_img;
            }

            public boolean isReservable() {
                return reservable;
            }

            public void setReservable(boolean reservable) {
                this.reservable = reservable;
            }

            public String getEfficacy() {
                return efficacy;
            }

            public void setEfficacy(String efficacy) {
                this.efficacy = efficacy;
            }

            public int getStock_number() {
                return stock_number;
            }

            public void setStock_number(int stock_number) {
                this.stock_number = stock_number;
            }

            public int getRestrict_purchase_num() {
                return restrict_purchase_num;
            }

            public void setRestrict_purchase_num(int restrict_purchase_num) {
                this.restrict_purchase_num = restrict_purchase_num;
            }
        }
    }
}

 

MainActivity


package com.example.myshopcart;

import android.graphics.drawable.Drawable;
import android.os.Bundle;
import android.support.v7.app.AppCompatActivity;
import android.support.v7.widget.LinearLayoutManager;
import android.support.v7.widget.RecyclerView;
import android.view.View;
import android.widget.LinearLayout;
import android.widget.TextView;

import com.example.myshopcart.Adapter.MyAdapter;
import com.example.myshopcart.Bean.ShopBean;
import com.example.myshopcart.Presenter.ShowPresenter;
import com.example.myshopcart.Presenter.ShowPresenterImpl;
import com.example.myshopcart.View.ShowView;

import java.util.ArrayList;
import java.util.List;

import butterknife.BindView;
import butterknife.ButterKnife;
import butterknife.OnClick;

public class MainActivity extends AppCompatActivity implements ShowView {
    @BindView(R.id.third_recyclerview)
    RecyclerView thirdRecyclerview;
    @BindView(R.id.third_allselect)
    TextView thirdAllselect;
    @BindView(R.id.third_totalprice)
    TextView thirdTotalprice;
    @BindView(R.id.third_totalnum)
    TextView thirdTotalnum;
    @BindView(R.id.third_submit)
    TextView thirdSubmit;
    @BindView(R.id.third_pay_linear)
    LinearLayout thirdPayLinear;
    private List<ShopBean.DataBean.DefaultGoodsListBean>list;
    private MyAdapter adapter;
    private ShowPresenter presenter;
    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_main);
        ButterKnife.bind(this);

        // 1 选中 2 未选中
        presenter = new ShowPresenterImpl(this);
        //p关联m 做网络请求
        presenter.relevance();
        thirdAllselect.setTag(1);
        showData();
    }
    //存放购物车中所有的商品
    private List<ShopBean.DataBean.DefaultGoodsListBean> mAllOrderList = new ArrayList<>();

    private void showData() {

        LinearLayoutManager linearLayoutManager = new LinearLayoutManager(this, LinearLayoutManager.VERTICAL, false);
        adapter = new MyAdapter(this);
        thirdRecyclerview.setAdapter(adapter);
        thirdRecyclerview.setLayoutManager(linearLayoutManager);


        //删除数据回调
        adapter.setOnDeleteClickListener(new MyAdapter.OnDeleteClickListener() {
            @Override
            public void onDeleteClick(View view, int position, int cartid) {


            }
        });

        //
        adapter.setOnRefershListener(new MyAdapter.OnRefershListener() {
            @Override
            public void onRefersh(boolean isSelect, List<ShopBean.DataBean.DefaultGoodsListBean> list) {

                //标记底部 全选按钮
                if (isSelect) {
                    Drawable left = getResources().getDrawable(R.drawable.shopcart_selected);
                    thirdAllselect.setCompoundDrawablesWithIntrinsicBounds(left, null, null, null);
                } else {
                    Drawable left = getResources().getDrawable(R.drawable.shopcart_unselected);
                    thirdAllselect.setCompoundDrawablesWithIntrinsicBounds(left, null, null, null);
                }

                //总价
                float mTotlaPrice = 0f;
                int mTotalNum = 0;
                for (int i = 0; i < list.size(); i++) {
                    if (list.get(i).isSelect()) {
                        mTotlaPrice += mAllOrderList.get(i).getShop_price() * list.get(i).getCount();
                        mTotalNum += mAllOrderList.get(i).getCount();
                    }
                }
                System.out.println("mTotlaPrice = " + mTotlaPrice);

                thirdTotalprice.setText("总价 : " + mTotlaPrice);

                thirdTotalnum.setText("共" + mTotalNum + "件商品");
            }
        });

    }
    /**
     * 标记第一条数据 isfirst 1 显示商户名称 2 隐藏
     *
     * @param list
     */
    public static void setFirstState(List<ShopBean.DataBean.DefaultGoodsListBean> list) {

        if (list.size() > 0) {
            list.get(0).setIsFirst(1);
            for (int i = 1; i < list.size(); i++) {
                if (list.get(i).getId() == list.get(i - 1).getId()) {
                    list.get(i).setIsFirst(2);
                } else {
                    list.get(i).setIsFirst(1);
                }
            }
        }
    }

    @OnClick({R.id.third_allselect, R.id.third_totalprice, R.id.third_totalnum, R.id.third_submit})
    public void onClick(View view) {
        switch (view.getId()) {
            case R.id.third_allselect:

                // 全选
                int state = (Integer)  thirdAllselect.getTag() ;

                adapter.setUnSelected(state);
                if(state == 1){
                    thirdAllselect.setTag(2);
                }else {
                    thirdAllselect.setTag(1);
                }
                break;
            case R.id.third_totalprice:
                break;
            case R.id.third_totalnum:
                break;
            case R.id.third_submit:
                break;
        }
    }

    @Override
    public void showData(ShopBean news) {

        mAllOrderList = news.getData().getDefaultGoodsList();
        adapter.setData(mAllOrderList);
        thirdRecyclerview.setAdapter(adapter);
    }
}

 

Mvp 购物车

标签:boolean   result   web   import   efault   round   基础   float   添加   

原文地址:http://www.cnblogs.com/shexinhai/p/8063738.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!