diff --git a/src/yunding/__pycache__/manage.cpython-38.pyc b/src/yunding/__pycache__/manage.cpython-38.pyc new file mode 100644 index 0000000..0888fff Binary files /dev/null and b/src/yunding/__pycache__/manage.cpython-38.pyc differ diff --git a/src/yunding/areas/__init__.py b/src/yunding/areas/__init__.py new file mode 100644 index 0000000..e69de29 diff --git a/src/yunding/areas/__pycache__/__init__.cpython-38.pyc b/src/yunding/areas/__pycache__/__init__.cpython-38.pyc new file mode 100644 index 0000000..cfa1387 Binary files /dev/null and b/src/yunding/areas/__pycache__/__init__.cpython-38.pyc differ diff --git a/src/yunding/areas/__pycache__/admin.cpython-38.pyc b/src/yunding/areas/__pycache__/admin.cpython-38.pyc new file mode 100644 index 0000000..2995154 Binary files /dev/null and b/src/yunding/areas/__pycache__/admin.cpython-38.pyc differ diff --git a/src/yunding/areas/__pycache__/models.cpython-38.pyc b/src/yunding/areas/__pycache__/models.cpython-38.pyc new file mode 100644 index 0000000..619c538 Binary files /dev/null and b/src/yunding/areas/__pycache__/models.cpython-38.pyc differ diff --git a/src/yunding/areas/__pycache__/tests.cpython-38.pyc b/src/yunding/areas/__pycache__/tests.cpython-38.pyc new file mode 100644 index 0000000..99e0389 Binary files /dev/null and b/src/yunding/areas/__pycache__/tests.cpython-38.pyc differ diff --git a/src/yunding/areas/__pycache__/urls.cpython-38.pyc b/src/yunding/areas/__pycache__/urls.cpython-38.pyc new file mode 100644 index 0000000..1c2d007 Binary files /dev/null and b/src/yunding/areas/__pycache__/urls.cpython-38.pyc differ diff --git a/src/yunding/areas/__pycache__/views.cpython-38.pyc b/src/yunding/areas/__pycache__/views.cpython-38.pyc new file mode 100644 index 0000000..d63d150 Binary files /dev/null and b/src/yunding/areas/__pycache__/views.cpython-38.pyc differ diff --git a/src/yunding/areas/admin.py b/src/yunding/areas/admin.py new file mode 100644 index 0000000..8c38f3f --- /dev/null +++ b/src/yunding/areas/admin.py @@ -0,0 +1,3 @@ +from django.contrib import admin + +# Register your models here. diff --git a/src/yunding/areas/apps.py b/src/yunding/areas/apps.py new file mode 100644 index 0000000..9dad5c0 --- /dev/null +++ b/src/yunding/areas/apps.py @@ -0,0 +1,5 @@ +from django.apps import AppConfig + + +class AreasConfig(AppConfig): + name = 'areas' diff --git a/src/yunding/areas/migrations/0001_initial.py b/src/yunding/areas/migrations/0001_initial.py new file mode 100644 index 0000000..4d37f3e --- /dev/null +++ b/src/yunding/areas/migrations/0001_initial.py @@ -0,0 +1,28 @@ +# Generated by Django 2.2.8 on 2023-08-25 09:37 + +from django.db import migrations, models +import django.db.models.deletion + + +class Migration(migrations.Migration): + + initial = True + + dependencies = [ + ] + + operations = [ + migrations.CreateModel( + name='Area', + fields=[ + ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), + ('name', models.CharField(max_length=20, verbose_name='名称')), + ('parent', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.SET_NULL, related_name='subs', to='areas.Area', verbose_name='上级行政区划')), + ], + options={ + 'verbose_name': '省市区', + 'verbose_name_plural': '省市区', + 'db_table': 'tb_areas', + }, + ), + ] diff --git a/src/yunding/areas/migrations/__init__.py b/src/yunding/areas/migrations/__init__.py new file mode 100644 index 0000000..e69de29 diff --git a/src/yunding/areas/migrations/__pycache__/0001_initial.cpython-38.pyc b/src/yunding/areas/migrations/__pycache__/0001_initial.cpython-38.pyc new file mode 100644 index 0000000..17b3007 Binary files /dev/null and b/src/yunding/areas/migrations/__pycache__/0001_initial.cpython-38.pyc differ diff --git a/src/yunding/areas/migrations/__pycache__/__init__.cpython-38.pyc b/src/yunding/areas/migrations/__pycache__/__init__.cpython-38.pyc new file mode 100644 index 0000000..2255097 Binary files /dev/null and b/src/yunding/areas/migrations/__pycache__/__init__.cpython-38.pyc differ diff --git a/src/yunding/areas/models.py b/src/yunding/areas/models.py new file mode 100644 index 0000000..50e6484 --- /dev/null +++ b/src/yunding/areas/models.py @@ -0,0 +1,17 @@ +from django.db import models + + +# Create your models here. +class Area(models.Model): + """省市区""" + name = models.CharField(max_length=20, verbose_name='名称') + parent = models.ForeignKey('self', on_delete=models.SET_NULL, + related_name='subs', null=True, blank=True, verbose_name='上级行政区划') + + class Meta: + db_table = 'tb_areas' + verbose_name = '省市区' + verbose_name_plural = '省市区' + + def __str__(self): + return self.name diff --git a/src/yunding/areas/tests.py b/src/yunding/areas/tests.py new file mode 100644 index 0000000..7ce503c --- /dev/null +++ b/src/yunding/areas/tests.py @@ -0,0 +1,3 @@ +from django.test import TestCase + +# Create your tests here. diff --git a/src/yunding/areas/urls.py b/src/yunding/areas/urls.py new file mode 100644 index 0000000..5438fbb --- /dev/null +++ b/src/yunding/areas/urls.py @@ -0,0 +1,7 @@ +from django.contrib import admin +from django.urls import path +from .views import * + +urlpatterns = [ + path('areas/', AreasView.as_view()), # 省市区数据 ,子路由 +] diff --git a/src/yunding/areas/views.py b/src/yunding/areas/views.py new file mode 100644 index 0000000..3619123 --- /dev/null +++ b/src/yunding/areas/views.py @@ -0,0 +1,52 @@ +from django.core.cache import cache +from django.http import JsonResponse +from django.shortcuts import render + +# Create your views here. +from django.views import View + +from areas.models import Area +from utils.response_code import RETCODE + + +class AreasView(View): + """省市区数据""" + + def get(self, request): + """提供省市区数据""" + area_id = request.GET.get('area_id') + if not area_id: + province_list = cache.get('province_list') # 读取省份缓存数据 + if not province_list: + try: + province_model_list = Area.objects.filter(parent__isnull=True) + province_list = [] # 构建省级数据 + for province_model in province_model_list: + province_list.append({'id': province_model.id, 'name': province_model.name}) + except Exception as e: + return JsonResponse({'code': RETCODE.DBERR, 'errmsg': '省份数据错误'}) + # 存储省份缓存数据 + cache.set('province_list', province_list, 3600) + # 响应省份数据 + return JsonResponse({'code': RETCODE.OK, 'errmsg': 'OK', 'province_list': province_list}) + else: + # 读取市或区缓存数据 + sub_data = cache.get('sub_area_' + area_id) + if not sub_data: + try: + parent_model = Area.objects.get(id=area_id) # 查询市或区的父级 + sub_model_list = parent_model.subs.all() + sub_list = [] # 构建市或区数据 + for sub_model in sub_model_list: + sub_list.append({'id': sub_model.id, 'name': sub_model.name}) + sub_data = { + 'id': parent_model.id, # 父级pk + 'name': parent_model.name, # 父级name + 'subs': sub_list # 父级的子集 + } + except Exception as e: + return JsonResponse({'code': RETCODE.DBERR, 'errmsg': '城市或区数据错误'}) + # 储存市或区缓存数据 + cache.set('sub_area_' + area_id, sub_data, 3600) + # 响应市或区数据 + return JsonResponse({'code': RETCODE.OK, 'errmsg': 'OK', 'sub_data': sub_data}) diff --git a/src/yunding/carts/__init__.py b/src/yunding/carts/__init__.py new file mode 100644 index 0000000..e69de29 diff --git a/src/yunding/carts/__pycache__/__init__.cpython-38.pyc b/src/yunding/carts/__pycache__/__init__.cpython-38.pyc new file mode 100644 index 0000000..accd8fc Binary files /dev/null and b/src/yunding/carts/__pycache__/__init__.cpython-38.pyc differ diff --git a/src/yunding/carts/__pycache__/admin.cpython-38.pyc b/src/yunding/carts/__pycache__/admin.cpython-38.pyc new file mode 100644 index 0000000..26b3024 Binary files /dev/null and b/src/yunding/carts/__pycache__/admin.cpython-38.pyc differ diff --git a/src/yunding/carts/__pycache__/apps.cpython-38.pyc b/src/yunding/carts/__pycache__/apps.cpython-38.pyc new file mode 100644 index 0000000..1f3ad6c Binary files /dev/null and b/src/yunding/carts/__pycache__/apps.cpython-38.pyc differ diff --git a/src/yunding/carts/__pycache__/models.cpython-38.pyc b/src/yunding/carts/__pycache__/models.cpython-38.pyc new file mode 100644 index 0000000..6d4210a Binary files /dev/null and b/src/yunding/carts/__pycache__/models.cpython-38.pyc differ diff --git a/src/yunding/carts/__pycache__/tests.cpython-38.pyc b/src/yunding/carts/__pycache__/tests.cpython-38.pyc new file mode 100644 index 0000000..6ddf0e0 Binary files /dev/null and b/src/yunding/carts/__pycache__/tests.cpython-38.pyc differ diff --git a/src/yunding/carts/__pycache__/urls.cpython-38.pyc b/src/yunding/carts/__pycache__/urls.cpython-38.pyc new file mode 100644 index 0000000..26a2b0c Binary files /dev/null and b/src/yunding/carts/__pycache__/urls.cpython-38.pyc differ diff --git a/src/yunding/carts/__pycache__/views.cpython-38.pyc b/src/yunding/carts/__pycache__/views.cpython-38.pyc new file mode 100644 index 0000000..6851dd7 Binary files /dev/null and b/src/yunding/carts/__pycache__/views.cpython-38.pyc differ diff --git a/src/yunding/carts/admin.py b/src/yunding/carts/admin.py new file mode 100644 index 0000000..8c38f3f --- /dev/null +++ b/src/yunding/carts/admin.py @@ -0,0 +1,3 @@ +from django.contrib import admin + +# Register your models here. diff --git a/src/yunding/carts/apps.py b/src/yunding/carts/apps.py new file mode 100644 index 0000000..42ca295 --- /dev/null +++ b/src/yunding/carts/apps.py @@ -0,0 +1,5 @@ +from django.apps import AppConfig + + +class CartsConfig(AppConfig): + name = 'carts' diff --git a/src/yunding/carts/migrations/__init__.py b/src/yunding/carts/migrations/__init__.py new file mode 100644 index 0000000..e69de29 diff --git a/src/yunding/carts/migrations/__pycache__/__init__.cpython-38.pyc b/src/yunding/carts/migrations/__pycache__/__init__.cpython-38.pyc new file mode 100644 index 0000000..be59e6d Binary files /dev/null and b/src/yunding/carts/migrations/__pycache__/__init__.cpython-38.pyc differ diff --git a/src/yunding/carts/models.py b/src/yunding/carts/models.py new file mode 100644 index 0000000..71a8362 --- /dev/null +++ b/src/yunding/carts/models.py @@ -0,0 +1,3 @@ +from django.db import models + +# Create your models here. diff --git a/src/yunding/carts/tests.py b/src/yunding/carts/tests.py new file mode 100644 index 0000000..7ce503c --- /dev/null +++ b/src/yunding/carts/tests.py @@ -0,0 +1,3 @@ +from django.test import TestCase + +# Create your tests here. diff --git a/src/yunding/carts/urls.py b/src/yunding/carts/urls.py new file mode 100644 index 0000000..f007628 --- /dev/null +++ b/src/yunding/carts/urls.py @@ -0,0 +1,11 @@ +from django.urls import path +from . import views +app_name = 'carts' +urlpatterns = [ + # 购物车管理 + path('carts/', views.CartsView.as_view(), name='info'), + # 选择购物车商品 + path('carts/selection/', views.CartsSelectAllView.as_view()), + # 简单购物车 + path('carts/simple/', views.CartsSimpleView.as_view()), +] diff --git a/src/yunding/carts/views.py b/src/yunding/carts/views.py new file mode 100644 index 0000000..10163f9 --- /dev/null +++ b/src/yunding/carts/views.py @@ -0,0 +1,359 @@ +import base64 +import json +import pickle + +from django.http import HttpResponseForbidden, JsonResponse +from django.shortcuts import render + +# Create your views here. +from django.views import View +from django_redis import get_redis_connection + +from goods.models import SKU +from utils.response_code import RETCODE +from xiaoyu_mall import settings + + +class CartsView(View): + def get(self, request): + """查询购物车""" + + user = request.user # 判断用户是否登录 + if user.is_authenticated: + # 用户已登录,查询redis购物车 + # 创建链接到redis的对象 + redis_conn = get_redis_connection('carts') + # 查询hash数据 + redis_cart = redis_conn.hgetall('carts_%s' % user.id) + # 查询set数据 + redis_selected = redis_conn.smembers('selected_%s' % user.id) + cart_dict = {} + # 将redis_cart和redis_selected进行数据结构的构造,合并数据,数据结构跟未登录用户购物车结构一致 + for sku_id, count in redis_cart.items(): + cart_dict[int(sku_id)] = { + "count": int(count), + "selected": sku_id in redis_selected + } + else: + # 用户未登录,查询cookies购物车 + cart_str = request.COOKIES.get('carts') + if cart_str: + # 将 cart_str转成bytes类型的字符串 + cart_str_bytes = cart_str.encode() + # 将cart_str_bytes转成bytes类型的字典 + cart_dict_bytes = base64.b64decode(cart_str_bytes) + # 将cart_dict_bytes转成真正的字典 + cart_dict = pickle.loads(cart_dict_bytes) + else: + cart_dict = {} + sku_ids = cart_dict.keys() # 构造响应数据 + skus = SKU.objects.filter(id__in=sku_ids) # 一次性查询出所有的skus + cart_skus = [] + for sku in skus: + cart_skus.append({ + 'id': sku.id, + 'count': cart_dict.get(sku.id).get('count'), + 'selected': str(cart_dict.get(sku.id).get('selected')), + 'name': sku.name, + 'default_image_url': settings.STATIC_URL + 'images/goods/' + sku.default_image.url + '.jpg', + 'price': str(sku.price), + 'amount': str(sku.price * cart_dict.get(sku.id).get('count')), + 'stock': sku.stock + }) + context = { + 'cart_skus': cart_skus + } + return render(request, 'cart.html', context) # 渲染购物车页面 + + def post(self, request): + """保存购物车""" + + # 接收参数 + json_dict = json.loads(request.body.decode()) + sku_id = json_dict.get('sku_id') + count = json_dict.get('count') + selected = json_dict.get('selected', True) + # 校验参数 + if not all([sku_id, count]): + return HttpResponseForbidden('缺少必传参数') + # 校验sku_id是否合法 + try: + SKU.objects.get(id=sku_id) + except SKU.DoesNotExist: + return HttpResponseForbidden('参数sku_id错误') + # 校验count是否是数字 + try: + count = int(count) + except Exception as e: + return HttpResponseForbidden('参数count错误') + # 校验勾选是否是bool + if selected: + if not isinstance(selected, bool): + return HttpResponseForbidden('参数selected错误') + # 判断用户是否登录 + user = request.user + if user.is_authenticated: + # 如果用户已登录,操作Redis购物车 + redis_conn = get_redis_connection('carts') + pl = redis_conn.pipeline() + # 需要以增量计算的形式保存商品数据 + pl.hincrby('carts_%s' % user.id, sku_id, count) + # 保存商品勾选状态 + if selected: + pl.sadd('selected_%s' % user.id, sku_id) + pl.execute() # 执行 + # 响应结果 + return JsonResponse({'code': RETCODE.OK, 'errmsg': 'OK'}) + else: # 用户未登录,操作Cookie购物车 + # 获取cookie中的购物车数据,并且判断是否有购物车数据 + cart_str = request.COOKIES.get('carts') + if cart_str: + # 将 cart_str转成bytes类型的字符串 + cart_str_bytes = cart_str.encode() + # 将cart_str_bytes转成bytes类型的字典 + cart_dict_bytes = base64.b64decode(cart_str_bytes) + # 将cart_dict_bytes转成真正的字典 + cart_dict = pickle.loads(cart_dict_bytes) + else: + cart_dict = {} + # 判断当前要添加的商品在cart_dict中是否存在 + if sku_id in cart_dict: + # 购物车已存在,增量计算 + origin_count = cart_dict[sku_id]['count'] + count += origin_count + cart_dict[sku_id] = { + 'count': count, + 'selected': selected + } + # 将cart_dict转成bytes类型的字典 + cart_dict_bytes = pickle.dumps(cart_dict) + # 将cart_dict_bytes转成bytes类型的字符串 + cart_str_bytes = base64.b64encode(cart_dict_bytes) + # 将cart_str_bytes转成字符串 + cookie_cart_str = cart_str_bytes.decode() + # 将新的购物车数据写入到cookie + response = JsonResponse({'code': RETCODE.OK, 'errmsg': 'OK'}) + response.set_cookie('carts', cookie_cart_str) + return response + + def put(self, request): + """修改购物车""" + + # 接收参数 + json_dict = json.loads(request.body.decode()) + sku_id = json_dict.get('sku_id') + count = json_dict.get('count') + selected = json_dict.get('selected', True) + # 判断参数是否齐全 + if not all([sku_id, count]): + return HttpResponseForbidden('缺少必传参数') + # 判断sku_id是否存在 + try: + sku = SKU.objects.get(id=sku_id) + except SKU.DoesNotExist: + return HttpResponseForbidden('商品sku_id不存在') + # 判断count是否为数字 + try: + count = int(count) + except Exception: + return HttpResponseForbidden('参数count有误') + # 判断selected是否为bool值 + if selected: + if not isinstance(selected, bool): + return HttpResponseForbidden('参数selected有误') + # 判断用户是否登录 + user = request.user + if user.is_authenticated: + # 用户已登录,修改redis购物车 + redis_conn = get_redis_connection('carts') + pl = redis_conn.pipeline() + # 由于后端收到的数据是最终的结果,所以"覆盖写入" + # redis_conn.hincrby() # 使用新值加上旧值(增量) + pl.hset('carts_%s' % user.id, sku_id, count) + # 修改勾选状态 + if selected: + pl.sadd('selected_%s' % user.id, sku_id) + else: + pl.srem('selected_%s' % user.id, sku_id) + # 执行 + pl.execute() + # 创建响应对象 + cart_sku = { + 'id': sku_id, + 'count': count, + 'selected': selected, + 'name': sku.name, + 'price': sku.price, + 'amount': sku.price * count, + 'default_image_url': settings.STATIC_URL + 'images/goods/' + + sku.default_image.url + '.jpg', + } + return JsonResponse({'code': RETCODE.OK, 'errmsg': '修改购物车成功', 'cart_sku': cart_sku}) + else: + # 用户未登录,修改cookie购物车 + # 获取cookie中的购物车数据,并且判断是否有购物车数据 + cart_str = request.COOKIES.get('carts') + if cart_str: + # 将 cart_str转成bytes类型的字符串 + cart_str_bytes = cart_str.encode() + # 将cart_str_bytes转成bytes类型的字典 + cart_dict_bytes = base64.b64decode(cart_str_bytes) + # 将cart_dict_bytes转成真正的字典 + cart_dict = pickle.loads(cart_dict_bytes) + else: + cart_dict = {} + # 由于后端收到的是最终的结果,所以"覆盖写入" + cart_dict[sku_id] = { + 'count': count, + 'selected': selected + } + # 创建响应对象 + cart_sku = { + 'id': sku_id, + 'count': count, + 'selected': selected, + 'name': sku.name, + 'price': sku.price, + 'amount': sku.price * count, + 'default_image_url': settings.STATIC_URL + 'images/goods/' + + sku.default_image.url + '.jpg' + } + # 将cart_dict转成bytes类型的字典 + cart_dict_bytes = pickle.dumps(cart_dict) + # 将cart_dict_bytes转成bytes类型的字符串 + cart_str_bytes = base64.b64encode(cart_dict_bytes) + # 将cart_str_bytes转成字符串 + cookie_cart_str = cart_str_bytes.decode() + # 将新的购物车数据写入到cookie + response = JsonResponse({'code': RETCODE.OK, 'errmsg': 'OK', + 'cart_sku': cart_sku}) + response.set_cookie('carts', cookie_cart_str) + # 响应结果 + return response + + def delete(self, request): + """删除购物车""" + + # 接收参数 + json_dict = json.loads(request.body.decode()) + sku_id = json_dict.get('sku_id') + # 判断sku_id是否存在 + try: + SKU.objects.get(id=sku_id) + except SKU.DoesNotExist: + return HttpResponseForbidden('商品不存在') + # 判断用户是否登录 + user = request.user + if user is not None and user.is_authenticated: + # 用户已登录,删除redis购物车 + redis_conn = get_redis_connection('carts') + pl = redis_conn.pipeline() + # 删除hash购物车商品记录 + pl.hdel('carts_%s' % user.id, sku_id) + # 同步移除勾选状态 + pl.srem('selected_%s' % user.id, sku_id) + pl.execute() + return JsonResponse({'code': RETCODE.OK, 'errmsg': 'OK'}) + else: + # 用户未登录,删除cookie购物车 + # 获取cookie中的购物车数据,并且判断是否有购物车数据 + cart_str = request.COOKIES.get('carts') + if cart_str: + # 将 cart_str转成bytes类型的字符串 + cart_str_bytes = cart_str.encode() + # 将cart_str_bytes转成bytes类型的字典 + cart_dict_bytes = base64.b64decode(cart_str_bytes) + # 将cart_dict_bytes转成真正的字典 + cart_dict = pickle.loads(cart_dict_bytes) + else: + cart_dict = {} + # 构造响应对象 + response = JsonResponse({'code': RETCODE.OK, 'errmsg': 'OK'}) + # 删除字典指定key所对应的记录 + if sku_id in cart_dict: + del cart_dict[sku_id] # 如果删除的key不存在,会抛出异常 + # 将cart_dict转成bytes类型的字典 + cart_dict_bytes = pickle.dumps(cart_dict) + # 将cart_dict_bytes转成bytes类型的字符串 + cart_str_bytes = base64.b64encode(cart_dict_bytes) + # 将cart_str_bytes转成字符串 + cookie_cart_str = cart_str_bytes.decode() + # 写入新的cookie + response.set_cookie('carts', cookie_cart_str) + return response + + +class CartsSimpleView(View): + """商品页面右上角购物车""" + + def get(self, request): + user = request.user # 判断用户是否登录 + if user.is_authenticated: + # 用户已登录,查询Redis购物车 + redis_conn = get_redis_connection('carts') + redis_cart = redis_conn.hgetall('carts_%s' % user.id) + cart_selected = redis_conn.smembers('selected_%s' % user.id) + # 将redis中的两个数据统一格式,跟cookie中的格式一致,方便统一查询 + cart_dict = {} + for sku_id, count in redis_cart.items(): + cart_dict[int(sku_id)] = { + 'count': int(count), + 'selected': sku_id in cart_selected + } + else: + # 用户未登录,查询cookie购物车 + cart_str = request.COOKIES.get('carts') + if cart_str: + cart_dict = pickle.loads(base64.b64decode(cart_str.encode())) + else: + cart_dict = {} + # 构造简单购物车JSON数据 + cart_skus = [] + sku_ids = cart_dict.keys() + skus = SKU.objects.filter(id__in=sku_ids) + for sku in skus: + cart_skus.append({ + 'id': sku.id, + 'name': sku.name, + 'count': cart_dict.get(sku.id).get('count'), + 'default_image_url': settings.STATIC_URL + 'images/goods/' + sku.default_image.url + '.jpg', + }) + # 响应json列表数据 + return JsonResponse({'code': RETCODE.OK, 'errmsg': 'OK', 'cart_skus': cart_skus}) + + +class CartsSelectAllView(View): + """全选购物车""" + + def put(self, request): + # 接收参数 + json_dict = json.loads(request.body.decode()) + selected = json_dict.get('selected', True) + # 校验参数 + if selected and not isinstance(selected, bool): + return HttpResponseForbidden('参数selected有误') + # 判断用户是否登录 + user = request.user + if user.is_authenticated: + # 用户已登录,操作redis购物车 + redis_conn = get_redis_connection('carts') + cart = redis_conn.hgetall('carts_%s' % user.id) + sku_id_list = cart.keys() + if selected: + # 全选 + redis_conn.sadd('selected_%s' % user.id, *sku_id_list) + else: + # 取消全选 + redis_conn.srem('selected_%s' % user.id, *sku_id_list) + return JsonResponse({'code': RETCODE.OK, 'errmsg': '全选购物车成功'}) + else: + # 用户未登录,操作cookie购物车 + cart = request.COOKIES.get('carts') + response = JsonResponse({'code': RETCODE.OK, 'errmsg': '全选购物车成功'}) + if cart is not None: + cart = pickle.loads(base64.b64decode(cart.encode())) + for sku_id in cart: + cart[sku_id]['selected'] = selected + cookie_cart = base64.b64encode(pickle.dumps(cart)).decode() + response.set_cookie('carts', cookie_cart) + return response diff --git a/src/yunding/contents/__init__.py b/src/yunding/contents/__init__.py new file mode 100644 index 0000000..e69de29 diff --git a/src/yunding/contents/__pycache__/__init__.cpython-38.pyc b/src/yunding/contents/__pycache__/__init__.cpython-38.pyc new file mode 100644 index 0000000..2e6b6e9 Binary files /dev/null and b/src/yunding/contents/__pycache__/__init__.cpython-38.pyc differ diff --git a/src/yunding/contents/__pycache__/admin.cpython-38.pyc b/src/yunding/contents/__pycache__/admin.cpython-38.pyc new file mode 100644 index 0000000..4e9750f Binary files /dev/null and b/src/yunding/contents/__pycache__/admin.cpython-38.pyc differ diff --git a/src/yunding/contents/__pycache__/apps.cpython-38.pyc b/src/yunding/contents/__pycache__/apps.cpython-38.pyc new file mode 100644 index 0000000..9a7d4fe Binary files /dev/null and b/src/yunding/contents/__pycache__/apps.cpython-38.pyc differ diff --git a/src/yunding/contents/__pycache__/models.cpython-38.pyc b/src/yunding/contents/__pycache__/models.cpython-38.pyc new file mode 100644 index 0000000..4a9bedc Binary files /dev/null and b/src/yunding/contents/__pycache__/models.cpython-38.pyc differ diff --git a/src/yunding/contents/__pycache__/recommender.cpython-38.pyc b/src/yunding/contents/__pycache__/recommender.cpython-38.pyc new file mode 100644 index 0000000..e6a44b8 Binary files /dev/null and b/src/yunding/contents/__pycache__/recommender.cpython-38.pyc differ diff --git a/src/yunding/contents/__pycache__/tests.cpython-38.pyc b/src/yunding/contents/__pycache__/tests.cpython-38.pyc new file mode 100644 index 0000000..89ae819 Binary files /dev/null and b/src/yunding/contents/__pycache__/tests.cpython-38.pyc differ diff --git a/src/yunding/contents/__pycache__/urls.cpython-38.pyc b/src/yunding/contents/__pycache__/urls.cpython-38.pyc new file mode 100644 index 0000000..bd0348a Binary files /dev/null and b/src/yunding/contents/__pycache__/urls.cpython-38.pyc differ diff --git a/src/yunding/contents/__pycache__/utils.cpython-38.pyc b/src/yunding/contents/__pycache__/utils.cpython-38.pyc new file mode 100644 index 0000000..4df8af3 Binary files /dev/null and b/src/yunding/contents/__pycache__/utils.cpython-38.pyc differ diff --git a/src/yunding/contents/__pycache__/views.cpython-38.pyc b/src/yunding/contents/__pycache__/views.cpython-38.pyc new file mode 100644 index 0000000..2bc7889 Binary files /dev/null and b/src/yunding/contents/__pycache__/views.cpython-38.pyc differ diff --git a/src/yunding/contents/admin.py b/src/yunding/contents/admin.py new file mode 100644 index 0000000..8c38f3f --- /dev/null +++ b/src/yunding/contents/admin.py @@ -0,0 +1,3 @@ +from django.contrib import admin + +# Register your models here. diff --git a/src/yunding/contents/apps.py b/src/yunding/contents/apps.py new file mode 100644 index 0000000..0ad09ea --- /dev/null +++ b/src/yunding/contents/apps.py @@ -0,0 +1,5 @@ +from django.apps import AppConfig + + +class ContentsConfig(AppConfig): + name = 'contents' diff --git a/src/yunding/contents/migrations/0001_initial.py b/src/yunding/contents/migrations/0001_initial.py new file mode 100644 index 0000000..9e7b6aa --- /dev/null +++ b/src/yunding/contents/migrations/0001_initial.py @@ -0,0 +1,50 @@ +# Generated by Django 2.2.8 on 2023-08-18 11:39 + +from django.db import migrations, models +import django.db.models.deletion + + +class Migration(migrations.Migration): + + initial = True + + dependencies = [ + ] + + operations = [ + migrations.CreateModel( + name='ContentCategory', + fields=[ + ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), + ('create_time', models.DateTimeField(auto_now_add=True, verbose_name='创建时间')), + ('update_time', models.DateTimeField(auto_now=True, verbose_name='更新时间')), + ('name', models.CharField(max_length=50, verbose_name='名称')), + ('key', models.CharField(max_length=50, verbose_name='类别键名')), + ], + options={ + 'verbose_name': '广告内容类别', + 'verbose_name_plural': '广告内容类别', + 'db_table': 'tb_content_category', + }, + ), + migrations.CreateModel( + name='Content', + fields=[ + ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), + ('create_time', models.DateTimeField(auto_now_add=True, verbose_name='创建时间')), + ('update_time', models.DateTimeField(auto_now=True, verbose_name='更新时间')), + ('title', models.CharField(max_length=100, verbose_name='标题')), + ('url', models.CharField(max_length=300, verbose_name='内容链接')), + ('image', models.ImageField(blank=True, null=True, upload_to='', verbose_name='图片')), + ('text', models.TextField(blank=True, null=True, verbose_name='内容')), + ('sequence', models.IntegerField(verbose_name='排序')), + ('status', models.BooleanField(default=True, verbose_name='是否展示')), + ('category', models.ForeignKey(on_delete=django.db.models.deletion.PROTECT, to='contents.ContentCategory', verbose_name='类别')), + ], + options={ + 'verbose_name': '广告内容', + 'verbose_name_plural': '广告内容', + 'db_table': 'tb_content', + }, + ), + ] diff --git a/src/yunding/contents/migrations/__init__.py b/src/yunding/contents/migrations/__init__.py new file mode 100644 index 0000000..e69de29 diff --git a/src/yunding/contents/migrations/__pycache__/0001_initial.cpython-38.pyc b/src/yunding/contents/migrations/__pycache__/0001_initial.cpython-38.pyc new file mode 100644 index 0000000..726217c Binary files /dev/null and b/src/yunding/contents/migrations/__pycache__/0001_initial.cpython-38.pyc differ diff --git a/src/yunding/contents/migrations/__pycache__/__init__.cpython-38.pyc b/src/yunding/contents/migrations/__pycache__/__init__.cpython-38.pyc new file mode 100644 index 0000000..a7c1bfa Binary files /dev/null and b/src/yunding/contents/migrations/__pycache__/__init__.cpython-38.pyc differ diff --git a/src/yunding/contents/models.py b/src/yunding/contents/models.py new file mode 100644 index 0000000..d9dfaac --- /dev/null +++ b/src/yunding/contents/models.py @@ -0,0 +1,36 @@ +from django.db import models +from utils.models import BaseModel + + +# Create your models here. +class ContentCategory(BaseModel): + """广告内容类别""" + name = models.CharField(max_length=50, verbose_name='名称') + key = models.CharField(max_length=50, verbose_name='类别键名') + + class Meta: + db_table = 'tb_content_category' + verbose_name = '广告内容类别' + verbose_name_plural = verbose_name + + def __str__(self): + return self.name + + +class Content(BaseModel): + """广告内容""" + category = models.ForeignKey(ContentCategory, on_delete=models.PROTECT, verbose_name='类别') + title = models.CharField(max_length=100, verbose_name='标题') + url = models.CharField(max_length=300, verbose_name='内容链接') + image = models.ImageField(null=True, blank=True, verbose_name='图片') + text = models.TextField(null=True, blank=True, verbose_name='内容') + sequence = models.IntegerField(verbose_name='排序') + status = models.BooleanField(default=True, verbose_name='是否展示') + + class Meta: + db_table = 'tb_content' + verbose_name = '广告内容' + verbose_name_plural = verbose_name + + def __str__(self): + return self.category.name + ': ' + self.title diff --git a/src/yunding/contents/recommender.py b/src/yunding/contents/recommender.py new file mode 100644 index 0000000..adf5d4e --- /dev/null +++ b/src/yunding/contents/recommender.py @@ -0,0 +1,20 @@ +from sklearn.feature_extraction.text import TfidfVectorizer +from sklearn.metrics.pairwise import linear_kernel + +class ContentBasedRecommender: + def __init__(self, products): + self.products = products + self.build() + + def build(self): + tfidf_vectorizer = TfidfVectorizer(stop_words='english') + tfidf_matrix = tfidf_vectorizer.fit_transform([product.caption for product in self.products]) + self.similarity_matrix = linear_kernel(tfidf_matrix, tfidf_matrix) + + def recommend_products(self, product_id, num_recommendations=5): + product_index = next(index for (index, product) in enumerate(self.products) if product.id == product_id) + similarity_scores = list(enumerate(self.similarity_matrix[product_index])) + similarity_scores = sorted(similarity_scores, key=lambda x: x[1], reverse=True) + similar_products = similarity_scores[1:num_recommendations + 1] + + return [self.products[product[0]] for product in similar_products] diff --git a/src/yunding/contents/tests.py b/src/yunding/contents/tests.py new file mode 100644 index 0000000..7ce503c --- /dev/null +++ b/src/yunding/contents/tests.py @@ -0,0 +1,3 @@ +from django.test import TestCase + +# Create your tests here. diff --git a/src/yunding/contents/urls.py b/src/yunding/contents/urls.py new file mode 100644 index 0000000..0065d97 --- /dev/null +++ b/src/yunding/contents/urls.py @@ -0,0 +1,9 @@ + +from django.contrib import admin +from django.urls import path +from .views import * + +app_name = 'contents' +urlpatterns = [ + path('', IndexView.as_view(), name='index'), +] diff --git a/src/yunding/contents/utils.py b/src/yunding/contents/utils.py new file mode 100644 index 0000000..942c316 --- /dev/null +++ b/src/yunding/contents/utils.py @@ -0,0 +1,32 @@ +from collections import OrderedDict +from goods.models import GoodsChannel + + +def get_categories(): + """获取商品分类""" + # 准备商品分类对应的字典 + categories = OrderedDict() + # 查询并展示商品分类 37个一级类别 + channels = GoodsChannel.objects.order_by('group_id', 'sequence') + # 遍历所有频道 + for channel in channels: + group_id = channel.group_id # 当前组 + # 获取当前频道所在的组:只有11个组 + if group_id not in categories: + categories[group_id] = {'channels': [], 'sub_cats': []} + cat1 = channel.category # 当前频道的类别 + # 追加当前频道 + categories[group_id]['channels'].append({ + 'id': cat1.id, + 'name': cat1.name, + 'url': channel.url + }) + # 查询二级和三级类别 + for cat2 in cat1.subs.all(): # 从一级类别查找二级类别 + cat2.sub_cats = [] # 给二级类别添加一个保存三级类别的列表 + for cat3 in cat2.subs.all(): # 从二级类别查找三级类别 + cat2.sub_cats.append(cat3) # 将三级类别添加到二级sub_cats + # 将二级类别添加到一级类别的sub_cats + + categories[group_id]['sub_cats'].append(cat2) + return categories diff --git a/src/yunding/contents/views.py b/src/yunding/contents/views.py new file mode 100644 index 0000000..6345cca --- /dev/null +++ b/src/yunding/contents/views.py @@ -0,0 +1,61 @@ +from django.shortcuts import render +from django.views import View + +from contents.recommender import ContentBasedRecommender +from contents.utils import get_categories +from collections import OrderedDict + +from goods.models import SKU +from contents.models import ContentCategory + + +# class IndexView(View): +# def get(self, request): +# """提供首页广告页面""" +# categories = get_categories() +# # 查询首页广告数据 +# # 查询所有的广告类别 +# content_categories = ContentCategory.objects.all() +# # 使用广告类别查询出该类别对应的所有的广告内容 +# contents = OrderedDict() +# for content_categorie in content_categories: +# contents[content_categorie.key] = content_categorie.content_set.filter(status=True).order_by( +# 'sequence') # 查询出未下架的广告并排序 +# # 渲染模板的上下文 +# context = { +# 'categories': categories, +# 'contents': contents, +# } +# return render(request, 'index.html', context) + + +class IndexView(View): + def get(self, request): + """提供首页广告页面""" + skus = SKU.objects.filter(is_launched=True) + + recommender = ContentBasedRecommender(skus) + user_interests = SKU.objects.all() + + recommended_products = [] + for interest in user_interests: + recommendations = recommender.recommend_products(interest.id) + recommended_products.extend(recommendations) + + # 查询商品分类 + categories = get_categories() + # 查询首页广告数据 + # 查询所有的广告类别 + content_categories = ContentCategory.objects.all() + # 使用广告类别查询出该类别对应的所有的广告内容 + contents = OrderedDict() + for content_categorie in content_categories: + contents[content_categorie.key] = content_categorie.content_set.filter(status=True).order_by( + 'sequence') # 查询出未下架的广告并排序 + # 构造上下文 + context = { + 'categories': categories, + 'page_skus': recommended_products, + 'contents': contents, + } + return render(request, 'index2.html', context) diff --git a/src/yunding/goods/__init__.py b/src/yunding/goods/__init__.py new file mode 100644 index 0000000..e69de29 diff --git a/src/yunding/goods/__pycache__/__init__.cpython-38.pyc b/src/yunding/goods/__pycache__/__init__.cpython-38.pyc new file mode 100644 index 0000000..8221eca Binary files /dev/null and b/src/yunding/goods/__pycache__/__init__.cpython-38.pyc differ diff --git a/src/yunding/goods/__pycache__/admin.cpython-38.pyc b/src/yunding/goods/__pycache__/admin.cpython-38.pyc new file mode 100644 index 0000000..89725ec Binary files /dev/null and b/src/yunding/goods/__pycache__/admin.cpython-38.pyc differ diff --git a/src/yunding/goods/__pycache__/apps.cpython-38.pyc b/src/yunding/goods/__pycache__/apps.cpython-38.pyc new file mode 100644 index 0000000..400a41e Binary files /dev/null and b/src/yunding/goods/__pycache__/apps.cpython-38.pyc differ diff --git a/src/yunding/goods/__pycache__/models.cpython-38.pyc b/src/yunding/goods/__pycache__/models.cpython-38.pyc new file mode 100644 index 0000000..afa3098 Binary files /dev/null and b/src/yunding/goods/__pycache__/models.cpython-38.pyc differ diff --git a/src/yunding/goods/__pycache__/tests.cpython-38.pyc b/src/yunding/goods/__pycache__/tests.cpython-38.pyc new file mode 100644 index 0000000..2449f3e Binary files /dev/null and b/src/yunding/goods/__pycache__/tests.cpython-38.pyc differ diff --git a/src/yunding/goods/__pycache__/tools.cpython-38.pyc b/src/yunding/goods/__pycache__/tools.cpython-38.pyc new file mode 100644 index 0000000..4d73f3f Binary files /dev/null and b/src/yunding/goods/__pycache__/tools.cpython-38.pyc differ diff --git a/src/yunding/goods/__pycache__/urls.cpython-38.pyc b/src/yunding/goods/__pycache__/urls.cpython-38.pyc new file mode 100644 index 0000000..664ca6d Binary files /dev/null and b/src/yunding/goods/__pycache__/urls.cpython-38.pyc differ diff --git a/src/yunding/goods/__pycache__/views.cpython-38.pyc b/src/yunding/goods/__pycache__/views.cpython-38.pyc new file mode 100644 index 0000000..f44b6ee Binary files /dev/null and b/src/yunding/goods/__pycache__/views.cpython-38.pyc differ diff --git a/src/yunding/goods/admin.py b/src/yunding/goods/admin.py new file mode 100644 index 0000000..8c38f3f --- /dev/null +++ b/src/yunding/goods/admin.py @@ -0,0 +1,3 @@ +from django.contrib import admin + +# Register your models here. diff --git a/src/yunding/goods/apps.py b/src/yunding/goods/apps.py new file mode 100644 index 0000000..e9c4a7a --- /dev/null +++ b/src/yunding/goods/apps.py @@ -0,0 +1,5 @@ +from django.apps import AppConfig + + +class GoodsConfig(AppConfig): + name = 'goods' diff --git a/src/yunding/goods/migrations/0001_initial.py b/src/yunding/goods/migrations/0001_initial.py new file mode 100644 index 0000000..64908da --- /dev/null +++ b/src/yunding/goods/migrations/0001_initial.py @@ -0,0 +1,188 @@ +# Generated by Django 2.2.8 on 2023-08-18 11:39 + +from django.db import migrations, models +import django.db.models.deletion + + +class Migration(migrations.Migration): + + initial = True + + dependencies = [ + ] + + operations = [ + migrations.CreateModel( + name='Brand', + fields=[ + ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), + ('create_time', models.DateTimeField(auto_now_add=True, verbose_name='创建时间')), + ('update_time', models.DateTimeField(auto_now=True, verbose_name='更新时间')), + ('name', models.CharField(max_length=20, verbose_name='名称')), + ('logo', models.ImageField(upload_to='', verbose_name='Logo图片')), + ('first_letter', models.CharField(max_length=1, verbose_name='品牌首字母')), + ], + options={ + 'verbose_name': '品牌', + 'verbose_name_plural': '品牌', + 'db_table': 'tb_brand', + }, + ), + migrations.CreateModel( + name='GoodsCategory', + fields=[ + ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), + ('create_time', models.DateTimeField(auto_now_add=True, verbose_name='创建时间')), + ('update_time', models.DateTimeField(auto_now=True, verbose_name='更新时间')), + ('name', models.CharField(max_length=10, verbose_name='名称')), + ('parent', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, related_name='subs', to='goods.GoodsCategory', verbose_name='父类别')), + ], + options={ + 'verbose_name': '商品类别', + 'verbose_name_plural': '商品类别', + 'db_table': 'tb_goods_category', + }, + ), + migrations.CreateModel( + name='GoodsChannelGroup', + fields=[ + ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), + ('name', models.CharField(max_length=20, verbose_name='频道组名')), + ], + options={ + 'verbose_name': '商品频道组', + 'verbose_name_plural': '商品频道组', + 'db_table': 'tb_channel_group', + }, + ), + migrations.CreateModel( + name='SKU', + fields=[ + ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), + ('create_time', models.DateTimeField(auto_now_add=True, verbose_name='创建时间')), + ('update_time', models.DateTimeField(auto_now=True, verbose_name='更新时间')), + ('name', models.CharField(max_length=50, verbose_name='名称')), + ('caption', models.CharField(max_length=100, verbose_name='副标题')), + ('price', models.DecimalField(decimal_places=2, max_digits=10, verbose_name='单价')), + ('cost_price', models.DecimalField(decimal_places=2, max_digits=10, verbose_name='进价')), + ('market_price', models.DecimalField(decimal_places=2, max_digits=10, verbose_name='市场价')), + ('stock', models.IntegerField(default=0, verbose_name='库存')), + ('sales', models.IntegerField(default=0, verbose_name='销量')), + ('comments', models.IntegerField(default=0, verbose_name='评价数')), + ('is_launched', models.BooleanField(default=True, verbose_name='是否上架销售')), + ('default_image', models.ImageField(blank=True, default='', max_length=200, null=True, upload_to='', verbose_name='默认图片')), + ('category', models.ForeignKey(on_delete=django.db.models.deletion.PROTECT, to='goods.GoodsCategory', verbose_name='从属类别')), + ], + options={ + 'verbose_name': '商品SKU', + 'verbose_name_plural': '商品SKU', + 'db_table': 'tb_sku', + }, + ), + migrations.CreateModel( + name='SPU', + fields=[ + ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), + ('create_time', models.DateTimeField(auto_now_add=True, verbose_name='创建时间')), + ('update_time', models.DateTimeField(auto_now=True, verbose_name='更新时间')), + ('name', models.CharField(max_length=50, verbose_name='名称')), + ('sales', models.IntegerField(default=0, verbose_name='销量')), + ('comments', models.IntegerField(default=0, verbose_name='评价数')), + ('desc_detail', models.TextField(default='', verbose_name='详细介绍')), + ('desc_pack', models.TextField(default='', verbose_name='包装信息')), + ('desc_service', models.TextField(default='', verbose_name='售后服务')), + ('brand', models.ForeignKey(on_delete=django.db.models.deletion.PROTECT, to='goods.Brand', verbose_name='品牌')), + ('category1', models.ForeignKey(on_delete=django.db.models.deletion.PROTECT, related_name='cat1_spu', to='goods.GoodsCategory', verbose_name='一级类别')), + ('category2', models.ForeignKey(on_delete=django.db.models.deletion.PROTECT, related_name='cat2_spu', to='goods.GoodsCategory', verbose_name='二级类别')), + ('category3', models.ForeignKey(on_delete=django.db.models.deletion.PROTECT, related_name='cat3_spu', to='goods.GoodsCategory', verbose_name='三级类别')), + ], + options={ + 'verbose_name': '商品SPU', + 'verbose_name_plural': '商品SPU', + 'db_table': 'tb_spu', + }, + ), + migrations.CreateModel( + name='SPUSpecification', + fields=[ + ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), + ('create_time', models.DateTimeField(auto_now_add=True, verbose_name='创建时间')), + ('update_time', models.DateTimeField(auto_now=True, verbose_name='更新时间')), + ('name', models.CharField(max_length=20, verbose_name='规格名称')), + ('spu', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, related_name='specs', to='goods.SPU', verbose_name='商品SPU')), + ], + options={ + 'verbose_name': '商品SPU规格', + 'verbose_name_plural': '商品SPU规格', + 'db_table': 'tb_spu_specification', + }, + ), + migrations.CreateModel( + name='SpecificationOption', + fields=[ + ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), + ('create_time', models.DateTimeField(auto_now_add=True, verbose_name='创建时间')), + ('update_time', models.DateTimeField(auto_now=True, verbose_name='更新时间')), + ('value', models.CharField(max_length=20, verbose_name='选项值')), + ('spec', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, related_name='options', to='goods.SPUSpecification', verbose_name='规格')), + ], + options={ + 'verbose_name': '规格选项', + 'verbose_name_plural': '规格选项', + 'db_table': 'tb_specification_option', + }, + ), + migrations.CreateModel( + name='SKUSpecification', + fields=[ + ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), + ('create_time', models.DateTimeField(auto_now_add=True, verbose_name='创建时间')), + ('update_time', models.DateTimeField(auto_now=True, verbose_name='更新时间')), + ('option', models.ForeignKey(on_delete=django.db.models.deletion.PROTECT, to='goods.SpecificationOption', verbose_name='规格值')), + ('sku', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, related_name='specs', to='goods.SKU', verbose_name='sku')), + ('spec', models.ForeignKey(on_delete=django.db.models.deletion.PROTECT, to='goods.SPUSpecification', verbose_name='规格名称')), + ], + options={ + 'verbose_name': 'SKU规格', + 'verbose_name_plural': 'SKU规格', + 'db_table': 'tb_sku_specification', + }, + ), + migrations.CreateModel( + name='SKUImage', + fields=[ + ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), + ('create_time', models.DateTimeField(auto_now_add=True, verbose_name='创建时间')), + ('update_time', models.DateTimeField(auto_now=True, verbose_name='更新时间')), + ('image', models.ImageField(upload_to='', verbose_name='图片')), + ('sku', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='goods.SKU', verbose_name='sku')), + ], + options={ + 'verbose_name': 'SKU图片', + 'verbose_name_plural': 'SKU图片', + 'db_table': 'tb_sku_image', + }, + ), + migrations.AddField( + model_name='sku', + name='spu', + field=models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='goods.SPU', verbose_name='商品'), + ), + migrations.CreateModel( + name='GoodsChannel', + fields=[ + ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), + ('create_time', models.DateTimeField(auto_now_add=True, verbose_name='创建时间')), + ('update_time', models.DateTimeField(auto_now=True, verbose_name='更新时间')), + ('url', models.CharField(max_length=50, verbose_name='频道页面链接')), + ('sequence', models.IntegerField(verbose_name='组内顺序')), + ('category', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='goods.GoodsCategory', verbose_name='顶级商品类别')), + ('group', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='goods.GoodsChannelGroup', verbose_name='频道组名')), + ], + options={ + 'verbose_name': '商品频道', + 'verbose_name_plural': '商品频道', + 'db_table': 'tb_goods_channel', + }, + ), + ] diff --git a/src/yunding/goods/migrations/__init__.py b/src/yunding/goods/migrations/__init__.py new file mode 100644 index 0000000..e69de29 diff --git a/src/yunding/goods/migrations/__pycache__/0001_initial.cpython-38.pyc b/src/yunding/goods/migrations/__pycache__/0001_initial.cpython-38.pyc new file mode 100644 index 0000000..231726f Binary files /dev/null and b/src/yunding/goods/migrations/__pycache__/0001_initial.cpython-38.pyc differ diff --git a/src/yunding/goods/migrations/__pycache__/__init__.cpython-38.pyc b/src/yunding/goods/migrations/__pycache__/__init__.cpython-38.pyc new file mode 100644 index 0000000..1945321 Binary files /dev/null and b/src/yunding/goods/migrations/__pycache__/__init__.cpython-38.pyc differ diff --git a/src/yunding/goods/models.py b/src/yunding/goods/models.py new file mode 100644 index 0000000..caed647 --- /dev/null +++ b/src/yunding/goods/models.py @@ -0,0 +1,174 @@ +from django.db import models +from utils.models import BaseModel + + +# Create your models here. +class GoodsCategory(BaseModel): + """商品类别""" + name = models.CharField(max_length=10, verbose_name='名称') + parent = models.ForeignKey('self', related_name='subs', null=True, blank=True, on_delete=models.CASCADE, + verbose_name='父类别') + + class Meta: + db_table = 'tb_goods_category' + verbose_name = '商品类别' + verbose_name_plural = verbose_name + + def __str__(self): + return self.name + + +class GoodsChannelGroup(models.Model): + """商品频道组""" + name = models.CharField(max_length=20, verbose_name='频道组名') + + class Meta: + db_table = 'tb_channel_group' + verbose_name = '商品频道组' + verbose_name_plural = verbose_name + + def __str__(self): + return self.name + + +class GoodsChannel(BaseModel): + """商品频道""" + group = models.ForeignKey(GoodsChannelGroup, verbose_name='频道组名', on_delete=models.CASCADE) + category = models.ForeignKey(GoodsCategory, on_delete=models.CASCADE, verbose_name='顶级商品类别') + url = models.CharField(max_length=50, verbose_name='频道页面链接') + sequence = models.IntegerField(verbose_name='组内顺序') + + class Meta: + db_table = 'tb_goods_channel' + verbose_name = '商品频道' + verbose_name_plural = verbose_name + + def __str__(self): + return self.category.name + + +class Brand(BaseModel): + """品牌""" + + name = models.CharField(max_length=20, verbose_name='名称') + logo = models.ImageField(verbose_name='Logo图片') + first_letter = models.CharField(max_length=1, verbose_name='品牌首字母') + + class Meta: + db_table = 'tb_brand' + verbose_name = '品牌' + verbose_name_plural = verbose_name + + def __str__(self): + return self.name + + +class SPU(BaseModel): + """商品SPU""" + + name = models.CharField(max_length=50, verbose_name='名称') + brand = models.ForeignKey(Brand, on_delete=models.PROTECT, verbose_name='品牌') + category1 = models.ForeignKey(GoodsCategory, on_delete=models.PROTECT, + related_name='cat1_spu', verbose_name='一级类别') + category2 = models.ForeignKey(GoodsCategory, on_delete=models.PROTECT, + related_name='cat2_spu', verbose_name='二级类别') + category3 = models.ForeignKey(GoodsCategory, on_delete=models.PROTECT, + related_name='cat3_spu', verbose_name='三级类别') + sales = models.IntegerField(default=0, verbose_name='销量') + comments = models.IntegerField(default=0, verbose_name='评价数') + desc_detail = models.TextField(default='', verbose_name='详细介绍') + desc_pack = models.TextField(default='', verbose_name='包装信息') + desc_service = models.TextField(default='', verbose_name='售后服务') + + class Meta: + db_table = 'tb_spu' + verbose_name = '商品SPU' + verbose_name_plural = verbose_name + + def __str__(self): + return self.name + + +class SKU(BaseModel): + """商品SKU""" + name = models.CharField(max_length=50, verbose_name='名称') + caption = models.CharField(max_length=100, verbose_name='副标题') + spu = models.ForeignKey(SPU, on_delete=models.CASCADE, verbose_name='商品') + category = models.ForeignKey(GoodsCategory, on_delete=models.PROTECT, verbose_name='从属类别') + price = models.DecimalField(max_digits=10, decimal_places=2, verbose_name='单价') + cost_price = models.DecimalField(max_digits=10, decimal_places=2, verbose_name='进价') + market_price = models.DecimalField(max_digits=10, decimal_places=2, verbose_name='市场价') + stock = models.IntegerField(default=0, verbose_name='库存') + sales = models.IntegerField(default=0, verbose_name='销量') + comments = models.IntegerField(default=0, verbose_name='评价数') + is_launched = models.BooleanField(default=True, verbose_name='是否上架销售') + default_image = models.ImageField(max_length=200, default='', null=True, blank=True, verbose_name='默认图片') + + class Meta: + db_table = 'tb_sku' + verbose_name = '商品SKU' + verbose_name_plural = verbose_name + + def __str__(self): + return '%s: %s' % (self.id, self.name) + + +class SKUImage(BaseModel): + """SKU图片""" + + sku = models.ForeignKey(SKU, on_delete=models.CASCADE, verbose_name='sku') + image = models.ImageField(verbose_name='图片') + + class Meta: + db_table = 'tb_sku_image' + verbose_name = 'SKU图片' + verbose_name_plural = verbose_name + + def __str__(self): + return '%s %s' % (self.sku.name, self.id) + + +class SPUSpecification(BaseModel): + """商品SPU规格""" + + spu = models.ForeignKey(SPU, on_delete=models.CASCADE, related_name='specs', verbose_name='商品SPU') + name = models.CharField(max_length=20, verbose_name='规格名称') + + class Meta: + db_table = 'tb_spu_specification' + verbose_name = '商品SPU规格' + verbose_name_plural = verbose_name + + def __str__(self): + return '%s: %s' % (self.spu.name, self.name) + + +class SpecificationOption(BaseModel): + """规格选项""" + spec = models.ForeignKey(SPUSpecification, related_name='options', + on_delete=models.CASCADE, verbose_name='规格') + value = models.CharField(max_length=20, verbose_name='选项值') + + class Meta: + db_table = 'tb_specification_option' + verbose_name = '规格选项' + verbose_name_plural = verbose_name + + def __str__(self): + return '%s - %s' % (self.spec, self.value) + + +class SKUSpecification(BaseModel): + """SKU具体规格""" + + sku = models.ForeignKey(SKU, related_name='specs', on_delete=models.CASCADE, verbose_name='sku') + spec = models.ForeignKey(SPUSpecification, on_delete=models.PROTECT, verbose_name='规格名称') + option = models.ForeignKey(SpecificationOption, on_delete=models.PROTECT, verbose_name='规格值') + + class Meta: + db_table = 'tb_sku_specification' + verbose_name = 'SKU规格' + verbose_name_plural = verbose_name + + def __str__(self): + return '%s: %s - %s' % (self.sku, self.spec.name, self.option.value) diff --git a/src/yunding/goods/tests.py b/src/yunding/goods/tests.py new file mode 100644 index 0000000..7ce503c --- /dev/null +++ b/src/yunding/goods/tests.py @@ -0,0 +1,3 @@ +from django.test import TestCase + +# Create your tests here. diff --git a/src/yunding/goods/tools.py b/src/yunding/goods/tools.py new file mode 100644 index 0000000..51dff44 --- /dev/null +++ b/src/yunding/goods/tools.py @@ -0,0 +1,55 @@ +from collections import OrderedDict +from goods.models import GoodsChannel + + +def get_categories(): + """获取商品分类""" + # 准备商品分类对应的字典 + categories = OrderedDict() + # 查询并展示商品分类 37个一级类别 + channels = GoodsChannel.objects.order_by('group_id', 'sequence') + # 遍历所有频道 + for channel in channels: + group_id = channel.group_id # 当前组 + # 获取当前频道所在的组:只有11个组 + if group_id not in categories: + categories[group_id] = {'channels': [], 'sub_cats': []} + cat1 = channel.category # 当前频道的类别 + # 追加当前频道 + categories[group_id]['channels'].append({ + 'id': cat1.id, + 'name': cat1.name, + 'url': channel.url + }) + # 查询二级和三级类别 + for cat2 in cat1.subs.all(): # 从一级类别查找二级类别 + cat2.sub_cats = [] # 给二级类别添加一个保存三级类别的列表 + for cat3 in cat2.subs.all(): # 从二级类别查找三级类别 + cat2.sub_cats.append(cat3) # 将三级类别添加到二级sub_cats + # 将二级类别添加到一级类别的sub_cats + categories[group_id]['sub_cats'].append(cat2) + return categories + + +def get_breadcrumb(category): + """ + 获取面包屑导航 + :param category:类别对象:一级 二级 三级 + :return:一级:返回一级 二级:返回一级+二级 三级:一级+二级+三级 + """ + breadcrumb = { + 'cat1': '', + 'cat2': '', + 'cat3': '', + } + if category.parent == None: # 说明category是一级 + breadcrumb['cat1'] = category + elif category.subs.count() == 0: # 说明category是三级 + cat2 = category.parent + breadcrumb['cat1'] = cat2.parent + breadcrumb['cat2'] = cat2 + breadcrumb['cat3'] = category + else: # 说明category对应的是二级 + breadcrumb['cat1'] = category.parent + breadcrumb['cat2'] = category + return breadcrumb diff --git a/src/yunding/goods/urls.py b/src/yunding/goods/urls.py new file mode 100644 index 0000000..4f02265 --- /dev/null +++ b/src/yunding/goods/urls.py @@ -0,0 +1,19 @@ +from django.contrib import admin +from django.urls import path +from .views import * + +app_name = 'goods' +urlpatterns = [ + # 商品列表页 + path('list///', ListView.as_view(), name='list'), + # 商品详情 + path('detail//', DetailView.as_view(), name='detail'), + # 热销排行 + path('hot//', HostGoodsView.as_view()), + # 商品搜索 + path('search/', SearchView.as_view()), + # 商品评价 + path('comments//', GoodsCommentView.as_view()), + # 商品类别 + path('categorys/', CategorysView.as_view()), +] diff --git a/src/yunding/goods/views.py b/src/yunding/goods/views.py new file mode 100644 index 0000000..4c31b67 --- /dev/null +++ b/src/yunding/goods/views.py @@ -0,0 +1,226 @@ +from django.core.cache import cache +from django.core.paginator import Paginator, EmptyPage +from django.http import HttpResponseNotFound, HttpResponse, JsonResponse +from django.shortcuts import render + +# Create your views here. + +from django import http +from django.views import View + +from goods.models import GoodsCategory, SKU +from goods.tools import get_categories, get_breadcrumb +from orders.models import OrderGoods +from utils.response_code import RETCODE +from xiaoyu_mall import settings + + +class ListView(View): + """商品列表页""" + + def get(self, request, category_id, page_num): + """提供商品列表页""" + # 校验参数category_id + try: + category = GoodsCategory.objects.get(id=category_id) + except GoodsCategory.DoesNotExist: + return http.HttpResponseNotFound('"参数category_id不存在"') + + # 查询面包屑导航 + breadcrumb = get_breadcrumb(category) + + sort = request.GET.get('sort', 'default') + # 获取sort(排序规则) 如果sort没有值,取default + # 查询字符串 + # 按照排序规则查询该分类商品SKU信息 + if sort == 'price': # 按照价格由低到高排序 + sort_field = 'price' + elif sort == 'hot': + sort_field = '-sales' # 按照销量由高到低排序 + else: # 只要不是price和-sales其他的所有情况都归为default + sort = 'default' + sort_field = 'create_time' + skus = SKU.objects.filter(category=category, is_launched=True).order_by(sort_field) + + # 创建分页器 + # Paginator('要分页的记录','每页记录的条数') + paginator = Paginator(skus, 5) # 把skus进行分页,每页5条记录 + # 需要获取用户当前要看的那一页 + try: + page_skus = paginator.page(page_num) # 获取到page_num页中的5条记录 + except EmptyPage: + return HttpResponseNotFound('Empty Page') + # 获取总页数: 前端的分页插件需要使用 + total_page = paginator.num_pages + + # 查询商品分类 + categories = get_categories() + # 构造上下文 + context = { + 'categories': categories, + 'page_skus': page_skus, + 'total_page': total_page, + 'page_num': page_num, + 'sort': sort, + 'category_id': category_id, + 'breadcrumb': breadcrumb + } + return render(request, 'list.html', context=context) + + +class HostGoodsView(View): + """热销排行""" + + def get(self, request, category_id): + # 要查询指定分类的sku信息,而且必须是一个上架转态,然后按照由高到低排序,最后切片取出前两位 + skus = SKU.objects.filter(category_id=category_id, is_launched=True).order_by('-sales')[:2] + # 将模型列表转字典构造json数据 + hot_skus = [] + for sku in skus: + sku_dict = { + 'id': sku.id, + 'name': sku.name, + 'price': sku.price, + 'default_image_url': settings.STATIC_URL + 'images/goods/' + + sku.default_image.url + '.jpg' + } + hot_skus.append(sku_dict) + return JsonResponse({'code': RETCODE.OK, 'errmsg': 'OK', 'hot_skus': hot_skus}) + + +class DetailView(View): + """商品详情页""" + + def get(self, request, sku_id): + """提供商品详情页""" + # 获取当前sku的信息 + try: + sku = SKU.objects.get(id=sku_id) + except SKU.DoesNotExist: + return HttpResponseNotFound('商品找不到') + # 查询商品频道分类 + categories = get_categories() + # 查询面包屑导航 + breadcrumb = get_breadcrumb(sku.category) + # 构建当前商品的规格键 + sku_specs = sku.specs.order_by('spec_id') + # sku_key = [] + # for spec in sku_specs: + # sku_key.append(spec.option.id) + # 获取当前商品的所有SKU + # skus = sku.spu.sku_set.all() + # 构建不同规格参数(选项)的sku字典 + # spec_sku_map = {} + # for s in skus: + # # 获取sku的规格参数 + # s_specs = s.specs.order_by('spec_id') + # # 用于形成规格参数-sku字典的键 + # key = [] + # for spec in s_specs: + # key.append(spec.option.id) + # # 向规格参数-sku字典添加记录 + # spec_sku_map[tuple(key)] = s.id + # 获取当前商品的规格信息 + # goods_specs = sku.spu.specs.order_by('id') + # 若当前sku的规格信息不完整,则不再继续 + # if len(sku_key) < len(goods_specs): + # return + # for index, spec in enumerate(goods_specs): + # # 复制当前sku的规格键 + # key = sku_key[:] + # # 该规格的选项 + # spec_options = spec.options.all() + # for option in spec_options: + # # 在规格参数sku字典中查找符合当前规格的sku + # key[index] = option.id + # option.sku_id = spec_sku_map.get(tuple(key)) + # spec.spec_options = spec_options + # 渲染页面 + context = { + 'categories': categories, + 'breadcrumb': breadcrumb, + 'sku': sku, + # 'specs': goods_specs, + # 商品数量 + 'stock': sku.stock + } + return render(request, 'detail.html', context) + + +class SearchView(View): + """商品列表页""" + + def get(self, request): + search = request.GET.get('search') + skus = SKU.objects.filter(name__contains=search, is_launched=True) + + # 查询商品分类 + categories = get_categories() + # 构造上下文 + context = { + 'categories': categories, + 'page_skus': skus, + } + return render(request, 'search.html', context=context) + + +class GoodsCommentView(View): + """订单商品评价信息""" + + def get(self, request, sku_id): + # 获取被评价的订单商品信息 + order_goods_list = OrderGoods.objects.filter(sku_id=sku_id, is_commented=True).order_by('-create_time')[:30] + # 序列化 + comment_list = [] + for order_goods in order_goods_list: + username = order_goods.order.user.username + comment_list.append({ + 'username': username[0] + '***' + username[-1] + if order_goods.is_anonymous else username, + 'comment': order_goods.comment, + 'score': order_goods.score, + }) + # print('评价信息') + # print(comment_list) + return JsonResponse({'code': RETCODE.OK, 'errmsg': 'OK', 'comment_list': comment_list}) + + +class CategorysView(View): + def get(self, request): + + category_id = request.GET.get('category_id') + if not category_id: + category1_list = cache.get('category1_list') # 读取类别1缓存数据 + if not category1_list: + try: + category1_model_list = GoodsCategory.objects.filter(parent__isnull=True) + category1_list = [] # 构建类别1数据 + for category1_model in category1_model_list: + category1_list.append({'id': category1_model.id, 'name': category1_model.name}) + except Exception as e: + return JsonResponse({'code': RETCODE.DBERR, 'errmsg': '类别1数据错误'}) + # 存储类别缓存数据 + cache.set('category1_list', category1_list, 3600) + # 响应省份数据 + return JsonResponse({'code': RETCODE.OK, 'errmsg': 'OK', 'category1_list': category1_list}) + else: + # 读取类别2缓存数据 + sub_data = cache.get('sub_category_' + category_id) + if not sub_data: + try: + parent_model = GoodsCategory.objects.get(id=category_id) # 查询类别2的父级 + sub_model_list = parent_model.subs.all() + sub_list = [] # 构建类别2数据 + for sub_model in sub_model_list: + sub_list.append({'id': sub_model.id, 'name': sub_model.name}) + sub_data = { + 'id': parent_model.id, # 父级pk + 'name': parent_model.name, # 父级name + 'subs': sub_list # 父级的子集 + } + except Exception as e: + return JsonResponse({'code': RETCODE.DBERR, 'errmsg': '类别2数据错误'}) + # 储存类别2缓存数据 + cache.set('sub_category_' + category_id, sub_data, 3600) + # 响应类别2数据 + return JsonResponse({'code': RETCODE.OK, 'errmsg': 'OK', 'sub_data': sub_data}) diff --git a/src/yunding/manage.py b/src/yunding/manage.py new file mode 100644 index 0000000..246c87e --- /dev/null +++ b/src/yunding/manage.py @@ -0,0 +1,21 @@ +#!/usr/bin/env python +"""Django's command-line utility for administrative tasks.""" +import os +import sys + + +def main(): + os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'xiaoyu_mall.settings') + try: + from django.core.management import execute_from_command_line + except ImportError as exc: + raise ImportError( + "Couldn't import Django. Are you sure it's installed and " + "available on your PYTHONPATH environment variable? Did you " + "forget to activate a virtual environment?" + ) from exc + execute_from_command_line(sys.argv) + + +if __name__ == '__main__': + main() diff --git a/src/yunding/orders/__init__.py b/src/yunding/orders/__init__.py new file mode 100644 index 0000000..e69de29 diff --git a/src/yunding/orders/__pycache__/__init__.cpython-38.pyc b/src/yunding/orders/__pycache__/__init__.cpython-38.pyc new file mode 100644 index 0000000..dcda286 Binary files /dev/null and b/src/yunding/orders/__pycache__/__init__.cpython-38.pyc differ diff --git a/src/yunding/orders/__pycache__/admin.cpython-38.pyc b/src/yunding/orders/__pycache__/admin.cpython-38.pyc new file mode 100644 index 0000000..b12c18b Binary files /dev/null and b/src/yunding/orders/__pycache__/admin.cpython-38.pyc differ diff --git a/src/yunding/orders/__pycache__/apps.cpython-38.pyc b/src/yunding/orders/__pycache__/apps.cpython-38.pyc new file mode 100644 index 0000000..3930ac5 Binary files /dev/null and b/src/yunding/orders/__pycache__/apps.cpython-38.pyc differ diff --git a/src/yunding/orders/__pycache__/models.cpython-38.pyc b/src/yunding/orders/__pycache__/models.cpython-38.pyc new file mode 100644 index 0000000..1bf8dc3 Binary files /dev/null and b/src/yunding/orders/__pycache__/models.cpython-38.pyc differ diff --git a/src/yunding/orders/__pycache__/tests.cpython-38.pyc b/src/yunding/orders/__pycache__/tests.cpython-38.pyc new file mode 100644 index 0000000..9190b96 Binary files /dev/null and b/src/yunding/orders/__pycache__/tests.cpython-38.pyc differ diff --git a/src/yunding/orders/__pycache__/urls.cpython-38.pyc b/src/yunding/orders/__pycache__/urls.cpython-38.pyc new file mode 100644 index 0000000..6524abc Binary files /dev/null and b/src/yunding/orders/__pycache__/urls.cpython-38.pyc differ diff --git a/src/yunding/orders/__pycache__/views.cpython-38.pyc b/src/yunding/orders/__pycache__/views.cpython-38.pyc new file mode 100644 index 0000000..d490b27 Binary files /dev/null and b/src/yunding/orders/__pycache__/views.cpython-38.pyc differ diff --git a/src/yunding/orders/admin.py b/src/yunding/orders/admin.py new file mode 100644 index 0000000..8c38f3f --- /dev/null +++ b/src/yunding/orders/admin.py @@ -0,0 +1,3 @@ +from django.contrib import admin + +# Register your models here. diff --git a/src/yunding/orders/apps.py b/src/yunding/orders/apps.py new file mode 100644 index 0000000..384ab43 --- /dev/null +++ b/src/yunding/orders/apps.py @@ -0,0 +1,5 @@ +from django.apps import AppConfig + + +class OrdersConfig(AppConfig): + name = 'orders' diff --git a/src/yunding/orders/migrations/0001_initial.py b/src/yunding/orders/migrations/0001_initial.py new file mode 100644 index 0000000..9e83d2d --- /dev/null +++ b/src/yunding/orders/migrations/0001_initial.py @@ -0,0 +1,60 @@ +# Generated by Django 2.2.8 on 2023-08-25 09:37 + +from django.conf import settings +from django.db import migrations, models +import django.db.models.deletion + + +class Migration(migrations.Migration): + + initial = True + + dependencies = [ + migrations.swappable_dependency(settings.AUTH_USER_MODEL), + ('goods', '0001_initial'), + ('users', '0002_auto_20230825_1737'), + ] + + operations = [ + migrations.CreateModel( + name='OrderInfo', + fields=[ + ('create_time', models.DateTimeField(auto_now_add=True, verbose_name='创建时间')), + ('update_time', models.DateTimeField(auto_now=True, verbose_name='更新时间')), + ('order_id', models.CharField(max_length=64, primary_key=True, serialize=False, verbose_name='订单号')), + ('total_count', models.IntegerField(default=1, verbose_name='商品总数')), + ('total_amount', models.DecimalField(decimal_places=2, max_digits=10, verbose_name='商品总金额')), + ('freight', models.DecimalField(decimal_places=2, max_digits=10, verbose_name='运费')), + ('pay_method', models.SmallIntegerField(choices=[(1, '货到付款'), (2, '支付宝')], default=1, verbose_name='支付方式')), + ('status', models.SmallIntegerField(choices=[(1, '待支付'), (2, '待发货'), (3, '待收货'), (4, '待评价'), (5, '已完成'), (6, '已取消')], default=1, verbose_name='订单状态')), + ('address', models.ForeignKey(on_delete=django.db.models.deletion.PROTECT, to='users.Address', verbose_name='收货地址')), + ('user', models.ForeignKey(on_delete=django.db.models.deletion.PROTECT, to=settings.AUTH_USER_MODEL, verbose_name='下单用户')), + ], + options={ + 'verbose_name': '订单基本信息', + 'verbose_name_plural': '订单基本信息', + 'db_table': 'tb_order_info', + }, + ), + migrations.CreateModel( + name='OrderGoods', + fields=[ + ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), + ('create_time', models.DateTimeField(auto_now_add=True, verbose_name='创建时间')), + ('update_time', models.DateTimeField(auto_now=True, verbose_name='更新时间')), + ('count', models.IntegerField(default=1, verbose_name='数量')), + ('price', models.DecimalField(decimal_places=2, max_digits=10, verbose_name='单价')), + ('comment', models.TextField(default='', verbose_name='评价信息')), + ('score', models.SmallIntegerField(choices=[(0, '0分'), (1, '20分'), (2, '40分'), (3, '60分'), (4, '80分'), (5, '100分')], default=5, verbose_name='满意度评分')), + ('is_anonymous', models.BooleanField(default=False, verbose_name='是否匿名评价')), + ('is_commented', models.BooleanField(default=False, verbose_name='是否评价了')), + ('order', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, related_name='skus', to='orders.OrderInfo', verbose_name='订单')), + ('sku', models.ForeignKey(on_delete=django.db.models.deletion.PROTECT, to='goods.SKU', verbose_name='订单商品')), + ], + options={ + 'verbose_name': '订单商品', + 'verbose_name_plural': '订单商品', + 'db_table': 'tb_order_goods', + }, + ), + ] diff --git a/src/yunding/orders/migrations/__init__.py b/src/yunding/orders/migrations/__init__.py new file mode 100644 index 0000000..e69de29 diff --git a/src/yunding/orders/migrations/__pycache__/0001_initial.cpython-38.pyc b/src/yunding/orders/migrations/__pycache__/0001_initial.cpython-38.pyc new file mode 100644 index 0000000..b3791bd Binary files /dev/null and b/src/yunding/orders/migrations/__pycache__/0001_initial.cpython-38.pyc differ diff --git a/src/yunding/orders/migrations/__pycache__/__init__.cpython-38.pyc b/src/yunding/orders/migrations/__pycache__/__init__.cpython-38.pyc new file mode 100644 index 0000000..a328b25 Binary files /dev/null and b/src/yunding/orders/migrations/__pycache__/__init__.cpython-38.pyc differ diff --git a/src/yunding/orders/models.py b/src/yunding/orders/models.py new file mode 100644 index 0000000..b9977c2 --- /dev/null +++ b/src/yunding/orders/models.py @@ -0,0 +1,78 @@ +from django.db import models +# Create your models here. +from goods.models import SKU +from users.models import User, Address +from utils.models import BaseModel + + +class OrderInfo(BaseModel): + """订单信息""" + PAY_METHODS_ENUM = { + "CASH": 1, + "ALIPAY": 2 + } + PAY_METHOD_CHOICES = ( + (1, "货到付款"), + (2, "支付宝"), + ) + ORDER_STATUS_ENUM = { + "UNPAID": 1, + "UNSEND": 2, + "UNRECEIVED": 3, + "UNCOMMENT": 4, + "FINISHED": 5 + } + ORDER_STATUS_CHOICES = ( + (1, "待支付"), + (2, "待发货"), + (3, "待收货"), + (4, "待评价"), + (5, "已完成"), + (6, "已取消"), + ) + order_id = models.CharField(max_length=64, primary_key=True, verbose_name="订单号") + user = models.ForeignKey(User, on_delete=models.PROTECT, verbose_name="下单用户") + address = models.ForeignKey(Address, on_delete=models.PROTECT, verbose_name="收货地址") + total_count = models.IntegerField(default=1, verbose_name="商品总数") + total_amount = models.DecimalField(max_digits=10, decimal_places=2, verbose_name="商品总金额") + freight = models.DecimalField(max_digits=10, decimal_places=2, verbose_name="运费") + pay_method = models.SmallIntegerField(choices=PAY_METHOD_CHOICES, default=1, verbose_name="支付方式") + status = models.SmallIntegerField(choices=ORDER_STATUS_CHOICES, default=1, verbose_name="订单状态") + + class Meta: + db_table = "tb_order_info" + verbose_name = '订单基本信息' + verbose_name_plural = verbose_name + + def __str__(self): + return self.order_id + + +class OrderGoods(BaseModel): + """订单商品""" + + SCORE_CHOICES = ( + (0, '0分'), + (1, '20分'), + (2, '40分'), + (3, '60分'), + (4, '80分'), + (5, '100分'), + ) + order = models.ForeignKey(OrderInfo, related_name='skus', + on_delete=models.CASCADE, verbose_name="订单") + sku = models.ForeignKey(SKU, on_delete=models.PROTECT, verbose_name="订单商品") + count = models.IntegerField(default=1, verbose_name="数量") + price = models.DecimalField(max_digits=10, decimal_places=2, verbose_name="单价") + comment = models.TextField(default="", verbose_name="评价信息") + score = models.SmallIntegerField(choices=SCORE_CHOICES, default=5, verbose_name='满意度评分') + is_anonymous = models.BooleanField(default=False, verbose_name='是否匿名评价') + is_commented = models.BooleanField(default=False, verbose_name='是否评价了') + + class Meta: + db_table = "tb_order_goods" + verbose_name = '订单商品' + verbose_name_plural = verbose_name + + def __str__(self): + return self.sku.name diff --git a/src/yunding/orders/tests.py b/src/yunding/orders/tests.py new file mode 100644 index 0000000..7ce503c --- /dev/null +++ b/src/yunding/orders/tests.py @@ -0,0 +1,3 @@ +from django.test import TestCase + +# Create your tests here. diff --git a/src/yunding/orders/urls.py b/src/yunding/orders/urls.py new file mode 100644 index 0000000..ac2d170 --- /dev/null +++ b/src/yunding/orders/urls.py @@ -0,0 +1,13 @@ +from django.contrib import admin +from django.urls import path +from .views import * + +app_name = 'orders' +urlpatterns = [ + # 结算订单 + path('orders/settlement/', OrderSettlementView.as_view(), name='settlement'), + # 提交订单 + path('orders/commit/', OrderCommitView.as_view()), + # 提交订单成功 + path('orders/success/', OrderSuccessView.as_view()), +] diff --git a/src/yunding/orders/views.py b/src/yunding/orders/views.py new file mode 100644 index 0000000..054218f --- /dev/null +++ b/src/yunding/orders/views.py @@ -0,0 +1,194 @@ +import json +from decimal import Decimal + +from django.contrib.auth.mixins import LoginRequiredMixin +from django.db import transaction +from django.http import HttpResponse, HttpResponseForbidden, JsonResponse +from django.shortcuts import render + +# Create your views here. +from django.utils import timezone +from django.views import View +from django_redis import get_redis_connection + +from goods.models import SKU +from orders.models import OrderInfo, OrderGoods +from users.models import Address +from utils.response_code import RETCODE + + +class OrderSettlementView(View): + def get(self, request): + # 获取登录用户 + user = request.user + # 查询地址信息 模型类 + try: + addresses = Address.objects.filter(user=user, is_deleted=False) + # 如果没有查询出地址,去编辑收货地址 + if len(addresses) == 0: + address_list = [] + + # 构造上下文 + context = { + 'addresses': address_list # 使用空列表替代空的addresses + } + return render(request, 'user_center_site.html', context) + except Exception as e: + pass + # 查询redis购物车中被勾选的商品 + redis_conn = get_redis_connection('carts') + # 所有的购物车数据,包含了勾选和未勾选 :{b'1': b'1', b'2': b'2'} + redis_cart = redis_conn.hgetall('carts_%s' % user.id) + # 被勾选的商品的sku_id:[b'1'] + redis_selected = redis_conn.smembers('selected_%s' % user.id) + # 构造购物车中被勾选的商品的数据 {b'1': b'1'} + new_cart_dict = {} + for sku_id in redis_selected: + new_cart_dict[int(sku_id)] = int(redis_cart[sku_id]) + # 获取被勾选的商品的sku_id + sku_ids = new_cart_dict.keys() + skus = SKU.objects.filter(id__in=sku_ids) + total_count = 0 + total_amount = Decimal(0.00) + # 取出所有的sku + for sku in skus: + # 遍历skus给每个sku补充count(数量)和amount(小计) + sku.count = new_cart_dict[sku.id] + sku.amount = sku.price * sku.count # Decimal类型的 + # 累加数量和金额 + total_count += sku.count + total_amount += sku.amount # 类型不同不能运算 + freight = Decimal(10.00) + context = { + # 'addresses': addresses, # 收货地址 + 'skus': skus, # 商品 + 'total_count': total_count, # 商品总数量 + 'total_amount': total_amount, # 商品总金额 + 'freight': freight, # 运费 + 'payment_amount': total_amount + freight, # 实付款 + } + + return render(request, 'place_order.html', context) + + +class OrderCommitView(LoginRequiredMixin, View): + """提交订单""" + + def post(self, request): + """保存订单基本信息和订单商品信息""" + # 接收参数 + json_dict = json.loads(request.body.decode()) + address_id = json_dict.get('address_id') + pay_method = json_dict.get('pay_method') + # 校验参数 + if not all([address_id, pay_method]): + return HttpResponseForbidden('缺少必传参数') + # 判断address_id是否合法 + try: + address = Address.objects.get(id=address_id) + except Address.DoesNotExist: + return HttpResponseForbidden('参数address_id错误') + # 判断pay_method是否合法 + if pay_method not in [OrderInfo.PAY_METHODS_ENUM['CASH'], OrderInfo.PAY_METHODS_ENUM['ALIPAY']]: + return HttpResponseForbidden('参数pay_method错误') + # 获取登录用户 + user = request.user + # 获取订单编号:时间+user_id + order_id = timezone.localtime().strftime('%Y%m%d%H%M%S') + ('%09d' % user.id) + # 显示开启一个事务 + with transaction.atomic(): + # 创建事务保存点 + save_id = transaction.savepoint() + # 回滚 + try: + # 保存订单基本信息(一) + order = OrderInfo.objects.create( + order_id=order_id, + user=user, + address=address, + total_count=0, + total_amount=Decimal(0.00), + freight=Decimal(10.00), + pay_method=pay_method, + status=OrderInfo.ORDER_STATUS_ENUM['UNPAID'] if pay_method == OrderInfo.PAY_METHODS_ENUM[ + 'ALIPAY'] else OrderInfo.ORDER_STATUS_ENUM['UNSEND'] + ) + # 从redis读取购物⻋中被勾选的商品信息 + redis_conn = get_redis_connection('carts') + redis_cart = redis_conn.hgetall('carts_%s' % user.id) + selected = redis_conn.smembers('selected_%s' % user.id) + carts = {} + for sku_id in selected: + carts[int(sku_id)] = int(redis_cart[sku_id]) + sku_ids = carts.keys() + # 遍历购物车中被勾选的商品信息 + for sku_id in sku_ids: + while True: + # 查询SKU信息 + sku = SKU.objects.get(id=sku_id) + # 读取原始库存 + origin_stock = sku.stock + origin_sales = sku.sales + # 判断SKU库存 + sku_count = carts[sku.id] + if sku_count > sku.stock: + # 事务回滚 + transaction.savepoint_rollback(save_id) + return JsonResponse({'code': RETCODE.STOCKERR, 'errmsg': '库存不足'}) + # # SKU减少库存,增加销量 + # sku.stock -= sku_count + # sku.sales += sku_count + # sku.save() + new_stock = origin_stock - sku_count + new_sales = origin_sales + sku_count + # 基于乐观锁的数据更新 + result = SKU.objects.filter(id=sku_id, stock=origin_stock).update(stock=new_stock, + sales=new_sales) + # 如果下单失败,但库存充足,继续下单,直到下单成功或库存不足 + if result == 0: + continue + + # 修改SPU销量 + sku.spu.sales += sku_count + sku.spu.save() + # 保存订单商品信息 OrderGoods(多) + OrderGoods.objects.create( + order=order, + sku=sku, + count=sku_count, + price=sku.price, + ) + # 保存商品订单中总价和总数量 + order.total_count += sku_count + order.total_amount += (sku_count * sku.price) + # 下单成功,跳出循环 + break + # 添加邮费和保存订单信息 + order.total_amount += order.freight + order.save() + except Exception as e: + transaction.savepoint_rollback(save_id) # 出错回滚 + return JsonResponse({'code': RETCODE.DBERR, 'errmsg': '下单失败'}) + # 清除购物车中已结算的商品 + pl = redis_conn.pipeline() + pl.hdel('carts_%s' % user.id, *selected) + pl.srem('selected_%s' % user.id, *selected) + pl.execute() + # 响应提交订单结果 + return JsonResponse({'code': RETCODE.OK, 'errmsg': '下单成功', 'order_id': order.order_id}) + + +class OrderSuccessView(LoginRequiredMixin, View): + """提交订单成功页面""" + + def get(self, request): + """提供提交订单成功页面""" + order_id = request.GET.get('order_id') + payment_amount = request.GET.get('payment_amount') + pay_method = request.GET.get('pay_method') + context = { + 'order_id': order_id, + 'payment_amount': payment_amount, + 'pay_method': pay_method + } + return render(request, 'order_success.html', context) diff --git a/src/yunding/payment/__init__.py b/src/yunding/payment/__init__.py new file mode 100644 index 0000000..e69de29 diff --git a/src/yunding/payment/__pycache__/__init__.cpython-38.pyc b/src/yunding/payment/__pycache__/__init__.cpython-38.pyc new file mode 100644 index 0000000..df9155f Binary files /dev/null and b/src/yunding/payment/__pycache__/__init__.cpython-38.pyc differ diff --git a/src/yunding/payment/__pycache__/admin.cpython-38.pyc b/src/yunding/payment/__pycache__/admin.cpython-38.pyc new file mode 100644 index 0000000..0028579 Binary files /dev/null and b/src/yunding/payment/__pycache__/admin.cpython-38.pyc differ diff --git a/src/yunding/payment/__pycache__/models.cpython-38.pyc b/src/yunding/payment/__pycache__/models.cpython-38.pyc new file mode 100644 index 0000000..d80a9c8 Binary files /dev/null and b/src/yunding/payment/__pycache__/models.cpython-38.pyc differ diff --git a/src/yunding/payment/__pycache__/tests.cpython-38-pytest-7.4.3.pyc b/src/yunding/payment/__pycache__/tests.cpython-38-pytest-7.4.3.pyc new file mode 100644 index 0000000..f5e9705 Binary files /dev/null and b/src/yunding/payment/__pycache__/tests.cpython-38-pytest-7.4.3.pyc differ diff --git a/src/yunding/payment/__pycache__/tests.cpython-38.pyc b/src/yunding/payment/__pycache__/tests.cpython-38.pyc new file mode 100644 index 0000000..8277a96 Binary files /dev/null and b/src/yunding/payment/__pycache__/tests.cpython-38.pyc differ diff --git a/src/yunding/payment/__pycache__/urls.cpython-38.pyc b/src/yunding/payment/__pycache__/urls.cpython-38.pyc new file mode 100644 index 0000000..c8e1141 Binary files /dev/null and b/src/yunding/payment/__pycache__/urls.cpython-38.pyc differ diff --git a/src/yunding/payment/__pycache__/views.cpython-38.pyc b/src/yunding/payment/__pycache__/views.cpython-38.pyc new file mode 100644 index 0000000..ade2ae7 Binary files /dev/null and b/src/yunding/payment/__pycache__/views.cpython-38.pyc differ diff --git a/src/yunding/payment/admin.py b/src/yunding/payment/admin.py new file mode 100644 index 0000000..8c38f3f --- /dev/null +++ b/src/yunding/payment/admin.py @@ -0,0 +1,3 @@ +from django.contrib import admin + +# Register your models here. diff --git a/src/yunding/payment/apps.py b/src/yunding/payment/apps.py new file mode 100644 index 0000000..59dfc4d --- /dev/null +++ b/src/yunding/payment/apps.py @@ -0,0 +1,5 @@ +from django.apps import AppConfig + + +class PaymentConfig(AppConfig): + name = 'payment' diff --git a/src/yunding/payment/keys/alipay_public_key.pem b/src/yunding/payment/keys/alipay_public_key.pem new file mode 100644 index 0000000..7c0b7e2 --- /dev/null +++ b/src/yunding/payment/keys/alipay_public_key.pem @@ -0,0 +1,3 @@ +-----BEGIN PUBLIC KEY----- +MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAs4mc1PNscUWo8LP8jv8JMkTyNv2WDAuWvrNeJHUmlhG6J8V7a6txMcrUD21V3zoVnKSBTYRgbSfmqUnHPR0YZcblr/jM2iDPb7qiC1sEaeAKOlgpKRt66zFc/6oIqzuOLhoubRnBrihmh+XkN9PJlTHUdrRgs2nz1lLyoR76nTmdjC4zoi0bEIpSxVUp/st2FN0t0w7jnpYzEub6OnV7yavEw/58BKRf6N/jhLnTGBbdTbIs9njs2AepAROMzAendwKC9B4/cPDWGKhGgi7DjYHcx2/n3j4Bg3HbckNBHf6soNTw8r5JR+lSg1aCck6/7Z13C2NEJI18eQtQXsBX4QIDAQAB +-----END PUBLIC KEY----- \ No newline at end of file diff --git a/src/yunding/payment/keys/app_private_key.pem b/src/yunding/payment/keys/app_private_key.pem new file mode 100644 index 0000000..9468285 --- /dev/null +++ b/src/yunding/payment/keys/app_private_key.pem @@ -0,0 +1,3 @@ +-----BEGIN RSA PRIVATE KEY----- +MIIEowIBAAKCAQEAtdOadm7hDqi3l3SzlQv1gKPKzUDyxFp7excuvOooqZjsMjcN7Eb5OLsP0ykrlSjxNIWyPy8ucPjxdp1SpshRKpzkqLGynBLGoZhYmHLfw69WVc9upB3UGUf7kgaBWICeEl6XdSnhDuF87BbZ4Tfr65zzq7ph/QresWSrItofxqyr9lnYNl/IBXHqAEXgZgQBAO5Nj72Za9PrHs94Ms16kM/pK8vKKrN4myC0fF+N8TnxnfCDac2mMDYrMpNopOnkGCCseEWcDv8GNNC/xTLNUvesxnpLvWzNlsvTOxqEqbWikM6EditOm6BAwTwuTryZo/dAF9HGlv9aSS1k02UnUQIDAQABAoIBACjhhbYhIerY1kZwT7wwLyeYLA3QD4VETsUTJkgFYdUX8+sqY6//GSO/M0Sn2gu0Y98KPFRmeEugPTINFzs2iMFK+0JOibj7o7tLdIf6NANcVc3/UIIHzttMSuy/F6/dYy0AJY+LNfXRjvPKA3zWxO15oXO3+TYajo1V9ABnCIPzh0z5DTNzg5cY1WUsjhauO6e1Tv3WpWA1p/AgGVKBXdtzBNaprokvZ+tsjGCFggSRiHj+Ga1J0XQ8Fp/OqxgOrfgwvSCVy+rT9S+6KCOQ+rZ7kFmDwbeQGUeWmFPyL38CcDRIt9n14LI92Lw3wb2su+swy28FeTsbgCFxp7RI+gECgYEA7h9Pp9QuyvsgpWssaqmRQfSYRIyf7e6yQyT1+rsTcynS/p0zAB1svcsBi8V4goDxvuHWiETe/zUVfJQ3YsqMp3r7TzucjIQKP9CphFyIyTqh/jgIR1cSbFyyi4h6W3nxR4dObJS9tNrocCvj0BGRt4nFzwRrnCiKSgTBGiSoLTECgYEAw3pLHHKCl23KlEZl3UvKzqaUXAm91VgkfEkAyArDzc/f4USGLb5vlzM2bP3S1G61dcU2cdnwbclBibx67qWI9zVlWH0DdtXbHSkTuU2B03VUrVbC2j7z8qHNz4PhuJ6hDHp/5lqhjbprWp2SXKaDRRBLj41heHI7ZXxaNAdHlCECgYEAjfi5I1UMuRTVOAsYJlgHNQ3CI0y8pb2lJwdIaT9Ur1sGY6wSFkV06gu5Vj5cRWLfv3Ei2YhGdF6P+wDbrNka11gpsenWwqiO+9FK4JHTNDbzEoER3ob5gwYZpbuvSA8CXiU8Ctz75nKGFyrz3sA64vUPrQfzqN065jrDbvTgGGECgYAHG5hFlYhYFz7pe1HS5SGfuADnA9eqPUU+W60ymOmbvzZFy6cRXL5UAiG1ftk+rjPc72nWY/VRGKNQbdEOgmhjjMZ9nDYXCRmpisfT0hSparfEgcYeB3H5XZbNN99qRiJXANFLv/nl3GRw7A/ZXJijVz9YHezwYz7zprzk7WrV4QKBgFH2s+7iSZUdruHvx+B1yMDPEIC4WFG85OSPsDHcZfZ5luCsCypFbUR1ya2+gR02C+BasmSNejF3fQLowH+IbKJkwrnWSpiGw0pcsEp0lxwqu/2Y5hPd6RuXu3+WMnNTsuaBCy8vO3ihMdAL4ndv4xMaTxJpyZfZ6fvsaiXmfmPt +-----END RSA PRIVATE KEY----- \ No newline at end of file diff --git a/src/yunding/payment/migrations/0001_initial.py b/src/yunding/payment/migrations/0001_initial.py new file mode 100644 index 0000000..5ada0e3 --- /dev/null +++ b/src/yunding/payment/migrations/0001_initial.py @@ -0,0 +1,31 @@ +# Generated by Django 2.2.8 on 2023-08-26 13:05 + +from django.db import migrations, models +import django.db.models.deletion + + +class Migration(migrations.Migration): + + initial = True + + dependencies = [ + ('orders', '0001_initial'), + ] + + operations = [ + migrations.CreateModel( + name='Payment', + fields=[ + ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), + ('create_time', models.DateTimeField(auto_now_add=True, verbose_name='创建时间')), + ('update_time', models.DateTimeField(auto_now=True, verbose_name='更新时间')), + ('trade_id', models.CharField(blank=True, max_length=100, null=True, unique=True, verbose_name='支付编号')), + ('order', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='orders.OrderInfo', verbose_name='订单')), + ], + options={ + 'verbose_name': '支付信息', + 'verbose_name_plural': '支付信息', + 'db_table': 'tb_payment', + }, + ), + ] diff --git a/src/yunding/payment/migrations/__init__.py b/src/yunding/payment/migrations/__init__.py new file mode 100644 index 0000000..e69de29 diff --git a/src/yunding/payment/migrations/__pycache__/0001_initial.cpython-38.pyc b/src/yunding/payment/migrations/__pycache__/0001_initial.cpython-38.pyc new file mode 100644 index 0000000..ee43559 Binary files /dev/null and b/src/yunding/payment/migrations/__pycache__/0001_initial.cpython-38.pyc differ diff --git a/src/yunding/payment/migrations/__pycache__/__init__.cpython-38.pyc b/src/yunding/payment/migrations/__pycache__/__init__.cpython-38.pyc new file mode 100644 index 0000000..5e7e515 Binary files /dev/null and b/src/yunding/payment/migrations/__pycache__/__init__.cpython-38.pyc differ diff --git a/src/yunding/payment/models.py b/src/yunding/payment/models.py new file mode 100644 index 0000000..e8d6a11 --- /dev/null +++ b/src/yunding/payment/models.py @@ -0,0 +1,16 @@ +from django.db import models + +# Create your models here. +from orders.models import OrderInfo +from utils.models import BaseModel + + +class Payment(BaseModel): + # 订单编号 + order = models.ForeignKey(OrderInfo, on_delete=models.CASCADE, verbose_name='订单') + # 交易流水号 + trade_id = models.CharField(max_length=100, unique=True, null=True, blank=True, verbose_name="支付编号") + class Meta: + db_table = 'tb_payment' + verbose_name = '支付信息' + verbose_name_plural = verbose_name \ No newline at end of file diff --git a/src/yunding/payment/tests.py b/src/yunding/payment/tests.py new file mode 100644 index 0000000..dbba98e --- /dev/null +++ b/src/yunding/payment/tests.py @@ -0,0 +1,23 @@ +from django.test import TestCase +from orders.models import OrderInfo +from .models import Payment + +class PaymentModelTestCase(TestCase): + def setUp(self): + self.order = OrderInfo.objects.create(order_id='12345',user_id=1,address_id=1,total_amount=10,freight=0) + self.payment = Payment.objects.create(order=self.order, trade_id='abc123') + + def test_payment_order(self): + self.assertEqual(self.payment.order, self.order) + + def test_payment_trade_id(self): + self.assertEqual(self.payment.trade_id, 'abc123') + + def test_payment_verbose_name(self): + self.assertEqual(Payment._meta.verbose_name, '支付信息') + + def test_payment_verbose_name_plural(self): + self.assertEqual(Payment._meta.verbose_name_plural, '支付信息') + + def test_payment_table_name(self): + self.assertEqual(Payment._meta.db_table, 'tb_payment') \ No newline at end of file diff --git a/src/yunding/payment/urls.py b/src/yunding/payment/urls.py new file mode 100644 index 0000000..c2c9c4e --- /dev/null +++ b/src/yunding/payment/urls.py @@ -0,0 +1,13 @@ +from django.contrib import admin +from django.urls import path, re_path +from .views import * + +app_name = 'payment' +urlpatterns = [ + # 支付 + re_path('payment/(?P\d+)/', PaymentView.as_view()), + # 保存订单 + path('payment/status/', PaymentStatusView.as_view()), + # 评价 + path('orders/comment/', OrderCommentView.as_view()), +] diff --git a/src/yunding/payment/views.py b/src/yunding/payment/views.py new file mode 100644 index 0000000..2b40ef3 --- /dev/null +++ b/src/yunding/payment/views.py @@ -0,0 +1,185 @@ +import json +import os + +from alipay import AliPay +from django.contrib.auth.mixins import LoginRequiredMixin +from django.http import HttpResponse, HttpResponseForbidden, JsonResponse, HttpResponseNotFound, HttpResponseServerError +from django.shortcuts import render + +# Create your views here. +from django.views import View + +from goods.models import SKU +from orders.models import OrderInfo, OrderGoods +from payment.models import Payment +from utils.response_code import RETCODE +from xiaoyu_mall import settings + + +class PaymentView(LoginRequiredMixin, View): + """订单支付功能""" + + def get(self, request, order_id): + # 查询要支付的订单 + user = request.user + try: + order = OrderInfo.objects.get(order_id=order_id, user=user, status=OrderInfo.ORDER_STATUS_ENUM['UNPAID']) + except OrderInfo.DoesNotExist: + return HttpResponseForbidden('订单信息错误') + # 创建支付宝支付对象 + alipay = AliPay( + appid=settings.ALIPAY_APPID, + app_notify_url=None, # 默认回调url + app_private_key_string=open( + os.path.join(os.path.dirname(os.path.abspath(__file__)), "keys/app_private_key.pem")).read(), + alipay_public_key_string=open( + os.path.join(os.path.dirname(os.path.abspath(__file__)), "keys/alipay_public_key.pem")).read(), + sign_type="RSA2", + debug=settings.ALIPAY_DEBUG + ) + # SDK对象对接支付宝支付的接口,得到登录页的地址 + order_string = alipay.api_alipay_trade_page_pay( + out_trade_no=order_id, # 订单编号 + total_amount=str(order.total_amount), # 订单金额 + subject="小鱼商城%s" % order_id, # 订单标题 + return_url=settings.ALIPAY_RETURN_URL # 回调地址 + ) + # 响应登录支付宝连接 + alipay_url = settings.ALIPAY_URL + "?" + order_string + return JsonResponse({'code': RETCODE.OK, 'errmsg': 'OK', 'alipay_url': alipay_url}) + + +class PaymentStatusView(View): + """保存订单支付结果""" + + def get(self, request): + query_dict = request.GET # 获取前端传入的请求参数 + data = query_dict.dict() + signature = data.pop('sign') # 从请求参数中剔除signature + + # 创建支付宝支付对象 + alipay = AliPay( + appid=settings.ALIPAY_APPID, + app_notify_url=None, + app_private_key_string=open( + os.path.join(os.path.dirname(os.path.abspath(__file__)), "keys/app_private_key.pem")).read(), + alipay_public_key_string=open( + os.path.join(os.path.dirname(os.path.abspath(__file__)), "keys/alipay_public_key.pem")).read(), + sign_type="RSA2", + debug=settings.ALIPAY_DEBUG + ) + # 校验这个重定向是否是alipay重定向过来的 + success = alipay.verify(data, signature) + if success: + order_id = data.get('out_trade_no') # 读取order_id + trade_id = data.get('trade_no') # 读取支付宝流水号 + # 保存Payment模型类数据 + Payment.objects.create( + order_id=order_id, + trade_id=trade_id + ) + # 修改订单状态为待评价 + OrderInfo.objects.filter(order_id=order_id, status=OrderInfo.ORDER_STATUS_ENUM['UNPAID']).update( + status=OrderInfo.ORDER_STATUS_ENUM["UNCOMMENT"]) + # 响应trade_id + context = { + 'trade_id': trade_id + } + + return render(request, 'pay_success.html', context) + else: + # 订单支付失败,重定向到我的订单 + return HttpResponseForbidden('非法请求') + + +class OrderCommentView(LoginRequiredMixin, View): + """订单商品评价""" + + def get(self, request): + """展示商品评价页面""" + # 接收参数 + order_id = request.GET.get('order_id') + # 校验参数 + try: + OrderInfo.objects.get(order_id=order_id, user=request.user) + except OrderInfo.DoesNotExist: + return HttpResponseNotFound('订单不存在') + + # 查询订单中未被评价的商品信息 + try: + uncomment_goods = OrderGoods.objects.filter(order_id=order_id, is_commented=False) + except Exception: + return HttpResponseServerError('订单商品信息出错') + + # 构造待评价商品数据 + uncomment_goods_list = [] + for goods in uncomment_goods: + uncomment_goods_list.append({ + # 订单号 + 'order_id': goods.order.order_id, + # 商品sku_id + 'sku_id': goods.sku.id, + # 商品名称 + 'name': goods.sku.name, + # 商品价格 + 'price': str(goods.price), + # 商品图片 + 'default_image_url': settings.STATIC_URL + 'images/goods/' + goods.sku.default_image.url + '.jpg', + # 商品评价内容 + 'comment': goods.comment, + # 商品评分 + 'score': goods.score, + # 匿名用户 + 'is_anonymous': str(goods.is_anonymous), + }) + + # 渲染模板 + context = { + 'uncomment_goods_list': uncomment_goods_list + } + return render(request, 'goods_judge.html', context) + + def post(self, request): + """评价订单商品""" + # 接收参数 + json_dict = json.loads(request.body.decode()) + order_id = json_dict.get('order_id') + sku_id = json_dict.get('sku_id') + score = json_dict.get('score') + comment = json_dict.get('comment') + is_anonymous = json_dict.get('is_anonymous') + # 校验参数 + if not all([order_id, sku_id, score, comment]): + return HttpResponseForbidden('缺少必传参数') + try: + OrderInfo.objects.filter(order_id=order_id, user=request.user, + status=OrderInfo.ORDER_STATUS_ENUM['UNCOMMENT']) + except OrderInfo.DoesNotExist: + return HttpResponseForbidden('参数order_id错误') + try: + sku = SKU.objects.get(id=sku_id) + except SKU.DoesNotExist: + return HttpResponseForbidden('参数sku_id错误') + if is_anonymous: + if not isinstance(is_anonymous, bool): + return HttpResponseForbidden('参数is_anonymous错误') + + # 保存订单商品评价数据 + OrderGoods.objects.filter(order_id=order_id, sku_id=sku_id, is_commented=False).update( + comment=comment, + score=score, + is_anonymous=is_anonymous, + is_commented=True + ) + + # 累计评论数据 + sku.comments += 1 + sku.save() + sku.spu.comments += 1 + sku.spu.save() + + # 如果所有订单商品都已评价,则修改订单状态为已完成 + if OrderGoods.objects.filter(order_id=order_id, is_commented=False).count() == 0: + OrderInfo.objects.filter(order_id=order_id).update(status=OrderInfo.ORDER_STATUS_ENUM['FINISHED']) + + return JsonResponse({'code': RETCODE.OK, 'errmsg': '评价成功'}) diff --git a/src/yunding/static/css/jquery.pagination.css b/src/yunding/static/css/jquery.pagination.css new file mode 100644 index 0000000..08afb45 --- /dev/null +++ b/src/yunding/static/css/jquery.pagination.css @@ -0,0 +1,27 @@ +.ui-pagination-container { + height: 34px; + line-height: 34px; +} + +.ui-pagination-container .ui-pagination-page-item { + font-size: 14px; + padding: 4px 10px; + background: #fff; + border: 1px solid #c5b7b7; + color: #888; + margin: 0 3px; + text-decoration: none; +} + +.ui-pagination-container .ui-pagination-page-item:hover { + border-color: #568dbd; + color: #568dbd; + text-decoration: none; +} + +.ui-pagination-container .ui-pagination-page-item.active { + background: #568dbd; + border-color: #568dbd; + color: #fff; + cursor: default; +} \ No newline at end of file diff --git a/src/yunding/static/css/main.css b/src/yunding/static/css/main.css new file mode 100644 index 0000000..6769d65 --- /dev/null +++ b/src/yunding/static/css/main.css @@ -0,0 +1,1647 @@ +body{font-family:'Microsoft Yahei';font-size:12px;color:#666;} +html,body{height:100%} +/* 顶部样式 */ +.header_con{ + background-color:#f7f7f7; + height:29px; + border-bottom:1px solid #dddddd +} + +.header{ + width:1200px; + height:29px; + margin:0 auto; +} + +.welcome,.login_info,.login_btn,.user_link{ + line-height:29px; +} + +.login_info{ + display:none; +} + +.login_info em{color:#ff8800} + +.login_info .quit{ + color:#666; + padding-left:10px; +} + +.login_info .quit:hover{ + color:#ff8800; +} + +.login_btn a,.user_link a{ + color:#666; +} + +.login_btn a:hover,.user_link a:hover{ + color:#ff8800; +} + +.login_btn span,.user_link span{ + color:#cecece; + margin:0 10px; +} + + +/* logo、搜索框、购物车样式 */ + +.search_bar{width:1200px;height:115px;margin:0 auto;} + +.logo{width:250px;height:79px;margin:29px 0 0 17px;} + +.search_wrap{width:618px;height:60px;margin:34px 0 0 80px;} + +.search_con{width:616px;height:32px;border:1px solid #fe0000;background:url(../images/icons.png) 10px -340px no-repeat;} + +.search_con .input_text{width:470px;height:28px;border:0px;margin:2px 0 0 36px;outline:none;font-size:12px;color:#737272;font-family:'Microsoft Yahei'} + +.search_con .input_btn{ + width:100px;height:32px;background-color:#fe0000;border:0px;font-size:14px;color:#fff;font-family:'Microsoft Yahei';outline:none;cursor:pointer; +} + +.search_suggest{ + width:618px; + height:26px; +} + +.search_suggest li{ + float:left; +} + +.search_suggest li a{ + color:#999; + line-height:24px; + margin-right:15px; +} + +.search_suggest li a:hover{ + color:#f80; +} + +.mt40{margin-top:40px} + +.guest_cart{ + width:200px;height:32px;position:absolute;top:62px;left:50%;margin-left:400px;z-index:9997; +} + +.guest_cart .cart_name{ + width:158px;height:32px;line-height:32px;border:1px solid #dddddd;display:block;background:url(../images/icons.png) 13px -302px no-repeat #fff;font-size:14px;color:#fe0000;text-indent:56px; + position:relative; + z-index:9998; +} + +.guest_cart .goods_count{ + width:40px;height:34px;text-align:center;line-height:34px;font-size:18px; + font-weight:bold;color:#fff;background-color:#fe0000; + position:relative; + z-index:9998; +} +/*.guest_cart:hover .cart_name{*/ + /*position:relative;*/ + /*z-index:9999;*/ + /*border-bottom:1px solid #fff;*/ +/*}*/ +.guest_cart:hover .cart_goods_show{ + display:block; +} +.cart_goods_show{ + position:absolute; + /*width:320px;*/ + /*padding:10px;*/ + background:#fff; + border:1px solid #ddd; + right:0px; + top:33px; + z-index:9997; + display:none; +} +.cart_goods_show li{ + border-bottom:1px dotted #ddd; + overflow:hidden; + padding:0px 10px; + width:320px; +} +.cart_goods_show li img{ + margin-top:10px; + float:left; + width:50px; + height:50px; +} +.cart_goods_show li h4{ + float:left; + line-height:70px; + font-size:12px; + margin-left:20px; + width:220px; + overflow: hidden; + white-space: nowrap; + text-overflow: ellipsis; +} +.cart_goods_show li div{ + float:right; + line-height:70px; + font-size:13px; + margin-right:20px; +} +/* 菜单、幻灯片样式 */ + +.navbar_con{height:30px;border-bottom:1px solid #ddd;background:#f9f9f9} +/*.navbar{width:1200px;margin:0 auto;}*/ +.navbar{width:1200px;margin:0 auto;position: relative;} +.navbar h1{width:200px;line-height:30px;text-align: center;font-size:14px;color:#666;background-color:#f1f1f1;font-weight:bold;} + +.navbar .subnav_con{width:200px;height:40px;background-color:#39a93e;position:relative;cursor:pointer;} + +.navbar .subnav_con h1{position:absolute;left:0;top:0;text-align:left;text-indent:40px} +.navbar .subnav_con span{display:block;width:16px;height:9px;background:url(../images/down.png) no-repeat;position:absolute;right:27px;top:16px;transition:all 300ms ease-in; +} + +.navbar .subnav_con:hover span{transform:rotateZ(180deg)} + +.navbar .subnav_con .subnav{position:absolute;left:0;top:40px;display:none;border-top:2px solid #39a93e;} +.navbar .subnav_con:hover .subnav{display:block;} + + +.navlist{margin-left:34px;} +.navlist li{float:left;line-height:30px;} +.navlist li a{color:#666;font-size:14px} +.navlist li a:hover{color:#ff8800} +.navlist .interval{margin:0 15px;} + +.pos_center_con{width:100%;height:350px;margin:0 auto;position:relative;} +.center_con{width:1200px;height:270px;margin:0 auto;} +.subnav{width:200px;height:270px; background:#707070} +.subnav li{height:44px;border-bottom:1px solid #eee;background:url(../images/icons.png) 178px -257px no-repeat #fff;} + +.subnav li a{display:block;height:44px;line-height:44px;text-indent:71px;font-size:14px;color:#333} +.subnav li a:hover{color:#ff8800} + +.subnav li .fruit{background:url(../images/icons.png) 28px 0px no-repeat;} +.subnav li .seafood{background:url(../images/icons.png) 28px -43px no-repeat;} +.subnav li .meet{background:url(../images/icons.png) 28px -86px no-repeat;} +.subnav li .egg{background:url(../images/icons.png) 28px -132px no-repeat;} +.subnav li .vegetables{background:url(../images/icons.png) 28px -174px no-repeat;} +.subnav li .ice{background:url(../images/icons.png) 28px -220px no-repeat;} + + +.points{width:100%;height:10px;position:absolute;left:0;bottom:20px;text-align:center;} +.points li{display:inline-block;width:10px;height:10px;margin:0 5px;background-color:#9f9f9f;border-radius:5px;cursor:pointer;transition:all 800ms ease;} +.points li.active{background-color:#cecece;width:26px} + +.adv{width:240px;height:270px; overflow:hidden; background-color:gold;} +.adv a{display:block;float:left;} + +.slide{width:100%;height:350px;position:relative;} +.slide li{width:100%;height:350px;position:absolute;left:0px;top:0px;overflow:hidden;} +.slide li a{display:block;width:100%;height:350px;} +.slide li a img{ + position:absolute; + left:50%; + top:0px; + margin-left:-800px; +} + + +.prev,.next{width:17px;height:23px;background:url(../images/icons.png) 5px -383px no-repeat #000;position:absolute;left:50%;top:163px;cursor:pointer;margin-left:-380px;opacity:0.4;padding:5px;border-radius:4px} +.next{background-position:5px -423px;left:50%;margin-left:353px} + +.sub_menu_con{width:200px;height:30px;position:relative;} + +.sub_menu_con .sub_menu{ + left:0px; + top:30px; + margin-left:0px; + background:rgba(0,0,0,0.6); + z-index:1000; + display:none; +} +.sub_menu_con:hover .sub_menu{ + display:block; +} + +.sub_menu{width:170px;height:330px;background:rgba(0,0,0,0.4);position:absolute;left:50%;top:30px;margin-left:-600px;padding:10px 15px;z-index:999;} +/*.sub_menu{width:170px;height:330px;background:rgba(0,0,0,0.4);position:absolute;left:50%;top:0px;margin-left:-600px;padding:10px 15px}*/ + +.sub_menu li{ + height:30px; +} + +.sub_menu li:hover{ + background:#fbf1f5; + margin:0px -15px; + padding:0 15px; + cursor: pointer; +} +.sub_menu li:hover .level1 a{ + color:#333; +} +.sub_menu .level1 a{ + line-height:30px; + color:#fff; + font-size:14px; + margin-right:10px; +} +.sub_menu li:hover .level1 a:hover{ + color:#f00; +} +.sub_menu li .level2{ + background:#fbf1f5; + width:770px; + height:320px; + padding:15px; + position:absolute; + left:200px; + top:0px; + display:none; +} +.sub_menu li:hover .level2{ + display:block; +} +.list_group{ + overflow:hidden; +} +.group_name{ + width:80px; + text-align:right; + font-size:14px; + line-height:24px; + font-weight:bold; + padding-right:20px; +} +.group_detail{ + width:630px; + padding-bottom:5px; + border-bottom:1px dotted #999; + margin-bottom:8px; +} +.group_detail a{ + font-size:14px; + color:#666; + line-height:24px; + margin-right:15px; +} +.group_detail a:hover{ + color:#f00; +} + +.news{ + width:200px; + height:350px; + background:rgba(251,241,245,0.9); + position:absolute; + left:50%; + margin-left:400px; + top:0px; +} + +.news_title{ + margin-top:10px; + height:26px; + overflow: hidden; +} + +.news_title h3{ + float: left; + line-height:26px; + text-indent:10px; + font-size:14px; + font-weight:bold; + color:#333; +} + +.news_title a{ + float:right; + line-height:26px; + margin-right:10px; +} +.news_title a:hover{ + color:#f00 +} +.news_list{ + margin:10px; +} +.news_list li a{ + line-height:24px; + color:#666; + display:block; + width:180px; + overflow: hidden; + white-space: nowrap; + text-overflow: ellipsis; +} +.news_list li a:hover{ + color:#f00 +} + + + +/* 商品列表样式 */ + +.list_model{width:1200px;height:491px;margin:15px auto 0;} +.list_title{height:40px;border-bottom:1px solid #719ef7} +.model02 .list_title{border-bottom:1px solid #61c1e6} +.model03 .list_title{border-bottom:1px solid #c584ec} + +.list_title h3{height:40px;line-height:40px;font-size:20px;color:#333;font-weight:normal;} +.list_title .subtitle{height:30px;line-height:30px;margin-top:10px} +.list_title .subtitle a{color:#666;float:left;font-size:14px;line-height:30px;padding:0px 15px;} + + +.list_title .subtitle .active{background:#719ef7;color:#fff;} +.model02 .list_title .subtitle .active{background:#61c1e6} +.model03 .list_title .subtitle .active{background:#c584ec} + +.goods_more{height:20px;margin-top:15px;color:#666} + +.goods_con{height:450px;} +.goods_banner{width:210px;height:450px;} +.goods_banner img{width:210px;height:315px;} + +.goods_list_con{width:990px;height:450px;float:left;} +/*.goods_list{width:990px;height:450px;display:none;}*/ +.goods_list{width:990px;height:450px;} /*vue改写后*/ +.goods_list_show{display:block;} + +/*.goods_list{width:990px;height:450px;}*/ +.goods_list li{height:224px;width:197px;border-right:1px solid #ededed;border-bottom:1px solid #ededed;float:left} +.goods_list .goods_pic{width:130px;height:130px;display:block;margin:20px auto 0;} + +.goods_list li h4{width:200px;margin:15px auto 0;text-align:center;} +.goods_list li h4 a{font-size:12px;color:#666;font-weight:normal;line-height:24px;width:160px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;display:block;margin:0 auto;} +.goods_list li h4 a:hover{color:#ff8800} + +.goods_list li img{width:130px;height:130px;} +.goods_list li .price{text-align:center;font-size:16px;color:#ff0027;margin-top:5px;} +.channel{ + height:32px; + text-align:center; + background:#6294f6 +} + +.model02 .channel{ + background:#3eb8e9 +} +.model03 .channel{ + background:#bf70ef +} + +.channel a{ + color:#fff; + font-size:14px; + padding:0px 5px; + line-height:32px; +} + +.key_words{ + background:#719ef7; + width:190px; + height:83px; + padding:10px; +} + +.model02 .key_words{ + background:#61c1e6; +} + +.model03 .key_words{ + background:#c584ec; +} + +.key_words a{ + display:inline-block; + width:50px; + color:#fff; + font-size:12px; + line-height:28px; + margin:0px 5px; +} +.key_words a:hover{ + text-decoration:underline; +} + +/* 页面底部样式 */ +.footer{ + border-top:1px solid #fe0000; + margin:30px 0; +} + +.foot_link{text-align:center;margin-top:30px;} +.foot_link a,.foot_link span{color:#4e4e4e;} +.foot_link a:hover{color:#ff8800} +.foot_link span{padding:0 10px} +.footer p{text-align:center; margin-top:10px;} + + +/* 二级页面面包屑导航 */ +.breadcrumb{ + width:1200px;height:40px;margin:0 auto; +} +.breadcrumb a{line-height:40px;color:#fe0000} +.breadcrumb a:hover{color:#ff8800} +.breadcrumb span{line-height:40px;color:#fe0000;padding:0 5px;} + + +.main_wrap{width:1200px;margin:0 auto;} +.l_wrap{width:200px;} +.r_wrap{width:980px;} + + +/* 新品推荐样式 */ + +.new_goods{ + border:1px solid #ededed; + border-top:2px solid #f80000; + padding-bottom:10px; +} + +.new_goods h3{ + height:33px;line-height:33px;background-color:#fcfcfc;border-bottom:1px solid #ededed;font-size:14px;font-weight:normal;text-indent:10px; +} + +.new_goods ul{width:160px;margin:0 auto;overflow:hidden;} +.new_goods li{border-bottom:1px solid #ededed;margin-bottom:-1px;} +.new_goods li img{display:block;width:150px;height:150px;margin:10px auto;} +.new_goods li h4{width:160px;margin:0 auto;} +.new_goods li h4 a{font-weight:normal;color:#666;display:block;width:160px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;} +.new_goods li .price{font-size:14px;color:#da260e;margin:10px auto;} + +.center_con2{width:1200px;overflow:hidden;margin:15px auto 0} + +.time_buy{ + width:948px; + height:248px; + border:1px solid #ededed; + border-top:1px solid #e83632; + overflow: hidden; +} +.time_buy_title{ + height:39px; + border-bottom:1px solid #ededed; +} +.time_buy_title h3{ + line-height:39px; + font-size:18px; + color:#e83632; + text-indent:40px; + background:url(../images/clock.jpg) left center no-repeat; +} +.time_count{ + height:39px; + margin-right:15px; +} +.time_count span{ + float: left; + line-height:39px; + color:#e83632; + margin-right:10px; +} +.time_count b{ + float:left; + width:28px; + height:28px; + background:#e83632; + font-size:18px; + text-align:center; + line-height:28px; + font-weight:normal; + font-family: Arial; + color:#fff; + border-radius:4px; + margin-top:5px; +} + +.time_count i{ + float:left; + line-height:39px; + font-size:18px; + font-style:normal; + color:#e83632; + margin:0px 5px; +} + +.time_goods_list_con{ + width:952px; + height:208px; +} + +.time_goods_list{ + float: left; + width:237px; + height:208px; + border-right:1px solid #ededed; +} + +.time_goods_list p{ + text-align:center; + font-size:20px; + color:#ff0027; + margin-top:10px; +} + +.time_goods_list .pic_link{ + display:block; + width:120px; + height:120px; + margin:20px auto 0; +} + +.time_goods_list .pic_link img{ + width: 120px; + height: 120px; +} + +.time_goods_list .prize{ + display:block; + width:200px; + white-space:nowrap; + overflow:hidden; + text-overflow:ellipsis; + margin:5px auto; + color:#666; +} + + + +/* 商品列表样式 */ + +.sort_bar{height:30px;background-color:#fbf3f3} +.sort_bar a{display:block;height:30px;line-height:30px;padding:0 20px;float:left;color:#000} +.sort_bar .active{background-color:#f80000;color:#fff;} +/*类选择器 层级选择器*/ + + +.goods_type_list{ + margin:10px auto 0; +} + +.goods_type_list li{ + width:196px; + float:left; + margin-bottom:10px +} + +.goods_type_list li img{width:160px;height:160px;display:block;margin:10px auto;} +.goods_type_list li h4{width:160px;margin:0 auto;} +.goods_type_list li h4 a{font-weight:normal;color:#666;display:block;width:160px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;} + +.operate{width:160px;margin:10px auto;position:relative;} +.goods_type_list .operate .price{color:#da260e; font-size:14px;} +.goods_type_list .operate .unit{color:#999;padding-left:5px;} +.goods_type_list .operate .add_goods{display:inline-block;width:15px;height:15px;background:url(../images/shop_cart.png);position:absolute;right:0;top:3px;} + + +/* 分页样式 */ + +.pagenation{height:32px;text-align:center;font-size:0;margin:30px auto;} +.pagenation a{display:inline-block;border:1px solid #d2d2d2;background-color:#f8f6f7;font-size:12px;padding:5px 10px;color:#666;margin:5px} + +.pagenation .active{background-color:#fff;color:#43a200} + + +/* 商品详情样式 */ +.goods_detail_con{ + width:1198px; + border:1px solid #ededed; + margin:0 auto 20px; +} + +.goods_detail_pic{width:350px;height:350px;margin:24px 0 0 24px;border:1px solid #ededed} +.goods_detail_pic img{width:350px;height:350px;} +.goods_detail_list{ + width:730px;margin:24px 24px 0 0; +} +.goods_detail_list h3{font-size:24px;line-height:24px;color:#666;font-weight:normal;} +.goods_detail_list p{color:#666;line-height:40px;} +.price_bar{height:72px;background-color:#fff5f5;line-height:72px;} +.price_bar .show_pirce{font-size:20px;color:#ff3e3e;padding-left:20px} +.price_bar .show_pirce em{font-style:normal;font-size:36px;padding-left:10px} +.price_bar .show_unit{padding-left:150px} +.price_bar .goods_judge{float:right;border-left:1px solid #999;height:20px;line-height:20px;margin-right:20px;padding-left:20px;margin-top:40px;} +.price_bar .goods_judge:hover{text-decoration:underline} +.goods_num{height:52px;margin-top:19px;} +.goods_num .num_name{width:70px;height:52px;line-height:52px;} +.goods_num .num_add{width:75px;height:50px;border:1px solid #dddddd} +.goods_num .num_add input{width:49px;height:50px;text-align:center;line-height:50px;border:0px;outline:none;font-size:14px;color:#666} +.goods_num .num_add .add,.goods_num .num_add .minus{width:25px;line-height:25px;text-align:center;border-left:1px solid #ddd;border-bottom:1px solid #ddd;color:#666;font-size:14px} +.goods_num .num_add .minus{border-bottom:0px} + +.total{height:35px;line-height:35px;margin-top:25px;} +.total em{font-style:normal;color:#ff3e3e;font-size:18px} + +.operate_btn{height:40px;margin-top:25px;margin-bottom:20px;font-size:0;position:relative;} +.operate_btn .buy_btn,.operate_btn .add_cart{display:inline-block;width:178px;height:38px;border:1px solid #c40000;font-size:14px;color:#c40000;line-height:38px;text-align:center;background-color:#ffeded;} +.operate_btn .add_cart{background-color:#c40000;color:#fff;margin-left:10px;position:relative;z-index:10;} + +.type_select{overflow:hidden;margin-top:10px;} +.type_select label{float:left;width:70px;line-height:42px;} +.type_select a{float:left;line-height:40px;border:1px solid #ccc;padding:0px 10px;color:#5e5e5e;margin-right:10px;} +.type_select a:hover{border:1px solid #e3101e;color:#e3101e} +.type_select .select{border:1px solid #e3101e;background:url(../images/selected.png) right bottom no-repeat;} + +.add_jump{width:20px;height:20px;background-color:#c40000;position:absolute;left:268px;top:10px;border-radius:50%;z-index:9;display:none;} + +.detail_tab{ + height:35px; + border-bottom:1px solid #e3101e; +} + +.detail_tab li{height:34px;line-height:34px;padding:0 30px;font-size:14px;color:#333333;float:left;border:1px solid #e8e8e8;border-bottom:0px;cursor:pointer;background-color:#faf8f8} +.detail_tab li.active{border-top:2px solid #e3101e;position:relative;background-color:#fff;border-left:1px solid #e3101e;border-right:1px solid #e3101e;top:-1px;height:35px;} + +.tab_content{display:none;} +.current{display:block;} +.tab_content dt{margin-top:10px;font-size:16px;color:#c40000} +.tab_content dd{line-height:24px;margin-top:5px;} + + +/* 登录页 */ +.login_top{width:960px;height:130px;margin:0 auto;} +.login_logo{display:block;width:193px;height:76px;margin-top:30px;} +.login_form_bg{height:480px;background-color:#810101} +.no-mp{margin-top:0px;} +.login_form_wrap{width:1000px;height:480px;margin:0 auto;} +.login_banner{width:500px;height:386px;background:url(../images/login_banner.png) no-repeat;margin-top:40px;} +.slogan{width:30px;height:300px;font-size:24px;color:#f9dddd;text-align:center;line-height:30px;margin:65px 0 0 30px} +.login_form{width:368px;height:378px;border:1px solid #c6c6c5;background-color:#fff; margin-top:50px;} + +.login_title{height:60px;width:308px;margin:10px auto;border-bottom:1px solid #e0e0e0;} + +/*.login_title a{width:153px;line-height:20px;font-size:18px;color:#5e5e5e;text-align:center;float:left;margin-top:20px;}*/ +.login_title a{width:308px;line-height:20px;font-size:18px;color:#5e5e5e;text-align:center;float:left;margin-top:20px;} + +/*.login_title a:first-child{border-right:1px solid #e0e0e0}*/ +/*.login_title a.cur{color:#e3101e}*/ +.form_input{width:308px;height:210px;margin:20px auto;position:relative;display:none;} +.form_con .cur{display:block;} +.bar_code_con{width:167px;height:172px;margin:0px auto;} +.bar_code_tip{text-align:center;margin-top:10px;font-size:12px;} +.third_party{border-top:1px solid #e0e0e0;margin-top:30px} +/*.qq_login,.weixin_login,.register_btn{float:left;line-height:30px;margin-left:15px;margin-top:7px;color:#666;font-size:12px;text-indent:22px;background:url(../images/QQ-weixin.png) left 7px no-repeat;}*/ +/*.qq_login:hover,.weixin_login:hover,.register_btn:hover{color:#e3101e;text-decoration:underline}*/ +/*.weixin_login{background-position:left -35px;}*/ +.register_btn{background:url(../images/icons02.png) left 9px no-repeat;float:right;margin-right:15px} + +.name_input,.pass_input{width:306px;height:36px;border:1px solid #e0e0e0;background:url(../images/icons02.png) 280px -41px no-repeat #f8f8f8;outline:none;font-size:14px;text-indent:10px;position: absolute;left:0;top:0} +.pass_input{top:65px;background-position:280px -95px;} + +.user_error,.pwd_error{color:#f00;position:absolute;left:0;top:43px;} + +.pwd_error{top:110px;} + +.more_input{position:absolute;left:0;top:130px;width:100%} + +.more_input input{float:left;margin-top:2px;} +.more_input label{float:left;margin-left:10px;} +.more_input a{float:right;color:#666} +.more_input a:hover{color:#ff8800} + +.input_submit{width:100%;height:40px;position:absolute;left:0;top:180px;background-color:#ff5757;color:#fff;font-size:22px;border:0px;font-family:'Microsoft Yahei';cursor:pointer;} + + +/* 注册页面 */ +.register_con{ + width:720px; + overflow: hidden; + margin:50px auto 0; + background:url(../images/interval_line.png) 300px center no-repeat; +} + +.l_con{width:300px;} +.reg_logo{width:200px;height:76px;float:right;margin-right:30px;} +.reg_slogan{width:300px;height:30px;float:right;text-align:right;font-size:22px;color:#fe0000;margin:20px 30px 0 0;} +.reg_banner{width:251px;height:329px;background:url(../images/register_banner.png) no-repeat;float:right; margin:20px 10px 0 0;opacity:0.5} + + +.r_con{width:420px;overflow:hidden;} +.reg_title{width:380px;height:50px;float:left;margin-left:30px;border-bottom:1px solid #e0e0e0} +.reg_title h1{height:50px;line-height:50px;float:left;font-size:24px;color:#a8a8a8;font-weight:bold;} +.reg_title a{float:right;height:20px;line-height:20px;font-size:16px;color:#c40000;padding-right:20px;background:url(../images/icons02.png) 35px 3px no-repeat;margin-top:15px} + +.reg_form{width:380px;margin:30px 0 0 30px;float:left;position:relative;} +.reg_form li{height:70px;} +.reg_form li label{width:75px;height:40px;line-height:40px;float:left;font-size:14px;color:#a8a8a8;text-align:right;padding-right:10px;} +.reg_form li input{width:288px;height:38px;border:1px solid #e0e0e0;float:left;outline:none;text-indent:10px;background-color:#f8f8f8} +.reg_form li .msg_input,.reg_form li .msg_input{ + width:170px; +} +.reg_form .get_msg_code{ + float: left; + width:108px; + height:38px; + text-align:center; + line-height:38px; + border:1px solid #e0e0e0; + margin-left:10px; + color:#333; +} +.reg_form .get_msg_code:hover{ + color:#f80000; +} +.reg_form .pic_code{ + float: left; + width:110px; + height:40px; + margin-left:10px; +} + +.reg_form li.agreement input{width:15px;height:15px;float:left;margin-top:13px;margin-left:87px;} +.reg_form li.agreement label{width:250px;float:left;margin-left:10px;text-align:left;} +.reg_form li.reg_sub input{width:380px;height:40px;background-color:#ff5757;font-size:18px;color:#fff;font-family:'Microsoft Yahei';cursor:pointer;} +.reg_form li .error_tip{float:left;height:30px;line-height:30px;margin-left:87px;color:#e62e2e;} +.reg_form li .error_tip2{float:left;height:20px;line-height:20px;margin-left:87px;color:#e62e2e;} + + +.sub_page_name{font-size:20px;color:#666;margin:60px 0 0 43px} + +.total_count{ + width:1200px;margin:0 auto;height:40px;line-height:40px;font-size:14px; +} +.total_count em{ + font-size:16px;color:#ff4200;margin:0 5px; +} + +.cart_list_th{width:1198px;border:1px solid #ddd;background-color:#f7f7f7;margin:0 auto;} +.cart_list_th li{height:40px;line-height:40px;float:left;text-align:center;} +.cart_list_th .col01{width:36%;} +.cart_list_th .col02{width:6%;font-size: 12px;} +.cart_list_th .col03{width:13%;} +.cart_list_th .col04{width:12%;} +.cart_list_th .col05{width:15%;} +.cart_list_th .col06{width:18%;} + +.cart_list_td{width:1198px;border:1px solid #ddd;background-color:#fff9f9;margin:0 auto;margin-top:-1px;} +.cart_list_td li{height:120px;line-height:120px;float:left;text-align:center;} + +.cart_list_td .col01{width:4%;} +.cart_list_td .col02{width:12%;} +.cart_list_td .col03{width:20%;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;} +.cart_list_td .col04{width:6%;} +.cart_list_td .col05{width:13%;} +.cart_list_td .col06{width:12%;} +.cart_list_td .col07{width:15%;} +.cart_list_td .col08{width:18%;} + +.cart_list_td .col02 img{width:100px;height:100px;border:1px solid #ddd;display:block;margin:10px auto 0;} +.cart_list_td .col03{height:48px;text-align:left;line-height:24px;margin-top:38px;} +.cart_list_td .col03 em{color:#999} +.cart_list_td .col08 a{color:#666} + +.cart_list_td .col06 .num_add{width:98px;height:28px;border:1px solid #ddd;margin:40px auto 0;} +.cart_list_td .col06 .num_add a{width:29px;height:28px;line-height:28px;background-color:#f3f3f3;font-size:14px;color:#666} +.cart_list_td .col06 .num_add input{width:38px;height:28px;text-align:center;line-height:30px;border:0px;display:block;float:left;outline:none;border-left:1px solid #ddd;border-right:1px solid #ddd;} + + +.settlements{width:1198px;height:78px;border:1px solid #ddd;background-color:#fff4e8;margin:-1px auto 0;} +.settlements li{line-height:78px;float:left;} +.settlements .col01{width:4%;text-align:center} +.settlements .col02{width:12%;} +.settlements .col03{width:69%; height:48px; line-height:28px;text-align:right;margin-top:10px;} +.settlements .col03 span{color:#ff0000;padding-right:5px} +.settlements .col03 em{color:#ff3d3d;font-size:22px;font-weight:bold;} +.settlements .col03 span{color:#ff0000;} +.settlements .col03 b{color:#ff0000;font-size:14px;padding:0 5px;} + +.settlements .col04{width:14%;text-align:center;float:right;} +.settlements .col04 a{display:block;height:78px;background-color:#ff3d3d;text-align:center;line-height:78px;color:#fff;font-size:24px} + + +.common_title{width:1200px;margin:20px auto 0;font-size:14px;} + +.common_list_con{width:1200px;border:1px solid #dddddd;border-top:2px solid #e3101e;margin:10px auto 0;background-color:#f7f7f7;position:relative;} + +.common_list_con dl{margin:20px;} +.common_list_con dt{font-size:14px;font-weight:bold;margin-bottom:10px} +.common_list_con dd{margin-bottom:10px;} +.common_list_con dd.current{font-size:14px;font-weight:bold;} +.common_list_con dd input{vertical-align:bottom;margin-right:10px} + +.edit_site{position:absolute; right:20px;top:30px;width:100px;height:30px;background-color:#fe0000;text-align:center;line-height:30px;color:#fff} + +.pay_style_con{margin:20px;} +.pay_style_con input{float:left;margin:14px 7px 0 0;} +.pay_style_con label{float:left;border:1px solid #ccc;background-color:#fff;padding:10px 10px 10px 40px;margin-right:25px} + +.pay_style_con .cash{background:url(../images/pay_icons.png) 8px top no-repeat #fff;} +.pay_style_con .weixin{background:url(../images/pay_icons.png) 6px -36px no-repeat #fff;} + +.pay_style_con .zhifubao{background:url(../images/pay_icons.png) 12px -72px no-repeat #fff;width:50px;height:16px} + +.pay_style_con .bank{background:url(../images/pay_icons.png) 6px -108px no-repeat #fff;} + + +.goods_list_th{height:40px;border-bottom:1px solid #ccc} +.goods_list_th li{float:left;line-height:40px;text-align:center;} +.goods_list_th .col01{width:35%} +.goods_list_th .col02{width:10%} +.goods_list_th .col03{width:25%} +.goods_list_th .col04{width:15%} +.goods_list_th .col05{width:15%} + +.goods_list_td{height:80px;border-bottom:1px solid #eeeded} +.goods_list_td li{float:left;line-height:80px;text-align:center;} +.goods_list_td .col01{width:4%} +.goods_list_td .col02{width:6%;font-size: 12px;} +.goods_list_td .col03{width:25%;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;} +.goods_list_td .col04{width:10%} +.goods_list_td .col05{width:25%} +.goods_list_td .col06{width:15%} +.goods_list_td .col07{width:15%} + +.goods_list_td .col02{text-align:right} +.goods_list_td .col02 img{width:63px;height:63px;border:1px solid #ddd;display:block;margin:7px 0;float:right;} +.goods_list_td .col03{text-align:left;text-indent:20px} + + +.settle_con{margin:10px} +.total_goods_count,.transit,.total_pay{line-height:24px;text-align:right} +.total_goods_count em,.total_goods_count b,.transit b,.total_pay b{font-size:14px;color:#ff4200;padding:0 5px;} + +.order_submit{width:1200px;margin:20px auto;} +.order_submit a{width:160px;height:40px;line-height:40px;text-align:center;background-color:#fe0000;color:#fff;font-size:16px;display:block;float:right} + + +.order_list_th{width:1198px;border:1px solid #ddd;background-color:#f7f7f7;margin:20px auto 0;} +.order_list_th li{float:left;height:30px;line-height:30px} +.order_list_th .col01{width:20%;margin-left:20px} +.order_list_th .col02{width:28%} + + +.order_list_table{ + width:1200px; + border-collapse:collapse; + border-spacing:0px; + border:1px solid #ddd; + margin:-1px auto 0; +} + +.order_list_table td{ + border:1px solid #ddd; + text-align:center; + font-size: 12px; +} + +.order_goods_list{border-bottom:1px solid #ddd;margin-bottom:-2px;font-size: 12px} +.order_goods_list li{float:left; height:80px;line-height:80px;} +.order_goods_list .col01{width:20%} +.order_goods_list .col01 img{width:60px;height:60px;border:1px solid #ddd;margin:10px auto;} +.order_goods_list .col02{width:50%;text-align:left;font-size: 12px;} +.order_goods_list .col02 span{ + float: left; + width: 197px; + overflow: hidden; + white-space: nowrap; + text-overflow: ellipsis; + font-size: 12px; +} +.order_goods_list .col02 em{color:#999;float: right;} +.order_goods_list .col03{width:10%} +.order_goods_list .col04{width:20%} + +.oper_btn{display:inline-block;border:1px solid #ddd;color:#666;padding:5px 10px} + +.popup_con{display:none;} +.popup{width:300px;height:150px;border:1px solid #dddddd;border-top:2px solid #00bc6f;background-color:#f7f7f7;position:fixed; + left:50%; + margin-left:-150px; + top:50%; + margin-top:-75px; + z-index:1000; +} + +.popup p{height:150px;line-height:150px;text-align:center;font-size:18px;} + +.mask{width:100%;height:100%;position:fixed;left:0;top:0;background-color:#000;opacity:0.3;z-index:999;} + + +.main_con{ + width:1200px; + margin:0 auto; + background:url(../images/left_bg.jpg) repeat-y; +} + +.left_menu_con{ + width:200px; + float:left; +} + +.left_menu_con h3{ + font-size:16px; + line-height:40px; + border-bottom:1px solid #ddd; + text-align:center; + margin-bottom:10px; +} + +.left_menu_con ul li{ + line-height:40px; + text-align:center; + font-size:14px; +} + +.left_menu_con ul li a{ + color:#666; +} + +.left_menu_con ul li .active{ + color:#ff8800; + font-weight:bold; +} + +.right_content{ + width:980px; + float:right; + min-height:500px; +} + +.w980{ + width:980px; +} + +.w978{ + width:978px; +} + + +.common_title2{height:20px;line-height:20px;font-size:16px;margin:10px 0;} +.user_info_list{ + background-color:#f9f9f9; + margin:10px 0 15px; + padding:10px 0; + height: 110px; +} + +.user_info_list li{ + line-height:30px; + text-indent:30px; + font-size:14px; +} + +.user_info_list li span{ + width:100px; + float:left; + text-align:right; +} + +.info_con{ + width:980px; +} + +.info_l{ + width:600px; + float:left; +} + +.info_r{ + width:360px; + float:right; +} + +.email{ + width: 200px; +} + +.error_email_tip{ + color: #da2828; + text-indent: 130px; + font-size: 12px; +} + +.site_top_con{ + overflow: hidden; + margin-bottom:10px; +} + +.site_top_con a{ + float:left; + width:100px; + line-height:28px; + border:1px solid #da2828; + text-align:center; + color:#c81919; + font-weight:bold; + background:#f7d5d5; +} +.site_top_con span{ + float: left; + line-height:30px; + margin-left:10px; +} +.site_top_con b{ + color:#f80; +} + +.site_con{ + border:1px solid #ddd; + padding:15px; + margin-bottom:20px; + position:relative; +} + +.site_title{ + overflow: hidden; +} + +.site_title h3{ + float: left; + font-size:16px; + line-height:22px; +} + +.site_title em{ + float: left; + font-size:12px; + line-height:16px; + color:#fff; + background:#f80; + padding:2px; + margin-left:20px; +} +.site_title span{ + float:right; + font-size:20px; + line-height:22px; + cursor:pointer; +} + +.site_title a{ + float: left; + width:22px; + height:22px; + background:url(../images/edit.png) no-repeat; + margin-left:10px; +} + + +.site_list{ + margin-top:10px; +} +.site_list li{ + line-height:28px; + overflow: hidden; +} +.site_list li span{ + float: left; + width:100px; + text-align:right; + font-size:12px; + color:#999; +} +.site_list li b{ + font-weight:normal; + color:#333; + font-size:12px; +} +.down_btn{ + position: absolute; + bottom:15px; + right:15px; + font-size:0px; +} + +.down_btn a{ + color:#3eb8e9; + font-size:12px; + margin:0px 10px; +} + +/*.pop_con{*/ + /*display:none;*/ +/*}*/ + +.site_pop{ + width:500px; + height:380px; + background:#fff; + border:1px solid #dddddd; + background-color:#f7f7f7; + position:fixed; + left:50%; + margin-left:-251px; + top:50%; + margin-top:-156px; + z-index:1000; +} + +.site_pop_title{ + background:#810101; + margin-left:-14px; + margin-right:-14px; + margin-top:-14px; + margin-bottom:10px; + overflow:hidden; +} + +.site_pop_title h3{ + color:#fff; + float: left; + line-height:30px; + text-indent:20px; + font-size:16px; +} + +.site_pop_title a{ + color:#fff; + float:right; + font-size:26px; + margin-right:10px; + line-height:30px; +} + +.pass_change_con{ + background:#f9f9f9; +} + +.site_con dt{ + font-size:14px; + line-height:30px; + text-indent:30px; + font-weight:bold; +} + +.site_con dd{ + font-size:14px; + line-height:30px; + text-indent:30px; +} + +.site_con .form_group{ + height:40px; + line-height:40px; +} + +.site_con .form_group label{ + width:100px; + float:left; + text-align:right; + font-size:14px; + height:40px; + line-height:40px; +} + +.site_con .form_group input{ + width:300px; + height:25px; + border:1px solid #ddd; + float:left; + outline:none; + margin-top:7px; + text-indent:10px; +} +.site_con .form_group2{ + height:90px; +} +.site_con .form_group select{ + width:120px; + height:27px; + border:1px solid #ddd; + float:left; + outline:none; + margin-top:7px; + margin-right:10px; +} + +.site_con .form_group .phone_code_input{ + width:200px; +} + +.site_con .form_group .phone_code{ + float:left; + width:90px; + line-height:25px; + text-align:center; + border:1px solid #ddd; + margin-top:7px; + margin-left:8px; + background:#fff; + color:#333; +} +.site_con .form_group .phone_code:hover{ + color:#f00; +} + +.site_area{ + width:280px; + height:60px; + border:1px solid #ddd; + outline:none; + padding:10px; +} +.info_submit{ + width:80px; + height:30px; + background-color:#fe0000; + border:0px; + color:#fff; + margin:10px 0 10px 100px; + cursor:pointer; + font-family:'Microsoft Yahei' +} +.info_reset{ + margin:10px 0 10px 10px; + background-color:#bd0c0c; +} +.stress{ + color:#ff8800; +} + +.judge_con{ + width:1200px; + margin:0px auto; + overflow:hidden; +} + +.judge_con .judge_goods{ + width:248px; + /*height:300px;*/ + height:260px; + border:1px solid #ededed; + background:#fff; +} + +.judge_goods ul{width:160px;margin:50px auto 0;overflow:hidden;} +.judge_goods li{overflow: hidden;margin-bottom:10px} +.judge_goods li img{display:block;width:130px;height:130px;margin:10px auto;} +.judge_goods li h4{width:160px;margin:0 auto;} +.judge_goods li h4 a{font-weight:normal;color:#666;display:block;width:160px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;} +.judge_goods li .price{font-size:14px;color:#da260e;text-align:center} +.judge_goods li input{display:block;margin:10px auto 0;} + + +.judge_con .judge_goods_input{ + width:898px; + padding:20px; + /*height:260px;*/ + height:220px; + border:1px solid #ededed; + background:#fff; +} + +.judge_tip{font-size:12px;color:#f80;margin-bottom:10px} +.judge_item{overflow:hidden;margin-bottom:10px} +.judge_item label{float:left;width:120px;line-height:42px;color:#999} +.stars{width:85px;height:16px;float:left;margin-top:11px} +.stars .star_off{float:left;width:17px;height:16px;background:url(../images/stars.png) no-repeat;} +.stars .light{background-position:left -16px;} + +.judge_item .score{float:left;line-height:42px;font-size:12px;margin-left:10px;color:#666;} + +.feelings a{float:left;line-height:40px;border:1px solid #ccc;padding:0px 10px;color:#5e5e5e;margin-right:10px;} +.feelings a:hover{border:1px solid #e3101e;color:#e3101e} +.feelings .select{border:1px solid #e3101e;background:url(../images/selected.png) right bottom no-repeat;} +.judge_area{ + float:left;width:735px;height:70px;margin-top:10px;border:1px solid #ccc;outline:none;padding:15px; +} +.judge_sub{ + width:100px;height:32px;background-color:#fe0000;border:0px;font-size:14px;color:#fff;font-family:'Microsoft Yahei';outline:none;cursor:pointer;text-align:center;margin-top:10px;margin-left:120px; +} +.no_name{margin-left:15px;} + +.judge_list_con{ + margin-top:10px; + overflow: hidden; + width:100%; +} + +.judge_list_con li{ + overflow:hidden; + border-bottom:1px solid #ededed; + padding:20px 0; +} + +.user_info{ + width:200px; +} + +.user_info img{ + width:40px; + height:40px; + border-radius:20px; + float:left; +} +.user_info b{ + line-height:40px; + float: left; + font-weight:normal; + margin-left:20px; + font-size:12px; +} + +.judge_info{ + width:780px; +} + +.stars_one,.stars_two,.stars_three,.stars_four,.stars_five{ + width:85px; + height:17px; + background:url(../images/stars.png) left -80px no-repeat; + margin-bottom:10px; +} + +.stars_one{ + background-position:left -16px; +} +.stars_two{ + background-position:left -32px; +} +.stars_three{ + background-position:left -48px; +} +.stars_four{ + background-position:left -64px; +} + +.judge_detail{ + font-size:12px; + line-height:20px; +} + + +.find_header{ + width: 990px; + height: 120px; + margin:0px auto; +} + +.find_header img{ + float:left; + margin-top:30px; +} + +.find_form{ + width: 990px; + height: 450px; + border:1px solid #e6e6e6; + margin:0px auto 30px; +} + +.step{ + width:988px; + height:50px; + margin:0px auto; + background:url(../images/find-password.png) no-repeat; + margin-top:75px; +} + +.step-1{ + background-position:0px -150px; +} + +.step-2{ + background-position:0px -100px; +} + +.step-3{ + background-position:0px -50px; +} + +.step-4{ + background-position:0px 0px; +} + +.form_step{ + width:430px; + height:200px; + margin:70px auto 0; +} + +.form_step .form_group{ + height:45px; + margin-bottom:10px; + position:relative; +} + + +.form_step .form_group label{ + width:100px; + float:left; + text-align:right; + font-size:14px; + height:40px; + line-height:40px; +} + + +.form_step .form_group .input_txt{ + width:300px; + height:25px; + border:1px solid #ddd; + float:left; + outline:none; + margin-top:7px; + text-indent:10px; +} + +.form_step .form_group .input_txt2{ + width:180px; +} + +.form_step .form_group .pic_code{ + width:110px; + height:27px; + margin-left:10px; + margin-top:7px; +} + +.form_step .form_group .input_sub{ + width:100px; + height:26px; + background:#c00; + color:#fff; + border:0px; + margin:10px 0px 0px 100px; + cursor:pointer; +} + +.form_step .form_group .error{ + position:absolute; + left:100px; + top:40px; + color:red; + font-size:12px; +} + +.form_step .form_group .phone_code{ + float:left; + width:110px; + line-height:25px; + text-align:center; + border:1px solid #ddd; + margin-top:7px; + margin-left:8px; + background:#fff; + color:#333; +} + +.pass_change_finish{ + text-align:center; + margin-top:100px; + color:red; + font-size:20px; +} + +.order_success{ + margin:30px auto; + background:url(../images/success.png) 50px center no-repeat; +} + +.order_success p{ + text-indent:140px; + margin-bottom:10px; +} + +.order_success p em{ + font-size:20px; + color:#fe0000; +} +.order_success p a{ + color:#f80; +} +.order_success p a:hover{ + text-decoration:underline; +} + +.time_count_bar{ + width:730px; + height:39px; + background:url(../images/time_count_bg.png); + margin-bottom:10px; +} + +.count_icon{ + float:left; + height:39px; + background:url(../images/shine.png) 10px center no-repeat; + line-height:39px; + color:#fff; + text-indent:30px; + font-size:14px; +} + +.time_count_bar .time_count span{ + color:#fff; +} +.time_count_bar .time_count b{ + background:#333; +} +.time_count_bar .time_count i{ + color:#fff; +} + + + +/* 确认弹框 */ +.pop_con2{ + display:none; +} + +.confirm_pop{ + width:350px; + height:160px; + background:#fff; + border:1px solid #dddddd; + background-color:#f7f7f7; + position:fixed; + left:50%; + margin-left:-176px; + top:50%; + margin-top:-81px; + z-index:1000; +} + +.confirm_pop p{ + margin:30px 0 0 40px; + font-size:16px; + font-family:'Microsoft Yahei' +} + +.confirm_pop_title{ + background:#810101; + height:30px; +} + +.confirm_pop_title h3{ + color:#fff; + float: left; + line-height:30px; + text-indent:20px; + font-size:16px; +} + +.confirm_pop_title a{ + color:#fff; + float:right; + font-size:26px; + margin-right:10px; + line-height:30px; +} + +.confirm_submit{ + width:80px; + height:30px; + background-color:#fe0000; + border:0px; + color:#fff; + margin:30px 0px 10px 80px; + cursor:pointer; + font-family:'Microsoft Yahei' +} + +.confirm_cancel { + background-color:#bd0c0c; + margin-left:30px; +} + +/*收货地址错误提示*/ +.receiver_error,.mobile_error,.place_error,.tel_error,.email_error { + color:#f00;margin-left:5px; +} + +/*修改密码错误提示*/ +.old_pwd_error,.new_pwd_error,.new_cpwd_error { + color:#f00;margin-left:5px; +} + +/*修改分页插件样式*/ +.ui-pagination-container { + line-height: 20px; +} + +.ui-pagination-container .ui-pagination-page-item.active { + background: #f80000; + border-color: #f80000; +} + +/*详情页添加数量提示样式*/ +.overtip{ + width:92px; + height:25px; + border:1px solid #ddd; + position:absolute; + left:725px; + top:396px; + z-index:999; + text-align:center; + line-height:25px; + font-size:12px; + color:#666; + background:#fff; + border-left:1px solid #e62834; + display:none; +} + +.overtip i{ + position:absolute; + left:-5px; + top:10px; + width:5px; + height:7px; + background: url(../images/arrow.png); +} + +/*防止页面加载时出现 vue.js 的变量名*/ +[v-cloak] { + display:none !important; +} \ No newline at end of file diff --git a/src/yunding/static/css/reset.css b/src/yunding/static/css/reset.css new file mode 100644 index 0000000..e0d41f1 --- /dev/null +++ b/src/yunding/static/css/reset.css @@ -0,0 +1,27 @@ +/* 把标签默认的间距设为0 */ +body,ul,ol,p,h1,h2,h3,h4,h5,h6,dl,dd,select,input,textarea,form{margin:0;padding:0} + +/* 让h标签文字大小继承body的文字设置 */ +h1,h2,h3,h4,h5,h6{font-size:100%;font-weight:normal;} + +/* 去掉列表默认的图标 */ +ul,ol{list-style:none;} + +/* 去掉em默认的斜体 */ +em{font-style: normal;} + +/* 去掉a标签默认的下划线 */ +a{text-decoration:none;} + + +/* 去掉加链接时产生的框线 */ +img{border:0;} + +/* 清除浮动 */ +.clearfix:before,.clearfix:after{content:"";display:table} +.clearfix:after{clear:both;} +.clearfix{zoom:1} + +/* 浮动 */ +.fl{float:left} +.fr{float:right} \ No newline at end of file diff --git a/src/yunding/static/css/select2.min.css b/src/yunding/static/css/select2.min.css new file mode 100644 index 0000000..e5f1dae --- /dev/null +++ b/src/yunding/static/css/select2.min.css @@ -0,0 +1,685 @@ +.select2-container { + box-sizing: border-box; + display: inline-block; + margin: 0; + position: relative; + vertical-align: middle +} + +.select2-container .select2-selection--single { + box-sizing: border-box; + cursor: pointer; + display: block; + height: 28px; + user-select: none; + -webkit-user-select: none +} + +.select2-container .select2-selection--single .select2-selection__rendered { + display: block; + padding-left: 8px; + padding-right: 20px; + overflow: hidden; + text-overflow: ellipsis; + white-space: nowrap +} + +.select2-container .select2-selection--single .select2-selection__clear { + background-color: transparent; + border: none; + font-size: 1em +} + +.select2-container[dir="rtl"] .select2-selection--single .select2-selection__rendered { + padding-right: 8px; + padding-left: 20px +} + +.select2-container .select2-selection--multiple { + box-sizing: border-box; + cursor: pointer; + display: block; + min-height: 32px; + user-select: none; + -webkit-user-select: none +} + +.select2-container .select2-selection--multiple .select2-selection__rendered { + display: inline; + list-style: none; + padding: 0 +} + +.select2-container .select2-selection--multiple .select2-selection__clear { + background-color: transparent; + border: none; + font-size: 1em +} + +.select2-container .select2-search--inline .select2-search__field { + box-sizing: border-box; + border: none; + font-size: 100%; + margin-top: 5px; + margin-left: 5px; + padding: 0; + max-width: 100%; + resize: none; + height: 18px; + vertical-align: bottom; + font-family: sans-serif; + overflow: hidden; + word-break: keep-all +} + +.select2-container .select2-search--inline .select2-search__field::-webkit-search-cancel-button { + -webkit-appearance: none +} + +.select2-dropdown { + background-color: white; + border: 1px solid #aaa; + border-radius: 4px; + box-sizing: border-box; + display: block; + position: absolute; + left: -100000px; + width: 100%; + z-index: 1051 +} + +.select2-results { + display: block +} + +.select2-results__options { + list-style: none; + margin: 0; + padding: 0 +} + +.select2-results__option { + padding: 6px; + user-select: none; + -webkit-user-select: none +} + +.select2-results__option--selectable { + cursor: pointer +} + +.select2-container--open .select2-dropdown { + left: 0 +} + +.select2-container--open .select2-dropdown--above { + border-bottom: none; + border-bottom-left-radius: 0; + border-bottom-right-radius: 0 +} + +.select2-container--open .select2-dropdown--below { + border-top: none; + border-top-left-radius: 0; + border-top-right-radius: 0 +} + +.select2-search--dropdown { + display: block; + padding: 4px +} + +.select2-search--dropdown .select2-search__field { + padding: 4px; + width: 100%; + box-sizing: border-box +} + +.select2-search--dropdown .select2-search__field::-webkit-search-cancel-button { + -webkit-appearance: none +} + +.select2-search--dropdown.select2-search--hide { + display: none +} + +.select2-close-mask { + border: 0; + margin: 0; + padding: 0; + display: block; + position: fixed; + left: 0; + top: 0; + min-height: 100%; + min-width: 100%; + height: auto; + width: auto; + opacity: 0; + z-index: 99; + background-color: #fff; + filter: alpha(opacity=0) +} + +.select2-hidden-accessible { + border: 0 !important; + clip: rect(0 0 0 0) !important; + -webkit-clip-path: inset(50%) !important; + clip-path: inset(50%) !important; + height: 1px !important; + overflow: hidden !important; + padding: 0 !important; + position: absolute !important; + width: 1px !important; + white-space: nowrap !important +} + +.select2-container--default .select2-selection--single { + background-color: #fff; + border: 1px solid #aaa; + border-radius: 4px +} + +.select2-container--default .select2-selection--single .select2-selection__rendered { + color: #444; + line-height: 28px +} + +.select2-container--default .select2-selection--single .select2-selection__clear { + cursor: pointer; + float: right; + font-weight: bold; + height: 26px; + margin-right: 20px; + padding-right: 0px +} + +.select2-container--default .select2-selection--single .select2-selection__placeholder { + color: #999 +} + +.select2-container--default .select2-selection--single .select2-selection__arrow { + height: 26px; + position: absolute; + top: 1px; + right: 1px; + width: 20px +} + +.select2-container--default .select2-selection--single .select2-selection__arrow b { + border-color: #888 transparent transparent transparent; + border-style: solid; + border-width: 5px 4px 0 4px; + height: 0; + left: 50%; + margin-left: -4px; + margin-top: -2px; + position: absolute; + top: 50%; + width: 0 +} + +.select2-container--default[dir="rtl"] .select2-selection--single .select2-selection__clear { + float: left +} + +.select2-container--default[dir="rtl"] .select2-selection--single .select2-selection__arrow { + left: 1px; + right: auto +} + +.select2-container--default.select2-container--disabled .select2-selection--single { + background-color: #eee; + cursor: default +} + +.select2-container--default.select2-container--disabled .select2-selection--single .select2-selection__clear { + display: none +} + +.select2-container--default.select2-container--open .select2-selection--single .select2-selection__arrow b { + border-color: transparent transparent #888 transparent; + border-width: 0 4px 5px 4px +} + +.select2-container--default .select2-selection--multiple { + background-color: white; + border: 1px solid #aaa; + border-radius: 4px; + cursor: text; + padding-bottom: 5px; + padding-right: 5px; + position: relative +} + +.select2-container--default .select2-selection--multiple.select2-selection--clearable { + padding-right: 25px +} + +.select2-container--default .select2-selection--multiple .select2-selection__clear { + cursor: pointer; + font-weight: bold; + height: 20px; + margin-right: 10px; + margin-top: 5px; + position: absolute; + right: 0; + padding: 1px +} + +.select2-container--default .select2-selection--multiple .select2-selection__choice { + background-color: #e4e4e4; + border: 1px solid #aaa; + border-radius: 4px; + box-sizing: border-box; + display: inline-block; + margin-left: 5px; + margin-top: 5px; + padding: 0; + padding-left: 20px; + position: relative; + max-width: 100%; + overflow: hidden; + text-overflow: ellipsis; + vertical-align: bottom; + white-space: nowrap +} + +.select2-container--default .select2-selection--multiple .select2-selection__choice__display { + cursor: default; + padding-left: 2px; + padding-right: 5px +} + +.select2-container--default .select2-selection--multiple .select2-selection__choice__remove { + background-color: transparent; + border: none; + border-right: 1px solid #aaa; + border-top-left-radius: 4px; + border-bottom-left-radius: 4px; + color: #999; + cursor: pointer; + font-size: 1em; + font-weight: bold; + padding: 0 4px; + position: absolute; + left: 0; + top: 0 +} + +.select2-container--default .select2-selection--multiple .select2-selection__choice__remove:hover, .select2-container--default .select2-selection--multiple .select2-selection__choice__remove:focus { + background-color: #f1f1f1; + color: #333; + outline: none +} + +.select2-container--default[dir="rtl"] .select2-selection--multiple .select2-selection__choice { + margin-left: 5px; + margin-right: auto +} + +.select2-container--default[dir="rtl"] .select2-selection--multiple .select2-selection__choice__display { + padding-left: 5px; + padding-right: 2px +} + +.select2-container--default[dir="rtl"] .select2-selection--multiple .select2-selection__choice__remove { + border-left: 1px solid #aaa; + border-right: none; + border-top-left-radius: 0; + border-bottom-left-radius: 0; + border-top-right-radius: 4px; + border-bottom-right-radius: 4px +} + +.select2-container--default[dir="rtl"] .select2-selection--multiple .select2-selection__clear { + float: left; + margin-left: 10px; + margin-right: auto +} + +.select2-container--default.select2-container--focus .select2-selection--multiple { + border: solid black 1px; + outline: 0 +} + +.select2-container--default.select2-container--disabled .select2-selection--multiple { + background-color: #eee; + cursor: default +} + +.select2-container--default.select2-container--disabled .select2-selection__choice__remove { + display: none +} + +.select2-container--default.select2-container--open.select2-container--above .select2-selection--single, .select2-container--default.select2-container--open.select2-container--above .select2-selection--multiple { + border-top-left-radius: 0; + border-top-right-radius: 0 +} + +.select2-container--default.select2-container--open.select2-container--below .select2-selection--single, .select2-container--default.select2-container--open.select2-container--below .select2-selection--multiple { + border-bottom-left-radius: 0; + border-bottom-right-radius: 0 +} + +.select2-container--default .select2-search--dropdown .select2-search__field { + border: 1px solid #aaa +} + +.select2-container--default .select2-search--inline .select2-search__field { + background: transparent; + border: none; + outline: 0; + box-shadow: none; + -webkit-appearance: textfield +} + +.select2-container--default .select2-results > .select2-results__options { + max-height: 200px; + overflow-y: auto +} + +.select2-container--default .select2-results__option .select2-results__option { + padding-left: 1em +} + +.select2-container--default .select2-results__option .select2-results__option .select2-results__group { + padding-left: 0 +} + +.select2-container--default .select2-results__option .select2-results__option .select2-results__option { + margin-left: -1em; + padding-left: 2em +} + +.select2-container--default .select2-results__option .select2-results__option .select2-results__option .select2-results__option { + margin-left: -2em; + padding-left: 3em +} + +.select2-container--default .select2-results__option .select2-results__option .select2-results__option .select2-results__option .select2-results__option { + margin-left: -3em; + padding-left: 4em +} + +.select2-container--default .select2-results__option .select2-results__option .select2-results__option .select2-results__option .select2-results__option .select2-results__option { + margin-left: -4em; + padding-left: 5em +} + +.select2-container--default .select2-results__option .select2-results__option .select2-results__option .select2-results__option .select2-results__option .select2-results__option .select2-results__option { + margin-left: -5em; + padding-left: 6em +} + +.select2-container--default .select2-results__option--group { + padding: 0 +} + +.select2-container--default .select2-results__option--disabled { + color: #999 +} + +.select2-container--default .select2-results__option--selected { + background-color: #ddd +} + +.select2-container--default .select2-results__option--highlighted.select2-results__option--selectable { + background-color: #5897fb; + color: white +} + +.select2-container--default .select2-results__group { + cursor: default; + display: block; + padding: 6px +} + +.select2-container--classic .select2-selection--single { + background-color: #f7f7f7; + border: 1px solid #aaa; + border-radius: 4px; + outline: 0; + background-image: -webkit-linear-gradient(top, #fff 50%, #eee 100%); + background-image: -o-linear-gradient(top, #fff 50%, #eee 100%); + background-image: linear-gradient(to bottom, #fff 50%, #eee 100%); + background-repeat: repeat-x; + filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#FFFFFFFF', endColorstr='#FFEEEEEE', GradientType=0) +} + +.select2-container--classic .select2-selection--single:focus { + border: 1px solid #5897fb +} + +.select2-container--classic .select2-selection--single .select2-selection__rendered { + color: #444; + line-height: 28px +} + +.select2-container--classic .select2-selection--single .select2-selection__clear { + cursor: pointer; + float: right; + font-weight: bold; + height: 26px; + margin-right: 20px +} + +.select2-container--classic .select2-selection--single .select2-selection__placeholder { + color: #999 +} + +.select2-container--classic .select2-selection--single .select2-selection__arrow { + background-color: #ddd; + border: none; + border-left: 1px solid #aaa; + border-top-right-radius: 4px; + border-bottom-right-radius: 4px; + height: 26px; + position: absolute; + top: 1px; + right: 1px; + width: 20px; + background-image: -webkit-linear-gradient(top, #eee 50%, #ccc 100%); + background-image: -o-linear-gradient(top, #eee 50%, #ccc 100%); + background-image: linear-gradient(to bottom, #eee 50%, #ccc 100%); + background-repeat: repeat-x; + filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#FFEEEEEE', endColorstr='#FFCCCCCC', GradientType=0) +} + +.select2-container--classic .select2-selection--single .select2-selection__arrow b { + border-color: #888 transparent transparent transparent; + border-style: solid; + border-width: 5px 4px 0 4px; + height: 0; + left: 50%; + margin-left: -4px; + margin-top: -2px; + position: absolute; + top: 50%; + width: 0 +} + +.select2-container--classic[dir="rtl"] .select2-selection--single .select2-selection__clear { + float: left +} + +.select2-container--classic[dir="rtl"] .select2-selection--single .select2-selection__arrow { + border: none; + border-right: 1px solid #aaa; + border-radius: 0; + border-top-left-radius: 4px; + border-bottom-left-radius: 4px; + left: 1px; + right: auto +} + +.select2-container--classic.select2-container--open .select2-selection--single { + border: 1px solid #5897fb +} + +.select2-container--classic.select2-container--open .select2-selection--single .select2-selection__arrow { + background: transparent; + border: none +} + +.select2-container--classic.select2-container--open .select2-selection--single .select2-selection__arrow b { + border-color: transparent transparent #888 transparent; + border-width: 0 4px 5px 4px +} + +.select2-container--classic.select2-container--open.select2-container--above .select2-selection--single { + border-top: none; + border-top-left-radius: 0; + border-top-right-radius: 0; + background-image: -webkit-linear-gradient(top, #fff 0%, #eee 50%); + background-image: -o-linear-gradient(top, #fff 0%, #eee 50%); + background-image: linear-gradient(to bottom, #fff 0%, #eee 50%); + background-repeat: repeat-x; + filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#FFFFFFFF', endColorstr='#FFEEEEEE', GradientType=0) +} + +.select2-container--classic.select2-container--open.select2-container--below .select2-selection--single { + border-bottom: none; + border-bottom-left-radius: 0; + border-bottom-right-radius: 0; + background-image: -webkit-linear-gradient(top, #eee 50%, #fff 100%); + background-image: -o-linear-gradient(top, #eee 50%, #fff 100%); + background-image: linear-gradient(to bottom, #eee 50%, #fff 100%); + background-repeat: repeat-x; + filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#FFEEEEEE', endColorstr='#FFFFFFFF', GradientType=0) +} + +.select2-container--classic .select2-selection--multiple { + background-color: white; + border: 1px solid #aaa; + border-radius: 4px; + cursor: text; + outline: 0; + padding-bottom: 5px; + padding-right: 5px +} + +.select2-container--classic .select2-selection--multiple:focus { + border: 1px solid #5897fb +} + +.select2-container--classic .select2-selection--multiple .select2-selection__clear { + display: none +} + +.select2-container--classic .select2-selection--multiple .select2-selection__choice { + background-color: #e4e4e4; + border: 1px solid #aaa; + border-radius: 4px; + display: inline-block; + margin-left: 5px; + margin-top: 5px; + padding: 0 +} + +.select2-container--classic .select2-selection--multiple .select2-selection__choice__display { + cursor: default; + padding-left: 2px; + padding-right: 5px +} + +.select2-container--classic .select2-selection--multiple .select2-selection__choice__remove { + background-color: transparent; + border: none; + border-top-left-radius: 4px; + border-bottom-left-radius: 4px; + color: #888; + cursor: pointer; + font-size: 1em; + font-weight: bold; + padding: 0 4px +} + +.select2-container--classic .select2-selection--multiple .select2-selection__choice__remove:hover { + color: #555; + outline: none +} + +.select2-container--classic[dir="rtl"] .select2-selection--multiple .select2-selection__choice { + margin-left: 5px; + margin-right: auto +} + +.select2-container--classic[dir="rtl"] .select2-selection--multiple .select2-selection__choice__display { + padding-left: 5px; + padding-right: 2px +} + +.select2-container--classic[dir="rtl"] .select2-selection--multiple .select2-selection__choice__remove { + border-top-left-radius: 0; + border-bottom-left-radius: 0; + border-top-right-radius: 4px; + border-bottom-right-radius: 4px +} + +.select2-container--classic.select2-container--open .select2-selection--multiple { + border: 1px solid #5897fb +} + +.select2-container--classic.select2-container--open.select2-container--above .select2-selection--multiple { + border-top: none; + border-top-left-radius: 0; + border-top-right-radius: 0 +} + +.select2-container--classic.select2-container--open.select2-container--below .select2-selection--multiple { + border-bottom: none; + border-bottom-left-radius: 0; + border-bottom-right-radius: 0 +} + +.select2-container--classic .select2-search--dropdown .select2-search__field { + border: 1px solid #aaa; + outline: 0 +} + +.select2-container--classic .select2-search--inline .select2-search__field { + outline: 0; + box-shadow: none +} + +.select2-container--classic .select2-dropdown { + background-color: #fff; + border: 1px solid transparent +} + +.select2-container--classic .select2-dropdown--above { + border-bottom: none +} + +.select2-container--classic .select2-dropdown--below { + border-top: none +} + +.select2-container--classic .select2-results > .select2-results__options { + max-height: 200px; + overflow-y: auto +} + +.select2-container--classic .select2-results__option--group { + padding: 0 +} + +.select2-container--classic .select2-results__option--disabled { + color: grey +} + +.select2-container--classic .select2-results__option--highlighted.select2-results__option--selectable { + background-color: #3875d7; + color: #fff +} + +.select2-container--classic .select2-results__group { + cursor: default; + display: block; + padding: 6px +} + +.select2-container--classic.select2-container--open .select2-dropdown { + border-color: #5897fb +} diff --git a/src/yunding/static/images/QQ-weixin.png b/src/yunding/static/images/QQ-weixin.png new file mode 100644 index 0000000..585bd64 Binary files /dev/null and b/src/yunding/static/images/QQ-weixin.png differ diff --git a/src/yunding/static/images/adv01.jpg b/src/yunding/static/images/adv01.jpg new file mode 100644 index 0000000..0d5d675 Binary files /dev/null and b/src/yunding/static/images/adv01.jpg differ diff --git a/src/yunding/static/images/adv02.jpg b/src/yunding/static/images/adv02.jpg new file mode 100644 index 0000000..8a1ff01 Binary files /dev/null and b/src/yunding/static/images/adv02.jpg differ diff --git a/src/yunding/static/images/arrow.png b/src/yunding/static/images/arrow.png new file mode 100644 index 0000000..28adbc5 Binary files /dev/null and b/src/yunding/static/images/arrow.png differ diff --git a/src/yunding/static/images/banner01.jpg b/src/yunding/static/images/banner01.jpg new file mode 100644 index 0000000..28b524e Binary files /dev/null and b/src/yunding/static/images/banner01.jpg differ diff --git a/src/yunding/static/images/banner02.jpg b/src/yunding/static/images/banner02.jpg new file mode 100644 index 0000000..cad053a Binary files /dev/null and b/src/yunding/static/images/banner02.jpg differ diff --git a/src/yunding/static/images/banner03.jpg b/src/yunding/static/images/banner03.jpg new file mode 100644 index 0000000..d40f641 Binary files /dev/null and b/src/yunding/static/images/banner03.jpg differ diff --git a/src/yunding/static/images/bar_code.jpg b/src/yunding/static/images/bar_code.jpg new file mode 100644 index 0000000..d43c5f2 Binary files /dev/null and b/src/yunding/static/images/bar_code.jpg differ diff --git a/src/yunding/static/images/cat.jpg b/src/yunding/static/images/cat.jpg new file mode 100644 index 0000000..dea696d Binary files /dev/null and b/src/yunding/static/images/cat.jpg differ diff --git a/src/yunding/static/images/clock.jpeg b/src/yunding/static/images/clock.jpeg new file mode 100644 index 0000000..a68e8c0 Binary files /dev/null and b/src/yunding/static/images/clock.jpeg differ diff --git a/src/yunding/static/images/clock.jpg b/src/yunding/static/images/clock.jpg new file mode 100644 index 0000000..d45541c Binary files /dev/null and b/src/yunding/static/images/clock.jpg differ diff --git a/src/yunding/static/images/down.png b/src/yunding/static/images/down.png new file mode 100644 index 0000000..25074be Binary files /dev/null and b/src/yunding/static/images/down.png differ diff --git a/src/yunding/static/images/edit.png b/src/yunding/static/images/edit.png new file mode 100644 index 0000000..a47d342 Binary files /dev/null and b/src/yunding/static/images/edit.png differ diff --git a/src/yunding/static/images/find-password.png b/src/yunding/static/images/find-password.png new file mode 100644 index 0000000..58ba567 Binary files /dev/null and b/src/yunding/static/images/find-password.png differ diff --git a/src/yunding/static/images/goods/2023091320563381852111.jpg b/src/yunding/static/images/goods/2023091320563381852111.jpg new file mode 100644 index 0000000..2e48891 Binary files /dev/null and b/src/yunding/static/images/goods/2023091320563381852111.jpg differ diff --git a/src/yunding/static/images/goods/2023091321004072141711.jpg b/src/yunding/static/images/goods/2023091321004072141711.jpg new file mode 100644 index 0000000..2e48891 Binary files /dev/null and b/src/yunding/static/images/goods/2023091321004072141711.jpg differ diff --git a/src/yunding/static/images/goods/2023091321092651814211.jpg b/src/yunding/static/images/goods/2023091321092651814211.jpg new file mode 100644 index 0000000..2e48891 Binary files /dev/null and b/src/yunding/static/images/goods/2023091321092651814211.jpg differ diff --git a/src/yunding/static/images/goods/2023091321240359283211.jpg b/src/yunding/static/images/goods/2023091321240359283211.jpg new file mode 100644 index 0000000..2e48891 Binary files /dev/null and b/src/yunding/static/images/goods/2023091321240359283211.jpg differ diff --git a/src/yunding/static/images/goods/2023091321485837255411.jpg b/src/yunding/static/images/goods/2023091321485837255411.jpg new file mode 100644 index 0000000..2e48891 Binary files /dev/null and b/src/yunding/static/images/goods/2023091321485837255411.jpg differ diff --git a/src/yunding/static/images/goods/2023091321523970457111.jpg b/src/yunding/static/images/goods/2023091321523970457111.jpg new file mode 100644 index 0000000..2e48891 Binary files /dev/null and b/src/yunding/static/images/goods/2023091321523970457111.jpg differ diff --git a/src/yunding/static/images/goods/2023091321544752463611.jpg b/src/yunding/static/images/goods/2023091321544752463611.jpg new file mode 100644 index 0000000..2e48891 Binary files /dev/null and b/src/yunding/static/images/goods/2023091321544752463611.jpg differ diff --git a/src/yunding/static/images/goods/2023091321575845139011.jpg b/src/yunding/static/images/goods/2023091321575845139011.jpg new file mode 100644 index 0000000..2e48891 Binary files /dev/null and b/src/yunding/static/images/goods/2023091321575845139011.jpg differ diff --git a/src/yunding/static/images/goods/2023091322013633091411.jpg b/src/yunding/static/images/goods/2023091322013633091411.jpg new file mode 100644 index 0000000..2e48891 Binary files /dev/null and b/src/yunding/static/images/goods/2023091322013633091411.jpg differ diff --git a/src/yunding/static/images/goods/2023091322375686695111.jpg b/src/yunding/static/images/goods/2023091322375686695111.jpg new file mode 100644 index 0000000..2e48891 Binary files /dev/null and b/src/yunding/static/images/goods/2023091322375686695111.jpg differ diff --git a/src/yunding/static/images/goods/2023092618415125040611.jpg b/src/yunding/static/images/goods/2023092618415125040611.jpg new file mode 100644 index 0000000..2e48891 Binary files /dev/null and b/src/yunding/static/images/goods/2023092618415125040611.jpg differ diff --git a/src/yunding/static/images/goods/2023092714081354843411.jpg b/src/yunding/static/images/goods/2023092714081354843411.jpg new file mode 100644 index 0000000..2e48891 Binary files /dev/null and b/src/yunding/static/images/goods/2023092714081354843411.jpg differ diff --git a/src/yunding/static/images/goods/2023092714081676673211.jpg b/src/yunding/static/images/goods/2023092714081676673211.jpg new file mode 100644 index 0000000..2e48891 Binary files /dev/null and b/src/yunding/static/images/goods/2023092714081676673211.jpg differ diff --git a/src/yunding/static/images/goods/2023092714453099529511.jpg b/src/yunding/static/images/goods/2023092714453099529511.jpg new file mode 100644 index 0000000..2e48891 Binary files /dev/null and b/src/yunding/static/images/goods/2023092714453099529511.jpg differ diff --git a/src/yunding/static/images/goods/2023092714461701954011.jpg b/src/yunding/static/images/goods/2023092714461701954011.jpg new file mode 100644 index 0000000..2e48891 Binary files /dev/null and b/src/yunding/static/images/goods/2023092714461701954011.jpg differ diff --git a/src/yunding/static/images/goods/2023092714471014647311.jpg b/src/yunding/static/images/goods/2023092714471014647311.jpg new file mode 100644 index 0000000..2e48891 Binary files /dev/null and b/src/yunding/static/images/goods/2023092714471014647311.jpg differ diff --git a/src/yunding/static/images/goods/2023092714472113231111.jpg b/src/yunding/static/images/goods/2023092714472113231111.jpg new file mode 100644 index 0000000..2e48891 Binary files /dev/null and b/src/yunding/static/images/goods/2023092714472113231111.jpg differ diff --git a/src/yunding/static/images/goods/2023092714475508819311.jpg b/src/yunding/static/images/goods/2023092714475508819311.jpg new file mode 100644 index 0000000..2e48891 Binary files /dev/null and b/src/yunding/static/images/goods/2023092714475508819311.jpg differ diff --git a/src/yunding/static/images/goods/2023092714562294167611.jpg b/src/yunding/static/images/goods/2023092714562294167611.jpg new file mode 100644 index 0000000..2e48891 Binary files /dev/null and b/src/yunding/static/images/goods/2023092714562294167611.jpg differ diff --git a/src/yunding/static/images/goods/2023092715390103111811.jpg b/src/yunding/static/images/goods/2023092715390103111811.jpg new file mode 100644 index 0000000..2e48891 Binary files /dev/null and b/src/yunding/static/images/goods/2023092715390103111811.jpg differ diff --git a/src/yunding/static/images/goods/2023092715442157035211.jpg b/src/yunding/static/images/goods/2023092715442157035211.jpg new file mode 100644 index 0000000..2e48891 Binary files /dev/null and b/src/yunding/static/images/goods/2023092715442157035211.jpg differ diff --git a/src/yunding/static/images/goods/2023092715481784672211.jpg b/src/yunding/static/images/goods/2023092715481784672211.jpg new file mode 100644 index 0000000..2e48891 Binary files /dev/null and b/src/yunding/static/images/goods/2023092715481784672211.jpg differ diff --git a/src/yunding/static/images/goods/2023092715584085200911.jpg b/src/yunding/static/images/goods/2023092715584085200911.jpg new file mode 100644 index 0000000..2e48891 Binary files /dev/null and b/src/yunding/static/images/goods/2023092715584085200911.jpg differ diff --git a/src/yunding/static/images/goods/2023092716041461321011.jpg b/src/yunding/static/images/goods/2023092716041461321011.jpg new file mode 100644 index 0000000..2e48891 Binary files /dev/null and b/src/yunding/static/images/goods/2023092716041461321011.jpg differ diff --git a/src/yunding/static/images/goods/2023092716105307374411.jpg b/src/yunding/static/images/goods/2023092716105307374411.jpg new file mode 100644 index 0000000..2e48891 Binary files /dev/null and b/src/yunding/static/images/goods/2023092716105307374411.jpg differ diff --git a/src/yunding/static/images/goods/2023092716174272172911.jpg b/src/yunding/static/images/goods/2023092716174272172911.jpg new file mode 100644 index 0000000..2e48891 Binary files /dev/null and b/src/yunding/static/images/goods/2023092716174272172911.jpg differ diff --git a/src/yunding/static/images/goods/2023092717410934109211.jpg b/src/yunding/static/images/goods/2023092717410934109211.jpg new file mode 100644 index 0000000..2e48891 Binary files /dev/null and b/src/yunding/static/images/goods/2023092717410934109211.jpg differ diff --git a/src/yunding/static/images/goods/2023092717554275630311.jpg b/src/yunding/static/images/goods/2023092717554275630311.jpg new file mode 100644 index 0000000..2e48891 Binary files /dev/null and b/src/yunding/static/images/goods/2023092717554275630311.jpg differ diff --git a/src/yunding/static/images/goods/2023092717575258991111.jpg b/src/yunding/static/images/goods/2023092717575258991111.jpg new file mode 100644 index 0000000..2e48891 Binary files /dev/null and b/src/yunding/static/images/goods/2023092717575258991111.jpg differ diff --git a/src/yunding/static/images/goods/2023092718013622522811.jpg b/src/yunding/static/images/goods/2023092718013622522811.jpg new file mode 100644 index 0000000..2e48891 Binary files /dev/null and b/src/yunding/static/images/goods/2023092718013622522811.jpg differ diff --git a/src/yunding/static/images/goods/2023092718150540182111.jpg b/src/yunding/static/images/goods/2023092718150540182111.jpg new file mode 100644 index 0000000..2e48891 Binary files /dev/null and b/src/yunding/static/images/goods/2023092718150540182111.jpg differ diff --git a/src/yunding/static/images/goods/2023092718435538708911.jpg b/src/yunding/static/images/goods/2023092718435538708911.jpg new file mode 100644 index 0000000..2e48891 Binary files /dev/null and b/src/yunding/static/images/goods/2023092718435538708911.jpg differ diff --git a/src/yunding/static/images/goods/2023092718582744890411.jpg b/src/yunding/static/images/goods/2023092718582744890411.jpg new file mode 100644 index 0000000..2e48891 Binary files /dev/null and b/src/yunding/static/images/goods/2023092718582744890411.jpg differ diff --git a/src/yunding/static/images/goods/2023092719013262663811.jpg b/src/yunding/static/images/goods/2023092719013262663811.jpg new file mode 100644 index 0000000..2e48891 Binary files /dev/null and b/src/yunding/static/images/goods/2023092719013262663811.jpg differ diff --git a/src/yunding/static/images/goods/2023092720151090688111.jpg b/src/yunding/static/images/goods/2023092720151090688111.jpg new file mode 100644 index 0000000..2e48891 Binary files /dev/null and b/src/yunding/static/images/goods/2023092720151090688111.jpg differ diff --git a/src/yunding/static/images/goods/20231017214229.jpg b/src/yunding/static/images/goods/20231017214229.jpg new file mode 100644 index 0000000..17a1508 Binary files /dev/null and b/src/yunding/static/images/goods/20231017214229.jpg differ diff --git a/src/yunding/static/images/goods/20231017214359.jpg b/src/yunding/static/images/goods/20231017214359.jpg new file mode 100644 index 0000000..97bb67c Binary files /dev/null and b/src/yunding/static/images/goods/20231017214359.jpg differ diff --git a/src/yunding/static/images/goods/20231017214409.jpg b/src/yunding/static/images/goods/20231017214409.jpg new file mode 100644 index 0000000..7cd5da6 Binary files /dev/null and b/src/yunding/static/images/goods/20231017214409.jpg differ diff --git a/src/yunding/static/images/goods/20231017214420.jpg b/src/yunding/static/images/goods/20231017214420.jpg new file mode 100644 index 0000000..09f2908 Binary files /dev/null and b/src/yunding/static/images/goods/20231017214420.jpg differ diff --git a/src/yunding/static/images/goods/20231017214607.jpg b/src/yunding/static/images/goods/20231017214607.jpg new file mode 100644 index 0000000..e0d95db Binary files /dev/null and b/src/yunding/static/images/goods/20231017214607.jpg differ diff --git a/src/yunding/static/images/goods/20231018105004.jpg b/src/yunding/static/images/goods/20231018105004.jpg new file mode 100644 index 0000000..e4f1416 Binary files /dev/null and b/src/yunding/static/images/goods/20231018105004.jpg differ diff --git a/src/yunding/static/images/goods/20231018111713.jpg b/src/yunding/static/images/goods/20231018111713.jpg new file mode 100644 index 0000000..8dcd244 Binary files /dev/null and b/src/yunding/static/images/goods/20231018111713.jpg differ diff --git a/src/yunding/static/images/goods/20231018113843.jpg b/src/yunding/static/images/goods/20231018113843.jpg new file mode 100644 index 0000000..49b6a15 Binary files /dev/null and b/src/yunding/static/images/goods/20231018113843.jpg differ diff --git a/src/yunding/static/images/goods/202311151611442260973.webp b/src/yunding/static/images/goods/202311151611442260973.webp new file mode 100644 index 0000000..fe90d34 Binary files /dev/null and b/src/yunding/static/images/goods/202311151611442260973.webp differ diff --git a/src/yunding/static/images/goods/CtM3BVni03-ANUDwAAAmv27pX4k9203075.jpg b/src/yunding/static/images/goods/CtM3BVni03-ANUDwAAAmv27pX4k9203075.jpg new file mode 100644 index 0000000..c955728 Binary files /dev/null and b/src/yunding/static/images/goods/CtM3BVni03-ANUDwAAAmv27pX4k9203075.jpg differ diff --git a/src/yunding/static/images/goods/CtM3BVni0w6AUaJbAAAmv27pX4k0365964.jpg b/src/yunding/static/images/goods/CtM3BVni0w6AUaJbAAAmv27pX4k0365964.jpg new file mode 100644 index 0000000..c955728 Binary files /dev/null and b/src/yunding/static/images/goods/CtM3BVni0w6AUaJbAAAmv27pX4k0365964.jpg differ diff --git a/src/yunding/static/images/goods/CtM3BVni1H2ARPiXAAAmv27pX4k6813735.jpg b/src/yunding/static/images/goods/CtM3BVni1H2ARPiXAAAmv27pX4k6813735.jpg new file mode 100644 index 0000000..c955728 Binary files /dev/null and b/src/yunding/static/images/goods/CtM3BVni1H2ARPiXAAAmv27pX4k6813735.jpg differ diff --git a/src/yunding/static/images/goods/CtM3BVni1ROAfEx_AABHr3RQqFs9725322.jpg b/src/yunding/static/images/goods/CtM3BVni1ROAfEx_AABHr3RQqFs9725322.jpg new file mode 100644 index 0000000..17cfe2e Binary files /dev/null and b/src/yunding/static/images/goods/CtM3BVni1ROAfEx_AABHr3RQqFs9725322.jpg differ diff --git a/src/yunding/static/images/goods/CtM3BVni1SWAIoj7AAAy1Tlm9So3453860.jpg b/src/yunding/static/images/goods/CtM3BVni1SWAIoj7AAAy1Tlm9So3453860.jpg new file mode 100644 index 0000000..89cff65 Binary files /dev/null and b/src/yunding/static/images/goods/CtM3BVni1SWAIoj7AAAy1Tlm9So3453860.jpg differ diff --git a/src/yunding/static/images/goods/CtM3BVni1TyAYcUMAAAqR4DoSUg6268631.jpg b/src/yunding/static/images/goods/CtM3BVni1TyAYcUMAAAqR4DoSUg6268631.jpg new file mode 100644 index 0000000..e1de2f9 Binary files /dev/null and b/src/yunding/static/images/goods/CtM3BVni1TyAYcUMAAAqR4DoSUg6268631.jpg differ diff --git a/src/yunding/static/images/goods/CtM3BVni1UyAa0zLAAA-0ZoYkpM0253895.jpg b/src/yunding/static/images/goods/CtM3BVni1UyAa0zLAAA-0ZoYkpM0253895.jpg new file mode 100644 index 0000000..d077869 Binary files /dev/null and b/src/yunding/static/images/goods/CtM3BVni1UyAa0zLAAA-0ZoYkpM0253895.jpg differ diff --git a/src/yunding/static/images/goods/CtM3BVni1VqAWa8fAAA3sZPrVzQ4050337.jpg b/src/yunding/static/images/goods/CtM3BVni1VqAWa8fAAA3sZPrVzQ4050337.jpg new file mode 100644 index 0000000..dee6f2b Binary files /dev/null and b/src/yunding/static/images/goods/CtM3BVni1VqAWa8fAAA3sZPrVzQ4050337.jpg differ diff --git a/src/yunding/static/images/goods/CtM3BVni4PqACMLaAAAljHPuXJg1468332.jpg b/src/yunding/static/images/goods/CtM3BVni4PqACMLaAAAljHPuXJg1468332.jpg new file mode 100644 index 0000000..cb4898d Binary files /dev/null and b/src/yunding/static/images/goods/CtM3BVni4PqACMLaAAAljHPuXJg1468332.jpg differ diff --git a/src/yunding/static/images/goods/CtM3BVni4RWAUSg1AAAljHPuXJg3689968.jpg b/src/yunding/static/images/goods/CtM3BVni4RWAUSg1AAAljHPuXJg3689968.jpg new file mode 100644 index 0000000..cb4898d Binary files /dev/null and b/src/yunding/static/images/goods/CtM3BVni4RWAUSg1AAAljHPuXJg3689968.jpg differ diff --git a/src/yunding/static/images/goods/CtM3BVni4SCANYeOAAAiQjDS7wA6251295.jpg b/src/yunding/static/images/goods/CtM3BVni4SCANYeOAAAiQjDS7wA6251295.jpg new file mode 100644 index 0000000..224ef0c Binary files /dev/null and b/src/yunding/static/images/goods/CtM3BVni4SCANYeOAAAiQjDS7wA6251295.jpg differ diff --git a/src/yunding/static/images/goods/CtM3BVni4TGAfX5nAAAiQjDS7wA3589312.jpg b/src/yunding/static/images/goods/CtM3BVni4TGAfX5nAAAiQjDS7wA3589312.jpg new file mode 100644 index 0000000..224ef0c Binary files /dev/null and b/src/yunding/static/images/goods/CtM3BVni4TGAfX5nAAAiQjDS7wA3589312.jpg differ diff --git a/src/yunding/static/images/goods/CtM3BVni4TqAba-sAAAlcPqsn-E1949836.jpg b/src/yunding/static/images/goods/CtM3BVni4TqAba-sAAAlcPqsn-E1949836.jpg new file mode 100644 index 0000000..dcaeb88 Binary files /dev/null and b/src/yunding/static/images/goods/CtM3BVni4TqAba-sAAAlcPqsn-E1949836.jpg differ diff --git a/src/yunding/static/images/goods/CtM3BVni4U-AH41LAAA5OS4Kl4c6164095.jpg b/src/yunding/static/images/goods/CtM3BVni4U-AH41LAAA5OS4Kl4c6164095.jpg new file mode 100644 index 0000000..4b06713 Binary files /dev/null and b/src/yunding/static/images/goods/CtM3BVni4U-AH41LAAA5OS4Kl4c6164095.jpg differ diff --git a/src/yunding/static/images/goods/CtM3BVni4UKAHm0pAAAcye9XGMY2558687.jpg b/src/yunding/static/images/goods/CtM3BVni4UKAHm0pAAAcye9XGMY2558687.jpg new file mode 100644 index 0000000..6e48f65 Binary files /dev/null and b/src/yunding/static/images/goods/CtM3BVni4UKAHm0pAAAcye9XGMY2558687.jpg differ diff --git a/src/yunding/static/images/goods/CtM3BVni4ViARMz3AAA5OS4Kl4c1615509.jpg b/src/yunding/static/images/goods/CtM3BVni4ViARMz3AAA5OS4Kl4c1615509.jpg new file mode 100644 index 0000000..4b06713 Binary files /dev/null and b/src/yunding/static/images/goods/CtM3BVni4ViARMz3AAA5OS4Kl4c1615509.jpg differ diff --git a/src/yunding/static/images/goods/CtM3BVni4WaAHD9RAAAkaP_7_185031909.jpg b/src/yunding/static/images/goods/CtM3BVni4WaAHD9RAAAkaP_7_185031909.jpg new file mode 100644 index 0000000..30e71d9 Binary files /dev/null and b/src/yunding/static/images/goods/CtM3BVni4WaAHD9RAAAkaP_7_185031909.jpg differ diff --git a/src/yunding/static/images/goods/CtM3BVni4XGACrEwAAAk8WCqqmI7993303.jpg b/src/yunding/static/images/goods/CtM3BVni4XGACrEwAAAk8WCqqmI7993303.jpg new file mode 100644 index 0000000..e95cd54 Binary files /dev/null and b/src/yunding/static/images/goods/CtM3BVni4XGACrEwAAAk8WCqqmI7993303.jpg differ diff --git a/src/yunding/static/images/goods/CtM3BVni4YCAJ_TWAAAk8WCqqmI1553113.jpg b/src/yunding/static/images/goods/CtM3BVni4YCAJ_TWAAAk8WCqqmI1553113.jpg new file mode 100644 index 0000000..e95cd54 Binary files /dev/null and b/src/yunding/static/images/goods/CtM3BVni4YCAJ_TWAAAk8WCqqmI1553113.jpg differ diff --git a/src/yunding/static/images/goods/CtM3BVni4YuAabKfAAAm3lfXL-Q8822022.jpg b/src/yunding/static/images/goods/CtM3BVni4YuAabKfAAAm3lfXL-Q8822022.jpg new file mode 100644 index 0000000..acec09b Binary files /dev/null and b/src/yunding/static/images/goods/CtM3BVni4YuAabKfAAAm3lfXL-Q8822022.jpg differ diff --git a/src/yunding/static/images/goods/CtM3BVni4ZaAez-MAAAh4Laa9PM7646087.jpg b/src/yunding/static/images/goods/CtM3BVni4ZaAez-MAAAh4Laa9PM7646087.jpg new file mode 100644 index 0000000..c411644 Binary files /dev/null and b/src/yunding/static/images/goods/CtM3BVni4ZaAez-MAAAh4Laa9PM7646087.jpg differ diff --git a/src/yunding/static/images/goods/CtM3BVni4a2ALjxZAAAgbU6nbaA7730942.jpg b/src/yunding/static/images/goods/CtM3BVni4a2ALjxZAAAgbU6nbaA7730942.jpg new file mode 100644 index 0000000..1703b55 Binary files /dev/null and b/src/yunding/static/images/goods/CtM3BVni4a2ALjxZAAAgbU6nbaA7730942.jpg differ diff --git a/src/yunding/static/images/goods/CtM3BVni4aGAVKp-AAAcLRyfMSc3869171.jpg b/src/yunding/static/images/goods/CtM3BVni4aGAVKp-AAAcLRyfMSc3869171.jpg new file mode 100644 index 0000000..15d8f74 Binary files /dev/null and b/src/yunding/static/images/goods/CtM3BVni4aGAVKp-AAAcLRyfMSc3869171.jpg differ diff --git a/src/yunding/static/images/goods/CtM3BVni4buAbh7TAAAk0DN4-yE7181890.jpg b/src/yunding/static/images/goods/CtM3BVni4buAbh7TAAAk0DN4-yE7181890.jpg new file mode 100644 index 0000000..11dbd19 Binary files /dev/null and b/src/yunding/static/images/goods/CtM3BVni4buAbh7TAAAk0DN4-yE7181890.jpg differ diff --git a/src/yunding/static/images/goods/CtM3BVni4cWAS_vDAAAgbU6nbaA6752770.jpg b/src/yunding/static/images/goods/CtM3BVni4cWAS_vDAAAgbU6nbaA6752770.jpg new file mode 100644 index 0000000..1703b55 Binary files /dev/null and b/src/yunding/static/images/goods/CtM3BVni4cWAS_vDAAAgbU6nbaA6752770.jpg differ diff --git a/src/yunding/static/images/goods/CtM3BVni4dCAVMHIAAAljHPuXJg4167162.jpg b/src/yunding/static/images/goods/CtM3BVni4dCAVMHIAAAljHPuXJg4167162.jpg new file mode 100644 index 0000000..cb4898d Binary files /dev/null and b/src/yunding/static/images/goods/CtM3BVni4dCAVMHIAAAljHPuXJg4167162.jpg differ diff --git a/src/yunding/static/images/goods/CtM3BVni4dqAIsICAAAgnaeGwNQ6575764.jpg b/src/yunding/static/images/goods/CtM3BVni4dqAIsICAAAgnaeGwNQ6575764.jpg new file mode 100644 index 0000000..6376c1e Binary files /dev/null and b/src/yunding/static/images/goods/CtM3BVni4dqAIsICAAAgnaeGwNQ6575764.jpg differ diff --git a/src/yunding/static/images/goods/CtM3BVni4e6Ab-3NAAAhst2hSFQ9636452.jpg b/src/yunding/static/images/goods/CtM3BVni4e6Ab-3NAAAhst2hSFQ9636452.jpg new file mode 100644 index 0000000..75499d8 Binary files /dev/null and b/src/yunding/static/images/goods/CtM3BVni4e6Ab-3NAAAhst2hSFQ9636452.jpg differ diff --git a/src/yunding/static/images/goods/CtM3BVni4eOAO5mhAAAeuLYy0pU4760038.jpg b/src/yunding/static/images/goods/CtM3BVni4eOAO5mhAAAeuLYy0pU4760038.jpg new file mode 100644 index 0000000..fa5b8ae Binary files /dev/null and b/src/yunding/static/images/goods/CtM3BVni4eOAO5mhAAAeuLYy0pU4760038.jpg differ diff --git a/src/yunding/static/images/goods/CtM3BVni4fiAXE0yAAAjjiYTEkw2650236.jpg b/src/yunding/static/images/goods/CtM3BVni4fiAXE0yAAAjjiYTEkw2650236.jpg new file mode 100644 index 0000000..fa756d8 Binary files /dev/null and b/src/yunding/static/images/goods/CtM3BVni4fiAXE0yAAAjjiYTEkw2650236.jpg differ diff --git a/src/yunding/static/images/goods/CtM3BVni4gKARJTGAAAgbU6nbaA5561664.jpg b/src/yunding/static/images/goods/CtM3BVni4gKARJTGAAAgbU6nbaA5561664.jpg new file mode 100644 index 0000000..1703b55 Binary files /dev/null and b/src/yunding/static/images/goods/CtM3BVni4gKARJTGAAAgbU6nbaA5561664.jpg differ diff --git a/src/yunding/static/images/goods/CtM3BVni4guAc1euAAAaabPqzqc7740396.jpg b/src/yunding/static/images/goods/CtM3BVni4guAc1euAAAaabPqzqc7740396.jpg new file mode 100644 index 0000000..cacef35 Binary files /dev/null and b/src/yunding/static/images/goods/CtM3BVni4guAc1euAAAaabPqzqc7740396.jpg differ diff --git a/src/yunding/static/images/goods/CtM3BVni4hWAcG7CAAAk0DN4-yE6832955.jpg b/src/yunding/static/images/goods/CtM3BVni4hWAcG7CAAAk0DN4-yE6832955.jpg new file mode 100644 index 0000000..11dbd19 Binary files /dev/null and b/src/yunding/static/images/goods/CtM3BVni4hWAcG7CAAAk0DN4-yE6832955.jpg differ diff --git a/src/yunding/static/images/goods/CtM3BVni4iKAVdn-AAAlcPqsn-E3729896.jpg b/src/yunding/static/images/goods/CtM3BVni4iKAVdn-AAAlcPqsn-E3729896.jpg new file mode 100644 index 0000000..dcaeb88 Binary files /dev/null and b/src/yunding/static/images/goods/CtM3BVni4iKAVdn-AAAlcPqsn-E3729896.jpg differ diff --git a/src/yunding/static/images/goods/CtM3BVni4iyANvs2AAAjjiYTEkw0225364.jpg b/src/yunding/static/images/goods/CtM3BVni4iyANvs2AAAjjiYTEkw0225364.jpg new file mode 100644 index 0000000..fa756d8 Binary files /dev/null and b/src/yunding/static/images/goods/CtM3BVni4iyANvs2AAAjjiYTEkw0225364.jpg differ diff --git a/src/yunding/static/images/goods/CtM3BVni4pyAGnYPAACpB-LsCdE6899184.jpg b/src/yunding/static/images/goods/CtM3BVni4pyAGnYPAACpB-LsCdE6899184.jpg new file mode 100644 index 0000000..a07ffb9 Binary files /dev/null and b/src/yunding/static/images/goods/CtM3BVni4pyAGnYPAACpB-LsCdE6899184.jpg differ diff --git a/src/yunding/static/images/goods/CtM3BVni4q-AXPBgAAC3B-z8J2c3845825.jpg b/src/yunding/static/images/goods/CtM3BVni4q-AXPBgAAC3B-z8J2c3845825.jpg new file mode 100644 index 0000000..f673313 Binary files /dev/null and b/src/yunding/static/images/goods/CtM3BVni4q-AXPBgAAC3B-z8J2c3845825.jpg differ diff --git a/src/yunding/static/images/goods/CtM3BVni4s6AH_heAAD0akkXmFo7197106.jpg b/src/yunding/static/images/goods/CtM3BVni4s6AH_heAAD0akkXmFo7197106.jpg new file mode 100644 index 0000000..27ea124 Binary files /dev/null and b/src/yunding/static/images/goods/CtM3BVni4s6AH_heAAD0akkXmFo7197106.jpg differ diff --git a/src/yunding/static/images/goods/CtM3BVni4sCAJlzHAAETwXb_pso9622268.jpg b/src/yunding/static/images/goods/CtM3BVni4sCAJlzHAAETwXb_pso9622268.jpg new file mode 100644 index 0000000..7f3c749 Binary files /dev/null and b/src/yunding/static/images/goods/CtM3BVni4sCAJlzHAAETwXb_pso9622268.jpg differ diff --git a/src/yunding/static/images/goods/CtM3BVni4waAWINiAAA2pLUeB603197770.jpg b/src/yunding/static/images/goods/CtM3BVni4waAWINiAAA2pLUeB603197770.jpg new file mode 100644 index 0000000..70bac68 Binary files /dev/null and b/src/yunding/static/images/goods/CtM3BVni4waAWINiAAA2pLUeB603197770.jpg differ diff --git a/src/yunding/static/images/goods/CtM3BVni4yuAQDojAAA98yvCs1I2335551.jpg b/src/yunding/static/images/goods/CtM3BVni4yuAQDojAAA98yvCs1I2335551.jpg new file mode 100644 index 0000000..bdc1028 Binary files /dev/null and b/src/yunding/static/images/goods/CtM3BVni4yuAQDojAAA98yvCs1I2335551.jpg differ diff --git a/src/yunding/static/images/goods/CtM3BVni7B2AWoZHAAAcye9XGMY3943711.jpg b/src/yunding/static/images/goods/CtM3BVni7B2AWoZHAAAcye9XGMY3943711.jpg new file mode 100644 index 0000000..6e48f65 Binary files /dev/null and b/src/yunding/static/images/goods/CtM3BVni7B2AWoZHAAAcye9XGMY3943711.jpg differ diff --git a/src/yunding/static/images/goods/CtM3BVni7BGAdISWAAAk8WCqqmI4984605.jpg b/src/yunding/static/images/goods/CtM3BVni7BGAdISWAAAk8WCqqmI4984605.jpg new file mode 100644 index 0000000..e95cd54 Binary files /dev/null and b/src/yunding/static/images/goods/CtM3BVni7BGAdISWAAAk8WCqqmI4984605.jpg differ diff --git a/src/yunding/static/images/goods/CtM3BVni7CiAXNUOAAAh4Laa9PM5678134.jpg b/src/yunding/static/images/goods/CtM3BVni7CiAXNUOAAAh4Laa9PM5678134.jpg new file mode 100644 index 0000000..c411644 Binary files /dev/null and b/src/yunding/static/images/goods/CtM3BVni7CiAXNUOAAAh4Laa9PM5678134.jpg differ diff --git a/src/yunding/static/images/goods/CtM3BVni7DGALEA2AAAm3lfXL-Q0269639.jpg b/src/yunding/static/images/goods/CtM3BVni7DGALEA2AAAm3lfXL-Q0269639.jpg new file mode 100644 index 0000000..acec09b Binary files /dev/null and b/src/yunding/static/images/goods/CtM3BVni7DGALEA2AAAm3lfXL-Q0269639.jpg differ diff --git a/src/yunding/static/images/goods/CtM3BVni7DmAb7KhAAAh4Laa9PM5050331.jpg b/src/yunding/static/images/goods/CtM3BVni7DmAb7KhAAAh4Laa9PM5050331.jpg new file mode 100644 index 0000000..c411644 Binary files /dev/null and b/src/yunding/static/images/goods/CtM3BVni7DmAb7KhAAAh4Laa9PM5050331.jpg differ diff --git a/src/yunding/static/images/goods/CtM3BVni7EGAXg0mAAAZxC0XRLc9727640.jpg b/src/yunding/static/images/goods/CtM3BVni7EGAXg0mAAAZxC0XRLc9727640.jpg new file mode 100644 index 0000000..b5ec823 Binary files /dev/null and b/src/yunding/static/images/goods/CtM3BVni7EGAXg0mAAAZxC0XRLc9727640.jpg differ diff --git a/src/yunding/static/images/goods/CtM3BVni7EmAcGLwAAAeuLYy0pU6703666.jpg b/src/yunding/static/images/goods/CtM3BVni7EmAcGLwAAAeuLYy0pU6703666.jpg new file mode 100644 index 0000000..fa5b8ae Binary files /dev/null and b/src/yunding/static/images/goods/CtM3BVni7EmAcGLwAAAeuLYy0pU6703666.jpg differ diff --git a/src/yunding/static/images/goods/CtM3BVni7F-AAshaAAAeuLYy0pU7347714.jpg b/src/yunding/static/images/goods/CtM3BVni7F-AAshaAAAeuLYy0pU7347714.jpg new file mode 100644 index 0000000..fa5b8ae Binary files /dev/null and b/src/yunding/static/images/goods/CtM3BVni7F-AAshaAAAeuLYy0pU7347714.jpg differ diff --git a/src/yunding/static/images/goods/CtM3BVni7FCASUjFAAAcLRyfMSc1537560.jpg b/src/yunding/static/images/goods/CtM3BVni7FCASUjFAAAcLRyfMSc1537560.jpg new file mode 100644 index 0000000..15d8f74 Binary files /dev/null and b/src/yunding/static/images/goods/CtM3BVni7FCASUjFAAAcLRyfMSc1537560.jpg differ diff --git a/src/yunding/static/images/goods/CtM3BVni7FiAV466AAAljHPuXJg3105869.jpg b/src/yunding/static/images/goods/CtM3BVni7FiAV466AAAljHPuXJg3105869.jpg new file mode 100644 index 0000000..cb4898d Binary files /dev/null and b/src/yunding/static/images/goods/CtM3BVni7FiAV466AAAljHPuXJg3105869.jpg differ diff --git a/src/yunding/static/images/goods/CtM3BVni7HKAYCVyAAAWnwO6wpU6989636.jpg b/src/yunding/static/images/goods/CtM3BVni7HKAYCVyAAAWnwO6wpU6989636.jpg new file mode 100644 index 0000000..08ae35e Binary files /dev/null and b/src/yunding/static/images/goods/CtM3BVni7HKAYCVyAAAWnwO6wpU6989636.jpg differ diff --git a/src/yunding/static/images/goods/CtM3BVni7HyAeN4xAAAh4Laa9PM0401987.jpg b/src/yunding/static/images/goods/CtM3BVni7HyAeN4xAAAh4Laa9PM0401987.jpg new file mode 100644 index 0000000..c411644 Binary files /dev/null and b/src/yunding/static/images/goods/CtM3BVni7HyAeN4xAAAh4Laa9PM0401987.jpg differ diff --git a/src/yunding/static/images/goods/CtM3BVni7IiAEhuKAAAZxC0XRLc7582253.jpg b/src/yunding/static/images/goods/CtM3BVni7IiAEhuKAAAZxC0XRLc7582253.jpg new file mode 100644 index 0000000..b5ec823 Binary files /dev/null and b/src/yunding/static/images/goods/CtM3BVni7IiAEhuKAAAZxC0XRLc7582253.jpg differ diff --git a/src/yunding/static/images/goods/CtM3BVni7JKAeVJhAAAaabPqzqc0609663.jpg b/src/yunding/static/images/goods/CtM3BVni7JKAeVJhAAAaabPqzqc0609663.jpg new file mode 100644 index 0000000..cacef35 Binary files /dev/null and b/src/yunding/static/images/goods/CtM3BVni7JKAeVJhAAAaabPqzqc0609663.jpg differ diff --git a/src/yunding/static/images/goods/CtM3BVni7KCAYhX5AAAjjiYTEkw2482580.jpg b/src/yunding/static/images/goods/CtM3BVni7KCAYhX5AAAjjiYTEkw2482580.jpg new file mode 100644 index 0000000..fa756d8 Binary files /dev/null and b/src/yunding/static/images/goods/CtM3BVni7KCAYhX5AAAjjiYTEkw2482580.jpg differ diff --git a/src/yunding/static/images/goods/CtM3BVni7KmAO-z1AAAhst2hSFQ8647873.jpg b/src/yunding/static/images/goods/CtM3BVni7KmAO-z1AAAhst2hSFQ8647873.jpg new file mode 100644 index 0000000..75499d8 Binary files /dev/null and b/src/yunding/static/images/goods/CtM3BVni7KmAO-z1AAAhst2hSFQ8647873.jpg differ diff --git a/src/yunding/static/images/goods/CtM3BVni7LmACyEJAAA5OS4Kl4c2592459.jpg b/src/yunding/static/images/goods/CtM3BVni7LmACyEJAAA5OS4Kl4c2592459.jpg new file mode 100644 index 0000000..4b06713 Binary files /dev/null and b/src/yunding/static/images/goods/CtM3BVni7LmACyEJAAA5OS4Kl4c2592459.jpg differ diff --git a/src/yunding/static/images/goods/CtM3BVni7MKAJAjbAAAkaP_7_182071330.jpg b/src/yunding/static/images/goods/CtM3BVni7MKAJAjbAAAkaP_7_182071330.jpg new file mode 100644 index 0000000..30e71d9 Binary files /dev/null and b/src/yunding/static/images/goods/CtM3BVni7MKAJAjbAAAkaP_7_182071330.jpg differ diff --git a/src/yunding/static/images/goods/CtM3BVni7MyAQnniAAAkaP_7_183557335.jpg b/src/yunding/static/images/goods/CtM3BVni7MyAQnniAAAkaP_7_183557335.jpg new file mode 100644 index 0000000..30e71d9 Binary files /dev/null and b/src/yunding/static/images/goods/CtM3BVni7MyAQnniAAAkaP_7_183557335.jpg differ diff --git a/src/yunding/static/images/goods/CtM3BVni7N2APghtAAA5OS4Kl4c3131364.jpg b/src/yunding/static/images/goods/CtM3BVni7N2APghtAAA5OS4Kl4c3131364.jpg new file mode 100644 index 0000000..4b06713 Binary files /dev/null and b/src/yunding/static/images/goods/CtM3BVni7N2APghtAAA5OS4Kl4c3131364.jpg differ diff --git a/src/yunding/static/images/goods/CtM3BVni7NaAHLIfAAA5OS4Kl4c9768004.jpg b/src/yunding/static/images/goods/CtM3BVni7NaAHLIfAAA5OS4Kl4c9768004.jpg new file mode 100644 index 0000000..4b06713 Binary files /dev/null and b/src/yunding/static/images/goods/CtM3BVni7NaAHLIfAAA5OS4Kl4c9768004.jpg differ diff --git a/src/yunding/static/images/goods/CtM3BVni7O2AdXMUAAAlcPqsn-E8664565.jpg b/src/yunding/static/images/goods/CtM3BVni7O2AdXMUAAAlcPqsn-E8664565.jpg new file mode 100644 index 0000000..dcaeb88 Binary files /dev/null and b/src/yunding/static/images/goods/CtM3BVni7O2AdXMUAAAlcPqsn-E8664565.jpg differ diff --git a/src/yunding/static/images/goods/CtM3BVni7OaAcPFJAAAcye9XGMY3489213.jpg b/src/yunding/static/images/goods/CtM3BVni7OaAcPFJAAAcye9XGMY3489213.jpg new file mode 100644 index 0000000..6e48f65 Binary files /dev/null and b/src/yunding/static/images/goods/CtM3BVni7OaAcPFJAAAcye9XGMY3489213.jpg differ diff --git a/src/yunding/static/images/goods/CtM3BVni7P2AbegjAAAgrKNKuOg7885706.jpg b/src/yunding/static/images/goods/CtM3BVni7P2AbegjAAAgrKNKuOg7885706.jpg new file mode 100644 index 0000000..33cf1a2 Binary files /dev/null and b/src/yunding/static/images/goods/CtM3BVni7P2AbegjAAAgrKNKuOg7885706.jpg differ diff --git a/src/yunding/static/images/goods/CtM3BVni7PWAfaIgAAAiQjDS7wA2966092.jpg b/src/yunding/static/images/goods/CtM3BVni7PWAfaIgAAAiQjDS7wA2966092.jpg new file mode 100644 index 0000000..224ef0c Binary files /dev/null and b/src/yunding/static/images/goods/CtM3BVni7PWAfaIgAAAiQjDS7wA2966092.jpg differ diff --git a/src/yunding/static/images/goods/CtM3BVni7Q-AR4ORAAAgrKNKuOg9785395.jpg b/src/yunding/static/images/goods/CtM3BVni7Q-AR4ORAAAgrKNKuOg9785395.jpg new file mode 100644 index 0000000..33cf1a2 Binary files /dev/null and b/src/yunding/static/images/goods/CtM3BVni7Q-AR4ORAAAgrKNKuOg9785395.jpg differ diff --git a/src/yunding/static/images/goods/CtM3BVni7QWACyE2AAAgrKNKuOg9615062.jpg b/src/yunding/static/images/goods/CtM3BVni7QWACyE2AAAgrKNKuOg9615062.jpg new file mode 100644 index 0000000..33cf1a2 Binary files /dev/null and b/src/yunding/static/images/goods/CtM3BVni7QWACyE2AAAgrKNKuOg9615062.jpg differ diff --git a/src/yunding/static/images/goods/CtM3BVnifxeAPTodAAPWWMjR7sE487.jpg.jpg b/src/yunding/static/images/goods/CtM3BVnifxeAPTodAAPWWMjR7sE487.jpg.jpg new file mode 100644 index 0000000..d4bd93e Binary files /dev/null and b/src/yunding/static/images/goods/CtM3BVnifxeAPTodAAPWWMjR7sE487.jpg.jpg differ diff --git a/src/yunding/static/images/goods/CtM3BVnihx-AKdf0AAPWWMjR7sE771.jpg.jpg b/src/yunding/static/images/goods/CtM3BVnihx-AKdf0AAPWWMjR7sE771.jpg.jpg new file mode 100644 index 0000000..d4bd93e Binary files /dev/null and b/src/yunding/static/images/goods/CtM3BVnihx-AKdf0AAPWWMjR7sE771.jpg.jpg differ diff --git a/src/yunding/static/images/goods/CtM3BVnij5-AQyvAAAHc1z_-Xc4112.jpg.jpg b/src/yunding/static/images/goods/CtM3BVnij5-AQyvAAAHc1z_-Xc4112.jpg.jpg new file mode 100644 index 0000000..2d2d6e1 Binary files /dev/null and b/src/yunding/static/images/goods/CtM3BVnij5-AQyvAAAHc1z_-Xc4112.jpg.jpg differ diff --git a/src/yunding/static/images/goods/CtM3BVnkI0iAUprjAAAljHPuXJg5371806.jpg b/src/yunding/static/images/goods/CtM3BVnkI0iAUprjAAAljHPuXJg5371806.jpg new file mode 100644 index 0000000..cb4898d Binary files /dev/null and b/src/yunding/static/images/goods/CtM3BVnkI0iAUprjAAAljHPuXJg5371806.jpg differ diff --git a/src/yunding/static/images/goods/CtM3BVnkI6CAURm4AAAjjiYTEkw1194059.jpg b/src/yunding/static/images/goods/CtM3BVnkI6CAURm4AAAjjiYTEkw1194059.jpg new file mode 100644 index 0000000..fa756d8 Binary files /dev/null and b/src/yunding/static/images/goods/CtM3BVnkI6CAURm4AAAjjiYTEkw1194059.jpg differ diff --git a/src/yunding/static/images/goods/CtM3BVnkI8yAHR3YAAAgnaeGwNQ6779834.jpg b/src/yunding/static/images/goods/CtM3BVnkI8yAHR3YAAAgnaeGwNQ6779834.jpg new file mode 100644 index 0000000..6376c1e Binary files /dev/null and b/src/yunding/static/images/goods/CtM3BVnkI8yAHR3YAAAgnaeGwNQ6779834.jpg differ diff --git a/src/yunding/static/images/goods/CtM3BVnkIDGATx4aAAA2pLUeB600278858.jpg b/src/yunding/static/images/goods/CtM3BVnkIDGATx4aAAA2pLUeB600278858.jpg new file mode 100644 index 0000000..70bac68 Binary files /dev/null and b/src/yunding/static/images/goods/CtM3BVnkIDGATx4aAAA2pLUeB600278858.jpg differ diff --git a/src/yunding/static/images/goods/CtM3BVnkIE6AA2o8AAA98yvCs1I9520126.jpg b/src/yunding/static/images/goods/CtM3BVnkIE6AA2o8AAA98yvCs1I9520126.jpg new file mode 100644 index 0000000..bdc1028 Binary files /dev/null and b/src/yunding/static/images/goods/CtM3BVnkIE6AA2o8AAA98yvCs1I9520126.jpg differ diff --git a/src/yunding/static/images/goods/CtM3BVnkILGACHh0AAAmv27pX4k2790330.jpg b/src/yunding/static/images/goods/CtM3BVnkILGACHh0AAAmv27pX4k2790330.jpg new file mode 100644 index 0000000..c955728 Binary files /dev/null and b/src/yunding/static/images/goods/CtM3BVnkILGACHh0AAAmv27pX4k2790330.jpg differ diff --git a/src/yunding/static/images/goods/CtM3BVnkIMqAW9MwAABHr3RQqFs8076962.jpg b/src/yunding/static/images/goods/CtM3BVnkIMqAW9MwAABHr3RQqFs8076962.jpg new file mode 100644 index 0000000..17cfe2e Binary files /dev/null and b/src/yunding/static/images/goods/CtM3BVnkIMqAW9MwAABHr3RQqFs8076962.jpg differ diff --git a/src/yunding/static/images/goods/CtM3BVnkINmAEIKKAAAy1Tlm9So4047150.jpg b/src/yunding/static/images/goods/CtM3BVnkINmAEIKKAAAy1Tlm9So4047150.jpg new file mode 100644 index 0000000..89cff65 Binary files /dev/null and b/src/yunding/static/images/goods/CtM3BVnkINmAEIKKAAAy1Tlm9So4047150.jpg differ diff --git a/src/yunding/static/images/goods/CtM3BVnkIOeAG0B6AAAqR4DoSUg1061194.jpg b/src/yunding/static/images/goods/CtM3BVnkIOeAG0B6AAAqR4DoSUg1061194.jpg new file mode 100644 index 0000000..e1de2f9 Binary files /dev/null and b/src/yunding/static/images/goods/CtM3BVnkIOeAG0B6AAAqR4DoSUg1061194.jpg differ diff --git a/src/yunding/static/images/goods/CtM3BVnkIQSARC1UAAA-0ZoYkpM7754350.jpg b/src/yunding/static/images/goods/CtM3BVnkIQSARC1UAAA-0ZoYkpM7754350.jpg new file mode 100644 index 0000000..d077869 Binary files /dev/null and b/src/yunding/static/images/goods/CtM3BVnkIQSARC1UAAA-0ZoYkpM7754350.jpg differ diff --git a/src/yunding/static/images/goods/CtM3BVnkISKAJwJqAAA3sZPrVzQ4838643.jpg b/src/yunding/static/images/goods/CtM3BVnkISKAJwJqAAA3sZPrVzQ4838643.jpg new file mode 100644 index 0000000..dee6f2b Binary files /dev/null and b/src/yunding/static/images/goods/CtM3BVnkISKAJwJqAAA3sZPrVzQ4838643.jpg differ diff --git a/src/yunding/static/images/goods/CtM3BVnkI_2AToqyAAAeuLYy0pU9946037.jpg b/src/yunding/static/images/goods/CtM3BVnkI_2AToqyAAAeuLYy0pU9946037.jpg new file mode 100644 index 0000000..fa5b8ae Binary files /dev/null and b/src/yunding/static/images/goods/CtM3BVnkI_2AToqyAAAeuLYy0pU9946037.jpg differ diff --git a/src/yunding/static/images/goods/CtM3BVnkIxaAR7GHAAAljHPuXJg5431541.jpg b/src/yunding/static/images/goods/CtM3BVnkIxaAR7GHAAAljHPuXJg5431541.jpg new file mode 100644 index 0000000..cb4898d Binary files /dev/null and b/src/yunding/static/images/goods/CtM3BVnkIxaAR7GHAAAljHPuXJg5431541.jpg differ diff --git a/src/yunding/static/images/goods/CtM3BVnkJ0qARP2PAAC3B-z8J2c2451336.jpg b/src/yunding/static/images/goods/CtM3BVnkJ0qARP2PAAC3B-z8J2c2451336.jpg new file mode 100644 index 0000000..f673313 Binary files /dev/null and b/src/yunding/static/images/goods/CtM3BVnkJ0qARP2PAAC3B-z8J2c2451336.jpg differ diff --git a/src/yunding/static/images/goods/CtM3BVnkJ16AWegCAAETwXb_pso1012026.jpg b/src/yunding/static/images/goods/CtM3BVnkJ16AWegCAAETwXb_pso1012026.jpg new file mode 100644 index 0000000..7f3c749 Binary files /dev/null and b/src/yunding/static/images/goods/CtM3BVnkJ16AWegCAAETwXb_pso1012026.jpg differ diff --git a/src/yunding/static/images/goods/CtM3BVnkJD2AQx9zAAAk0DN4-yE8467862.jpg b/src/yunding/static/images/goods/CtM3BVnkJD2AQx9zAAAk0DN4-yE8467862.jpg new file mode 100644 index 0000000..11dbd19 Binary files /dev/null and b/src/yunding/static/images/goods/CtM3BVnkJD2AQx9zAAAk0DN4-yE8467862.jpg differ diff --git a/src/yunding/static/images/goods/CtM3BVnkJGmAecHxAAAkaP_7_181619603.jpg b/src/yunding/static/images/goods/CtM3BVnkJGmAecHxAAAkaP_7_181619603.jpg new file mode 100644 index 0000000..30e71d9 Binary files /dev/null and b/src/yunding/static/images/goods/CtM3BVnkJGmAecHxAAAkaP_7_181619603.jpg differ diff --git a/src/yunding/static/images/goods/CtM3BVnkJIiAd8kxAAAk8WCqqmI1965678.jpg b/src/yunding/static/images/goods/CtM3BVnkJIiAd8kxAAAk8WCqqmI1965678.jpg new file mode 100644 index 0000000..e95cd54 Binary files /dev/null and b/src/yunding/static/images/goods/CtM3BVnkJIiAd8kxAAAk8WCqqmI1965678.jpg differ diff --git a/src/yunding/static/images/goods/CtM3BVnkJLmAI1K-AAAkaP_7_189355042.jpg b/src/yunding/static/images/goods/CtM3BVnkJLmAI1K-AAAkaP_7_189355042.jpg new file mode 100644 index 0000000..30e71d9 Binary files /dev/null and b/src/yunding/static/images/goods/CtM3BVnkJLmAI1K-AAAkaP_7_189355042.jpg differ diff --git a/src/yunding/static/images/goods/CtM3BVnkJNuADLYAAAAWnwO6wpU7499459.jpg b/src/yunding/static/images/goods/CtM3BVnkJNuADLYAAAAWnwO6wpU7499459.jpg new file mode 100644 index 0000000..08ae35e Binary files /dev/null and b/src/yunding/static/images/goods/CtM3BVnkJNuADLYAAAAWnwO6wpU7499459.jpg differ diff --git a/src/yunding/static/images/goods/CtM3BVnkJPeAc2aGAAAcLRyfMSc4681259.jpg b/src/yunding/static/images/goods/CtM3BVnkJPeAc2aGAAAcLRyfMSc4681259.jpg new file mode 100644 index 0000000..15d8f74 Binary files /dev/null and b/src/yunding/static/images/goods/CtM3BVnkJPeAc2aGAAAcLRyfMSc4681259.jpg differ diff --git a/src/yunding/static/images/goods/CtM3BVnkJRSAXMuGAAAgbU6nbaA2977481.jpg b/src/yunding/static/images/goods/CtM3BVnkJRSAXMuGAAAgbU6nbaA2977481.jpg new file mode 100644 index 0000000..1703b55 Binary files /dev/null and b/src/yunding/static/images/goods/CtM3BVnkJRSAXMuGAAAgbU6nbaA2977481.jpg differ diff --git a/src/yunding/static/images/goods/CtM3BVnkJS6AVSDWAAAgrKNKuOg9088924.jpg b/src/yunding/static/images/goods/CtM3BVnkJS6AVSDWAAAgrKNKuOg9088924.jpg new file mode 100644 index 0000000..33cf1a2 Binary files /dev/null and b/src/yunding/static/images/goods/CtM3BVnkJS6AVSDWAAAgrKNKuOg9088924.jpg differ diff --git a/src/yunding/static/images/goods/CtM3BVnkJVCAFDKSAAAk8WCqqmI8466582.jpg b/src/yunding/static/images/goods/CtM3BVnkJVCAFDKSAAAk8WCqqmI8466582.jpg new file mode 100644 index 0000000..e95cd54 Binary files /dev/null and b/src/yunding/static/images/goods/CtM3BVnkJVCAFDKSAAAk8WCqqmI8466582.jpg differ diff --git a/src/yunding/static/images/goods/CtM3BVnkJXSAXbesAAAiQjDS7wA8116965.jpg b/src/yunding/static/images/goods/CtM3BVnkJXSAXbesAAAiQjDS7wA8116965.jpg new file mode 100644 index 0000000..224ef0c Binary files /dev/null and b/src/yunding/static/images/goods/CtM3BVnkJXSAXbesAAAiQjDS7wA8116965.jpg differ diff --git a/src/yunding/static/images/goods/CtM3BVnkJZWAIwBOAAAiQjDS7wA4382174.jpg b/src/yunding/static/images/goods/CtM3BVnkJZWAIwBOAAAiQjDS7wA4382174.jpg new file mode 100644 index 0000000..224ef0c Binary files /dev/null and b/src/yunding/static/images/goods/CtM3BVnkJZWAIwBOAAAiQjDS7wA4382174.jpg differ diff --git a/src/yunding/static/images/goods/CtM3BVnkJbKADk2yAAAWnwO6wpU5481130.jpg b/src/yunding/static/images/goods/CtM3BVnkJbKADk2yAAAWnwO6wpU5481130.jpg new file mode 100644 index 0000000..08ae35e Binary files /dev/null and b/src/yunding/static/images/goods/CtM3BVnkJbKADk2yAAAWnwO6wpU5481130.jpg differ diff --git a/src/yunding/static/images/goods/CtM3BVnkJdyAKycGAAAaabPqzqc6717404.jpg b/src/yunding/static/images/goods/CtM3BVnkJdyAKycGAAAaabPqzqc6717404.jpg new file mode 100644 index 0000000..cacef35 Binary files /dev/null and b/src/yunding/static/images/goods/CtM3BVnkJdyAKycGAAAaabPqzqc6717404.jpg differ diff --git a/src/yunding/static/images/goods/CtM3BVnkJfeAVv-jAAAjjiYTEkw8506724.jpg b/src/yunding/static/images/goods/CtM3BVnkJfeAVv-jAAAjjiYTEkw8506724.jpg new file mode 100644 index 0000000..fa756d8 Binary files /dev/null and b/src/yunding/static/images/goods/CtM3BVnkJfeAVv-jAAAjjiYTEkw8506724.jpg differ diff --git a/src/yunding/static/images/goods/CtM3BVnkJimAEK7MAAAcLRyfMSc6464688.jpg b/src/yunding/static/images/goods/CtM3BVnkJimAEK7MAAAcLRyfMSc6464688.jpg new file mode 100644 index 0000000..15d8f74 Binary files /dev/null and b/src/yunding/static/images/goods/CtM3BVnkJimAEK7MAAAcLRyfMSc6464688.jpg differ diff --git a/src/yunding/static/images/goods/CtM3BVnkJkKAQdJrAAAhst2hSFQ6848699.jpg b/src/yunding/static/images/goods/CtM3BVnkJkKAQdJrAAAhst2hSFQ6848699.jpg new file mode 100644 index 0000000..75499d8 Binary files /dev/null and b/src/yunding/static/images/goods/CtM3BVnkJkKAQdJrAAAhst2hSFQ6848699.jpg differ diff --git a/src/yunding/static/images/goods/CtM3BVnkJlqAePKjAAAcLRyfMSc8759431.jpg b/src/yunding/static/images/goods/CtM3BVnkJlqAePKjAAAcLRyfMSc8759431.jpg new file mode 100644 index 0000000..15d8f74 Binary files /dev/null and b/src/yunding/static/images/goods/CtM3BVnkJlqAePKjAAAcLRyfMSc8759431.jpg differ diff --git a/src/yunding/static/images/goods/CtM3BVnkJnWAUV_LAAAljHPuXJg1247606.jpg b/src/yunding/static/images/goods/CtM3BVnkJnWAUV_LAAAljHPuXJg1247606.jpg new file mode 100644 index 0000000..cb4898d Binary files /dev/null and b/src/yunding/static/images/goods/CtM3BVnkJnWAUV_LAAAljHPuXJg1247606.jpg differ diff --git a/src/yunding/static/images/goods/CtM3BVnkJp6AHVPPAAAZxC0XRLc2377246.jpg b/src/yunding/static/images/goods/CtM3BVnkJp6AHVPPAAAZxC0XRLc2377246.jpg new file mode 100644 index 0000000..b5ec823 Binary files /dev/null and b/src/yunding/static/images/goods/CtM3BVnkJp6AHVPPAAAZxC0XRLc2377246.jpg differ diff --git a/src/yunding/static/images/goods/CtM3BVnkJsSAYntSAAAcLRyfMSc1347281.jpg b/src/yunding/static/images/goods/CtM3BVnkJsSAYntSAAAcLRyfMSc1347281.jpg new file mode 100644 index 0000000..15d8f74 Binary files /dev/null and b/src/yunding/static/images/goods/CtM3BVnkJsSAYntSAAAcLRyfMSc1347281.jpg differ diff --git a/src/yunding/static/images/goods/CtM3BVnkJvqARg4OAAAm3lfXL-Q4989750.jpg b/src/yunding/static/images/goods/CtM3BVnkJvqARg4OAAAm3lfXL-Q4989750.jpg new file mode 100644 index 0000000..acec09b Binary files /dev/null and b/src/yunding/static/images/goods/CtM3BVnkJvqARg4OAAAm3lfXL-Q4989750.jpg differ diff --git a/src/yunding/static/images/goods/CtM3BVnkJwKAMbGgAAAm3lfXL-Q2310134.jpg b/src/yunding/static/images/goods/CtM3BVnkJwKAMbGgAAAm3lfXL-Q2310134.jpg new file mode 100644 index 0000000..acec09b Binary files /dev/null and b/src/yunding/static/images/goods/CtM3BVnkJwKAMbGgAAAm3lfXL-Q2310134.jpg differ diff --git a/src/yunding/static/images/goods/CtM3BVnkJzyASv1nAACpB-LsCdE4728457.jpg b/src/yunding/static/images/goods/CtM3BVnkJzyASv1nAACpB-LsCdE4728457.jpg new file mode 100644 index 0000000..a07ffb9 Binary files /dev/null and b/src/yunding/static/images/goods/CtM3BVnkJzyASv1nAACpB-LsCdE4728457.jpg differ diff --git a/src/yunding/static/images/goods/CtM3BVnkKFiAXsNcAAD0akkXmFo4487232.jpg b/src/yunding/static/images/goods/CtM3BVnkKFiAXsNcAAD0akkXmFo4487232.jpg new file mode 100644 index 0000000..27ea124 Binary files /dev/null and b/src/yunding/static/images/goods/CtM3BVnkKFiAXsNcAAD0akkXmFo4487232.jpg differ diff --git a/src/yunding/static/images/goods/CtM3BVnqsV2ACAvPAAPWWMjR7sE760.jpg b/src/yunding/static/images/goods/CtM3BVnqsV2ACAvPAAPWWMjR7sE760.jpg new file mode 100644 index 0000000..d4bd93e Binary files /dev/null and b/src/yunding/static/images/goods/CtM3BVnqsV2ACAvPAAPWWMjR7sE760.jpg differ diff --git a/src/yunding/static/images/goods/CtM3BVnqzNSATEW-AAAmv27pX4k5550339.jpg b/src/yunding/static/images/goods/CtM3BVnqzNSATEW-AAAmv27pX4k5550339.jpg new file mode 100644 index 0000000..c955728 Binary files /dev/null and b/src/yunding/static/images/goods/CtM3BVnqzNSATEW-AAAmv27pX4k5550339.jpg differ diff --git a/src/yunding/static/images/goods/CtM3BVnrBnGAPzbcAAPWWMjR7sE143.jpg b/src/yunding/static/images/goods/CtM3BVnrBnGAPzbcAAPWWMjR7sE143.jpg new file mode 100644 index 0000000..d4bd93e Binary files /dev/null and b/src/yunding/static/images/goods/CtM3BVnrBnGAPzbcAAPWWMjR7sE143.jpg differ diff --git a/src/yunding/static/images/goods/CtM3BVnrIS2AdKznAAAmv27pX4k8763769.jpg b/src/yunding/static/images/goods/CtM3BVnrIS2AdKznAAAmv27pX4k8763769.jpg new file mode 100644 index 0000000..c955728 Binary files /dev/null and b/src/yunding/static/images/goods/CtM3BVnrIS2AdKznAAAmv27pX4k8763769.jpg differ diff --git a/src/yunding/static/images/goods/CtM3BVntHJ6AFjEtAADN80inxaQ1148813.jpg b/src/yunding/static/images/goods/CtM3BVntHJ6AFjEtAADN80inxaQ1148813.jpg new file mode 100644 index 0000000..5db21f6 Binary files /dev/null and b/src/yunding/static/images/goods/CtM3BVntHJ6AFjEtAADN80inxaQ1148813.jpg differ diff --git a/src/yunding/static/images/goods/CtM3BVntHOqARIJFAAAaabPqzqc0850665.jpg b/src/yunding/static/images/goods/CtM3BVntHOqARIJFAAAaabPqzqc0850665.jpg new file mode 100644 index 0000000..cacef35 Binary files /dev/null and b/src/yunding/static/images/goods/CtM3BVntHOqARIJFAAAaabPqzqc0850665.jpg differ diff --git a/src/yunding/static/images/goods/CtM3BVntHSSALwEfAAAWnwO6wpU3159536.jpg b/src/yunding/static/images/goods/CtM3BVntHSSALwEfAAAWnwO6wpU3159536.jpg new file mode 100644 index 0000000..08ae35e Binary files /dev/null and b/src/yunding/static/images/goods/CtM3BVntHSSALwEfAAAWnwO6wpU3159536.jpg differ diff --git a/src/yunding/static/images/goods/CtM3BVntHU6AH-gIAAAiQjDS7wA9624516.jpg b/src/yunding/static/images/goods/CtM3BVntHU6AH-gIAAAiQjDS7wA9624516.jpg new file mode 100644 index 0000000..224ef0c Binary files /dev/null and b/src/yunding/static/images/goods/CtM3BVntHU6AH-gIAAAiQjDS7wA9624516.jpg differ diff --git a/src/yunding/static/images/goods/CtM3BVntHaSAG9XeAAAaabPqzqc9474541.jpg b/src/yunding/static/images/goods/CtM3BVntHaSAG9XeAAAaabPqzqc9474541.jpg new file mode 100644 index 0000000..cacef35 Binary files /dev/null and b/src/yunding/static/images/goods/CtM3BVntHaSAG9XeAAAaabPqzqc9474541.jpg differ diff --git a/src/yunding/static/images/goods/CtM3BVntHb2AdxD1AAAaabPqzqc9855708.jpg b/src/yunding/static/images/goods/CtM3BVntHb2AdxD1AAAaabPqzqc9855708.jpg new file mode 100644 index 0000000..cacef35 Binary files /dev/null and b/src/yunding/static/images/goods/CtM3BVntHb2AdxD1AAAaabPqzqc9855708.jpg differ diff --git a/src/yunding/static/images/goods/CtM3BVntHdmASp5hAAAgbU6nbaA4406857.jpg b/src/yunding/static/images/goods/CtM3BVntHdmASp5hAAAgbU6nbaA4406857.jpg new file mode 100644 index 0000000..1703b55 Binary files /dev/null and b/src/yunding/static/images/goods/CtM3BVntHdmASp5hAAAgbU6nbaA4406857.jpg differ diff --git a/src/yunding/static/images/goods/CtM3BVntHgKAK0XdAAAlcPqsn-E4372826.jpg b/src/yunding/static/images/goods/CtM3BVntHgKAK0XdAAAlcPqsn-E4372826.jpg new file mode 100644 index 0000000..dcaeb88 Binary files /dev/null and b/src/yunding/static/images/goods/CtM3BVntHgKAK0XdAAAlcPqsn-E4372826.jpg differ diff --git a/src/yunding/static/images/goods/CtM3BVntHhqAXx_zAAAlcPqsn-E3499970.jpg b/src/yunding/static/images/goods/CtM3BVntHhqAXx_zAAAlcPqsn-E3499970.jpg new file mode 100644 index 0000000..dcaeb88 Binary files /dev/null and b/src/yunding/static/images/goods/CtM3BVntHhqAXx_zAAAlcPqsn-E3499970.jpg differ diff --git a/src/yunding/static/images/goods/CtM3BVntUGSASqAKAAAlcPqsn-E1601296.jpg b/src/yunding/static/images/goods/CtM3BVntUGSASqAKAAAlcPqsn-E1601296.jpg new file mode 100644 index 0000000..dcaeb88 Binary files /dev/null and b/src/yunding/static/images/goods/CtM3BVntUGSASqAKAAAlcPqsn-E1601296.jpg differ diff --git a/src/yunding/static/images/goods/CtM3BVntnviAMt7eAAAcye9XGMY2959132.jpg b/src/yunding/static/images/goods/CtM3BVntnviAMt7eAAAcye9XGMY2959132.jpg new file mode 100644 index 0000000..6e48f65 Binary files /dev/null and b/src/yunding/static/images/goods/CtM3BVntnviAMt7eAAAcye9XGMY2959132.jpg differ diff --git a/src/yunding/static/images/goods/CtM3BVpgYGSAKlmqAAPWWMjR7sE884.jpg b/src/yunding/static/images/goods/CtM3BVpgYGSAKlmqAAPWWMjR7sE884.jpg new file mode 100644 index 0000000..d4bd93e Binary files /dev/null and b/src/yunding/static/images/goods/CtM3BVpgYGSAKlmqAAPWWMjR7sE884.jpg differ diff --git a/src/yunding/static/images/goods/CtM3BVpgYdeAE4s1AAPWWMjR7sE000.jpg b/src/yunding/static/images/goods/CtM3BVpgYdeAE4s1AAPWWMjR7sE000.jpg new file mode 100644 index 0000000..d4bd93e Binary files /dev/null and b/src/yunding/static/images/goods/CtM3BVpgYdeAE4s1AAPWWMjR7sE000.jpg differ diff --git a/src/yunding/static/images/goods/CtM3BVpgd6GAfmRHAADN80inxaQ9876712.jpg b/src/yunding/static/images/goods/CtM3BVpgd6GAfmRHAADN80inxaQ9876712.jpg new file mode 100644 index 0000000..5db21f6 Binary files /dev/null and b/src/yunding/static/images/goods/CtM3BVpgd6GAfmRHAADN80inxaQ9876712.jpg differ diff --git a/src/yunding/static/images/goods/CtM3BVpgdsSACzfwAAAmv27pX4k8583189.jpg b/src/yunding/static/images/goods/CtM3BVpgdsSACzfwAAAmv27pX4k8583189.jpg new file mode 100644 index 0000000..c955728 Binary files /dev/null and b/src/yunding/static/images/goods/CtM3BVpgdsSACzfwAAAmv27pX4k8583189.jpg differ diff --git a/src/yunding/static/images/goods/CtM3BVpj82OACLqSAADN80inxaQ1047283.jpg b/src/yunding/static/images/goods/CtM3BVpj82OACLqSAADN80inxaQ1047283.jpg new file mode 100644 index 0000000..5db21f6 Binary files /dev/null and b/src/yunding/static/images/goods/CtM3BVpj82OACLqSAADN80inxaQ1047283.jpg differ diff --git a/src/yunding/static/images/goods/CtM3BVppik6ACX3pAACpB-LsCdE6416569.jpg b/src/yunding/static/images/goods/CtM3BVppik6ACX3pAACpB-LsCdE6416569.jpg new file mode 100644 index 0000000..a07ffb9 Binary files /dev/null and b/src/yunding/static/images/goods/CtM3BVppik6ACX3pAACpB-LsCdE6416569.jpg differ diff --git a/src/yunding/static/images/goods/CtM3BVqk5bqAPAE4AAAkaP_7_184401013.jpg b/src/yunding/static/images/goods/CtM3BVqk5bqAPAE4AAAkaP_7_184401013.jpg new file mode 100644 index 0000000..30e71d9 Binary files /dev/null and b/src/yunding/static/images/goods/CtM3BVqk5bqAPAE4AAAkaP_7_184401013.jpg differ diff --git a/src/yunding/static/images/goods/CtM3BVqlBPuAMAw3AAAkaP_7_185880608.jpg b/src/yunding/static/images/goods/CtM3BVqlBPuAMAw3AAAkaP_7_185880608.jpg new file mode 100644 index 0000000..30e71d9 Binary files /dev/null and b/src/yunding/static/images/goods/CtM3BVqlBPuAMAw3AAAkaP_7_185880608.jpg differ diff --git a/src/yunding/static/images/goods/CtM3BVrLm_iAILnwAACbl1lbG3U8255973.jpg b/src/yunding/static/images/goods/CtM3BVrLm_iAILnwAACbl1lbG3U8255973.jpg new file mode 100644 index 0000000..0d5d675 Binary files /dev/null and b/src/yunding/static/images/goods/CtM3BVrLm_iAILnwAACbl1lbG3U8255973.jpg differ diff --git a/src/yunding/static/images/goods/CtM3BVrLmc-AJdVSAAEI5Wm7zaw8639396.jpg b/src/yunding/static/images/goods/CtM3BVrLmc-AJdVSAAEI5Wm7zaw8639396.jpg new file mode 100644 index 0000000..d25a95a Binary files /dev/null and b/src/yunding/static/images/goods/CtM3BVrLmc-AJdVSAAEI5Wm7zaw8639396.jpg differ diff --git a/src/yunding/static/images/goods/CtM3BVrLmiKANEeLAAFfMRWFbY86177278.jpg b/src/yunding/static/images/goods/CtM3BVrLmiKANEeLAAFfMRWFbY86177278.jpg new file mode 100644 index 0000000..14baf57 Binary files /dev/null and b/src/yunding/static/images/goods/CtM3BVrLmiKANEeLAAFfMRWFbY86177278.jpg differ diff --git a/src/yunding/static/images/goods/CtM3BVrLmkaAPIMJAAESCG7GAh43642702.jpg b/src/yunding/static/images/goods/CtM3BVrLmkaAPIMJAAESCG7GAh43642702.jpg new file mode 100644 index 0000000..f92a8d0 Binary files /dev/null and b/src/yunding/static/images/goods/CtM3BVrLmkaAPIMJAAESCG7GAh43642702.jpg differ diff --git a/src/yunding/static/images/goods/CtM3BVrLmnaADtSKAAGlxZuk7uk4998927.jpg b/src/yunding/static/images/goods/CtM3BVrLmnaADtSKAAGlxZuk7uk4998927.jpg new file mode 100644 index 0000000..07e37e2 Binary files /dev/null and b/src/yunding/static/images/goods/CtM3BVrLmnaADtSKAAGlxZuk7uk4998927.jpg differ diff --git a/src/yunding/static/images/goods/CtM3BVrLnDeAImyOAABCJh-yXAg4718989.jpg b/src/yunding/static/images/goods/CtM3BVrLnDeAImyOAABCJh-yXAg4718989.jpg new file mode 100644 index 0000000..8a1ff01 Binary files /dev/null and b/src/yunding/static/images/goods/CtM3BVrLnDeAImyOAABCJh-yXAg4718989.jpg differ diff --git a/src/yunding/static/images/goods/CtM3BVrLnHaATJWfAABcalxfbWk5995788.jpg b/src/yunding/static/images/goods/CtM3BVrLnHaATJWfAABcalxfbWk5995788.jpg new file mode 100644 index 0000000..28b524e Binary files /dev/null and b/src/yunding/static/images/goods/CtM3BVrLnHaATJWfAABcalxfbWk5995788.jpg differ diff --git a/src/yunding/static/images/goods/CtM3BVrMe2KAGXDKAAAVASh8SzY6938726.jpg b/src/yunding/static/images/goods/CtM3BVrMe2KAGXDKAAAVASh8SzY6938726.jpg new file mode 100644 index 0000000..a104119 Binary files /dev/null and b/src/yunding/static/images/goods/CtM3BVrMe2KAGXDKAAAVASh8SzY6938726.jpg differ diff --git a/src/yunding/static/images/goods/CtM3BVrMexWAfodJAAAhg8MeEWU8364862.jpg b/src/yunding/static/images/goods/CtM3BVrMexWAfodJAAAhg8MeEWU8364862.jpg new file mode 100644 index 0000000..747a536 Binary files /dev/null and b/src/yunding/static/images/goods/CtM3BVrMexWAfodJAAAhg8MeEWU8364862.jpg differ diff --git a/src/yunding/static/images/goods/CtM3BVrMgQuAM4-sAABPvjDmrZE7647305.jpg b/src/yunding/static/images/goods/CtM3BVrMgQuAM4-sAABPvjDmrZE7647305.jpg new file mode 100644 index 0000000..1ef5530 Binary files /dev/null and b/src/yunding/static/images/goods/CtM3BVrMgQuAM4-sAABPvjDmrZE7647305.jpg differ diff --git a/src/yunding/static/images/goods/CtM3BVrMgWyAH_f1AAAQuFJkR2o1196559.jpg b/src/yunding/static/images/goods/CtM3BVrMgWyAH_f1AAAQuFJkR2o1196559.jpg new file mode 100644 index 0000000..f323a0f Binary files /dev/null and b/src/yunding/static/images/goods/CtM3BVrMgWyAH_f1AAAQuFJkR2o1196559.jpg differ diff --git a/src/yunding/static/images/goods/CtM3BVrMgX2AeXiGAABuWTn7Wr09762364.jpg b/src/yunding/static/images/goods/CtM3BVrMgX2AeXiGAABuWTn7Wr09762364.jpg new file mode 100644 index 0000000..a088249 Binary files /dev/null and b/src/yunding/static/images/goods/CtM3BVrMgX2AeXiGAABuWTn7Wr09762364.jpg differ diff --git a/src/yunding/static/images/goods/CtM3BVrMg_qACjBsAAActVXQUoc6433633.jpg b/src/yunding/static/images/goods/CtM3BVrMg_qACjBsAAActVXQUoc6433633.jpg new file mode 100644 index 0000000..9443686 Binary files /dev/null and b/src/yunding/static/images/goods/CtM3BVrMg_qACjBsAAActVXQUoc6433633.jpg differ diff --git a/src/yunding/static/images/goods/CtM3BVrMgbiARBnzAABbhp78Lqs6191821.jpg b/src/yunding/static/images/goods/CtM3BVrMgbiARBnzAABbhp78Lqs6191821.jpg new file mode 100644 index 0000000..71cb606 Binary files /dev/null and b/src/yunding/static/images/goods/CtM3BVrMgbiARBnzAABbhp78Lqs6191821.jpg differ diff --git a/src/yunding/static/images/goods/CtM3BVrMgeuAYEocAABd3TzhhGw1571126.jpg b/src/yunding/static/images/goods/CtM3BVrMgeuAYEocAABd3TzhhGw1571126.jpg new file mode 100644 index 0000000..683f9ac Binary files /dev/null and b/src/yunding/static/images/goods/CtM3BVrMgeuAYEocAABd3TzhhGw1571126.jpg differ diff --git a/src/yunding/static/images/goods/CtM3BVrMgkaAWyHAAABbrVH9a7o5762009.jpg b/src/yunding/static/images/goods/CtM3BVrMgkaAWyHAAABbrVH9a7o5762009.jpg new file mode 100644 index 0000000..f07b5d5 Binary files /dev/null and b/src/yunding/static/images/goods/CtM3BVrMgkaAWyHAAABbrVH9a7o5762009.jpg differ diff --git a/src/yunding/static/images/goods/CtM3BVrMgmyAB_1AAABoaAzPPW86045138.jpg b/src/yunding/static/images/goods/CtM3BVrMgmyAB_1AAABoaAzPPW86045138.jpg new file mode 100644 index 0000000..d5d5514 Binary files /dev/null and b/src/yunding/static/images/goods/CtM3BVrMgmyAB_1AAABoaAzPPW86045138.jpg differ diff --git a/src/yunding/static/images/goods/CtM3BVrMgo6Aa3OTAAA82h3PXzw9976088.jpg b/src/yunding/static/images/goods/CtM3BVrMgo6Aa3OTAAA82h3PXzw9976088.jpg new file mode 100644 index 0000000..61a97c8 Binary files /dev/null and b/src/yunding/static/images/goods/CtM3BVrMgo6Aa3OTAAA82h3PXzw9976088.jpg differ diff --git a/src/yunding/static/images/goods/CtM3BVrMh0qAavITAABOVXYg3SI5232882.jpg b/src/yunding/static/images/goods/CtM3BVrMh0qAavITAABOVXYg3SI5232882.jpg new file mode 100644 index 0000000..25de434 Binary files /dev/null and b/src/yunding/static/images/goods/CtM3BVrMh0qAavITAABOVXYg3SI5232882.jpg differ diff --git a/src/yunding/static/images/goods/CtM3BVrMh4eAWdF2AAA-Fkkc5rM1921911.jpg b/src/yunding/static/images/goods/CtM3BVrMh4eAWdF2AAA-Fkkc5rM1921911.jpg new file mode 100644 index 0000000..d40f775 Binary files /dev/null and b/src/yunding/static/images/goods/CtM3BVrMh4eAWdF2AAA-Fkkc5rM1921911.jpg differ diff --git a/src/yunding/static/images/goods/CtM3BVrMh62AUlDTAAA-SfqPszY5890026.jpg b/src/yunding/static/images/goods/CtM3BVrMh62AUlDTAAA-SfqPszY5890026.jpg new file mode 100644 index 0000000..c560712 Binary files /dev/null and b/src/yunding/static/images/goods/CtM3BVrMh62AUlDTAAA-SfqPszY5890026.jpg differ diff --git a/src/yunding/static/images/goods/CtM3BVrMhBeAaZ9OAABuZHjPsV88472096.jpg b/src/yunding/static/images/goods/CtM3BVrMhBeAaZ9OAABuZHjPsV88472096.jpg new file mode 100644 index 0000000..32976a7 Binary files /dev/null and b/src/yunding/static/images/goods/CtM3BVrMhBeAaZ9OAABuZHjPsV88472096.jpg differ diff --git a/src/yunding/static/images/goods/CtM3BVrMhDWAEwgEAABPce7je4w1228836.jpg b/src/yunding/static/images/goods/CtM3BVrMhDWAEwgEAABPce7je4w1228836.jpg new file mode 100644 index 0000000..4736d8b Binary files /dev/null and b/src/yunding/static/images/goods/CtM3BVrMhDWAEwgEAABPce7je4w1228836.jpg differ diff --git a/src/yunding/static/images/goods/CtM3BVrMhFuAB5eZAAAaQIF-UNs3707070.jpg b/src/yunding/static/images/goods/CtM3BVrMhFuAB5eZAAAaQIF-UNs3707070.jpg new file mode 100644 index 0000000..13b3cd1 Binary files /dev/null and b/src/yunding/static/images/goods/CtM3BVrMhFuAB5eZAAAaQIF-UNs3707070.jpg differ diff --git a/src/yunding/static/images/goods/CtM3BVrMhH6AAjD4AABS1vBu6x01229529.jpg b/src/yunding/static/images/goods/CtM3BVrMhH6AAjD4AABS1vBu6x01229529.jpg new file mode 100644 index 0000000..c7a3135 Binary files /dev/null and b/src/yunding/static/images/goods/CtM3BVrMhH6AAjD4AABS1vBu6x01229529.jpg differ diff --git a/src/yunding/static/images/goods/CtM3BVrMhRCAB5hsAAAQZye4aIM5257140.jpg b/src/yunding/static/images/goods/CtM3BVrMhRCAB5hsAAAQZye4aIM5257140.jpg new file mode 100644 index 0000000..fd391dc Binary files /dev/null and b/src/yunding/static/images/goods/CtM3BVrMhRCAB5hsAAAQZye4aIM5257140.jpg differ diff --git a/src/yunding/static/images/goods/CtM3BVrMhVCAFC8tAABonSNLGHA3584281.jpg b/src/yunding/static/images/goods/CtM3BVrMhVCAFC8tAABonSNLGHA3584281.jpg new file mode 100644 index 0000000..e4630b6 Binary files /dev/null and b/src/yunding/static/images/goods/CtM3BVrMhVCAFC8tAABonSNLGHA3584281.jpg differ diff --git a/src/yunding/static/images/goods/CtM3BVrMhW6Ac7QMAABd3TzhhGw0583536.jpg b/src/yunding/static/images/goods/CtM3BVrMhW6Ac7QMAABd3TzhhGw0583536.jpg new file mode 100644 index 0000000..683f9ac Binary files /dev/null and b/src/yunding/static/images/goods/CtM3BVrMhW6Ac7QMAABd3TzhhGw0583536.jpg differ diff --git a/src/yunding/static/images/goods/CtM3BVrMhYyAOjMVAABU1kCuf_48013827.jpg b/src/yunding/static/images/goods/CtM3BVrMhYyAOjMVAABU1kCuf_48013827.jpg new file mode 100644 index 0000000..ca7a603 Binary files /dev/null and b/src/yunding/static/images/goods/CtM3BVrMhYyAOjMVAABU1kCuf_48013827.jpg differ diff --git a/src/yunding/static/images/goods/CtM3BVrMhaSAK3QLAAA7LKRGwzQ0348867.jpg b/src/yunding/static/images/goods/CtM3BVrMhaSAK3QLAAA7LKRGwzQ0348867.jpg new file mode 100644 index 0000000..c553fe7 Binary files /dev/null and b/src/yunding/static/images/goods/CtM3BVrMhaSAK3QLAAA7LKRGwzQ0348867.jpg differ diff --git a/src/yunding/static/images/goods/CtM3BVrMhjOAdMNbAAAR1JGA_cA5064317.jpg b/src/yunding/static/images/goods/CtM3BVrMhjOAdMNbAAAR1JGA_cA5064317.jpg new file mode 100644 index 0000000..fa96f43 Binary files /dev/null and b/src/yunding/static/images/goods/CtM3BVrMhjOAdMNbAAAR1JGA_cA5064317.jpg differ diff --git a/src/yunding/static/images/goods/CtM3BVrMhlSAP_27AAAW_YBdNEk8530912.jpg b/src/yunding/static/images/goods/CtM3BVrMhlSAP_27AAAW_YBdNEk8530912.jpg new file mode 100644 index 0000000..2ffdafc Binary files /dev/null and b/src/yunding/static/images/goods/CtM3BVrMhlSAP_27AAAW_YBdNEk8530912.jpg differ diff --git a/src/yunding/static/images/goods/CtM3BVrMhniADXZpAAALTWT-dfQ6160056.jpg b/src/yunding/static/images/goods/CtM3BVrMhniADXZpAAALTWT-dfQ6160056.jpg new file mode 100644 index 0000000..ca4a187 Binary files /dev/null and b/src/yunding/static/images/goods/CtM3BVrMhniADXZpAAALTWT-dfQ6160056.jpg differ diff --git a/src/yunding/static/images/goods/CtM3BVrMhpiAV3lJAABiLlkgy2Y9166507.jpg b/src/yunding/static/images/goods/CtM3BVrMhpiAV3lJAABiLlkgy2Y9166507.jpg new file mode 100644 index 0000000..a14c91c Binary files /dev/null and b/src/yunding/static/images/goods/CtM3BVrMhpiAV3lJAABiLlkgy2Y9166507.jpg differ diff --git a/src/yunding/static/images/goods/CtM3BVrMhveAOh8EAAA1ykQ-kAU6900992.jpg b/src/yunding/static/images/goods/CtM3BVrMhveAOh8EAAA1ykQ-kAU6900992.jpg new file mode 100644 index 0000000..036549d Binary files /dev/null and b/src/yunding/static/images/goods/CtM3BVrMhveAOh8EAAA1ykQ-kAU6900992.jpg differ diff --git a/src/yunding/static/images/goods/CtM3BVrMhyuAEf95AABFDj_owsg4241256.jpg b/src/yunding/static/images/goods/CtM3BVrMhyuAEf95AABFDj_owsg4241256.jpg new file mode 100644 index 0000000..cc4f9b0 Binary files /dev/null and b/src/yunding/static/images/goods/CtM3BVrMhyuAEf95AABFDj_owsg4241256.jpg differ diff --git a/src/yunding/static/images/goods/CtM3BVrMisuAJnyWAABYJxXfN8w9822011.jpg b/src/yunding/static/images/goods/CtM3BVrMisuAJnyWAABYJxXfN8w9822011.jpg new file mode 100644 index 0000000..d283b85 Binary files /dev/null and b/src/yunding/static/images/goods/CtM3BVrMisuAJnyWAABYJxXfN8w9822011.jpg differ diff --git a/src/yunding/static/images/goods/CtM3BVrMivSAUTWcAAANpJ-t9xg5938130.jpg b/src/yunding/static/images/goods/CtM3BVrMivSAUTWcAAANpJ-t9xg5938130.jpg new file mode 100644 index 0000000..3f5163d Binary files /dev/null and b/src/yunding/static/images/goods/CtM3BVrMivSAUTWcAAANpJ-t9xg5938130.jpg differ diff --git a/src/yunding/static/images/goods/CtM3BVrNr0iAAbCEAABZEWPGxc48830214.jpg b/src/yunding/static/images/goods/CtM3BVrNr0iAAbCEAABZEWPGxc48830214.jpg new file mode 100644 index 0000000..2ffe362 Binary files /dev/null and b/src/yunding/static/images/goods/CtM3BVrNr0iAAbCEAABZEWPGxc48830214.jpg differ diff --git a/src/yunding/static/images/goods/CtM3BVrNr2-AbNUxAABwpN-gR8E7784256.jpg b/src/yunding/static/images/goods/CtM3BVrNr2-AbNUxAABwpN-gR8E7784256.jpg new file mode 100644 index 0000000..f2c4b75 Binary files /dev/null and b/src/yunding/static/images/goods/CtM3BVrNr2-AbNUxAABwpN-gR8E7784256.jpg differ diff --git a/src/yunding/static/images/goods/CtM3BVrNr6iAWKHsAAAcWfJ6OD00441704.jpg b/src/yunding/static/images/goods/CtM3BVrNr6iAWKHsAAAcWfJ6OD00441704.jpg new file mode 100644 index 0000000..53f2a93 Binary files /dev/null and b/src/yunding/static/images/goods/CtM3BVrNr6iAWKHsAAAcWfJ6OD00441704.jpg differ diff --git a/src/yunding/static/images/goods/CtM3BVrNr8KAD6b2AAByGLpNQV01684706.jpg b/src/yunding/static/images/goods/CtM3BVrNr8KAD6b2AAByGLpNQV01684706.jpg new file mode 100644 index 0000000..0749494 Binary files /dev/null and b/src/yunding/static/images/goods/CtM3BVrNr8KAD6b2AAByGLpNQV01684706.jpg differ diff --git a/src/yunding/static/images/goods/CtM3BVrNrY-AdBacAAA7DYB8sjU0120233.jpg b/src/yunding/static/images/goods/CtM3BVrNrY-AdBacAAA7DYB8sjU0120233.jpg new file mode 100644 index 0000000..e716db9 Binary files /dev/null and b/src/yunding/static/images/goods/CtM3BVrNrY-AdBacAAA7DYB8sjU0120233.jpg differ diff --git a/src/yunding/static/images/goods/CtM3BVrNrd2AbRH-AAALOATUqqM8030242.jpg b/src/yunding/static/images/goods/CtM3BVrNrd2AbRH-AAALOATUqqM8030242.jpg new file mode 100644 index 0000000..653de9e Binary files /dev/null and b/src/yunding/static/images/goods/CtM3BVrNrd2AbRH-AAALOATUqqM8030242.jpg differ diff --git a/src/yunding/static/images/goods/CtM3BVrNrf-AJ1ZjAAB_vAApFkw8201014.jpg b/src/yunding/static/images/goods/CtM3BVrNrf-AJ1ZjAAB_vAApFkw8201014.jpg new file mode 100644 index 0000000..7733366 Binary files /dev/null and b/src/yunding/static/images/goods/CtM3BVrNrf-AJ1ZjAAB_vAApFkw8201014.jpg differ diff --git a/src/yunding/static/images/goods/CtM3BVrNrkOAYXcbAABQocGJtes4517631.jpg b/src/yunding/static/images/goods/CtM3BVrNrkOAYXcbAABQocGJtes4517631.jpg new file mode 100644 index 0000000..7af6c66 Binary files /dev/null and b/src/yunding/static/images/goods/CtM3BVrNrkOAYXcbAABQocGJtes4517631.jpg differ diff --git a/src/yunding/static/images/goods/CtM3BVrNrmeAPQkiAAAKCg08y3w4028142.jpg b/src/yunding/static/images/goods/CtM3BVrNrmeAPQkiAAAKCg08y3w4028142.jpg new file mode 100644 index 0000000..ec79d08 Binary files /dev/null and b/src/yunding/static/images/goods/CtM3BVrNrmeAPQkiAAAKCg08y3w4028142.jpg differ diff --git a/src/yunding/static/images/goods/CtM3BVrNroeAUxHkAAAKhSBwnSk3723835.jpg b/src/yunding/static/images/goods/CtM3BVrNroeAUxHkAAAKhSBwnSk3723835.jpg new file mode 100644 index 0000000..74f0eee Binary files /dev/null and b/src/yunding/static/images/goods/CtM3BVrNroeAUxHkAAAKhSBwnSk3723835.jpg differ diff --git a/src/yunding/static/images/goods/CtM3BVrNrq-AbFajAABb8Hp05302964728.jpg b/src/yunding/static/images/goods/CtM3BVrNrq-AbFajAABb8Hp05302964728.jpg new file mode 100644 index 0000000..c8b196b Binary files /dev/null and b/src/yunding/static/images/goods/CtM3BVrNrq-AbFajAABb8Hp05302964728.jpg differ diff --git a/src/yunding/static/images/goods/CtM3BVrNrs2AMHPbAABMxVYJeMo0602527.jpg b/src/yunding/static/images/goods/CtM3BVrNrs2AMHPbAABMxVYJeMo0602527.jpg new file mode 100644 index 0000000..b09c9ab Binary files /dev/null and b/src/yunding/static/images/goods/CtM3BVrNrs2AMHPbAABMxVYJeMo0602527.jpg differ diff --git a/src/yunding/static/images/goods/CtM3BVrNs-SAaLqBAAAPB44z-fw7327519.jpg b/src/yunding/static/images/goods/CtM3BVrNs-SAaLqBAAAPB44z-fw7327519.jpg new file mode 100644 index 0000000..3ba9ad9 Binary files /dev/null and b/src/yunding/static/images/goods/CtM3BVrNs-SAaLqBAAAPB44z-fw7327519.jpg differ diff --git a/src/yunding/static/images/goods/CtM3BVrNs2SAf2DEAAAGl2-3v5k2172012.jpg b/src/yunding/static/images/goods/CtM3BVrNs2SAf2DEAAAGl2-3v5k2172012.jpg new file mode 100644 index 0000000..5a83cdb Binary files /dev/null and b/src/yunding/static/images/goods/CtM3BVrNs2SAf2DEAAAGl2-3v5k2172012.jpg differ diff --git a/src/yunding/static/images/goods/CtM3BVrNs4KAIlJKAAAQmKypd2c1901811.jpg b/src/yunding/static/images/goods/CtM3BVrNs4KAIlJKAAAQmKypd2c1901811.jpg new file mode 100644 index 0000000..6d10d2a Binary files /dev/null and b/src/yunding/static/images/goods/CtM3BVrNs4KAIlJKAAAQmKypd2c1901811.jpg differ diff --git a/src/yunding/static/images/goods/CtM3BVrNs6aAea7bAAAIoddXpoA5854653.jpg b/src/yunding/static/images/goods/CtM3BVrNs6aAea7bAAAIoddXpoA5854653.jpg new file mode 100644 index 0000000..fb08e45 Binary files /dev/null and b/src/yunding/static/images/goods/CtM3BVrNs6aAea7bAAAIoddXpoA5854653.jpg differ diff --git a/src/yunding/static/images/goods/CtM3BVrNs8WAZsplAAB-c4wo3kI9077289.jpg b/src/yunding/static/images/goods/CtM3BVrNs8WAZsplAAB-c4wo3kI9077289.jpg new file mode 100644 index 0000000..9bba7d4 Binary files /dev/null and b/src/yunding/static/images/goods/CtM3BVrNs8WAZsplAAB-c4wo3kI9077289.jpg differ diff --git a/src/yunding/static/images/goods/CtM3BVrNsA2AQUMbAAAbb_vBV6I1599925.jpg b/src/yunding/static/images/goods/CtM3BVrNsA2AQUMbAAAbb_vBV6I1599925.jpg new file mode 100644 index 0000000..ccb0ba6 Binary files /dev/null and b/src/yunding/static/images/goods/CtM3BVrNsA2AQUMbAAAbb_vBV6I1599925.jpg differ diff --git a/src/yunding/static/images/goods/CtM3BVrNsCuAUvllAAAOkY17G984349519.jpg b/src/yunding/static/images/goods/CtM3BVrNsCuAUvllAAAOkY17G984349519.jpg new file mode 100644 index 0000000..64697b6 Binary files /dev/null and b/src/yunding/static/images/goods/CtM3BVrNsCuAUvllAAAOkY17G984349519.jpg differ diff --git a/src/yunding/static/images/goods/CtM3BVrNsEGAZTfyAAAasplERbc8856337.jpg b/src/yunding/static/images/goods/CtM3BVrNsEGAZTfyAAAasplERbc8856337.jpg new file mode 100644 index 0000000..3a7f433 Binary files /dev/null and b/src/yunding/static/images/goods/CtM3BVrNsEGAZTfyAAAasplERbc8856337.jpg differ diff --git a/src/yunding/static/images/goods/CtM3BVrNsGCAeDZeAABtIYY5-s41601603.jpg b/src/yunding/static/images/goods/CtM3BVrNsGCAeDZeAABtIYY5-s41601603.jpg new file mode 100644 index 0000000..65c63ad Binary files /dev/null and b/src/yunding/static/images/goods/CtM3BVrNsGCAeDZeAABtIYY5-s41601603.jpg differ diff --git a/src/yunding/static/images/goods/CtM3BVrNsHyANXdyAABeDo_Qzeg1095047.jpg b/src/yunding/static/images/goods/CtM3BVrNsHyANXdyAABeDo_Qzeg1095047.jpg new file mode 100644 index 0000000..691f7b4 Binary files /dev/null and b/src/yunding/static/images/goods/CtM3BVrNsHyANXdyAABeDo_Qzeg1095047.jpg differ diff --git a/src/yunding/static/images/goods/CtM3BVrNsOuAQbJYAABoachTxTo8223966.jpg b/src/yunding/static/images/goods/CtM3BVrNsOuAQbJYAABoachTxTo8223966.jpg new file mode 100644 index 0000000..cad053a Binary files /dev/null and b/src/yunding/static/images/goods/CtM3BVrNsOuAQbJYAABoachTxTo8223966.jpg differ diff --git a/src/yunding/static/images/goods/CtM3BVrNsbqAbi4CAABYmW4pmPA1782942.jpg b/src/yunding/static/images/goods/CtM3BVrNsbqAbi4CAABYmW4pmPA1782942.jpg new file mode 100644 index 0000000..d40f641 Binary files /dev/null and b/src/yunding/static/images/goods/CtM3BVrNsbqAbi4CAABYmW4pmPA1782942.jpg differ diff --git a/src/yunding/static/images/goods/CtM3BVrNsuuAQo25AAAmP_AGNMA9808303.jpg b/src/yunding/static/images/goods/CtM3BVrNsuuAQo25AAAmP_AGNMA9808303.jpg new file mode 100644 index 0000000..418c358 Binary files /dev/null and b/src/yunding/static/images/goods/CtM3BVrNsuuAQo25AAAmP_AGNMA9808303.jpg differ diff --git a/src/yunding/static/images/goods/CtM3BVrNsxaAeU4HAAAkQDJCGSY6809195.jpg b/src/yunding/static/images/goods/CtM3BVrNsxaAeU4HAAAkQDJCGSY6809195.jpg new file mode 100644 index 0000000..76cb0fb Binary files /dev/null and b/src/yunding/static/images/goods/CtM3BVrNsxaAeU4HAAAkQDJCGSY6809195.jpg differ diff --git a/src/yunding/static/images/goods/CtM3BVrNszaAMu2PAACwnbap8zI9797082.jpg b/src/yunding/static/images/goods/CtM3BVrNszaAMu2PAACwnbap8zI9797082.jpg new file mode 100644 index 0000000..f0c3088 Binary files /dev/null and b/src/yunding/static/images/goods/CtM3BVrNszaAMu2PAACwnbap8zI9797082.jpg differ diff --git a/src/yunding/static/images/goods/CtM3BVrNtA6AFtbDAAAVJIjSdl43078544.jpg b/src/yunding/static/images/goods/CtM3BVrNtA6AFtbDAAAVJIjSdl43078544.jpg new file mode 100644 index 0000000..36e35c7 Binary files /dev/null and b/src/yunding/static/images/goods/CtM3BVrNtA6AFtbDAAAVJIjSdl43078544.jpg differ diff --git a/src/yunding/static/images/goods/CtM3BVrNtDGAdlzlAAAZZRjOIrQ5323041.jpg b/src/yunding/static/images/goods/CtM3BVrNtDGAdlzlAAAZZRjOIrQ5323041.jpg new file mode 100644 index 0000000..1f72865 Binary files /dev/null and b/src/yunding/static/images/goods/CtM3BVrNtDGAdlzlAAAZZRjOIrQ5323041.jpg differ diff --git a/src/yunding/static/images/goods/CtM3BVrNtMWANuqTAACac0TCaxU2674435.jpg b/src/yunding/static/images/goods/CtM3BVrNtMWANuqTAACac0TCaxU2674435.jpg new file mode 100644 index 0000000..47be252 Binary files /dev/null and b/src/yunding/static/images/goods/CtM3BVrNtMWANuqTAACac0TCaxU2674435.jpg differ diff --git a/src/yunding/static/images/goods/CtM3BVrNtOiAKex1AAAOZc14LLQ2319263.jpg b/src/yunding/static/images/goods/CtM3BVrNtOiAKex1AAAOZc14LLQ2319263.jpg new file mode 100644 index 0000000..144019d Binary files /dev/null and b/src/yunding/static/images/goods/CtM3BVrNtOiAKex1AAAOZc14LLQ2319263.jpg differ diff --git a/src/yunding/static/images/goods/CtM3BVrNtRGAGUbMAACY-WS_oQg9101415.jpg b/src/yunding/static/images/goods/CtM3BVrNtRGAGUbMAACY-WS_oQg9101415.jpg new file mode 100644 index 0000000..9737fdb Binary files /dev/null and b/src/yunding/static/images/goods/CtM3BVrNtRGAGUbMAACY-WS_oQg9101415.jpg differ diff --git a/src/yunding/static/images/goods/CtM3BVrNtUGACPW-AAAWNwYc_Yg9317761.jpg b/src/yunding/static/images/goods/CtM3BVrNtUGACPW-AAAWNwYc_Yg9317761.jpg new file mode 100644 index 0000000..7279d62 Binary files /dev/null and b/src/yunding/static/images/goods/CtM3BVrNtUGACPW-AAAWNwYc_Yg9317761.jpg differ diff --git a/src/yunding/static/images/goods/CtM3BVrNtWKAUKPkAADhQEAcAgQ4155172.jpg b/src/yunding/static/images/goods/CtM3BVrNtWKAUKPkAADhQEAcAgQ4155172.jpg new file mode 100644 index 0000000..0aeebad Binary files /dev/null and b/src/yunding/static/images/goods/CtM3BVrNtWKAUKPkAADhQEAcAgQ4155172.jpg differ diff --git a/src/yunding/static/images/goods/CtM3BVrNtY2ABEOfAAAWaWuGKss3304555.jpg b/src/yunding/static/images/goods/CtM3BVrNtY2ABEOfAAAWaWuGKss3304555.jpg new file mode 100644 index 0000000..7c147cf Binary files /dev/null and b/src/yunding/static/images/goods/CtM3BVrNtY2ABEOfAAAWaWuGKss3304555.jpg differ diff --git a/src/yunding/static/images/goods/CtM3BVrNtamAdrqPAAAYsg3AvQ86108884.jpg b/src/yunding/static/images/goods/CtM3BVrNtamAdrqPAAAYsg3AvQ86108884.jpg new file mode 100644 index 0000000..a612626 Binary files /dev/null and b/src/yunding/static/images/goods/CtM3BVrNtamAdrqPAAAYsg3AvQ86108884.jpg differ diff --git a/src/yunding/static/images/goods/CtM3BVrNtcOAYTH1AABVIz70wKU1556174.jpg b/src/yunding/static/images/goods/CtM3BVrNtcOAYTH1AABVIz70wKU1556174.jpg new file mode 100644 index 0000000..caeeafc Binary files /dev/null and b/src/yunding/static/images/goods/CtM3BVrNtcOAYTH1AABVIz70wKU1556174.jpg differ diff --git a/src/yunding/static/images/goods/CtM3BVrNteKAZhHCAAAMrIL-ugE2533088.jpg b/src/yunding/static/images/goods/CtM3BVrNteKAZhHCAAAMrIL-ugE2533088.jpg new file mode 100644 index 0000000..c66c495 Binary files /dev/null and b/src/yunding/static/images/goods/CtM3BVrNteKAZhHCAAAMrIL-ugE2533088.jpg differ diff --git a/src/yunding/static/images/goods/CtM3BVrNtf-AY0FGAAAZwGscZq42512400.jpg b/src/yunding/static/images/goods/CtM3BVrNtf-AY0FGAAAZwGscZq42512400.jpg new file mode 100644 index 0000000..bdd12f9 Binary files /dev/null and b/src/yunding/static/images/goods/CtM3BVrNtf-AY0FGAAAZwGscZq42512400.jpg differ diff --git a/src/yunding/static/images/goods/CtM3BVrOMI-AVPWrAAAPN5YrVxw2187795.jpg b/src/yunding/static/images/goods/CtM3BVrOMI-AVPWrAAAPN5YrVxw2187795.jpg new file mode 100644 index 0000000..1da7a79 Binary files /dev/null and b/src/yunding/static/images/goods/CtM3BVrOMI-AVPWrAAAPN5YrVxw2187795.jpg differ diff --git a/src/yunding/static/images/goods/CtM3BVrOPuKAZd4dAADtqTciKRc0633942.jpg b/src/yunding/static/images/goods/CtM3BVrOPuKAZd4dAADtqTciKRc0633942.jpg new file mode 100644 index 0000000..fda6830 Binary files /dev/null and b/src/yunding/static/images/goods/CtM3BVrOPuKAZd4dAADtqTciKRc0633942.jpg differ diff --git a/src/yunding/static/images/goods/CtM3BVrOQMiAGvPHAADtqTciKRc8279519.jpg b/src/yunding/static/images/goods/CtM3BVrOQMiAGvPHAADtqTciKRc8279519.jpg new file mode 100644 index 0000000..fda6830 Binary files /dev/null and b/src/yunding/static/images/goods/CtM3BVrOQMiAGvPHAADtqTciKRc8279519.jpg differ diff --git a/src/yunding/static/images/goods/CtM3BVrOQXSAbLx2AAJCgscYhy88216086.jpg b/src/yunding/static/images/goods/CtM3BVrOQXSAbLx2AAJCgscYhy88216086.jpg new file mode 100644 index 0000000..414cd90 Binary files /dev/null and b/src/yunding/static/images/goods/CtM3BVrOQXSAbLx2AAJCgscYhy88216086.jpg differ diff --git a/src/yunding/static/images/goods/CtM3BVrOQcCAap-CAALlB0nCsAk3157451.jpg b/src/yunding/static/images/goods/CtM3BVrOQcCAap-CAALlB0nCsAk3157451.jpg new file mode 100644 index 0000000..ac692fa Binary files /dev/null and b/src/yunding/static/images/goods/CtM3BVrOQcCAap-CAALlB0nCsAk3157451.jpg differ diff --git a/src/yunding/static/images/goods/CtM3BVrOQhiAVgwfAALNvpwId4s8236297.jpg b/src/yunding/static/images/goods/CtM3BVrOQhiAVgwfAALNvpwId4s8236297.jpg new file mode 100644 index 0000000..0d85184 Binary files /dev/null and b/src/yunding/static/images/goods/CtM3BVrOQhiAVgwfAALNvpwId4s8236297.jpg differ diff --git a/src/yunding/static/images/goods/CtM3BVrOQimACGAXAAJKAmr2-qQ2403102.jpg b/src/yunding/static/images/goods/CtM3BVrOQimACGAXAAJKAmr2-qQ2403102.jpg new file mode 100644 index 0000000..12d39af Binary files /dev/null and b/src/yunding/static/images/goods/CtM3BVrOQimACGAXAAJKAmr2-qQ2403102.jpg differ diff --git a/src/yunding/static/images/goods/CtM3BVrOQjeAYApsAAJDtceKEm87833689.jpg b/src/yunding/static/images/goods/CtM3BVrOQjeAYApsAAJDtceKEm87833689.jpg new file mode 100644 index 0000000..bd51fe1 Binary files /dev/null and b/src/yunding/static/images/goods/CtM3BVrOQjeAYApsAAJDtceKEm87833689.jpg differ diff --git a/src/yunding/static/images/goods/CtM3BVrORkiAfbUaAAGvaeRBMfc8461081.jpg b/src/yunding/static/images/goods/CtM3BVrORkiAfbUaAAGvaeRBMfc8461081.jpg new file mode 100644 index 0000000..4d4caa8 Binary files /dev/null and b/src/yunding/static/images/goods/CtM3BVrORkiAfbUaAAGvaeRBMfc8461081.jpg differ diff --git a/src/yunding/static/images/goods/CtM3BVrORlWAEJadAAD_zetbIJ85216536.jpg b/src/yunding/static/images/goods/CtM3BVrORlWAEJadAAD_zetbIJ85216536.jpg new file mode 100644 index 0000000..b5ffe4d Binary files /dev/null and b/src/yunding/static/images/goods/CtM3BVrORlWAEJadAAD_zetbIJ85216536.jpg differ diff --git a/src/yunding/static/images/goods/CtM3BVrORluAAeC4AADq-Afr0eE0813272.jpg b/src/yunding/static/images/goods/CtM3BVrORluAAeC4AADq-Afr0eE0813272.jpg new file mode 100644 index 0000000..3efb3ba Binary files /dev/null and b/src/yunding/static/images/goods/CtM3BVrORluAAeC4AADq-Afr0eE0813272.jpg differ diff --git a/src/yunding/static/images/goods/CtM3BVrPB4GAWkTlAAGuN6wB9fU4220429.jpg b/src/yunding/static/images/goods/CtM3BVrPB4GAWkTlAAGuN6wB9fU4220429.jpg new file mode 100644 index 0000000..4d4caa8 Binary files /dev/null and b/src/yunding/static/images/goods/CtM3BVrPB4GAWkTlAAGuN6wB9fU4220429.jpg differ diff --git a/src/yunding/static/images/goods/CtM3BVrPB4mAEq_WAADhmMQLkZM2624277.jpg b/src/yunding/static/images/goods/CtM3BVrPB4mAEq_WAADhmMQLkZM2624277.jpg new file mode 100644 index 0000000..b5ffe4d Binary files /dev/null and b/src/yunding/static/images/goods/CtM3BVrPB4mAEq_WAADhmMQLkZM2624277.jpg differ diff --git a/src/yunding/static/images/goods/CtM3BVrPB5CALKn6AADq-Afr0eE1672090.jpg b/src/yunding/static/images/goods/CtM3BVrPB5CALKn6AADq-Afr0eE1672090.jpg new file mode 100644 index 0000000..3efb3ba Binary files /dev/null and b/src/yunding/static/images/goods/CtM3BVrPB5CALKn6AADq-Afr0eE1672090.jpg differ diff --git a/src/yunding/static/images/goods/CtM3BVrPCAOAIKRBAAGvaeRBMfc0463515.jpg b/src/yunding/static/images/goods/CtM3BVrPCAOAIKRBAAGvaeRBMfc0463515.jpg new file mode 100644 index 0000000..4d4caa8 Binary files /dev/null and b/src/yunding/static/images/goods/CtM3BVrPCAOAIKRBAAGvaeRBMfc0463515.jpg differ diff --git a/src/yunding/static/images/goods/CtM3BVrPCAuAYqIcAAD_zetbIJ84926354.jpg b/src/yunding/static/images/goods/CtM3BVrPCAuAYqIcAAD_zetbIJ84926354.jpg new file mode 100644 index 0000000..b5ffe4d Binary files /dev/null and b/src/yunding/static/images/goods/CtM3BVrPCAuAYqIcAAD_zetbIJ84926354.jpg differ diff --git a/src/yunding/static/images/goods/CtM3BVrPCBOADuuvAADq-Afr0eE9666965.jpg b/src/yunding/static/images/goods/CtM3BVrPCBOADuuvAADq-Afr0eE9666965.jpg new file mode 100644 index 0000000..3efb3ba Binary files /dev/null and b/src/yunding/static/images/goods/CtM3BVrPCBOADuuvAADq-Afr0eE9666965.jpg differ diff --git a/src/yunding/static/images/goods/CtM3BVrRYoGAC2KAAADDtplWV_04901262.jpg b/src/yunding/static/images/goods/CtM3BVrRYoGAC2KAAADDtplWV_04901262.jpg new file mode 100644 index 0000000..bd69b32 Binary files /dev/null and b/src/yunding/static/images/goods/CtM3BVrRYoGAC2KAAADDtplWV_04901262.jpg differ diff --git a/src/yunding/static/images/goods/CtM3BVrRYp6ACUuEAAWXt1XYzNg5251947.jpg b/src/yunding/static/images/goods/CtM3BVrRYp6ACUuEAAWXt1XYzNg5251947.jpg new file mode 100644 index 0000000..9321e73 Binary files /dev/null and b/src/yunding/static/images/goods/CtM3BVrRYp6ACUuEAAWXt1XYzNg5251947.jpg differ diff --git a/src/yunding/static/images/goods/CtM3BVrRYpCAS9FFAADxmVbf5qw4487023.jpg b/src/yunding/static/images/goods/CtM3BVrRYpCAS9FFAADxmVbf5qw4487023.jpg new file mode 100644 index 0000000..1625e7a Binary files /dev/null and b/src/yunding/static/images/goods/CtM3BVrRYpCAS9FFAADxmVbf5qw4487023.jpg differ diff --git a/src/yunding/static/images/goods/CtM3BVrRYqmANdXMAAXn26rWyDY0861997.jpg b/src/yunding/static/images/goods/CtM3BVrRYqmANdXMAAXn26rWyDY0861997.jpg new file mode 100644 index 0000000..a8ab0cb Binary files /dev/null and b/src/yunding/static/images/goods/CtM3BVrRYqmANdXMAAXn26rWyDY0861997.jpg differ diff --git a/src/yunding/static/images/goods/CtM3BVrRZCqAUxp9AAFti6upbx41220032.jpg b/src/yunding/static/images/goods/CtM3BVrRZCqAUxp9AAFti6upbx41220032.jpg new file mode 100644 index 0000000..5ba74ce Binary files /dev/null and b/src/yunding/static/images/goods/CtM3BVrRZCqAUxp9AAFti6upbx41220032.jpg differ diff --git a/src/yunding/static/images/goods/CtM3BVrRZDKAXCsoAANy-gDBsak1396581.jpg b/src/yunding/static/images/goods/CtM3BVrRZDKAXCsoAANy-gDBsak1396581.jpg new file mode 100644 index 0000000..5ba74ce Binary files /dev/null and b/src/yunding/static/images/goods/CtM3BVrRZDKAXCsoAANy-gDBsak1396581.jpg differ diff --git a/src/yunding/static/images/goods/CtM3BVrRZDuAHu9qAAEoJ7X2Zrk9446545.jpg b/src/yunding/static/images/goods/CtM3BVrRZDuAHu9qAAEoJ7X2Zrk9446545.jpg new file mode 100644 index 0000000..14b8952 Binary files /dev/null and b/src/yunding/static/images/goods/CtM3BVrRZDuAHu9qAAEoJ7X2Zrk9446545.jpg differ diff --git a/src/yunding/static/images/goods/CtM3BVrRZa6ANO_sAAFti6upbx40753757.jpg b/src/yunding/static/images/goods/CtM3BVrRZa6ANO_sAAFti6upbx40753757.jpg new file mode 100644 index 0000000..5ba74ce Binary files /dev/null and b/src/yunding/static/images/goods/CtM3BVrRZa6ANO_sAAFti6upbx40753757.jpg differ diff --git a/src/yunding/static/images/goods/CtM3BVrRZb6Ac6FFAAEoJ7X2Zrk5720374.jpg b/src/yunding/static/images/goods/CtM3BVrRZb6Ac6FFAAEoJ7X2Zrk5720374.jpg new file mode 100644 index 0000000..14b8952 Binary files /dev/null and b/src/yunding/static/images/goods/CtM3BVrRZb6Ac6FFAAEoJ7X2Zrk5720374.jpg differ diff --git a/src/yunding/static/images/goods/CtM3BVrRZbaATwU2AANy-gDBsak6195744.jpg b/src/yunding/static/images/goods/CtM3BVrRZbaATwU2AANy-gDBsak6195744.jpg new file mode 100644 index 0000000..5ba74ce Binary files /dev/null and b/src/yunding/static/images/goods/CtM3BVrRZbaATwU2AANy-gDBsak6195744.jpg differ diff --git a/src/yunding/static/images/goods/CtM3BVrRa8iAZdz1AAFZsBqChgk2188464.jpg b/src/yunding/static/images/goods/CtM3BVrRa8iAZdz1AAFZsBqChgk2188464.jpg new file mode 100644 index 0000000..64affee Binary files /dev/null and b/src/yunding/static/images/goods/CtM3BVrRa8iAZdz1AAFZsBqChgk2188464.jpg differ diff --git a/src/yunding/static/images/goods/CtM3BVrRa9CARC7lAAMO0cff_1g7347921.jpg b/src/yunding/static/images/goods/CtM3BVrRa9CARC7lAAMO0cff_1g7347921.jpg new file mode 100644 index 0000000..1aef18d Binary files /dev/null and b/src/yunding/static/images/goods/CtM3BVrRa9CARC7lAAMO0cff_1g7347921.jpg differ diff --git a/src/yunding/static/images/goods/CtM3BVrRa9qAbCXWAAEovaKouDU2764892.jpg b/src/yunding/static/images/goods/CtM3BVrRa9qAbCXWAAEovaKouDU2764892.jpg new file mode 100644 index 0000000..64affee Binary files /dev/null and b/src/yunding/static/images/goods/CtM3BVrRa9qAbCXWAAEovaKouDU2764892.jpg differ diff --git a/src/yunding/static/images/goods/CtM3BVrRb2yAJ0cWADV9oDHhgG06294506.jpg b/src/yunding/static/images/goods/CtM3BVrRb2yAJ0cWADV9oDHhgG06294506.jpg new file mode 100644 index 0000000..030433b Binary files /dev/null and b/src/yunding/static/images/goods/CtM3BVrRb2yAJ0cWADV9oDHhgG06294506.jpg differ diff --git a/src/yunding/static/images/goods/CtM3BVrRbI2ARekNAAFZsBqChgk3141998.jpg b/src/yunding/static/images/goods/CtM3BVrRbI2ARekNAAFZsBqChgk3141998.jpg new file mode 100644 index 0000000..64affee Binary files /dev/null and b/src/yunding/static/images/goods/CtM3BVrRbI2ARekNAAFZsBqChgk3141998.jpg differ diff --git a/src/yunding/static/images/goods/CtM3BVrRbJ-AIjVcAAEovaKouDU7324803.jpg b/src/yunding/static/images/goods/CtM3BVrRbJ-AIjVcAAEovaKouDU7324803.jpg new file mode 100644 index 0000000..64affee Binary files /dev/null and b/src/yunding/static/images/goods/CtM3BVrRbJ-AIjVcAAEovaKouDU7324803.jpg differ diff --git a/src/yunding/static/images/goods/CtM3BVrRbJWAEllkAAMO0cff_1g6980672.jpg b/src/yunding/static/images/goods/CtM3BVrRbJWAEllkAAMO0cff_1g6980672.jpg new file mode 100644 index 0000000..1aef18d Binary files /dev/null and b/src/yunding/static/images/goods/CtM3BVrRbJWAEllkAAMO0cff_1g6980672.jpg differ diff --git a/src/yunding/static/images/goods/CtM3BVrRbh2AX3JVAAFvJD02RWs4638828.jpg b/src/yunding/static/images/goods/CtM3BVrRbh2AX3JVAAFvJD02RWs4638828.jpg new file mode 100644 index 0000000..935eefb Binary files /dev/null and b/src/yunding/static/images/goods/CtM3BVrRbh2AX3JVAAFvJD02RWs4638828.jpg differ diff --git a/src/yunding/static/images/goods/CtM3BVrRbi2AIt2gAAEtG6xmEQk0223613.jpg b/src/yunding/static/images/goods/CtM3BVrRbi2AIt2gAAEtG6xmEQk0223613.jpg new file mode 100644 index 0000000..b8e36e7 Binary files /dev/null and b/src/yunding/static/images/goods/CtM3BVrRbi2AIt2gAAEtG6xmEQk0223613.jpg differ diff --git a/src/yunding/static/images/goods/CtM3BVrRbiWAYvb5AAM7qusgQKA1299367.jpg b/src/yunding/static/images/goods/CtM3BVrRbiWAYvb5AAM7qusgQKA1299367.jpg new file mode 100644 index 0000000..d73568e Binary files /dev/null and b/src/yunding/static/images/goods/CtM3BVrRbiWAYvb5AAM7qusgQKA1299367.jpg differ diff --git a/src/yunding/static/images/goods/CtM3BVrRbjSAazeSAAFvJD02RWs2636429.jpg b/src/yunding/static/images/goods/CtM3BVrRbjSAazeSAAFvJD02RWs2636429.jpg new file mode 100644 index 0000000..935eefb Binary files /dev/null and b/src/yunding/static/images/goods/CtM3BVrRbjSAazeSAAFvJD02RWs2636429.jpg differ diff --git a/src/yunding/static/images/goods/CtM3BVrRbjyAQQWfAAM7qusgQKA3083019.jpg b/src/yunding/static/images/goods/CtM3BVrRbjyAQQWfAAM7qusgQKA3083019.jpg new file mode 100644 index 0000000..d73568e Binary files /dev/null and b/src/yunding/static/images/goods/CtM3BVrRbjyAQQWfAAM7qusgQKA3083019.jpg differ diff --git a/src/yunding/static/images/goods/CtM3BVrRbkeAOtIYAAEtG6xmEQk7850211.jpg b/src/yunding/static/images/goods/CtM3BVrRbkeAOtIYAAEtG6xmEQk7850211.jpg new file mode 100644 index 0000000..b8e36e7 Binary files /dev/null and b/src/yunding/static/images/goods/CtM3BVrRbkeAOtIYAAEtG6xmEQk7850211.jpg differ diff --git a/src/yunding/static/images/goods/CtM3BVrRbvmAJ0cWAAAefuA2Xqo3496149.jpg b/src/yunding/static/images/goods/CtM3BVrRbvmAJ0cWAAAefuA2Xqo3496149.jpg new file mode 100644 index 0000000..b762bfb Binary files /dev/null and b/src/yunding/static/images/goods/CtM3BVrRbvmAJ0cWAAAefuA2Xqo3496149.jpg differ diff --git a/src/yunding/static/images/goods/CtM3BVrRcUeAHp9pAARfIK95am88523545.jpg b/src/yunding/static/images/goods/CtM3BVrRcUeAHp9pAARfIK95am88523545.jpg new file mode 100644 index 0000000..40b79bc Binary files /dev/null and b/src/yunding/static/images/goods/CtM3BVrRcUeAHp9pAARfIK95am88523545.jpg differ diff --git a/src/yunding/static/images/goods/CtM3BVrRcVCASV6vAALt1TiUHbQ0320035.jpg b/src/yunding/static/images/goods/CtM3BVrRcVCASV6vAALt1TiUHbQ0320035.jpg new file mode 100644 index 0000000..5083c94 Binary files /dev/null and b/src/yunding/static/images/goods/CtM3BVrRcVCASV6vAALt1TiUHbQ0320035.jpg differ diff --git a/src/yunding/static/images/goods/CtM3BVrRch6AO_L1AALt1TiUHbQ6329774.jpg b/src/yunding/static/images/goods/CtM3BVrRch6AO_L1AALt1TiUHbQ6329774.jpg new file mode 100644 index 0000000..5083c94 Binary files /dev/null and b/src/yunding/static/images/goods/CtM3BVrRch6AO_L1AALt1TiUHbQ6329774.jpg differ diff --git a/src/yunding/static/images/goods/CtM3BVrRchWAMc8rAARfIK95am88158618.jpg b/src/yunding/static/images/goods/CtM3BVrRchWAMc8rAARfIK95am88158618.jpg new file mode 100644 index 0000000..40b79bc Binary files /dev/null and b/src/yunding/static/images/goods/CtM3BVrRchWAMc8rAARfIK95am88158618.jpg differ diff --git a/src/yunding/static/images/goods/CtM3BVrRdG6AYdapAAcPaeOqMpA1594598.jpg b/src/yunding/static/images/goods/CtM3BVrRdG6AYdapAAcPaeOqMpA1594598.jpg new file mode 100644 index 0000000..7f3b065 Binary files /dev/null and b/src/yunding/static/images/goods/CtM3BVrRdG6AYdapAAcPaeOqMpA1594598.jpg differ diff --git a/src/yunding/static/images/goods/CtM3BVrRdHaAO6nxAARV14yhum85841702.jpg b/src/yunding/static/images/goods/CtM3BVrRdHaAO6nxAARV14yhum85841702.jpg new file mode 100644 index 0000000..76edebf Binary files /dev/null and b/src/yunding/static/images/goods/CtM3BVrRdHaAO6nxAARV14yhum85841702.jpg differ diff --git a/src/yunding/static/images/goods/CtM3BVrRdHaAO6nxAARV14yhum85841702.png b/src/yunding/static/images/goods/CtM3BVrRdHaAO6nxAARV14yhum85841702.png new file mode 100644 index 0000000..010edd0 Binary files /dev/null and b/src/yunding/static/images/goods/CtM3BVrRdHaAO6nxAARV14yhum85841702.png differ diff --git a/src/yunding/static/images/goods/CtM3BVrRdI-ACDCRAARV14yhum80519978.jpg b/src/yunding/static/images/goods/CtM3BVrRdI-ACDCRAARV14yhum80519978.jpg new file mode 100644 index 0000000..76edebf Binary files /dev/null and b/src/yunding/static/images/goods/CtM3BVrRdI-ACDCRAARV14yhum80519978.jpg differ diff --git a/src/yunding/static/images/goods/CtM3BVrRdI-ACDCRAARV14yhum80519978.png b/src/yunding/static/images/goods/CtM3BVrRdI-ACDCRAARV14yhum80519978.png new file mode 100644 index 0000000..010edd0 Binary files /dev/null and b/src/yunding/static/images/goods/CtM3BVrRdI-ACDCRAARV14yhum80519978.png differ diff --git a/src/yunding/static/images/goods/CtM3BVrRdICAO_CRAAcPaeOqMpA2024091.jpg b/src/yunding/static/images/goods/CtM3BVrRdICAO_CRAAcPaeOqMpA2024091.jpg new file mode 100644 index 0000000..7f3b065 Binary files /dev/null and b/src/yunding/static/images/goods/CtM3BVrRdICAO_CRAAcPaeOqMpA2024091.jpg differ diff --git a/src/yunding/static/images/goods/CtM3BVrRdLGARgBAAAVslh9vkK00474545.jpg b/src/yunding/static/images/goods/CtM3BVrRdLGARgBAAAVslh9vkK00474545.jpg new file mode 100644 index 0000000..7baa42f Binary files /dev/null and b/src/yunding/static/images/goods/CtM3BVrRdLGARgBAAAVslh9vkK00474545.jpg differ diff --git a/src/yunding/static/images/goods/CtM3BVrRdLqAD5leAAMdyS99nTA6298698.jpg b/src/yunding/static/images/goods/CtM3BVrRdLqAD5leAAMdyS99nTA6298698.jpg new file mode 100644 index 0000000..558b132 Binary files /dev/null and b/src/yunding/static/images/goods/CtM3BVrRdLqAD5leAAMdyS99nTA6298698.jpg differ diff --git a/src/yunding/static/images/goods/CtM3BVrRdMSAaDUtAAVslh9vkK04466364.jpg b/src/yunding/static/images/goods/CtM3BVrRdMSAaDUtAAVslh9vkK04466364.jpg new file mode 100644 index 0000000..7baa42f Binary files /dev/null and b/src/yunding/static/images/goods/CtM3BVrRdMSAaDUtAAVslh9vkK04466364.jpg differ diff --git a/src/yunding/static/images/goods/CtM3BVrRdMyAPoryAAMdyS99nTA1388842.jpg b/src/yunding/static/images/goods/CtM3BVrRdMyAPoryAAMdyS99nTA1388842.jpg new file mode 100644 index 0000000..558b132 Binary files /dev/null and b/src/yunding/static/images/goods/CtM3BVrRdMyAPoryAAMdyS99nTA1388842.jpg differ diff --git a/src/yunding/static/images/goods/CtM3BVrRdOiAUBFXAAYJrpessGQ2842711.jpg b/src/yunding/static/images/goods/CtM3BVrRdOiAUBFXAAYJrpessGQ2842711.jpg new file mode 100644 index 0000000..d20d09c Binary files /dev/null and b/src/yunding/static/images/goods/CtM3BVrRdOiAUBFXAAYJrpessGQ2842711.jpg differ diff --git a/src/yunding/static/images/goods/CtM3BVrRdOiAUBFXAAYJrpessGQ2842711.png b/src/yunding/static/images/goods/CtM3BVrRdOiAUBFXAAYJrpessGQ2842711.png new file mode 100644 index 0000000..d20d09c Binary files /dev/null and b/src/yunding/static/images/goods/CtM3BVrRdOiAUBFXAAYJrpessGQ2842711.png differ diff --git a/src/yunding/static/images/goods/CtM3BVrRdPCAed9FAAQ3kdJbqeQ7404140.jpg b/src/yunding/static/images/goods/CtM3BVrRdPCAed9FAAQ3kdJbqeQ7404140.jpg new file mode 100644 index 0000000..010edd0 Binary files /dev/null and b/src/yunding/static/images/goods/CtM3BVrRdPCAed9FAAQ3kdJbqeQ7404140.jpg differ diff --git a/src/yunding/static/images/goods/CtM3BVrRdPCAed9FAAQ3kdJbqeQ7404140.png b/src/yunding/static/images/goods/CtM3BVrRdPCAed9FAAQ3kdJbqeQ7404140.png new file mode 100644 index 0000000..010edd0 Binary files /dev/null and b/src/yunding/static/images/goods/CtM3BVrRdPCAed9FAAQ3kdJbqeQ7404140.png differ diff --git a/src/yunding/static/images/goods/CtM3BVrRdPeAXNDMAAYJrpessGQ9777651.jpg b/src/yunding/static/images/goods/CtM3BVrRdPeAXNDMAAYJrpessGQ9777651.jpg new file mode 100644 index 0000000..d20d09c Binary files /dev/null and b/src/yunding/static/images/goods/CtM3BVrRdPeAXNDMAAYJrpessGQ9777651.jpg differ diff --git a/src/yunding/static/images/goods/CtM3BVrRdPeAXNDMAAYJrpessGQ9777651.png b/src/yunding/static/images/goods/CtM3BVrRdPeAXNDMAAYJrpessGQ9777651.png new file mode 100644 index 0000000..d20d09c Binary files /dev/null and b/src/yunding/static/images/goods/CtM3BVrRdPeAXNDMAAYJrpessGQ9777651.png differ diff --git a/src/yunding/static/images/goods/CtM3BVrRdQSAHxqbAAQ3kdJbqeQ1136308.jpg b/src/yunding/static/images/goods/CtM3BVrRdQSAHxqbAAQ3kdJbqeQ1136308.jpg new file mode 100644 index 0000000..010edd0 Binary files /dev/null and b/src/yunding/static/images/goods/CtM3BVrRdQSAHxqbAAQ3kdJbqeQ1136308.jpg differ diff --git a/src/yunding/static/images/goods/CtM3BVrRdQSAHxqbAAQ3kdJbqeQ1136308.png b/src/yunding/static/images/goods/CtM3BVrRdQSAHxqbAAQ3kdJbqeQ1136308.png new file mode 100644 index 0000000..010edd0 Binary files /dev/null and b/src/yunding/static/images/goods/CtM3BVrRdQSAHxqbAAQ3kdJbqeQ1136308.png differ diff --git a/src/yunding/static/images/goods/CtM3BVrhyhmAehqbAAA3XtuXCto1322736.jpg b/src/yunding/static/images/goods/CtM3BVrhyhmAehqbAAA3XtuXCto1322736.jpg new file mode 100644 index 0000000..1b4d32a Binary files /dev/null and b/src/yunding/static/images/goods/CtM3BVrhyhmAehqbAAA3XtuXCto1322736.jpg differ diff --git a/src/yunding/static/images/goods/goods001.jpg b/src/yunding/static/images/goods/goods001.jpg new file mode 100644 index 0000000..4e4d049 Binary files /dev/null and b/src/yunding/static/images/goods/goods001.jpg differ diff --git a/src/yunding/static/images/goods/goods002.jpg b/src/yunding/static/images/goods/goods002.jpg new file mode 100644 index 0000000..a104119 Binary files /dev/null and b/src/yunding/static/images/goods/goods002.jpg differ diff --git a/src/yunding/static/images/goods/goods003.jpg b/src/yunding/static/images/goods/goods003.jpg new file mode 100644 index 0000000..747a536 Binary files /dev/null and b/src/yunding/static/images/goods/goods003.jpg differ diff --git a/src/yunding/static/images/goods/goods004.jpg b/src/yunding/static/images/goods/goods004.jpg new file mode 100644 index 0000000..8fbb632 Binary files /dev/null and b/src/yunding/static/images/goods/goods004.jpg differ diff --git a/src/yunding/static/images/goods/goods005.jpg b/src/yunding/static/images/goods/goods005.jpg new file mode 100644 index 0000000..20d5804 Binary files /dev/null and b/src/yunding/static/images/goods/goods005.jpg differ diff --git a/src/yunding/static/images/goods/goods006.jpg b/src/yunding/static/images/goods/goods006.jpg new file mode 100644 index 0000000..9febad2 Binary files /dev/null and b/src/yunding/static/images/goods/goods006.jpg differ diff --git a/src/yunding/static/images/goods/goods007.jpg b/src/yunding/static/images/goods/goods007.jpg new file mode 100644 index 0000000..dcb6ad7 Binary files /dev/null and b/src/yunding/static/images/goods/goods007.jpg differ diff --git a/src/yunding/static/images/goods/goods008.jpg b/src/yunding/static/images/goods/goods008.jpg new file mode 100644 index 0000000..05b9643 Binary files /dev/null and b/src/yunding/static/images/goods/goods008.jpg differ diff --git a/src/yunding/static/images/goods/goods009.jpg b/src/yunding/static/images/goods/goods009.jpg new file mode 100644 index 0000000..0a5e467 Binary files /dev/null and b/src/yunding/static/images/goods/goods009.jpg differ diff --git a/src/yunding/static/images/goods_450.jpg b/src/yunding/static/images/goods_450.jpg new file mode 100644 index 0000000..e75d7d9 Binary files /dev/null and b/src/yunding/static/images/goods_450.jpg differ diff --git a/src/yunding/static/images/icons.png b/src/yunding/static/images/icons.png new file mode 100644 index 0000000..0e7b8bc Binary files /dev/null and b/src/yunding/static/images/icons.png differ diff --git a/src/yunding/static/images/icons02.png b/src/yunding/static/images/icons02.png new file mode 100644 index 0000000..f00052b Binary files /dev/null and b/src/yunding/static/images/icons02.png differ diff --git a/src/yunding/static/images/interval_line.png b/src/yunding/static/images/interval_line.png new file mode 100644 index 0000000..b94521b Binary files /dev/null and b/src/yunding/static/images/interval_line.png differ diff --git a/src/yunding/static/images/left_bg.jpg b/src/yunding/static/images/left_bg.jpg new file mode 100644 index 0000000..9e7c1b2 Binary files /dev/null and b/src/yunding/static/images/left_bg.jpg differ diff --git a/src/yunding/static/images/login_banner.png b/src/yunding/static/images/login_banner.png new file mode 100644 index 0000000..eb84fd0 Binary files /dev/null and b/src/yunding/static/images/login_banner.png differ diff --git a/src/yunding/static/images/logo.png b/src/yunding/static/images/logo.png new file mode 100644 index 0000000..ddc86c5 Binary files /dev/null and b/src/yunding/static/images/logo.png differ diff --git a/src/yunding/static/images/logo02.png b/src/yunding/static/images/logo02.png new file mode 100644 index 0000000..ddc86c5 Binary files /dev/null and b/src/yunding/static/images/logo02.png differ diff --git a/src/yunding/static/images/logo2.png b/src/yunding/static/images/logo2.png new file mode 100644 index 0000000..b066fa1 Binary files /dev/null and b/src/yunding/static/images/logo2.png differ diff --git a/src/yunding/static/images/missing.png b/src/yunding/static/images/missing.png new file mode 100644 index 0000000..bd917f1 Binary files /dev/null and b/src/yunding/static/images/missing.png differ diff --git a/src/yunding/static/images/pay_icons.png b/src/yunding/static/images/pay_icons.png new file mode 100644 index 0000000..8e2ded9 Binary files /dev/null and b/src/yunding/static/images/pay_icons.png differ diff --git a/src/yunding/static/images/pic_code.jpg b/src/yunding/static/images/pic_code.jpg new file mode 100644 index 0000000..b56abbf Binary files /dev/null and b/src/yunding/static/images/pic_code.jpg differ diff --git a/src/yunding/static/images/register_banner.png b/src/yunding/static/images/register_banner.png new file mode 100644 index 0000000..a8da300 Binary files /dev/null and b/src/yunding/static/images/register_banner.png differ diff --git a/src/yunding/static/images/selected.png b/src/yunding/static/images/selected.png new file mode 100644 index 0000000..b79f4bc Binary files /dev/null and b/src/yunding/static/images/selected.png differ diff --git a/src/yunding/static/images/shine.png b/src/yunding/static/images/shine.png new file mode 100644 index 0000000..5136e83 Binary files /dev/null and b/src/yunding/static/images/shine.png differ diff --git a/src/yunding/static/images/shop_cart.png b/src/yunding/static/images/shop_cart.png new file mode 100644 index 0000000..2841f7f Binary files /dev/null and b/src/yunding/static/images/shop_cart.png differ diff --git a/src/yunding/static/images/stars.png b/src/yunding/static/images/stars.png new file mode 100644 index 0000000..0d6b171 Binary files /dev/null and b/src/yunding/static/images/stars.png differ diff --git a/src/yunding/static/images/success.png b/src/yunding/static/images/success.png new file mode 100644 index 0000000..b5e8959 Binary files /dev/null and b/src/yunding/static/images/success.png differ diff --git a/src/yunding/static/images/time_count_bg.png b/src/yunding/static/images/time_count_bg.png new file mode 100644 index 0000000..2116ecd Binary files /dev/null and b/src/yunding/static/images/time_count_bg.png differ diff --git a/src/yunding/static/js/axios-0.18.0.min.js b/src/yunding/static/js/axios-0.18.0.min.js new file mode 100644 index 0000000..69cc188 --- /dev/null +++ b/src/yunding/static/js/axios-0.18.0.min.js @@ -0,0 +1,9 @@ +/* axios v0.18.0 | (c) 2018 by Matt Zabriskie */ +!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.axios=t():e.axios=t()}(this,function(){return function(e){function t(r){if(n[r])return n[r].exports;var o=n[r]={exports:{},id:r,loaded:!1};return e[r].call(o.exports,o,o.exports,t),o.loaded=!0,o.exports}var n={};return t.m=e,t.c=n,t.p="",t(0)}([function(e,t,n){e.exports=n(1)},function(e,t,n){"use strict";function r(e){var t=new s(e),n=i(s.prototype.request,t);return o.extend(n,s.prototype,t),o.extend(n,t),n}var o=n(2),i=n(3),s=n(5),u=n(6),a=r(u);a.Axios=s,a.create=function(e){return r(o.merge(u,e))},a.Cancel=n(23),a.CancelToken=n(24),a.isCancel=n(20),a.all=function(e){return Promise.all(e)},a.spread=n(25),e.exports=a,e.exports.default=a},function(e,t,n){"use strict";function r(e){return"[object Array]"===R.call(e)}function o(e){return"[object ArrayBuffer]"===R.call(e)}function i(e){return"undefined"!=typeof FormData&&e instanceof FormData}function s(e){var t;return t="undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(e):e&&e.buffer&&e.buffer instanceof ArrayBuffer}function u(e){return"string"==typeof e}function a(e){return"number"==typeof e}function c(e){return"undefined"==typeof e}function f(e){return null!==e&&"object"==typeof e}function p(e){return"[object Date]"===R.call(e)}function d(e){return"[object File]"===R.call(e)}function l(e){return"[object Blob]"===R.call(e)}function h(e){return"[object Function]"===R.call(e)}function m(e){return f(e)&&h(e.pipe)}function y(e){return"undefined"!=typeof URLSearchParams&&e instanceof URLSearchParams}function w(e){return e.replace(/^\s*/,"").replace(/\s*$/,"")}function g(){return("undefined"==typeof navigator||"ReactNative"!==navigator.product)&&("undefined"!=typeof window&&"undefined"!=typeof document)}function v(e,t){if(null!==e&&"undefined"!=typeof e)if("object"!=typeof e&&(e=[e]),r(e))for(var n=0,o=e.length;n + * @license MIT + */ +e.exports=function(e){return null!=e&&(n(e)||r(e)||!!e._isBuffer)}},function(e,t,n){"use strict";function r(e){this.defaults=e,this.interceptors={request:new s,response:new s}}var o=n(6),i=n(2),s=n(17),u=n(18);r.prototype.request=function(e){"string"==typeof e&&(e=i.merge({url:arguments[0]},arguments[1])),e=i.merge(o,{method:"get"},this.defaults,e),e.method=e.method.toLowerCase();var t=[u,void 0],n=Promise.resolve(e);for(this.interceptors.request.forEach(function(e){t.unshift(e.fulfilled,e.rejected)}),this.interceptors.response.forEach(function(e){t.push(e.fulfilled,e.rejected)});t.length;)n=n.then(t.shift(),t.shift());return n},i.forEach(["delete","get","head","options"],function(e){r.prototype[e]=function(t,n){return this.request(i.merge(n||{},{method:e,url:t}))}}),i.forEach(["post","put","patch"],function(e){r.prototype[e]=function(t,n,r){return this.request(i.merge(r||{},{method:e,url:t,data:n}))}}),e.exports=r},function(e,t,n){"use strict";function r(e,t){!i.isUndefined(e)&&i.isUndefined(e["Content-Type"])&&(e["Content-Type"]=t)}function o(){var e;return"undefined"!=typeof XMLHttpRequest?e=n(8):"undefined"!=typeof process&&(e=n(8)),e}var i=n(2),s=n(7),u={"Content-Type":"application/x-www-form-urlencoded"},a={adapter:o(),transformRequest:[function(e,t){return s(t,"Content-Type"),i.isFormData(e)||i.isArrayBuffer(e)||i.isBuffer(e)||i.isStream(e)||i.isFile(e)||i.isBlob(e)?e:i.isArrayBufferView(e)?e.buffer:i.isURLSearchParams(e)?(r(t,"application/x-www-form-urlencoded;charset=utf-8"),e.toString()):i.isObject(e)?(r(t,"application/json;charset=utf-8"),JSON.stringify(e)):e}],transformResponse:[function(e){if("string"==typeof e)try{e=JSON.parse(e)}catch(e){}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,validateStatus:function(e){return e>=200&&e<300}};a.headers={common:{Accept:"application/json, text/plain, */*"}},i.forEach(["delete","get","head"],function(e){a.headers[e]={}}),i.forEach(["post","put","patch"],function(e){a.headers[e]=i.merge(u)}),e.exports=a},function(e,t,n){"use strict";var r=n(2);e.exports=function(e,t){r.forEach(e,function(n,r){r!==t&&r.toUpperCase()===t.toUpperCase()&&(e[t]=n,delete e[r])})}},function(e,t,n){"use strict";var r=n(2),o=n(9),i=n(12),s=n(13),u=n(14),a=n(10),c="undefined"!=typeof window&&window.btoa&&window.btoa.bind(window)||n(15);e.exports=function(e){return new Promise(function(t,f){var p=e.data,d=e.headers;r.isFormData(p)&&delete d["Content-Type"];var l=new XMLHttpRequest,h="onreadystatechange",m=!1;if("undefined"==typeof window||!window.XDomainRequest||"withCredentials"in l||u(e.url)||(l=new window.XDomainRequest,h="onload",m=!0,l.onprogress=function(){},l.ontimeout=function(){}),e.auth){var y=e.auth.username||"",w=e.auth.password||"";d.Authorization="Basic "+c(y+":"+w)}if(l.open(e.method.toUpperCase(),i(e.url,e.params,e.paramsSerializer),!0),l.timeout=e.timeout,l[h]=function(){if(l&&(4===l.readyState||m)&&(0!==l.status||l.responseURL&&0===l.responseURL.indexOf("file:"))){var n="getAllResponseHeaders"in l?s(l.getAllResponseHeaders()):null,r=e.responseType&&"text"!==e.responseType?l.response:l.responseText,i={data:r,status:1223===l.status?204:l.status,statusText:1223===l.status?"No Content":l.statusText,headers:n,config:e,request:l};o(t,f,i),l=null}},l.onerror=function(){f(a("Network Error",e,null,l)),l=null},l.ontimeout=function(){f(a("timeout of "+e.timeout+"ms exceeded",e,"ECONNABORTED",l)),l=null},r.isStandardBrowserEnv()){var g=n(16),v=(e.withCredentials||u(e.url))&&e.xsrfCookieName?g.read(e.xsrfCookieName):void 0;v&&(d[e.xsrfHeaderName]=v)}if("setRequestHeader"in l&&r.forEach(d,function(e,t){"undefined"==typeof p&&"content-type"===t.toLowerCase()?delete d[t]:l.setRequestHeader(t,e)}),e.withCredentials&&(l.withCredentials=!0),e.responseType)try{l.responseType=e.responseType}catch(t){if("json"!==e.responseType)throw t}"function"==typeof e.onDownloadProgress&&l.addEventListener("progress",e.onDownloadProgress),"function"==typeof e.onUploadProgress&&l.upload&&l.upload.addEventListener("progress",e.onUploadProgress),e.cancelToken&&e.cancelToken.promise.then(function(e){l&&(l.abort(),f(e),l=null)}),void 0===p&&(p=null),l.send(p)})}},function(e,t,n){"use strict";var r=n(10);e.exports=function(e,t,n){var o=n.config.validateStatus;n.status&&o&&!o(n.status)?t(r("Request failed with status code "+n.status,n.config,null,n.request,n)):e(n)}},function(e,t,n){"use strict";var r=n(11);e.exports=function(e,t,n,o,i){var s=new Error(e);return r(s,t,n,o,i)}},function(e,t){"use strict";e.exports=function(e,t,n,r,o){return e.config=t,n&&(e.code=n),e.request=r,e.response=o,e}},function(e,t,n){"use strict";function r(e){return encodeURIComponent(e).replace(/%40/gi,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}var o=n(2);e.exports=function(e,t,n){if(!t)return e;var i;if(n)i=n(t);else if(o.isURLSearchParams(t))i=t.toString();else{var s=[];o.forEach(t,function(e,t){null!==e&&"undefined"!=typeof e&&(o.isArray(e)?t+="[]":e=[e],o.forEach(e,function(e){o.isDate(e)?e=e.toISOString():o.isObject(e)&&(e=JSON.stringify(e)),s.push(r(t)+"="+r(e))}))}),i=s.join("&")}return i&&(e+=(e.indexOf("?")===-1?"?":"&")+i),e}},function(e,t,n){"use strict";var r=n(2),o=["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"];e.exports=function(e){var t,n,i,s={};return e?(r.forEach(e.split("\n"),function(e){if(i=e.indexOf(":"),t=r.trim(e.substr(0,i)).toLowerCase(),n=r.trim(e.substr(i+1)),t){if(s[t]&&o.indexOf(t)>=0)return;"set-cookie"===t?s[t]=(s[t]?s[t]:[]).concat([n]):s[t]=s[t]?s[t]+", "+n:n}}),s):s}},function(e,t,n){"use strict";var r=n(2);e.exports=r.isStandardBrowserEnv()?function(){function e(e){var t=e;return n&&(o.setAttribute("href",t),t=o.href),o.setAttribute("href",t),{href:o.href,protocol:o.protocol?o.protocol.replace(/:$/,""):"",host:o.host,search:o.search?o.search.replace(/^\?/,""):"",hash:o.hash?o.hash.replace(/^#/,""):"",hostname:o.hostname,port:o.port,pathname:"/"===o.pathname.charAt(0)?o.pathname:"/"+o.pathname}}var t,n=/(msie|trident)/i.test(navigator.userAgent),o=document.createElement("a");return t=e(window.location.href),function(n){var o=r.isString(n)?e(n):n;return o.protocol===t.protocol&&o.host===t.host}}():function(){return function(){return!0}}()},function(e,t){"use strict";function n(){this.message="String contains an invalid character"}function r(e){for(var t,r,i=String(e),s="",u=0,a=o;i.charAt(0|u)||(a="=",u%1);s+=a.charAt(63&t>>8-u%1*8)){if(r=i.charCodeAt(u+=.75),r>255)throw new n;t=t<<8|r}return s}var o="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";n.prototype=new Error,n.prototype.code=5,n.prototype.name="InvalidCharacterError",e.exports=r},function(e,t,n){"use strict";var r=n(2);e.exports=r.isStandardBrowserEnv()?function(){return{write:function(e,t,n,o,i,s){var u=[];u.push(e+"="+encodeURIComponent(t)),r.isNumber(n)&&u.push("expires="+new Date(n).toGMTString()),r.isString(o)&&u.push("path="+o),r.isString(i)&&u.push("domain="+i),s===!0&&u.push("secure"),document.cookie=u.join("; ")},read:function(e){var t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove:function(e){this.write(e,"",Date.now()-864e5)}}}():function(){return{write:function(){},read:function(){return null},remove:function(){}}}()},function(e,t,n){"use strict";function r(){this.handlers=[]}var o=n(2);r.prototype.use=function(e,t){return this.handlers.push({fulfilled:e,rejected:t}),this.handlers.length-1},r.prototype.eject=function(e){this.handlers[e]&&(this.handlers[e]=null)},r.prototype.forEach=function(e){o.forEach(this.handlers,function(t){null!==t&&e(t)})},e.exports=r},function(e,t,n){"use strict";function r(e){e.cancelToken&&e.cancelToken.throwIfRequested()}var o=n(2),i=n(19),s=n(20),u=n(6),a=n(21),c=n(22);e.exports=function(e){r(e),e.baseURL&&!a(e.url)&&(e.url=c(e.baseURL,e.url)),e.headers=e.headers||{},e.data=i(e.data,e.headers,e.transformRequest),e.headers=o.merge(e.headers.common||{},e.headers[e.method]||{},e.headers||{}),o.forEach(["delete","get","head","post","put","patch","common"],function(t){delete e.headers[t]});var t=e.adapter||u.adapter;return t(e).then(function(t){return r(e),t.data=i(t.data,t.headers,e.transformResponse),t},function(t){return s(t)||(r(e),t&&t.response&&(t.response.data=i(t.response.data,t.response.headers,e.transformResponse))),Promise.reject(t)})}},function(e,t,n){"use strict";var r=n(2);e.exports=function(e,t,n){return r.forEach(n,function(n){e=n(e,t)}),e}},function(e,t){"use strict";e.exports=function(e){return!(!e||!e.__CANCEL__)}},function(e,t){"use strict";e.exports=function(e){return/^([a-z][a-z\d\+\-\.]*:)?\/\//i.test(e)}},function(e,t){"use strict";e.exports=function(e,t){return t?e.replace(/\/+$/,"")+"/"+t.replace(/^\/+/,""):e}},function(e,t){"use strict";function n(e){this.message=e}n.prototype.toString=function(){return"Cancel"+(this.message?": "+this.message:"")},n.prototype.__CANCEL__=!0,e.exports=n},function(e,t,n){"use strict";function r(e){if("function"!=typeof e)throw new TypeError("executor must be a function.");var t;this.promise=new Promise(function(e){t=e});var n=this;e(function(e){n.reason||(n.reason=new o(e),t(n.reason))})}var o=n(23);r.prototype.throwIfRequested=function(){if(this.reason)throw this.reason},r.source=function(){var e,t=new r(function(t){e=t});return{token:t,cancel:e}},e.exports=r},function(e,t){"use strict";e.exports=function(e){return function(t){return e.apply(null,t)}}}])}); +//# sourceMappingURL=axios.min.map \ No newline at end of file diff --git a/src/yunding/static/js/cart.js b/src/yunding/static/js/cart.js new file mode 100644 index 0000000..ffa8e9f --- /dev/null +++ b/src/yunding/static/js/cart.js @@ -0,0 +1,246 @@ +let vm = new Vue({ + el: '#app', + delimiters: ['[[', ']]'], + data: { + username: getCookie('username'), + carts: carts, + total_count: 0, + total_selected_count: 0, + total_selected_amount: 0, + carts_tmp: [], + + }, + computed: { + // selected_all(){ + // // 定义变量 + // let selected=true; + // // 遍历购物车长度 + // for(let i=0; i 1) { + let count = this.carts[index].count - 1; + // this.carts[index].count = count; // 本地测试 + this.update_count(index, count); // 请求服务器 + } + }, + // 增加操作 + on_add(index) { + let count = 1; + // 查询商品库存量 + let stock = this.carts[index]["stock"]; + if (this.carts[index].count < stock) { + + count = this.carts[index].count + 1; + } else { + count = stock; + + alert('超过商品数量上限'); + } + // this.carts[index].count = count; // 本地测试 + this.update_count(index, count); // 请求服务器 + }, + // 数量输入框输入操作 + on_input(index) { + let count = parseInt(this.carts[index].count); + // 查询商品库存量 + let stock = this.carts[index]["stock"]; + if (isNaN(count) || count <= 0) { + count = 1; + } else if (count > stock) { + count = stock; + alert('超过商品数量上限'); + } + this.update_count(index, count); // 请求服务器 + }, + // 更新购物车 + update_count(index, count) { + let url = '/carts/'; + axios.put(url, { + // 获取商品sku_id + + sku_id: this.carts[index].id, + // 商品数量 + count: count, + // 勾选项 + selected: this.carts[index].selected + }, { + // 请求头 + headers: { + 'X-CSRFToken': getCookie('csrftoken') + }, + // 响应数据类型 + responseType: 'json', + withCredentials: true + }) + .then(response => { + if (response.data.code == '0') { + // 商品数量 + this.carts[index].count = response.data.cart_sku.count; // 无法触发页面更新 + Vue.set(this.carts, index, response.data.cart_sku); // 触发页面更新 + // 重新计算界面的价格和数量 + this.compute_total_selected_amount_count(); + this.compute_total_count(); + // 更新成功将新的购物车再次临时保存 + this.carts_tmp = this.carts; + } else { + alert(response.data.errmsg); + this.carts[index].count = this.carts_tmp[index].count; + } + }) + .catch(error => { + console.log(error.response); + this.carts[index].count = this.carts_tmp[index].count; + }) + }, + // 更新购物车选中数据 + update_selected(index) { + let url = '/carts/'; + axios.put(url, { + sku_id: this.carts[index].id, + count: this.carts[index].count, + selected: this.carts[index].selected + }, { + headers: { + 'X-CSRFToken': getCookie('csrftoken') + }, + responseType: 'json', + withCredentials: true + }) + .then(response => { + if (response.data.code == '0') { + this.carts[index].selected = response.data.cart_sku.selected; + // 重新计算界面的价格和数量 + this.compute_total_selected_amount_count(); + this.compute_total_count(); + } else { + alert(response.data.errmsg); + } + }) + .catch(error => { + console.log(error.response); + }) + }, + // 删除购物车数据 + on_delete(index) { + let url = '/carts/'; + axios.delete(url, { + data: { + sku_id: this.carts[index].id + }, + headers: { + 'X-CSRFToken': getCookie('csrftoken') + }, + responseType: 'json', + withCredentials: true + }) + .then(response => { + if (response.data.code == '0') { + this.carts.splice(index, 1); + // 重新计算界面的价格和数量 + this.compute_total_selected_amount_count(); + this.compute_total_count(); + } else { + alert(response.data.errmsg); + } + }) + .catch(error => { + console.log(error.response); + }) + }, + // 购物车全选 + on_selected_all() { + let selected = !this.selected_all; + let url = '/carts/selection/'; + axios.put(url, { + selected + }, { + headers: { + 'X-CSRFToken': getCookie('csrftoken') + }, + responseType: 'json', + withCredentials: true + }) + .then(response => { + if (response.data.code == '0') { + for (let i = 0; i < this.carts.length; i++) { + this.carts[i].selected = selected; + } + // 重新计算界面的价格和数量 + this.compute_total_selected_amount_count(); + this.compute_total_count(); + } else { + alert(response.data.errmsg); + } + }) + .catch(error => { + console.log(error.response); + }) + }, + } +}); \ No newline at end of file diff --git a/src/yunding/static/js/common.js b/src/yunding/static/js/common.js new file mode 100644 index 0000000..9141869 --- /dev/null +++ b/src/yunding/static/js/common.js @@ -0,0 +1,29 @@ +// 获取cookie +function getCookie(name) { + let r = document.cookie.match("\\b" + name + "=([^;]*)\\b"); + return r ? r[1] : undefined; +} + +// 提取地址栏中的查询字符串 +function get_query_string(name) { + let reg = new RegExp('(^|&)' + name + '=([^&]*)(&|$)', 'i'); + let r = window.location.search.substr(1).match(reg); + if (r != null) { + return decodeURI(r[2]); + } + return null; +} + +// 生成uuid +function generateUUID() { + let d = new Date().getTime(); + if(window.performance && typeof window.performance.now === "function"){ + d += performance.now(); //use high-precision timer if available + } + let uuid = 'xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx'.replace(/[xy]/g, function(c) { + let r = (d + Math.random()*16)%16 | 0; + d = Math.floor(d/16); + return (c=='x' ? r : (r&0x3|0x8)).toString(16); + }); + return uuid; +} \ No newline at end of file diff --git a/src/yunding/static/js/detail.js b/src/yunding/static/js/detail.js new file mode 100644 index 0000000..de895f9 --- /dev/null +++ b/src/yunding/static/js/detail.js @@ -0,0 +1,210 @@ +let vm = new Vue({ + el: '#app', + delimiters: ['[[', ']]'], + data: { + username: getCookie('username'), + hot_skus: [], + category_id: category_id, + sku_id: sku_id, + sku_price: sku_price, + stock:stock, + sku_count: 1, + sku_amount: 0, + tab_content: { + detail: true, + pack: false, + comment: false, + service: false + }, + cart_total_count: 0, + carts: [], + comments: [], + + // 评分 + score_classes: { + 1: 'stars_one', + 2: 'stars_two', + 3: 'stars_three', + 4: 'stars_four', + 5: 'stars_five', + }, + + + }, + mounted(){ + // 获取热销商品数据 + this.get_hot_skus(); + // 记录分类商品的访问量 + this.goods_visit_count(); + // 保存用户浏览记录 + this.save_browse_histories(); + // 获取简单购物车数据 + this.get_carts(); + // 获取商品评价信息 + this.get_goods_comment(); + }, + watch: { + // 监听商品数量的变化 + sku_count: { + handler(newValue){ + this.sku_amount = (newValue * this.sku_price).toFixed(2); + }, + immediate: true + } + }, + methods: { + // 加数量 + on_addition(){ + if (this.sku_count < this.stock) { + this.sku_count++; + } else { + this.sku_count = this.stock; + alert('超过商品数量上限'); + } + }, + // 减数量 + on_minus(){ + if (this.sku_count > 1) { + this.sku_count--; + } + }, + // 编辑商品数量 + check_sku_count(){ + if (this.sku_count > this.stock) { + this.sku_count = this.stock; + } + if (this.sku_count < 1) { + this.sku_count = 1; + } + }, + // 控制页面标签页展示 + on_tab_content(name){ + this.tab_content = { + detail: false, + pack: false, + // comment: false, + service: false + }; + this.tab_content[name] = true; + }, + // 获取热销商品数据 + get_hot_skus(){ + if (this.category_id) { + let url = '/hot/'+ this.category_id +'/'; + axios.get(url, { + responseType: 'json' + }) + .then(response => { + this.hot_skus = response.data.hot_skus; + for(let i=0; i { + console.log(error.response); + }) + } + }, + // 记录分类商品的访问量 + goods_visit_count(){ + if (this.category_id) { + let url = '/detail/visit/' + this.category_id + '/'; + axios.post(url, {}, { + headers: { + 'X-CSRFToken':getCookie('csrftoken') + }, + responseType: 'json' + }) + .then(response => { + console.log(response.data); + }) + .catch(error => { + console.log(error.response); + }); + } + }, + // 保存用户浏览记录 + save_browse_histories(){ + if (this.sku_id) { + let url = '/browse_histories/'; + axios.post(url, { + 'sku_id':this.sku_id + }, { + headers: { + 'X-CSRFToken':getCookie('csrftoken') + }, + responseType: 'json' + }) + .then(response => { + console.log(response.data); + }) + .catch(error => { + console.log(error.response); + }); + } + }, + // 加入购物车 + add_carts(){ + let url = '/carts/'; + axios.post(url, { + sku_id: parseInt(this.sku_id), + count: this.sku_count + }, { + headers: { + 'X-CSRFToken':getCookie('csrftoken') + }, + responseType: 'json', + withCredentials: true + }) + .then(response => { + if (response.data.code == '0') { + alert('添加购物车成功'); + this.cart_total_count += this.sku_count; + } else { // 参数错误 + alert(response.data.errmsg); + } + }) + .catch(error => { + console.log(error.response); + }) + }, + // 获取简单购物车数据 + get_carts(){ + let url = '/carts/simple/'; + axios.get(url, { + responseType: 'json', + }) + .then(response => { + this.carts = response.data.cart_skus; + this.cart_total_count = 0; + for(let i=0;i25){ + this.carts[i].name = this.carts[i].name.substring(0, 25) + '...'; + } + this.cart_total_count += this.carts[i].count; + } + }) + .catch(error => { + console.log(error.response); + }) + }, + // 获取商品评价信息 + get_goods_comment(){ + if (this.sku_id) { + let url = '/comments/'+ this.sku_id +'/'; + axios.get(url, { + responseType: 'json' + }) + .then(response => { + this.comments = response.data.comment_list; + for(let i=0; i { + console.log(error.response); + }); + } + }, + } +}); \ No newline at end of file diff --git a/src/yunding/static/js/goods_judge.js b/src/yunding/static/js/goods_judge.js new file mode 100644 index 0000000..eb3aa4a --- /dev/null +++ b/src/yunding/static/js/goods_judge.js @@ -0,0 +1,74 @@ +let vm = new Vue({ + el: '#app', + delimiters: ['[[', ']]'], + data: { + username: getCookie('username'), + skus: [] + }, + mounted: function(){ + // 渲染评价界面 + this.render_comments(); + }, + methods: { + // 渲染评价界面 + render_comments(){ + this.skus = JSON.parse(JSON.stringify(skus)); + for(let i=0;i { + if (response.data.code == '0') { + // 删除评价后的商品 + this.skus.splice(index, 1); + } else if (response.data.code == '4101') { + location.href = '/login/?next=/orders/comment/'; + } else { + alert(response.data.errmsg); + } + }) + .catch(error => { + console.log(error.response); + }) + } + } + } +}); \ No newline at end of file diff --git a/src/yunding/static/js/index.js b/src/yunding/static/js/index.js new file mode 100644 index 0000000..4df4262 --- /dev/null +++ b/src/yunding/static/js/index.js @@ -0,0 +1,36 @@ +let vm = new Vue({ + el: '#app', + delimiters: ['[[', ']]'], + data: { + username: getCookie('username'), + f1_tab: 1, // 1F 标签页控制 + f2_tab: 1, // 2F 标签页控制 + f3_tab: 1, // 3F 标签页控制 + + // 渲染首页购物车数据 + cart_total_count: 0, + carts: [], + }, + methods: { + // 获取简单购物车数据 + get_carts(){ + let url = '/carts/simple/'; + axios.get(url, { + responseType: 'json', + }) + .then(response => { + this.carts = response.data.cart_skus; + this.cart_total_count = 0; + for(let i=0;i25){ + this.carts[i].name = this.carts[i].name.substring(0, 25) + '...'; + } + this.cart_total_count += this.carts[i].count; + } + }) + .catch(error => { + console.log(error.response); + }) + } + } +}); \ No newline at end of file diff --git a/src/yunding/static/js/jquery-1.12.4.min.js b/src/yunding/static/js/jquery-1.12.4.min.js new file mode 100644 index 0000000..e836475 --- /dev/null +++ b/src/yunding/static/js/jquery-1.12.4.min.js @@ -0,0 +1,5 @@ +/*! jQuery v1.12.4 | (c) jQuery Foundation | jquery.org/license */ +!function(a,b){"object"==typeof module&&"object"==typeof module.exports?module.exports=a.document?b(a,!0):function(a){if(!a.document)throw new Error("jQuery requires a window with a document");return b(a)}:b(a)}("undefined"!=typeof window?window:this,function(a,b){var c=[],d=a.document,e=c.slice,f=c.concat,g=c.push,h=c.indexOf,i={},j=i.toString,k=i.hasOwnProperty,l={},m="1.12.4",n=function(a,b){return new n.fn.init(a,b)},o=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,p=/^-ms-/,q=/-([\da-z])/gi,r=function(a,b){return b.toUpperCase()};n.fn=n.prototype={jquery:m,constructor:n,selector:"",length:0,toArray:function(){return e.call(this)},get:function(a){return null!=a?0>a?this[a+this.length]:this[a]:e.call(this)},pushStack:function(a){var b=n.merge(this.constructor(),a);return b.prevObject=this,b.context=this.context,b},each:function(a){return n.each(this,a)},map:function(a){return this.pushStack(n.map(this,function(b,c){return a.call(b,c,b)}))},slice:function(){return this.pushStack(e.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},eq:function(a){var b=this.length,c=+a+(0>a?b:0);return this.pushStack(c>=0&&b>c?[this[c]]:[])},end:function(){return this.prevObject||this.constructor()},push:g,sort:c.sort,splice:c.splice},n.extend=n.fn.extend=function(){var a,b,c,d,e,f,g=arguments[0]||{},h=1,i=arguments.length,j=!1;for("boolean"==typeof g&&(j=g,g=arguments[h]||{},h++),"object"==typeof g||n.isFunction(g)||(g={}),h===i&&(g=this,h--);i>h;h++)if(null!=(e=arguments[h]))for(d in e)a=g[d],c=e[d],g!==c&&(j&&c&&(n.isPlainObject(c)||(b=n.isArray(c)))?(b?(b=!1,f=a&&n.isArray(a)?a:[]):f=a&&n.isPlainObject(a)?a:{},g[d]=n.extend(j,f,c)):void 0!==c&&(g[d]=c));return g},n.extend({expando:"jQuery"+(m+Math.random()).replace(/\D/g,""),isReady:!0,error:function(a){throw new Error(a)},noop:function(){},isFunction:function(a){return"function"===n.type(a)},isArray:Array.isArray||function(a){return"array"===n.type(a)},isWindow:function(a){return null!=a&&a==a.window},isNumeric:function(a){var b=a&&a.toString();return!n.isArray(a)&&b-parseFloat(b)+1>=0},isEmptyObject:function(a){var b;for(b in a)return!1;return!0},isPlainObject:function(a){var b;if(!a||"object"!==n.type(a)||a.nodeType||n.isWindow(a))return!1;try{if(a.constructor&&!k.call(a,"constructor")&&!k.call(a.constructor.prototype,"isPrototypeOf"))return!1}catch(c){return!1}if(!l.ownFirst)for(b in a)return k.call(a,b);for(b in a);return void 0===b||k.call(a,b)},type:function(a){return null==a?a+"":"object"==typeof a||"function"==typeof a?i[j.call(a)]||"object":typeof a},globalEval:function(b){b&&n.trim(b)&&(a.execScript||function(b){a.eval.call(a,b)})(b)},camelCase:function(a){return a.replace(p,"ms-").replace(q,r)},nodeName:function(a,b){return a.nodeName&&a.nodeName.toLowerCase()===b.toLowerCase()},each:function(a,b){var c,d=0;if(s(a)){for(c=a.length;c>d;d++)if(b.call(a[d],d,a[d])===!1)break}else for(d in a)if(b.call(a[d],d,a[d])===!1)break;return a},trim:function(a){return null==a?"":(a+"").replace(o,"")},makeArray:function(a,b){var c=b||[];return null!=a&&(s(Object(a))?n.merge(c,"string"==typeof a?[a]:a):g.call(c,a)),c},inArray:function(a,b,c){var d;if(b){if(h)return h.call(b,a,c);for(d=b.length,c=c?0>c?Math.max(0,d+c):c:0;d>c;c++)if(c in b&&b[c]===a)return c}return-1},merge:function(a,b){var c=+b.length,d=0,e=a.length;while(c>d)a[e++]=b[d++];if(c!==c)while(void 0!==b[d])a[e++]=b[d++];return a.length=e,a},grep:function(a,b,c){for(var d,e=[],f=0,g=a.length,h=!c;g>f;f++)d=!b(a[f],f),d!==h&&e.push(a[f]);return e},map:function(a,b,c){var d,e,g=0,h=[];if(s(a))for(d=a.length;d>g;g++)e=b(a[g],g,c),null!=e&&h.push(e);else for(g in a)e=b(a[g],g,c),null!=e&&h.push(e);return f.apply([],h)},guid:1,proxy:function(a,b){var c,d,f;return"string"==typeof b&&(f=a[b],b=a,a=f),n.isFunction(a)?(c=e.call(arguments,2),d=function(){return a.apply(b||this,c.concat(e.call(arguments)))},d.guid=a.guid=a.guid||n.guid++,d):void 0},now:function(){return+new Date},support:l}),"function"==typeof Symbol&&(n.fn[Symbol.iterator]=c[Symbol.iterator]),n.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "),function(a,b){i["[object "+b+"]"]=b.toLowerCase()});function s(a){var b=!!a&&"length"in a&&a.length,c=n.type(a);return"function"===c||n.isWindow(a)?!1:"array"===c||0===b||"number"==typeof b&&b>0&&b-1 in a}var t=function(a){var b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u="sizzle"+1*new Date,v=a.document,w=0,x=0,y=ga(),z=ga(),A=ga(),B=function(a,b){return a===b&&(l=!0),0},C=1<<31,D={}.hasOwnProperty,E=[],F=E.pop,G=E.push,H=E.push,I=E.slice,J=function(a,b){for(var c=0,d=a.length;d>c;c++)if(a[c]===b)return c;return-1},K="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",L="[\\x20\\t\\r\\n\\f]",M="(?:\\\\.|[\\w-]|[^\\x00-\\xa0])+",N="\\["+L+"*("+M+")(?:"+L+"*([*^$|!~]?=)"+L+"*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|("+M+"))|)"+L+"*\\]",O=":("+M+")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|"+N+")*)|.*)\\)|)",P=new RegExp(L+"+","g"),Q=new RegExp("^"+L+"+|((?:^|[^\\\\])(?:\\\\.)*)"+L+"+$","g"),R=new RegExp("^"+L+"*,"+L+"*"),S=new RegExp("^"+L+"*([>+~]|"+L+")"+L+"*"),T=new RegExp("="+L+"*([^\\]'\"]*?)"+L+"*\\]","g"),U=new RegExp(O),V=new RegExp("^"+M+"$"),W={ID:new RegExp("^#("+M+")"),CLASS:new RegExp("^\\.("+M+")"),TAG:new RegExp("^("+M+"|[*])"),ATTR:new RegExp("^"+N),PSEUDO:new RegExp("^"+O),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+L+"*(even|odd|(([+-]|)(\\d*)n|)"+L+"*(?:([+-]|)"+L+"*(\\d+)|))"+L+"*\\)|)","i"),bool:new RegExp("^(?:"+K+")$","i"),needsContext:new RegExp("^"+L+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+L+"*((?:-\\d)?\\d*)"+L+"*\\)|)(?=[^-]|$)","i")},X=/^(?:input|select|textarea|button)$/i,Y=/^h\d$/i,Z=/^[^{]+\{\s*\[native \w/,$=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,_=/[+~]/,aa=/'|\\/g,ba=new RegExp("\\\\([\\da-f]{1,6}"+L+"?|("+L+")|.)","ig"),ca=function(a,b,c){var d="0x"+b-65536;return d!==d||c?b:0>d?String.fromCharCode(d+65536):String.fromCharCode(d>>10|55296,1023&d|56320)},da=function(){m()};try{H.apply(E=I.call(v.childNodes),v.childNodes),E[v.childNodes.length].nodeType}catch(ea){H={apply:E.length?function(a,b){G.apply(a,I.call(b))}:function(a,b){var c=a.length,d=0;while(a[c++]=b[d++]);a.length=c-1}}}function fa(a,b,d,e){var f,h,j,k,l,o,r,s,w=b&&b.ownerDocument,x=b?b.nodeType:9;if(d=d||[],"string"!=typeof a||!a||1!==x&&9!==x&&11!==x)return d;if(!e&&((b?b.ownerDocument||b:v)!==n&&m(b),b=b||n,p)){if(11!==x&&(o=$.exec(a)))if(f=o[1]){if(9===x){if(!(j=b.getElementById(f)))return d;if(j.id===f)return d.push(j),d}else if(w&&(j=w.getElementById(f))&&t(b,j)&&j.id===f)return d.push(j),d}else{if(o[2])return H.apply(d,b.getElementsByTagName(a)),d;if((f=o[3])&&c.getElementsByClassName&&b.getElementsByClassName)return H.apply(d,b.getElementsByClassName(f)),d}if(c.qsa&&!A[a+" "]&&(!q||!q.test(a))){if(1!==x)w=b,s=a;else if("object"!==b.nodeName.toLowerCase()){(k=b.getAttribute("id"))?k=k.replace(aa,"\\$&"):b.setAttribute("id",k=u),r=g(a),h=r.length,l=V.test(k)?"#"+k:"[id='"+k+"']";while(h--)r[h]=l+" "+qa(r[h]);s=r.join(","),w=_.test(a)&&oa(b.parentNode)||b}if(s)try{return H.apply(d,w.querySelectorAll(s)),d}catch(y){}finally{k===u&&b.removeAttribute("id")}}}return i(a.replace(Q,"$1"),b,d,e)}function ga(){var a=[];function b(c,e){return a.push(c+" ")>d.cacheLength&&delete b[a.shift()],b[c+" "]=e}return b}function ha(a){return a[u]=!0,a}function ia(a){var b=n.createElement("div");try{return!!a(b)}catch(c){return!1}finally{b.parentNode&&b.parentNode.removeChild(b),b=null}}function ja(a,b){var c=a.split("|"),e=c.length;while(e--)d.attrHandle[c[e]]=b}function ka(a,b){var c=b&&a,d=c&&1===a.nodeType&&1===b.nodeType&&(~b.sourceIndex||C)-(~a.sourceIndex||C);if(d)return d;if(c)while(c=c.nextSibling)if(c===b)return-1;return a?1:-1}function la(a){return function(b){var c=b.nodeName.toLowerCase();return"input"===c&&b.type===a}}function ma(a){return function(b){var c=b.nodeName.toLowerCase();return("input"===c||"button"===c)&&b.type===a}}function na(a){return ha(function(b){return b=+b,ha(function(c,d){var e,f=a([],c.length,b),g=f.length;while(g--)c[e=f[g]]&&(c[e]=!(d[e]=c[e]))})})}function oa(a){return a&&"undefined"!=typeof a.getElementsByTagName&&a}c=fa.support={},f=fa.isXML=function(a){var b=a&&(a.ownerDocument||a).documentElement;return b?"HTML"!==b.nodeName:!1},m=fa.setDocument=function(a){var b,e,g=a?a.ownerDocument||a:v;return g!==n&&9===g.nodeType&&g.documentElement?(n=g,o=n.documentElement,p=!f(n),(e=n.defaultView)&&e.top!==e&&(e.addEventListener?e.addEventListener("unload",da,!1):e.attachEvent&&e.attachEvent("onunload",da)),c.attributes=ia(function(a){return a.className="i",!a.getAttribute("className")}),c.getElementsByTagName=ia(function(a){return a.appendChild(n.createComment("")),!a.getElementsByTagName("*").length}),c.getElementsByClassName=Z.test(n.getElementsByClassName),c.getById=ia(function(a){return o.appendChild(a).id=u,!n.getElementsByName||!n.getElementsByName(u).length}),c.getById?(d.find.ID=function(a,b){if("undefined"!=typeof b.getElementById&&p){var c=b.getElementById(a);return c?[c]:[]}},d.filter.ID=function(a){var b=a.replace(ba,ca);return function(a){return a.getAttribute("id")===b}}):(delete d.find.ID,d.filter.ID=function(a){var b=a.replace(ba,ca);return function(a){var c="undefined"!=typeof a.getAttributeNode&&a.getAttributeNode("id");return c&&c.value===b}}),d.find.TAG=c.getElementsByTagName?function(a,b){return"undefined"!=typeof b.getElementsByTagName?b.getElementsByTagName(a):c.qsa?b.querySelectorAll(a):void 0}:function(a,b){var c,d=[],e=0,f=b.getElementsByTagName(a);if("*"===a){while(c=f[e++])1===c.nodeType&&d.push(c);return d}return f},d.find.CLASS=c.getElementsByClassName&&function(a,b){return"undefined"!=typeof b.getElementsByClassName&&p?b.getElementsByClassName(a):void 0},r=[],q=[],(c.qsa=Z.test(n.querySelectorAll))&&(ia(function(a){o.appendChild(a).innerHTML="",a.querySelectorAll("[msallowcapture^='']").length&&q.push("[*^$]="+L+"*(?:''|\"\")"),a.querySelectorAll("[selected]").length||q.push("\\["+L+"*(?:value|"+K+")"),a.querySelectorAll("[id~="+u+"-]").length||q.push("~="),a.querySelectorAll(":checked").length||q.push(":checked"),a.querySelectorAll("a#"+u+"+*").length||q.push(".#.+[+~]")}),ia(function(a){var b=n.createElement("input");b.setAttribute("type","hidden"),a.appendChild(b).setAttribute("name","D"),a.querySelectorAll("[name=d]").length&&q.push("name"+L+"*[*^$|!~]?="),a.querySelectorAll(":enabled").length||q.push(":enabled",":disabled"),a.querySelectorAll("*,:x"),q.push(",.*:")})),(c.matchesSelector=Z.test(s=o.matches||o.webkitMatchesSelector||o.mozMatchesSelector||o.oMatchesSelector||o.msMatchesSelector))&&ia(function(a){c.disconnectedMatch=s.call(a,"div"),s.call(a,"[s!='']:x"),r.push("!=",O)}),q=q.length&&new RegExp(q.join("|")),r=r.length&&new RegExp(r.join("|")),b=Z.test(o.compareDocumentPosition),t=b||Z.test(o.contains)?function(a,b){var c=9===a.nodeType?a.documentElement:a,d=b&&b.parentNode;return a===d||!(!d||1!==d.nodeType||!(c.contains?c.contains(d):a.compareDocumentPosition&&16&a.compareDocumentPosition(d)))}:function(a,b){if(b)while(b=b.parentNode)if(b===a)return!0;return!1},B=b?function(a,b){if(a===b)return l=!0,0;var d=!a.compareDocumentPosition-!b.compareDocumentPosition;return d?d:(d=(a.ownerDocument||a)===(b.ownerDocument||b)?a.compareDocumentPosition(b):1,1&d||!c.sortDetached&&b.compareDocumentPosition(a)===d?a===n||a.ownerDocument===v&&t(v,a)?-1:b===n||b.ownerDocument===v&&t(v,b)?1:k?J(k,a)-J(k,b):0:4&d?-1:1)}:function(a,b){if(a===b)return l=!0,0;var c,d=0,e=a.parentNode,f=b.parentNode,g=[a],h=[b];if(!e||!f)return a===n?-1:b===n?1:e?-1:f?1:k?J(k,a)-J(k,b):0;if(e===f)return ka(a,b);c=a;while(c=c.parentNode)g.unshift(c);c=b;while(c=c.parentNode)h.unshift(c);while(g[d]===h[d])d++;return d?ka(g[d],h[d]):g[d]===v?-1:h[d]===v?1:0},n):n},fa.matches=function(a,b){return fa(a,null,null,b)},fa.matchesSelector=function(a,b){if((a.ownerDocument||a)!==n&&m(a),b=b.replace(T,"='$1']"),c.matchesSelector&&p&&!A[b+" "]&&(!r||!r.test(b))&&(!q||!q.test(b)))try{var d=s.call(a,b);if(d||c.disconnectedMatch||a.document&&11!==a.document.nodeType)return d}catch(e){}return fa(b,n,null,[a]).length>0},fa.contains=function(a,b){return(a.ownerDocument||a)!==n&&m(a),t(a,b)},fa.attr=function(a,b){(a.ownerDocument||a)!==n&&m(a);var e=d.attrHandle[b.toLowerCase()],f=e&&D.call(d.attrHandle,b.toLowerCase())?e(a,b,!p):void 0;return void 0!==f?f:c.attributes||!p?a.getAttribute(b):(f=a.getAttributeNode(b))&&f.specified?f.value:null},fa.error=function(a){throw new Error("Syntax error, unrecognized expression: "+a)},fa.uniqueSort=function(a){var b,d=[],e=0,f=0;if(l=!c.detectDuplicates,k=!c.sortStable&&a.slice(0),a.sort(B),l){while(b=a[f++])b===a[f]&&(e=d.push(f));while(e--)a.splice(d[e],1)}return k=null,a},e=fa.getText=function(a){var b,c="",d=0,f=a.nodeType;if(f){if(1===f||9===f||11===f){if("string"==typeof a.textContent)return a.textContent;for(a=a.firstChild;a;a=a.nextSibling)c+=e(a)}else if(3===f||4===f)return a.nodeValue}else while(b=a[d++])c+=e(b);return c},d=fa.selectors={cacheLength:50,createPseudo:ha,match:W,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(a){return a[1]=a[1].replace(ba,ca),a[3]=(a[3]||a[4]||a[5]||"").replace(ba,ca),"~="===a[2]&&(a[3]=" "+a[3]+" "),a.slice(0,4)},CHILD:function(a){return a[1]=a[1].toLowerCase(),"nth"===a[1].slice(0,3)?(a[3]||fa.error(a[0]),a[4]=+(a[4]?a[5]+(a[6]||1):2*("even"===a[3]||"odd"===a[3])),a[5]=+(a[7]+a[8]||"odd"===a[3])):a[3]&&fa.error(a[0]),a},PSEUDO:function(a){var b,c=!a[6]&&a[2];return W.CHILD.test(a[0])?null:(a[3]?a[2]=a[4]||a[5]||"":c&&U.test(c)&&(b=g(c,!0))&&(b=c.indexOf(")",c.length-b)-c.length)&&(a[0]=a[0].slice(0,b),a[2]=c.slice(0,b)),a.slice(0,3))}},filter:{TAG:function(a){var b=a.replace(ba,ca).toLowerCase();return"*"===a?function(){return!0}:function(a){return a.nodeName&&a.nodeName.toLowerCase()===b}},CLASS:function(a){var b=y[a+" "];return b||(b=new RegExp("(^|"+L+")"+a+"("+L+"|$)"))&&y(a,function(a){return b.test("string"==typeof a.className&&a.className||"undefined"!=typeof a.getAttribute&&a.getAttribute("class")||"")})},ATTR:function(a,b,c){return function(d){var e=fa.attr(d,a);return null==e?"!="===b:b?(e+="","="===b?e===c:"!="===b?e!==c:"^="===b?c&&0===e.indexOf(c):"*="===b?c&&e.indexOf(c)>-1:"$="===b?c&&e.slice(-c.length)===c:"~="===b?(" "+e.replace(P," ")+" ").indexOf(c)>-1:"|="===b?e===c||e.slice(0,c.length+1)===c+"-":!1):!0}},CHILD:function(a,b,c,d,e){var f="nth"!==a.slice(0,3),g="last"!==a.slice(-4),h="of-type"===b;return 1===d&&0===e?function(a){return!!a.parentNode}:function(b,c,i){var j,k,l,m,n,o,p=f!==g?"nextSibling":"previousSibling",q=b.parentNode,r=h&&b.nodeName.toLowerCase(),s=!i&&!h,t=!1;if(q){if(f){while(p){m=b;while(m=m[p])if(h?m.nodeName.toLowerCase()===r:1===m.nodeType)return!1;o=p="only"===a&&!o&&"nextSibling"}return!0}if(o=[g?q.firstChild:q.lastChild],g&&s){m=q,l=m[u]||(m[u]={}),k=l[m.uniqueID]||(l[m.uniqueID]={}),j=k[a]||[],n=j[0]===w&&j[1],t=n&&j[2],m=n&&q.childNodes[n];while(m=++n&&m&&m[p]||(t=n=0)||o.pop())if(1===m.nodeType&&++t&&m===b){k[a]=[w,n,t];break}}else if(s&&(m=b,l=m[u]||(m[u]={}),k=l[m.uniqueID]||(l[m.uniqueID]={}),j=k[a]||[],n=j[0]===w&&j[1],t=n),t===!1)while(m=++n&&m&&m[p]||(t=n=0)||o.pop())if((h?m.nodeName.toLowerCase()===r:1===m.nodeType)&&++t&&(s&&(l=m[u]||(m[u]={}),k=l[m.uniqueID]||(l[m.uniqueID]={}),k[a]=[w,t]),m===b))break;return t-=e,t===d||t%d===0&&t/d>=0}}},PSEUDO:function(a,b){var c,e=d.pseudos[a]||d.setFilters[a.toLowerCase()]||fa.error("unsupported pseudo: "+a);return e[u]?e(b):e.length>1?(c=[a,a,"",b],d.setFilters.hasOwnProperty(a.toLowerCase())?ha(function(a,c){var d,f=e(a,b),g=f.length;while(g--)d=J(a,f[g]),a[d]=!(c[d]=f[g])}):function(a){return e(a,0,c)}):e}},pseudos:{not:ha(function(a){var b=[],c=[],d=h(a.replace(Q,"$1"));return d[u]?ha(function(a,b,c,e){var f,g=d(a,null,e,[]),h=a.length;while(h--)(f=g[h])&&(a[h]=!(b[h]=f))}):function(a,e,f){return b[0]=a,d(b,null,f,c),b[0]=null,!c.pop()}}),has:ha(function(a){return function(b){return fa(a,b).length>0}}),contains:ha(function(a){return a=a.replace(ba,ca),function(b){return(b.textContent||b.innerText||e(b)).indexOf(a)>-1}}),lang:ha(function(a){return V.test(a||"")||fa.error("unsupported lang: "+a),a=a.replace(ba,ca).toLowerCase(),function(b){var c;do if(c=p?b.lang:b.getAttribute("xml:lang")||b.getAttribute("lang"))return c=c.toLowerCase(),c===a||0===c.indexOf(a+"-");while((b=b.parentNode)&&1===b.nodeType);return!1}}),target:function(b){var c=a.location&&a.location.hash;return c&&c.slice(1)===b.id},root:function(a){return a===o},focus:function(a){return a===n.activeElement&&(!n.hasFocus||n.hasFocus())&&!!(a.type||a.href||~a.tabIndex)},enabled:function(a){return a.disabled===!1},disabled:function(a){return a.disabled===!0},checked:function(a){var b=a.nodeName.toLowerCase();return"input"===b&&!!a.checked||"option"===b&&!!a.selected},selected:function(a){return a.parentNode&&a.parentNode.selectedIndex,a.selected===!0},empty:function(a){for(a=a.firstChild;a;a=a.nextSibling)if(a.nodeType<6)return!1;return!0},parent:function(a){return!d.pseudos.empty(a)},header:function(a){return Y.test(a.nodeName)},input:function(a){return X.test(a.nodeName)},button:function(a){var b=a.nodeName.toLowerCase();return"input"===b&&"button"===a.type||"button"===b},text:function(a){var b;return"input"===a.nodeName.toLowerCase()&&"text"===a.type&&(null==(b=a.getAttribute("type"))||"text"===b.toLowerCase())},first:na(function(){return[0]}),last:na(function(a,b){return[b-1]}),eq:na(function(a,b,c){return[0>c?c+b:c]}),even:na(function(a,b){for(var c=0;b>c;c+=2)a.push(c);return a}),odd:na(function(a,b){for(var c=1;b>c;c+=2)a.push(c);return a}),lt:na(function(a,b,c){for(var d=0>c?c+b:c;--d>=0;)a.push(d);return a}),gt:na(function(a,b,c){for(var d=0>c?c+b:c;++db;b++)d+=a[b].value;return d}function ra(a,b,c){var d=b.dir,e=c&&"parentNode"===d,f=x++;return b.first?function(b,c,f){while(b=b[d])if(1===b.nodeType||e)return a(b,c,f)}:function(b,c,g){var h,i,j,k=[w,f];if(g){while(b=b[d])if((1===b.nodeType||e)&&a(b,c,g))return!0}else while(b=b[d])if(1===b.nodeType||e){if(j=b[u]||(b[u]={}),i=j[b.uniqueID]||(j[b.uniqueID]={}),(h=i[d])&&h[0]===w&&h[1]===f)return k[2]=h[2];if(i[d]=k,k[2]=a(b,c,g))return!0}}}function sa(a){return a.length>1?function(b,c,d){var e=a.length;while(e--)if(!a[e](b,c,d))return!1;return!0}:a[0]}function ta(a,b,c){for(var d=0,e=b.length;e>d;d++)fa(a,b[d],c);return c}function ua(a,b,c,d,e){for(var f,g=[],h=0,i=a.length,j=null!=b;i>h;h++)(f=a[h])&&(c&&!c(f,d,e)||(g.push(f),j&&b.push(h)));return g}function va(a,b,c,d,e,f){return d&&!d[u]&&(d=va(d)),e&&!e[u]&&(e=va(e,f)),ha(function(f,g,h,i){var j,k,l,m=[],n=[],o=g.length,p=f||ta(b||"*",h.nodeType?[h]:h,[]),q=!a||!f&&b?p:ua(p,m,a,h,i),r=c?e||(f?a:o||d)?[]:g:q;if(c&&c(q,r,h,i),d){j=ua(r,n),d(j,[],h,i),k=j.length;while(k--)(l=j[k])&&(r[n[k]]=!(q[n[k]]=l))}if(f){if(e||a){if(e){j=[],k=r.length;while(k--)(l=r[k])&&j.push(q[k]=l);e(null,r=[],j,i)}k=r.length;while(k--)(l=r[k])&&(j=e?J(f,l):m[k])>-1&&(f[j]=!(g[j]=l))}}else r=ua(r===g?r.splice(o,r.length):r),e?e(null,g,r,i):H.apply(g,r)})}function wa(a){for(var b,c,e,f=a.length,g=d.relative[a[0].type],h=g||d.relative[" "],i=g?1:0,k=ra(function(a){return a===b},h,!0),l=ra(function(a){return J(b,a)>-1},h,!0),m=[function(a,c,d){var e=!g&&(d||c!==j)||((b=c).nodeType?k(a,c,d):l(a,c,d));return b=null,e}];f>i;i++)if(c=d.relative[a[i].type])m=[ra(sa(m),c)];else{if(c=d.filter[a[i].type].apply(null,a[i].matches),c[u]){for(e=++i;f>e;e++)if(d.relative[a[e].type])break;return va(i>1&&sa(m),i>1&&qa(a.slice(0,i-1).concat({value:" "===a[i-2].type?"*":""})).replace(Q,"$1"),c,e>i&&wa(a.slice(i,e)),f>e&&wa(a=a.slice(e)),f>e&&qa(a))}m.push(c)}return sa(m)}function xa(a,b){var c=b.length>0,e=a.length>0,f=function(f,g,h,i,k){var l,o,q,r=0,s="0",t=f&&[],u=[],v=j,x=f||e&&d.find.TAG("*",k),y=w+=null==v?1:Math.random()||.1,z=x.length;for(k&&(j=g===n||g||k);s!==z&&null!=(l=x[s]);s++){if(e&&l){o=0,g||l.ownerDocument===n||(m(l),h=!p);while(q=a[o++])if(q(l,g||n,h)){i.push(l);break}k&&(w=y)}c&&((l=!q&&l)&&r--,f&&t.push(l))}if(r+=s,c&&s!==r){o=0;while(q=b[o++])q(t,u,g,h);if(f){if(r>0)while(s--)t[s]||u[s]||(u[s]=F.call(i));u=ua(u)}H.apply(i,u),k&&!f&&u.length>0&&r+b.length>1&&fa.uniqueSort(i)}return k&&(w=y,j=v),t};return c?ha(f):f}return h=fa.compile=function(a,b){var c,d=[],e=[],f=A[a+" "];if(!f){b||(b=g(a)),c=b.length;while(c--)f=wa(b[c]),f[u]?d.push(f):e.push(f);f=A(a,xa(e,d)),f.selector=a}return f},i=fa.select=function(a,b,e,f){var i,j,k,l,m,n="function"==typeof a&&a,o=!f&&g(a=n.selector||a);if(e=e||[],1===o.length){if(j=o[0]=o[0].slice(0),j.length>2&&"ID"===(k=j[0]).type&&c.getById&&9===b.nodeType&&p&&d.relative[j[1].type]){if(b=(d.find.ID(k.matches[0].replace(ba,ca),b)||[])[0],!b)return e;n&&(b=b.parentNode),a=a.slice(j.shift().value.length)}i=W.needsContext.test(a)?0:j.length;while(i--){if(k=j[i],d.relative[l=k.type])break;if((m=d.find[l])&&(f=m(k.matches[0].replace(ba,ca),_.test(j[0].type)&&oa(b.parentNode)||b))){if(j.splice(i,1),a=f.length&&qa(j),!a)return H.apply(e,f),e;break}}}return(n||h(a,o))(f,b,!p,e,!b||_.test(a)&&oa(b.parentNode)||b),e},c.sortStable=u.split("").sort(B).join("")===u,c.detectDuplicates=!!l,m(),c.sortDetached=ia(function(a){return 1&a.compareDocumentPosition(n.createElement("div"))}),ia(function(a){return a.innerHTML="","#"===a.firstChild.getAttribute("href")})||ja("type|href|height|width",function(a,b,c){return c?void 0:a.getAttribute(b,"type"===b.toLowerCase()?1:2)}),c.attributes&&ia(function(a){return a.innerHTML="",a.firstChild.setAttribute("value",""),""===a.firstChild.getAttribute("value")})||ja("value",function(a,b,c){return c||"input"!==a.nodeName.toLowerCase()?void 0:a.defaultValue}),ia(function(a){return null==a.getAttribute("disabled")})||ja(K,function(a,b,c){var d;return c?void 0:a[b]===!0?b.toLowerCase():(d=a.getAttributeNode(b))&&d.specified?d.value:null}),fa}(a);n.find=t,n.expr=t.selectors,n.expr[":"]=n.expr.pseudos,n.uniqueSort=n.unique=t.uniqueSort,n.text=t.getText,n.isXMLDoc=t.isXML,n.contains=t.contains;var u=function(a,b,c){var d=[],e=void 0!==c;while((a=a[b])&&9!==a.nodeType)if(1===a.nodeType){if(e&&n(a).is(c))break;d.push(a)}return d},v=function(a,b){for(var c=[];a;a=a.nextSibling)1===a.nodeType&&a!==b&&c.push(a);return c},w=n.expr.match.needsContext,x=/^<([\w-]+)\s*\/?>(?:<\/\1>|)$/,y=/^.[^:#\[\.,]*$/;function z(a,b,c){if(n.isFunction(b))return n.grep(a,function(a,d){return!!b.call(a,d,a)!==c});if(b.nodeType)return n.grep(a,function(a){return a===b!==c});if("string"==typeof b){if(y.test(b))return n.filter(b,a,c);b=n.filter(b,a)}return n.grep(a,function(a){return n.inArray(a,b)>-1!==c})}n.filter=function(a,b,c){var d=b[0];return c&&(a=":not("+a+")"),1===b.length&&1===d.nodeType?n.find.matchesSelector(d,a)?[d]:[]:n.find.matches(a,n.grep(b,function(a){return 1===a.nodeType}))},n.fn.extend({find:function(a){var b,c=[],d=this,e=d.length;if("string"!=typeof a)return this.pushStack(n(a).filter(function(){for(b=0;e>b;b++)if(n.contains(d[b],this))return!0}));for(b=0;e>b;b++)n.find(a,d[b],c);return c=this.pushStack(e>1?n.unique(c):c),c.selector=this.selector?this.selector+" "+a:a,c},filter:function(a){return this.pushStack(z(this,a||[],!1))},not:function(a){return this.pushStack(z(this,a||[],!0))},is:function(a){return!!z(this,"string"==typeof a&&w.test(a)?n(a):a||[],!1).length}});var A,B=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]*))$/,C=n.fn.init=function(a,b,c){var e,f;if(!a)return this;if(c=c||A,"string"==typeof a){if(e="<"===a.charAt(0)&&">"===a.charAt(a.length-1)&&a.length>=3?[null,a,null]:B.exec(a),!e||!e[1]&&b)return!b||b.jquery?(b||c).find(a):this.constructor(b).find(a);if(e[1]){if(b=b instanceof n?b[0]:b,n.merge(this,n.parseHTML(e[1],b&&b.nodeType?b.ownerDocument||b:d,!0)),x.test(e[1])&&n.isPlainObject(b))for(e in b)n.isFunction(this[e])?this[e](b[e]):this.attr(e,b[e]);return this}if(f=d.getElementById(e[2]),f&&f.parentNode){if(f.id!==e[2])return A.find(a);this.length=1,this[0]=f}return this.context=d,this.selector=a,this}return a.nodeType?(this.context=this[0]=a,this.length=1,this):n.isFunction(a)?"undefined"!=typeof c.ready?c.ready(a):a(n):(void 0!==a.selector&&(this.selector=a.selector,this.context=a.context),n.makeArray(a,this))};C.prototype=n.fn,A=n(d);var D=/^(?:parents|prev(?:Until|All))/,E={children:!0,contents:!0,next:!0,prev:!0};n.fn.extend({has:function(a){var b,c=n(a,this),d=c.length;return this.filter(function(){for(b=0;d>b;b++)if(n.contains(this,c[b]))return!0})},closest:function(a,b){for(var c,d=0,e=this.length,f=[],g=w.test(a)||"string"!=typeof a?n(a,b||this.context):0;e>d;d++)for(c=this[d];c&&c!==b;c=c.parentNode)if(c.nodeType<11&&(g?g.index(c)>-1:1===c.nodeType&&n.find.matchesSelector(c,a))){f.push(c);break}return this.pushStack(f.length>1?n.uniqueSort(f):f)},index:function(a){return a?"string"==typeof a?n.inArray(this[0],n(a)):n.inArray(a.jquery?a[0]:a,this):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(a,b){return this.pushStack(n.uniqueSort(n.merge(this.get(),n(a,b))))},addBack:function(a){return this.add(null==a?this.prevObject:this.prevObject.filter(a))}});function F(a,b){do a=a[b];while(a&&1!==a.nodeType);return a}n.each({parent:function(a){var b=a.parentNode;return b&&11!==b.nodeType?b:null},parents:function(a){return u(a,"parentNode")},parentsUntil:function(a,b,c){return u(a,"parentNode",c)},next:function(a){return F(a,"nextSibling")},prev:function(a){return F(a,"previousSibling")},nextAll:function(a){return u(a,"nextSibling")},prevAll:function(a){return u(a,"previousSibling")},nextUntil:function(a,b,c){return u(a,"nextSibling",c)},prevUntil:function(a,b,c){return u(a,"previousSibling",c)},siblings:function(a){return v((a.parentNode||{}).firstChild,a)},children:function(a){return v(a.firstChild)},contents:function(a){return n.nodeName(a,"iframe")?a.contentDocument||a.contentWindow.document:n.merge([],a.childNodes)}},function(a,b){n.fn[a]=function(c,d){var e=n.map(this,b,c);return"Until"!==a.slice(-5)&&(d=c),d&&"string"==typeof d&&(e=n.filter(d,e)),this.length>1&&(E[a]||(e=n.uniqueSort(e)),D.test(a)&&(e=e.reverse())),this.pushStack(e)}});var G=/\S+/g;function H(a){var b={};return n.each(a.match(G)||[],function(a,c){b[c]=!0}),b}n.Callbacks=function(a){a="string"==typeof a?H(a):n.extend({},a);var b,c,d,e,f=[],g=[],h=-1,i=function(){for(e=a.once,d=b=!0;g.length;h=-1){c=g.shift();while(++h-1)f.splice(c,1),h>=c&&h--}),this},has:function(a){return a?n.inArray(a,f)>-1:f.length>0},empty:function(){return f&&(f=[]),this},disable:function(){return e=g=[],f=c="",this},disabled:function(){return!f},lock:function(){return e=!0,c||j.disable(),this},locked:function(){return!!e},fireWith:function(a,c){return e||(c=c||[],c=[a,c.slice?c.slice():c],g.push(c),b||i()),this},fire:function(){return j.fireWith(this,arguments),this},fired:function(){return!!d}};return j},n.extend({Deferred:function(a){var b=[["resolve","done",n.Callbacks("once memory"),"resolved"],["reject","fail",n.Callbacks("once memory"),"rejected"],["notify","progress",n.Callbacks("memory")]],c="pending",d={state:function(){return c},always:function(){return e.done(arguments).fail(arguments),this},then:function(){var a=arguments;return n.Deferred(function(c){n.each(b,function(b,f){var g=n.isFunction(a[b])&&a[b];e[f[1]](function(){var a=g&&g.apply(this,arguments);a&&n.isFunction(a.promise)?a.promise().progress(c.notify).done(c.resolve).fail(c.reject):c[f[0]+"With"](this===d?c.promise():this,g?[a]:arguments)})}),a=null}).promise()},promise:function(a){return null!=a?n.extend(a,d):d}},e={};return d.pipe=d.then,n.each(b,function(a,f){var g=f[2],h=f[3];d[f[1]]=g.add,h&&g.add(function(){c=h},b[1^a][2].disable,b[2][2].lock),e[f[0]]=function(){return e[f[0]+"With"](this===e?d:this,arguments),this},e[f[0]+"With"]=g.fireWith}),d.promise(e),a&&a.call(e,e),e},when:function(a){var b=0,c=e.call(arguments),d=c.length,f=1!==d||a&&n.isFunction(a.promise)?d:0,g=1===f?a:n.Deferred(),h=function(a,b,c){return function(d){b[a]=this,c[a]=arguments.length>1?e.call(arguments):d,c===i?g.notifyWith(b,c):--f||g.resolveWith(b,c)}},i,j,k;if(d>1)for(i=new Array(d),j=new Array(d),k=new Array(d);d>b;b++)c[b]&&n.isFunction(c[b].promise)?c[b].promise().progress(h(b,j,i)).done(h(b,k,c)).fail(g.reject):--f;return f||g.resolveWith(k,c),g.promise()}});var I;n.fn.ready=function(a){return n.ready.promise().done(a),this},n.extend({isReady:!1,readyWait:1,holdReady:function(a){a?n.readyWait++:n.ready(!0)},ready:function(a){(a===!0?--n.readyWait:n.isReady)||(n.isReady=!0,a!==!0&&--n.readyWait>0||(I.resolveWith(d,[n]),n.fn.triggerHandler&&(n(d).triggerHandler("ready"),n(d).off("ready"))))}});function J(){d.addEventListener?(d.removeEventListener("DOMContentLoaded",K),a.removeEventListener("load",K)):(d.detachEvent("onreadystatechange",K),a.detachEvent("onload",K))}function K(){(d.addEventListener||"load"===a.event.type||"complete"===d.readyState)&&(J(),n.ready())}n.ready.promise=function(b){if(!I)if(I=n.Deferred(),"complete"===d.readyState||"loading"!==d.readyState&&!d.documentElement.doScroll)a.setTimeout(n.ready);else if(d.addEventListener)d.addEventListener("DOMContentLoaded",K),a.addEventListener("load",K);else{d.attachEvent("onreadystatechange",K),a.attachEvent("onload",K);var c=!1;try{c=null==a.frameElement&&d.documentElement}catch(e){}c&&c.doScroll&&!function f(){if(!n.isReady){try{c.doScroll("left")}catch(b){return a.setTimeout(f,50)}J(),n.ready()}}()}return I.promise(b)},n.ready.promise();var L;for(L in n(l))break;l.ownFirst="0"===L,l.inlineBlockNeedsLayout=!1,n(function(){var a,b,c,e;c=d.getElementsByTagName("body")[0],c&&c.style&&(b=d.createElement("div"),e=d.createElement("div"),e.style.cssText="position:absolute;border:0;width:0;height:0;top:0;left:-9999px",c.appendChild(e).appendChild(b),"undefined"!=typeof b.style.zoom&&(b.style.cssText="display:inline;margin:0;border:0;padding:1px;width:1px;zoom:1",l.inlineBlockNeedsLayout=a=3===b.offsetWidth,a&&(c.style.zoom=1)),c.removeChild(e))}),function(){var a=d.createElement("div");l.deleteExpando=!0;try{delete a.test}catch(b){l.deleteExpando=!1}a=null}();var M=function(a){var b=n.noData[(a.nodeName+" ").toLowerCase()],c=+a.nodeType||1;return 1!==c&&9!==c?!1:!b||b!==!0&&a.getAttribute("classid")===b},N=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,O=/([A-Z])/g;function P(a,b,c){if(void 0===c&&1===a.nodeType){var d="data-"+b.replace(O,"-$1").toLowerCase();if(c=a.getAttribute(d),"string"==typeof c){try{c="true"===c?!0:"false"===c?!1:"null"===c?null:+c+""===c?+c:N.test(c)?n.parseJSON(c):c}catch(e){}n.data(a,b,c)}else c=void 0; +}return c}function Q(a){var b;for(b in a)if(("data"!==b||!n.isEmptyObject(a[b]))&&"toJSON"!==b)return!1;return!0}function R(a,b,d,e){if(M(a)){var f,g,h=n.expando,i=a.nodeType,j=i?n.cache:a,k=i?a[h]:a[h]&&h;if(k&&j[k]&&(e||j[k].data)||void 0!==d||"string"!=typeof b)return k||(k=i?a[h]=c.pop()||n.guid++:h),j[k]||(j[k]=i?{}:{toJSON:n.noop}),"object"!=typeof b&&"function"!=typeof b||(e?j[k]=n.extend(j[k],b):j[k].data=n.extend(j[k].data,b)),g=j[k],e||(g.data||(g.data={}),g=g.data),void 0!==d&&(g[n.camelCase(b)]=d),"string"==typeof b?(f=g[b],null==f&&(f=g[n.camelCase(b)])):f=g,f}}function S(a,b,c){if(M(a)){var d,e,f=a.nodeType,g=f?n.cache:a,h=f?a[n.expando]:n.expando;if(g[h]){if(b&&(d=c?g[h]:g[h].data)){n.isArray(b)?b=b.concat(n.map(b,n.camelCase)):b in d?b=[b]:(b=n.camelCase(b),b=b in d?[b]:b.split(" ")),e=b.length;while(e--)delete d[b[e]];if(c?!Q(d):!n.isEmptyObject(d))return}(c||(delete g[h].data,Q(g[h])))&&(f?n.cleanData([a],!0):l.deleteExpando||g!=g.window?delete g[h]:g[h]=void 0)}}}n.extend({cache:{},noData:{"applet ":!0,"embed ":!0,"object ":"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"},hasData:function(a){return a=a.nodeType?n.cache[a[n.expando]]:a[n.expando],!!a&&!Q(a)},data:function(a,b,c){return R(a,b,c)},removeData:function(a,b){return S(a,b)},_data:function(a,b,c){return R(a,b,c,!0)},_removeData:function(a,b){return S(a,b,!0)}}),n.fn.extend({data:function(a,b){var c,d,e,f=this[0],g=f&&f.attributes;if(void 0===a){if(this.length&&(e=n.data(f),1===f.nodeType&&!n._data(f,"parsedAttrs"))){c=g.length;while(c--)g[c]&&(d=g[c].name,0===d.indexOf("data-")&&(d=n.camelCase(d.slice(5)),P(f,d,e[d])));n._data(f,"parsedAttrs",!0)}return e}return"object"==typeof a?this.each(function(){n.data(this,a)}):arguments.length>1?this.each(function(){n.data(this,a,b)}):f?P(f,a,n.data(f,a)):void 0},removeData:function(a){return this.each(function(){n.removeData(this,a)})}}),n.extend({queue:function(a,b,c){var d;return a?(b=(b||"fx")+"queue",d=n._data(a,b),c&&(!d||n.isArray(c)?d=n._data(a,b,n.makeArray(c)):d.push(c)),d||[]):void 0},dequeue:function(a,b){b=b||"fx";var c=n.queue(a,b),d=c.length,e=c.shift(),f=n._queueHooks(a,b),g=function(){n.dequeue(a,b)};"inprogress"===e&&(e=c.shift(),d--),e&&("fx"===b&&c.unshift("inprogress"),delete f.stop,e.call(a,g,f)),!d&&f&&f.empty.fire()},_queueHooks:function(a,b){var c=b+"queueHooks";return n._data(a,c)||n._data(a,c,{empty:n.Callbacks("once memory").add(function(){n._removeData(a,b+"queue"),n._removeData(a,c)})})}}),n.fn.extend({queue:function(a,b){var c=2;return"string"!=typeof a&&(b=a,a="fx",c--),arguments.lengthh;h++)b(a[h],c,g?d:d.call(a[h],h,b(a[h],c)));return e?a:j?b.call(a):i?b(a[0],c):f},Z=/^(?:checkbox|radio)$/i,$=/<([\w:-]+)/,_=/^$|\/(?:java|ecma)script/i,aa=/^\s+/,ba="abbr|article|aside|audio|bdi|canvas|data|datalist|details|dialog|figcaption|figure|footer|header|hgroup|main|mark|meter|nav|output|picture|progress|section|summary|template|time|video";function ca(a){var b=ba.split("|"),c=a.createDocumentFragment();if(c.createElement)while(b.length)c.createElement(b.pop());return c}!function(){var a=d.createElement("div"),b=d.createDocumentFragment(),c=d.createElement("input");a.innerHTML="
a",l.leadingWhitespace=3===a.firstChild.nodeType,l.tbody=!a.getElementsByTagName("tbody").length,l.htmlSerialize=!!a.getElementsByTagName("link").length,l.html5Clone="<:nav>"!==d.createElement("nav").cloneNode(!0).outerHTML,c.type="checkbox",c.checked=!0,b.appendChild(c),l.appendChecked=c.checked,a.innerHTML="",l.noCloneChecked=!!a.cloneNode(!0).lastChild.defaultValue,b.appendChild(a),c=d.createElement("input"),c.setAttribute("type","radio"),c.setAttribute("checked","checked"),c.setAttribute("name","t"),a.appendChild(c),l.checkClone=a.cloneNode(!0).cloneNode(!0).lastChild.checked,l.noCloneEvent=!!a.addEventListener,a[n.expando]=1,l.attributes=!a.getAttribute(n.expando)}();var da={option:[1,""],legend:[1,"
","
"],area:[1,"",""],param:[1,"",""],thead:[1,"","
"],tr:[2,"","
"],col:[2,"","
"],td:[3,"","
"],_default:l.htmlSerialize?[0,"",""]:[1,"X
","
"]};da.optgroup=da.option,da.tbody=da.tfoot=da.colgroup=da.caption=da.thead,da.th=da.td;function ea(a,b){var c,d,e=0,f="undefined"!=typeof a.getElementsByTagName?a.getElementsByTagName(b||"*"):"undefined"!=typeof a.querySelectorAll?a.querySelectorAll(b||"*"):void 0;if(!f)for(f=[],c=a.childNodes||a;null!=(d=c[e]);e++)!b||n.nodeName(d,b)?f.push(d):n.merge(f,ea(d,b));return void 0===b||b&&n.nodeName(a,b)?n.merge([a],f):f}function fa(a,b){for(var c,d=0;null!=(c=a[d]);d++)n._data(c,"globalEval",!b||n._data(b[d],"globalEval"))}var ga=/<|&#?\w+;/,ha=/r;r++)if(g=a[r],g||0===g)if("object"===n.type(g))n.merge(q,g.nodeType?[g]:g);else if(ga.test(g)){i=i||p.appendChild(b.createElement("div")),j=($.exec(g)||["",""])[1].toLowerCase(),m=da[j]||da._default,i.innerHTML=m[1]+n.htmlPrefilter(g)+m[2],f=m[0];while(f--)i=i.lastChild;if(!l.leadingWhitespace&&aa.test(g)&&q.push(b.createTextNode(aa.exec(g)[0])),!l.tbody){g="table"!==j||ha.test(g)?""!==m[1]||ha.test(g)?0:i:i.firstChild,f=g&&g.childNodes.length;while(f--)n.nodeName(k=g.childNodes[f],"tbody")&&!k.childNodes.length&&g.removeChild(k)}n.merge(q,i.childNodes),i.textContent="";while(i.firstChild)i.removeChild(i.firstChild);i=p.lastChild}else q.push(b.createTextNode(g));i&&p.removeChild(i),l.appendChecked||n.grep(ea(q,"input"),ia),r=0;while(g=q[r++])if(d&&n.inArray(g,d)>-1)e&&e.push(g);else if(h=n.contains(g.ownerDocument,g),i=ea(p.appendChild(g),"script"),h&&fa(i),c){f=0;while(g=i[f++])_.test(g.type||"")&&c.push(g)}return i=null,p}!function(){var b,c,e=d.createElement("div");for(b in{submit:!0,change:!0,focusin:!0})c="on"+b,(l[b]=c in a)||(e.setAttribute(c,"t"),l[b]=e.attributes[c].expando===!1);e=null}();var ka=/^(?:input|select|textarea)$/i,la=/^key/,ma=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,na=/^(?:focusinfocus|focusoutblur)$/,oa=/^([^.]*)(?:\.(.+)|)/;function pa(){return!0}function qa(){return!1}function ra(){try{return d.activeElement}catch(a){}}function sa(a,b,c,d,e,f){var g,h;if("object"==typeof b){"string"!=typeof c&&(d=d||c,c=void 0);for(h in b)sa(a,h,c,d,b[h],f);return a}if(null==d&&null==e?(e=c,d=c=void 0):null==e&&("string"==typeof c?(e=d,d=void 0):(e=d,d=c,c=void 0)),e===!1)e=qa;else if(!e)return a;return 1===f&&(g=e,e=function(a){return n().off(a),g.apply(this,arguments)},e.guid=g.guid||(g.guid=n.guid++)),a.each(function(){n.event.add(this,b,e,d,c)})}n.event={global:{},add:function(a,b,c,d,e){var f,g,h,i,j,k,l,m,o,p,q,r=n._data(a);if(r){c.handler&&(i=c,c=i.handler,e=i.selector),c.guid||(c.guid=n.guid++),(g=r.events)||(g=r.events={}),(k=r.handle)||(k=r.handle=function(a){return"undefined"==typeof n||a&&n.event.triggered===a.type?void 0:n.event.dispatch.apply(k.elem,arguments)},k.elem=a),b=(b||"").match(G)||[""],h=b.length;while(h--)f=oa.exec(b[h])||[],o=q=f[1],p=(f[2]||"").split(".").sort(),o&&(j=n.event.special[o]||{},o=(e?j.delegateType:j.bindType)||o,j=n.event.special[o]||{},l=n.extend({type:o,origType:q,data:d,handler:c,guid:c.guid,selector:e,needsContext:e&&n.expr.match.needsContext.test(e),namespace:p.join(".")},i),(m=g[o])||(m=g[o]=[],m.delegateCount=0,j.setup&&j.setup.call(a,d,p,k)!==!1||(a.addEventListener?a.addEventListener(o,k,!1):a.attachEvent&&a.attachEvent("on"+o,k))),j.add&&(j.add.call(a,l),l.handler.guid||(l.handler.guid=c.guid)),e?m.splice(m.delegateCount++,0,l):m.push(l),n.event.global[o]=!0);a=null}},remove:function(a,b,c,d,e){var f,g,h,i,j,k,l,m,o,p,q,r=n.hasData(a)&&n._data(a);if(r&&(k=r.events)){b=(b||"").match(G)||[""],j=b.length;while(j--)if(h=oa.exec(b[j])||[],o=q=h[1],p=(h[2]||"").split(".").sort(),o){l=n.event.special[o]||{},o=(d?l.delegateType:l.bindType)||o,m=k[o]||[],h=h[2]&&new RegExp("(^|\\.)"+p.join("\\.(?:.*\\.|)")+"(\\.|$)"),i=f=m.length;while(f--)g=m[f],!e&&q!==g.origType||c&&c.guid!==g.guid||h&&!h.test(g.namespace)||d&&d!==g.selector&&("**"!==d||!g.selector)||(m.splice(f,1),g.selector&&m.delegateCount--,l.remove&&l.remove.call(a,g));i&&!m.length&&(l.teardown&&l.teardown.call(a,p,r.handle)!==!1||n.removeEvent(a,o,r.handle),delete k[o])}else for(o in k)n.event.remove(a,o+b[j],c,d,!0);n.isEmptyObject(k)&&(delete r.handle,n._removeData(a,"events"))}},trigger:function(b,c,e,f){var g,h,i,j,l,m,o,p=[e||d],q=k.call(b,"type")?b.type:b,r=k.call(b,"namespace")?b.namespace.split("."):[];if(i=m=e=e||d,3!==e.nodeType&&8!==e.nodeType&&!na.test(q+n.event.triggered)&&(q.indexOf(".")>-1&&(r=q.split("."),q=r.shift(),r.sort()),h=q.indexOf(":")<0&&"on"+q,b=b[n.expando]?b:new n.Event(q,"object"==typeof b&&b),b.isTrigger=f?2:3,b.namespace=r.join("."),b.rnamespace=b.namespace?new RegExp("(^|\\.)"+r.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,b.result=void 0,b.target||(b.target=e),c=null==c?[b]:n.makeArray(c,[b]),l=n.event.special[q]||{},f||!l.trigger||l.trigger.apply(e,c)!==!1)){if(!f&&!l.noBubble&&!n.isWindow(e)){for(j=l.delegateType||q,na.test(j+q)||(i=i.parentNode);i;i=i.parentNode)p.push(i),m=i;m===(e.ownerDocument||d)&&p.push(m.defaultView||m.parentWindow||a)}o=0;while((i=p[o++])&&!b.isPropagationStopped())b.type=o>1?j:l.bindType||q,g=(n._data(i,"events")||{})[b.type]&&n._data(i,"handle"),g&&g.apply(i,c),g=h&&i[h],g&&g.apply&&M(i)&&(b.result=g.apply(i,c),b.result===!1&&b.preventDefault());if(b.type=q,!f&&!b.isDefaultPrevented()&&(!l._default||l._default.apply(p.pop(),c)===!1)&&M(e)&&h&&e[q]&&!n.isWindow(e)){m=e[h],m&&(e[h]=null),n.event.triggered=q;try{e[q]()}catch(s){}n.event.triggered=void 0,m&&(e[h]=m)}return b.result}},dispatch:function(a){a=n.event.fix(a);var b,c,d,f,g,h=[],i=e.call(arguments),j=(n._data(this,"events")||{})[a.type]||[],k=n.event.special[a.type]||{};if(i[0]=a,a.delegateTarget=this,!k.preDispatch||k.preDispatch.call(this,a)!==!1){h=n.event.handlers.call(this,a,j),b=0;while((f=h[b++])&&!a.isPropagationStopped()){a.currentTarget=f.elem,c=0;while((g=f.handlers[c++])&&!a.isImmediatePropagationStopped())a.rnamespace&&!a.rnamespace.test(g.namespace)||(a.handleObj=g,a.data=g.data,d=((n.event.special[g.origType]||{}).handle||g.handler).apply(f.elem,i),void 0!==d&&(a.result=d)===!1&&(a.preventDefault(),a.stopPropagation()))}return k.postDispatch&&k.postDispatch.call(this,a),a.result}},handlers:function(a,b){var c,d,e,f,g=[],h=b.delegateCount,i=a.target;if(h&&i.nodeType&&("click"!==a.type||isNaN(a.button)||a.button<1))for(;i!=this;i=i.parentNode||this)if(1===i.nodeType&&(i.disabled!==!0||"click"!==a.type)){for(d=[],c=0;h>c;c++)f=b[c],e=f.selector+" ",void 0===d[e]&&(d[e]=f.needsContext?n(e,this).index(i)>-1:n.find(e,this,null,[i]).length),d[e]&&d.push(f);d.length&&g.push({elem:i,handlers:d})}return h]","i"),va=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:-]+)[^>]*)\/>/gi,wa=/\s*$/g,Aa=ca(d),Ba=Aa.appendChild(d.createElement("div"));function Ca(a,b){return n.nodeName(a,"table")&&n.nodeName(11!==b.nodeType?b:b.firstChild,"tr")?a.getElementsByTagName("tbody")[0]||a.appendChild(a.ownerDocument.createElement("tbody")):a}function Da(a){return a.type=(null!==n.find.attr(a,"type"))+"/"+a.type,a}function Ea(a){var b=ya.exec(a.type);return b?a.type=b[1]:a.removeAttribute("type"),a}function Fa(a,b){if(1===b.nodeType&&n.hasData(a)){var c,d,e,f=n._data(a),g=n._data(b,f),h=f.events;if(h){delete g.handle,g.events={};for(c in h)for(d=0,e=h[c].length;e>d;d++)n.event.add(b,c,h[c][d])}g.data&&(g.data=n.extend({},g.data))}}function Ga(a,b){var c,d,e;if(1===b.nodeType){if(c=b.nodeName.toLowerCase(),!l.noCloneEvent&&b[n.expando]){e=n._data(b);for(d in e.events)n.removeEvent(b,d,e.handle);b.removeAttribute(n.expando)}"script"===c&&b.text!==a.text?(Da(b).text=a.text,Ea(b)):"object"===c?(b.parentNode&&(b.outerHTML=a.outerHTML),l.html5Clone&&a.innerHTML&&!n.trim(b.innerHTML)&&(b.innerHTML=a.innerHTML)):"input"===c&&Z.test(a.type)?(b.defaultChecked=b.checked=a.checked,b.value!==a.value&&(b.value=a.value)):"option"===c?b.defaultSelected=b.selected=a.defaultSelected:"input"!==c&&"textarea"!==c||(b.defaultValue=a.defaultValue)}}function Ha(a,b,c,d){b=f.apply([],b);var e,g,h,i,j,k,m=0,o=a.length,p=o-1,q=b[0],r=n.isFunction(q);if(r||o>1&&"string"==typeof q&&!l.checkClone&&xa.test(q))return a.each(function(e){var f=a.eq(e);r&&(b[0]=q.call(this,e,f.html())),Ha(f,b,c,d)});if(o&&(k=ja(b,a[0].ownerDocument,!1,a,d),e=k.firstChild,1===k.childNodes.length&&(k=e),e||d)){for(i=n.map(ea(k,"script"),Da),h=i.length;o>m;m++)g=k,m!==p&&(g=n.clone(g,!0,!0),h&&n.merge(i,ea(g,"script"))),c.call(a[m],g,m);if(h)for(j=i[i.length-1].ownerDocument,n.map(i,Ea),m=0;h>m;m++)g=i[m],_.test(g.type||"")&&!n._data(g,"globalEval")&&n.contains(j,g)&&(g.src?n._evalUrl&&n._evalUrl(g.src):n.globalEval((g.text||g.textContent||g.innerHTML||"").replace(za,"")));k=e=null}return a}function Ia(a,b,c){for(var d,e=b?n.filter(b,a):a,f=0;null!=(d=e[f]);f++)c||1!==d.nodeType||n.cleanData(ea(d)),d.parentNode&&(c&&n.contains(d.ownerDocument,d)&&fa(ea(d,"script")),d.parentNode.removeChild(d));return a}n.extend({htmlPrefilter:function(a){return a.replace(va,"<$1>")},clone:function(a,b,c){var d,e,f,g,h,i=n.contains(a.ownerDocument,a);if(l.html5Clone||n.isXMLDoc(a)||!ua.test("<"+a.nodeName+">")?f=a.cloneNode(!0):(Ba.innerHTML=a.outerHTML,Ba.removeChild(f=Ba.firstChild)),!(l.noCloneEvent&&l.noCloneChecked||1!==a.nodeType&&11!==a.nodeType||n.isXMLDoc(a)))for(d=ea(f),h=ea(a),g=0;null!=(e=h[g]);++g)d[g]&&Ga(e,d[g]);if(b)if(c)for(h=h||ea(a),d=d||ea(f),g=0;null!=(e=h[g]);g++)Fa(e,d[g]);else Fa(a,f);return d=ea(f,"script"),d.length>0&&fa(d,!i&&ea(a,"script")),d=h=e=null,f},cleanData:function(a,b){for(var d,e,f,g,h=0,i=n.expando,j=n.cache,k=l.attributes,m=n.event.special;null!=(d=a[h]);h++)if((b||M(d))&&(f=d[i],g=f&&j[f])){if(g.events)for(e in g.events)m[e]?n.event.remove(d,e):n.removeEvent(d,e,g.handle);j[f]&&(delete j[f],k||"undefined"==typeof d.removeAttribute?d[i]=void 0:d.removeAttribute(i),c.push(f))}}}),n.fn.extend({domManip:Ha,detach:function(a){return Ia(this,a,!0)},remove:function(a){return Ia(this,a)},text:function(a){return Y(this,function(a){return void 0===a?n.text(this):this.empty().append((this[0]&&this[0].ownerDocument||d).createTextNode(a))},null,a,arguments.length)},append:function(){return Ha(this,arguments,function(a){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var b=Ca(this,a);b.appendChild(a)}})},prepend:function(){return Ha(this,arguments,function(a){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var b=Ca(this,a);b.insertBefore(a,b.firstChild)}})},before:function(){return Ha(this,arguments,function(a){this.parentNode&&this.parentNode.insertBefore(a,this)})},after:function(){return Ha(this,arguments,function(a){this.parentNode&&this.parentNode.insertBefore(a,this.nextSibling)})},empty:function(){for(var a,b=0;null!=(a=this[b]);b++){1===a.nodeType&&n.cleanData(ea(a,!1));while(a.firstChild)a.removeChild(a.firstChild);a.options&&n.nodeName(a,"select")&&(a.options.length=0)}return this},clone:function(a,b){return a=null==a?!1:a,b=null==b?a:b,this.map(function(){return n.clone(this,a,b)})},html:function(a){return Y(this,function(a){var b=this[0]||{},c=0,d=this.length;if(void 0===a)return 1===b.nodeType?b.innerHTML.replace(ta,""):void 0;if("string"==typeof a&&!wa.test(a)&&(l.htmlSerialize||!ua.test(a))&&(l.leadingWhitespace||!aa.test(a))&&!da[($.exec(a)||["",""])[1].toLowerCase()]){a=n.htmlPrefilter(a);try{for(;d>c;c++)b=this[c]||{},1===b.nodeType&&(n.cleanData(ea(b,!1)),b.innerHTML=a);b=0}catch(e){}}b&&this.empty().append(a)},null,a,arguments.length)},replaceWith:function(){var a=[];return Ha(this,arguments,function(b){var c=this.parentNode;n.inArray(this,a)<0&&(n.cleanData(ea(this)),c&&c.replaceChild(b,this))},a)}}),n.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(a,b){n.fn[a]=function(a){for(var c,d=0,e=[],f=n(a),h=f.length-1;h>=d;d++)c=d===h?this:this.clone(!0),n(f[d])[b](c),g.apply(e,c.get());return this.pushStack(e)}});var Ja,Ka={HTML:"block",BODY:"block"};function La(a,b){var c=n(b.createElement(a)).appendTo(b.body),d=n.css(c[0],"display");return c.detach(),d}function Ma(a){var b=d,c=Ka[a];return c||(c=La(a,b),"none"!==c&&c||(Ja=(Ja||n("