Commit e2080e1754d4f0835f9b4732efd9b06b73c72d69

Authored by 后端研发-苏明海
2 parents daf77472 7591a493

Merge branch 'qa' into 'master'

Qa

See merge request !344
... ... @@ -385,5 +385,20 @@ App({
385 385 }
386 386 });
387 387 },
  388 +
  389 + //------定时等待某个值,有值才进行运算--------
  390 + waitfor:function(page,key,pop_value,func){
  391 + var n=0;
  392 + if(!page.data[key]){
  393 + page.data[key]=setInterval(function(){
  394 + console.log(page.data[key]);n++;
  395 + if(pop_value) {
  396 + clearInterval(page.data[key]);
  397 + func();
  398 + }
  399 + if(n>15) clearInterval(page.data[key]);
  400 + },1000);
  401 + }
  402 + }
388 403  
389 404 });
... ...
app.json
1 1 {
2   - "pages": [
3   -
  2 + "pages": [
4 3 "pages/index/index/index",
5 4 "pages/goods/categoryList/categoryList",
6 5 "pages/cart/cart/cart",
... ... @@ -83,7 +82,8 @@
83 82 "pages/user/assistance/friend_assistance",
84 83 "pages/user/assistance/assistance_success",
85 84 "pages/user/assistance/assistance",
86   - "pages/video/index"
  85 + "pages/video/index",
  86 + "pages/template/index"
87 87  
88 88 ],
89 89 "permission": {
... ...
components/goods_list/g_filter.wxs
... ... @@ -20,7 +20,9 @@ var g_filters = {
20 20 var min_name=null;
21 21 //---设置对应的价格名字----
22 22 for(var i=0;i<3;i++) {
23   - var vl=all_card[i];
  23 + var vl=all_card[i];
  24 + if(!vl) continue;
  25 +
24 26 if(vl['CorrPrice']=="Price1" && price1>0)
25 27 {
26 28 if(min_price==null) {
... ...
pages/goods/goodsInfo/g_filter.wxs
... ... @@ -24,7 +24,8 @@ var g_filters = {
24 24 var min_name=null;
25 25 //---设置对应的价格名字----
26 26 for(var i=0;i<3;i++) {
27   - var vl=all_card[i];
  27 + var vl=all_card[i];
  28 + if(!vl) continue;
28 29 if(vl['CorrPrice']=="Price1" && price1>0)
29 30 {
30 31 if(min_price==null) {
... ...
pages/goods/goodsList/g_filter.wxs
... ... @@ -11,17 +11,21 @@ var g_filters = {
11 11 var price1=parseFloat(goods['cardprice1']);
12 12 var price2=parseFloat(goods['cardprice2']);
13 13 var price3=parseFloat(goods['cardprice3']);
14   -
15   - if(!all_card){
  14 + if(!all_card){
16 15 if(type==0) return 0;
17 16 return "";
18   - }
19   -
  17 + }
  18 +
  19 + var arr=[];
  20 + var min_price= 0;
  21 + var min_name="";
  22 +
20 23 var min_price=null;
21 24 var min_name=null;
22 25 //---设置对应的价格名字----
23 26 for(var i=0;i<3;i++) {
24   - var vl=all_card[i];
  27 + var vl=all_card[i];
  28 + if(!vl) continue;
25 29 if(vl['CorrPrice']=="Price1" && price1>0)
26 30 {
27 31 if(min_price==null) {
... ... @@ -56,8 +60,23 @@ var g_filters = {
56 60 if(type==0) return 0;
57 61 return "";
58 62 }
59   -
60   - if(type==0) return min_price;
  63 +
  64 + //if(type==0) return arr.length;
  65 + //--进行排序,升序---
  66 + /*---
  67 + arr.sort(function(a,b){
  68 + if (a.price < b.price) {
  69 + return -1;
  70 + } else if (a.fee == b.fee) {
  71 + return 0;
  72 + } else {
  73 + return 1;
  74 + }
  75 + })--*/
  76 + //-- 获取最下价钱,和相应的卡的名称 --
  77 + //min_price=min.price;
  78 + //min_name=min.name;
  79 + if(type==0) return min_price.toFixed(2);
61 80 if(min_name.length>4 ) min_name=min_name.substring(0, 4);
62 81 return min_name;
63 82 },
... ...
pages/goods/search/g_filter.wxs
... ... @@ -8,20 +8,24 @@ var g_filters = {
8 8  
9 9 //-- 判断,不是等级会员时候,要显示的最低等级价和名称 --
10 10 get_card_price:function(goods,all_card,type){
11   - var price1 = parseFloat(goods['cardprice1']);
12   - var price2 = parseFloat(goods['cardprice2']);
13   - var price3 = parseFloat(goods['cardprice3']);
14   -
15   - if(!all_card){
  11 + var price1=parseFloat(goods['cardprice1']);
  12 + var price2=parseFloat(goods['cardprice2']);
  13 + var price3=parseFloat(goods['cardprice3']);
  14 + if(!all_card){
16 15 if(type==0) return 0;
17 16 return "";
18   - }
19   -
  17 + }
  18 +
  19 + var arr=[];
  20 + var min_price= 0;
  21 + var min_name="";
  22 +
20 23 var min_price=null;
21 24 var min_name=null;
22 25 //---设置对应的价格名字----
23 26 for(var i=0;i<3;i++) {
24   - var vl=all_card[i];
  27 + var vl=all_card[i];
  28 + if(!vl) continue;
25 29 if(vl['CorrPrice']=="Price1" && price1>0)
26 30 {
27 31 if(min_price==null) {
... ... @@ -56,13 +60,27 @@ var g_filters = {
56 60 if(type==0) return 0;
57 61 return "";
58 62 }
59   -
60   - if(type==0) return min_price;
  63 +
  64 + //if(type==0) return arr.length;
  65 + //--进行排序,升序---
  66 + /*---
  67 + arr.sort(function(a,b){
  68 + if (a.price < b.price) {
  69 + return -1;
  70 + } else if (a.fee == b.fee) {
  71 + return 0;
  72 + } else {
  73 + return 1;
  74 + }
  75 + })--*/
  76 + //-- 获取最下价钱,和相应的卡的名称 --
  77 + //min_price=min.price;
  78 + //min_name=min.name;
  79 + if(type==0) return min_price.toFixed(2);
61 80 if(min_name.length>4 ) min_name=min_name.substring(0, 4);
62 81 return min_name;
63 82 },
64 83 }
65   -
66 84 module.exports = {
67 85 is_has_rank:g_filters.is_has_rank,
68 86 get_card_price:g_filters.get_card_price,
... ...
pages/index/index/index.js
... ... @@ -70,6 +70,8 @@ Page({
70 70 is_disgraceful: 0, //是否显示新人广告
71 71 new_image: "", //新人有礼弹窗图片
72 72 new_nav: "", //新人页面跳转地址
  73 +
  74 + w_holiday_pop:0
73 75  
74 76 },
75 77  
... ... @@ -90,7 +92,7 @@ Page({
90 92 });
91 93 }
92 94 })
93   - th.is_festival();
  95 +
94 96  
95 97 },
96 98 //关闭新用户领取广告
... ... @@ -102,10 +104,7 @@ Page({
102 104 },
103 105 async onShow() {
104 106 var th = this;
105   - var new_nav = th.data.new_nav;
106   - if (new_nav == "") {
107   - th.is_new();
108   - }
  107 +
109 108 if (getApp().globalData.user_id) getApp().requestCardNum();
110 109 await this.init_load();
111 110 //显示的时候要开启计时器
... ... @@ -113,7 +112,14 @@ Page({
113 112 //如果是自定义模板
114 113 if (this.data.isTemplate) {
115 114 //---先获取会员---
116   - t.getUserFir(function() {});
  115 + t.getUserFir(function() {
  116 + th.is_festival();
  117 + var new_nav = th.data.new_nav;
  118 + if (new_nav == "") {
  119 + th.is_new();
  120 + }
  121 +
  122 + });
117 123 } else {
118 124 await this.init_fir();
119 125 }
... ... @@ -159,7 +165,9 @@ Page({
159 165 //当隐藏的时候就关闭计时器
160 166 onHide: function() {
161 167 this.data.is_timer = 0;
162   - clearInterval(this.data.pt_timer)
  168 + clearInterval(this.data.pt_timer);
  169 + clearInterval(this.data.w_holiday_pop);
  170 + this.data.w_holiday_pop=0;
163 171 },
164 172  
165 173 //同步初始加载
... ... @@ -368,7 +376,12 @@ Page({
368 376 });
369 377 //---先获取会员---
370 378 t.getUserFir(function() {
371   -
  379 + th.is_festival();
  380 + var new_nav = th.data.new_nav;
  381 + if (new_nav == "") {
  382 + th.is_new();
  383 + }
  384 +
372 385 });
373 386 var goods_list = this.selectComponent("#goods_list"); //组件的id
374 387 goods_list.init();
... ... @@ -727,12 +740,19 @@ Page({
727 740 th.setData({
728 741 is_disgraceful: 1
729 742 })
730   - }
  743 + }else{
  744 + th.check_holiday_pop(); //节日的弹窗
  745 + }
  746 +
731 747 })
732   - }
  748 + }else{
  749 + th.check_holiday_pop(); //节日的弹窗
  750 + }
  751 +
733 752 })
734 753  
735 754 },
  755 +
736 756 is_festival: function(e) {
737 757 var th = this;
738 758 var url = "/api/weshop/marketing/holiday/act/judge";
... ... @@ -747,7 +767,11 @@ Page({
747 767 var giftBagId = res.data.data.gifBagId; //礼包id
748 768 var nav_url = "/pages/giftpack/festival/festival?actId=" + actid + '&' + 'actType=' + 3 + '&' + 'giftBagId=' + giftBagId;
749 769 var swiperimage = th.data.swiperimage;
750   - var actBoundImg = res.data.data.actBoundImg; actBoundImg
  770 + var actBoundImg = res.data.data.actBoundImg;
  771 +
  772 + th.data.holiday_image= res.data.data.actImg;
  773 + th.data.holiday_url=nav_url;
  774 +
751 775 var img = {
752 776 image: actBoundImg,
753 777 nav_url: nav_url
... ... @@ -759,5 +783,19 @@ Page({
759 783 })
760 784 }
761 785 })
  786 + },
  787 +
  788 + //弹出节日有礼
  789 + check_holiday_pop:function(){
  790 + var th=this;
  791 + getApp().waitfor(th,'w_holiday_pop',th.data.holiday_image,function(){
  792 + console.log(th.data.holiday_image);
  793 + th.setData({
  794 + new_image: th.data.holiday_image,
  795 + new_nav: th.data.holiday_url,
  796 + is_disgraceful: 1
  797 + })
  798 + })
762 799 }
  800 +
763 801 });
764 802 \ No newline at end of file
... ...
pages/index/index/index.wxml
... ... @@ -340,6 +340,7 @@
340 340 </view>
341 341 </block>
342 342 </view>
  343 +
343 344 <!-- 蒙尘 -->
344 345 <block wx:if="{{is_disgraceful}}">
345 346 <view class="disgraceful">
... ... @@ -357,4 +358,8 @@
357 358 </view>
358 359 </view>
359 360 </view>
360   -</block>
361 361 \ No newline at end of file
  362 +</block>
  363 +
  364 +
  365 +
  366 +
... ...
pages/template/index.js 0 → 100644
  1 +
  2 +var t = getApp(),
  3 + a = t.request,
  4 + os = t.globalData.setting,
  5 + ut = require("../../utils/util.js"),
  6 + com = require("../../utils/common.js");
  7 + var regeneratorRuntime = require('../../utils/runtime.js');
  8 + var api = require('../../api/api.js');
  9 + var appd = getApp().globalData;
  10 +
  11 +Page({
  12 + data: {
  13 + url: os.imghost,
  14 + temp_id:0,
  15 + },
  16 +
  17 + onLoad: function(e) {
  18 + var th = this;
  19 + this.data.temp_id=e.sence;
  20 + if(!this.data.temp_id) this.data.temp_id=743;
  21 + },
  22 +
  23 + async onShow() {
  24 + var th = this;
  25 + await this.init_load();
  26 + //如果是自定义模板
  27 + if (this.data.isTemplate) {
  28 +
  29 + }
  30 + },
  31 +
  32 + //当隐藏的时候就关闭计时器
  33 + onHide: function() {
  34 +
  35 + },
  36 +
  37 + //同步初始加载
  38 + async init_load() {
  39 + var th = this;
  40 + //因为营销版本的功能包含了自定义模板的功能,是同时的
  41 + //读取全局是否有弄自定义模板
  42 + await getApp().request.promiseGet("/api/weshop/store_module/get/"+th.data.temp_id+"/4",{1:1} ).then(res => {
  43 + var data = res.data.data;
  44 + if (data) {
  45 + var temp_data = data;
  46 + var t_arr = JSON.parse(temp_data.json_str);
  47 + th.setData({
  48 + template_arr: t_arr,
  49 + isTemplate: 1,
  50 + bgcolor_t: temp_data.bkcolor
  51 + });
  52 + }
  53 + })
  54 +
  55 + wx.setNavigationBarTitle({
  56 + title: '模板预览',
  57 + });
  58 +
  59 + },
  60 +
  61 +
  62 + onPullDownRefresh: function(e) {
  63 +
  64 + },
  65 + onUnload: function() {
  66 +
  67 + },
  68 + setCountTime: function(e) {
  69 +
  70 + },
  71 +
  72 +
  73 + onPageScroll: function(e) {
  74 +
  75 + },
  76 +
  77 + onShareAppMessage: function(e) {
  78 +
  79 + },
  80 +
  81 +
  82 +
  83 +});
0 84 \ No newline at end of file
... ...
pages/template/index.json 0 → 100644
  1 +{
  2 + "navigationBarBackgroundColor": "#ff7295",
  3 + "navigationBarTextStyle": "white",
  4 + "usingComponents": {
  5 + "goods_recommend":"/components/goods_list/goods_list",
  6 + "nav": "/components/diy_nav/diy_nav",
  7 + "advertising":"/components/diy_advertising/diy_advertising",
  8 + "groupbuy": "/components/diy_groupbuy/diy_groupbuy",
  9 + "goodsGroup": "/components/diy_goodsGroup/diy_goodsGroup",
  10 + "seckill": "/components/diy_seckill/diy_seckill",
  11 + "searchbox":"/components/diy_searchbox/diy_searchbox",
  12 + "shopname": "/components/diy_shopname/diy_shopname",
  13 + "pingd_buy": "/components/diy_pingd_buy/diy_pingd_buy",
  14 + "title": "/components/diy_title/diy_title",
  15 + "notice": "/components/diy_notice/diy_notice",
  16 + "voice": "/components/diy_voice/diy_voice",
  17 + "richtext": "/components/diy_richtext/diy_richtext",
  18 + "assist":"/components/diy_assist/diy_assist",
  19 + "picMax": "/components/diy_picMax/diy_picMax",
  20 + "mvideo": "/components/diy_video/diy_video"
  21 + }
  22 +}
0 23 \ No newline at end of file
... ...
pages/template/index.wxml 0 → 100644
  1 +<view class="container" style="background-color:{{bgcolor_t}}">
  2 + <block wx:for="{{template_arr}}" wx:key="{{index}}">
  3 + <view>
  4 + <!--导航-->
  5 + <block wx:if="{{item.ename=='nav'}}">
  6 + <nav object="{{item.content}}"></nav>
  7 + </block>
  8 + <!--店招-->
  9 + <block wx:if="{{item.ename=='shopname'}}">
  10 + <shopname object="{{item.content}}"></shopname>
  11 + </block>
  12 + <!--广告组合-->
  13 + <block wx:if="{{item.ename=='advertising'}}">
  14 + <advertising object="{{item.content}}"></advertising>
  15 + </block>
  16 + <!--商品分组-->
  17 + <block wx:if="{{item.ename=='goodsGroup'}}">
  18 + <goodsGroup object="{{item.content}}"></goodsGroup>
  19 + </block>
  20 + <!--通知-->
  21 + <block wx:if="{{item.ename=='notice'}}">
  22 + <notice object="{{item.content}}"></notice>
  23 + </block>
  24 + <!--语音-->
  25 + <block wx:if="{{item.ename=='voice'}}">
  26 + <voice object="{{item.content}}"></voice>
  27 + </block>
  28 + <!--视频-->
  29 + <block wx:if="{{item.ename=='video'}}">
  30 + <mvideo object="{{item.content}}"></mvideo>
  31 + </block>
  32 + <!--搜索-->
  33 + <block wx:if="{{item.ename=='searchbox'}}">
  34 + <searchbox object="{{item.content}}"></searchbox>
  35 + </block>
  36 + <!--天天拼单-->
  37 + <block wx:if="{{item.ename=='pingd_buy'}}">
  38 + <pingd_buy object="{{item.content}}"></pingd_buy>
  39 + </block>
  40 + <!--秒杀-->
  41 + <block wx:if="{{item.ename=='seckill'}}">
  42 + <seckill object="{{item.content}}"></seckill>
  43 + </block>
  44 + <!--标题-->
  45 + <block wx:if="{{item.ename=='title'}}">
  46 + <title object="{{item.content}}"></title>
  47 + </block>
  48 + <!--辅助空白-->
  49 + <block wx:if="{{item.ename=='white'}}">
  50 + <assist object="{{item.content}}"></assist>
  51 + </block>
  52 + <!--图片组合-->
  53 + <block wx:if="{{item.ename=='picMix'}}">
  54 + <picMax object="{{item.content}}"></picMax>
  55 + </block>
  56 + </view>
  57 + </block>
  58 +</view>
  59 +<!-- 蒙尘 -->
  60 +<block wx:if="{{is_disgraceful}}">
  61 + <view class="disgraceful">
  62 + <!-- 新人礼领取图片 -->
  63 + <view class="newreceive flex-center">
  64 + <view>
  65 + <navigator bindtap="new_nav">
  66 + <view class="flex-level">
  67 + <image class="receive" src="{{url}}{{new_image==''?'/miniapp/images/newpeople/newreceive.png':new_image}}"></image>
  68 + </view>
  69 + </navigator>
  70 + <view class="flex-level">
  71 + <image class="close" src="{{url}}/miniapp/images/plus/Close.png" bindtap="close_disgraceful"></image>
  72 + </view>
  73 + </view>
  74 + </view>
  75 + </view>
  76 +</block>
0 77 \ No newline at end of file
... ...
pages/template/index.wxss 0 → 100644
  1 +.pink-b {
  2 + background: #ff7295;
  3 +}
  4 +
  5 +.search-box {
  6 + position: fixed;
  7 + top: 0;
  8 + left: 0;
  9 + width: 100%;
  10 + height: 88rpx;
  11 + z-index: 10;
  12 +}
  13 +
  14 +.classify-img {
  15 + width: 50rpx;
  16 + height: 45rpx;
  17 +}
  18 +
  19 +.logo {
  20 + width: 48rpx;
  21 + height: 48rpx;
  22 + margin: 0 18rpx;
  23 + border-radius: 50%;
  24 + overflow: hidden;
  25 +}
  26 +
  27 +.search-inner {
  28 + display: flex;
  29 + align-items: center;
  30 + margin: 20rpx 25rpx;
  31 + width: 566rpx;
  32 + height: 58rpx;
  33 + border-radius: 29rpx;
  34 + background-color: #fff;
  35 + justify-content: center;
  36 +}
  37 +
  38 +.search-img {
  39 + width: 30rpx;
  40 + height: 30rpx;
  41 + margin-left: 36rpx;
  42 + display: flex;
  43 + align-items: center;
  44 + position: absolute;
  45 + left: 10%;
  46 +}
  47 +
  48 +.search-cont {
  49 + height: 58rpx;
  50 + width: 530rpx;
  51 + padding-left: 12rpx;
  52 + line-height: 58rpx;
  53 + font-size: 24rpx;
  54 + color: #666;
  55 + margin-left: 56rpx;
  56 +}
  57 +
  58 +.search-fixed {
  59 + background: #ff7295;
  60 +}
  61 +
  62 +.swiper_box {
  63 + width: 100%;
  64 + height: auto;
  65 +}
  66 +
  67 +.s_prom {
  68 + width: 100%;
  69 + height: 340rpx;
  70 +}
  71 +
  72 +.s_proms {
  73 + width: 100%;
  74 + height: 590rpx;
  75 +}
  76 +
  77 +.slide-image {
  78 + width: 100%;
  79 + display: inline-block;
  80 + overflow: hidden;
  81 + border-radius: 14rpx;
  82 + height: auto;
  83 +}
  84 +
  85 +.venues_box {
  86 + background-color: #fff;
  87 + padding: 20rpx 10rpx;
  88 +}
  89 +
  90 +.venues_item {
  91 + display: block;
  92 + float: left;
  93 + width: 20%;
  94 + text-align: center;
  95 + margin: 25rpx 0;
  96 +}
  97 +
  98 +.venues_item image {
  99 + vertical-align: middle;
  100 + width: 90rpx;
  101 + height: 90rpx;
  102 + border: 0;
  103 +}
  104 +
  105 +.venues_item view {
  106 + font-size: 26rpx;
  107 + margin-top: 10rpx;
  108 +}
  109 +
  110 +.choice_box {
  111 + font-size: 14px;
  112 +}
  113 +
  114 +.choice_box .choice_list .choice_item {
  115 + width: 368rpx;
  116 + float: left;
  117 + margin: 2rpx;
  118 + background-color: #fff;
  119 +}
  120 +
  121 +.choice_box .choice_list image {
  122 + width: 100%;
  123 + height: auto;
  124 +}
  125 +
  126 +.title-img {
  127 + margin-top: 110rpx;
  128 + margin-bottom: 15rpx;
  129 + height: auto;
  130 +}
  131 +
  132 +.choice_box .choice_list .title {
  133 + height: 36rpx;
  134 + line-height: 36rpx;
  135 + /* font-weight: bold; */
  136 + text-align: left;
  137 + color: #333;
  138 + margin-left: 20rpx;
  139 + font-size: 30rpx;
  140 +}
  141 +
  142 +.choice_box .choice_list .choice_footer {
  143 + display: block;
  144 + margin-top: 20rpx;
  145 + margin-left: 15rpx;
  146 + position: relative;
  147 + height: 74rpx;
  148 + line-height: 17rpx;
  149 +}
  150 +
  151 +.choice_box .choice_list .choice_footer .price {
  152 + color: #f23030;
  153 + height: 10px;
  154 +}
  155 +
  156 +.choice_box .choice_list .choice_footer .similer {
  157 + position: absolute;
  158 + bottom: 0;
  159 + right: 0;
  160 + text-align: center;
  161 + color: #686868;
  162 + width: fit-content;
  163 + line-height: 30rpx;
  164 + border: 1rpx solid #bfbfbf;
  165 + padding: 1rpx 6rpx;
  166 + border-radius: 5rpx;
  167 +}
  168 +
  169 +.section {
  170 + margin-top: 20rpx;
  171 + background-color: #fff;
  172 +}
  173 +
  174 +.section-title {
  175 + padding-top: 30rpx;
  176 + height: 54rpx;
  177 + line-height: 54rpx;
  178 + font-size: 36rpx;
  179 + font-weight: 700;
  180 + color: #333;
  181 + text-align: center;
  182 + letter-spacing: 3rpx;
  183 +}
  184 +
  185 +.section-subtitle {
  186 + line-height: 0;
  187 + width: 340rpx;
  188 + height: 16rpx;
  189 + padding-bottom: 20rpx;
  190 + margin: 0 auto;
  191 +}
  192 +
  193 +.seckill {
  194 + margin-top: 20rpx;
  195 + background-color: #fff;
  196 + padding-bottom: 30rpx;
  197 +}
  198 +
  199 +.seckill-time {
  200 + display: flex;
  201 + justify-content: space-between;
  202 + padding: 0 30rpx;
  203 + align-items: center;
  204 + height: 72rpx;
  205 + color: #333;
  206 + margin-bottom: 20rpx;
  207 +}
  208 +
  209 +.sk-tips {
  210 + font-size: 36rpx;
  211 + font-weight: bold;
  212 + margin-right: 20rpx;
  213 +}
  214 +
  215 +.sk-time {
  216 + position: relative;
  217 + display: inline-block;
  218 + font-size: 24rpx;
  219 + width: 36rpx;
  220 + line-height: 36rpx;
  221 + background-color: #333;
  222 + margin-right: 20rpx;
  223 + color: #fff;
  224 + text-align: center;
  225 +}
  226 +
  227 +.sk-time::before {
  228 + content: ':';
  229 + position: absolute;
  230 + right: -13rpx;
  231 + top: 0;
  232 + color: #333;
  233 + font-weight: bold;
  234 +}
  235 +
  236 +.sk-time:last-child::before {
  237 + content: '';
  238 +}
  239 +
  240 +.seckill-time>navigator {
  241 + font-size: 28rpx;
  242 +}
  243 +
  244 +.sk-pic {
  245 + width: 28rpx;
  246 + height: 28rpx;
  247 + vertical-align: top;
  248 +}
  249 +
  250 +.seckill-list {
  251 + overflow: hidden;
  252 +}
  253 +
  254 +/* .seckill-list navigator {
  255 + width: 236rpx; margin-right: 10rpx; position: relative;
  256 +} */
  257 +
  258 +.seckill-list view {
  259 + height: 62rpx;
  260 + padding: 0 10rpx;
  261 + line-height: 33rpx;
  262 + overflow: hidden;
  263 + font-size: 28rpx;
  264 + width: 203rpx;
  265 +}
  266 +
  267 +.seckill-list view.imgview {
  268 + width: 203rpx;
  269 + height: 210rpx;
  270 + position: relative;
  271 + overflow: hidden;
  272 +}
  273 +
  274 +.imgview image {
  275 + width: 203rpx;
  276 + height: 203rpx;
  277 + border-radius: 10rpx;
  278 +}
  279 +
  280 +.seckill-list view.djs_view {
  281 + background: rgba(9, 9, 9, 0.5);
  282 + color: #fff;
  283 + font-size: 20rpx;
  284 + width: 216rpx;
  285 + height: 36rpx;
  286 + line-height: 36rpx;
  287 + position: absolute;
  288 + bottom: 0;
  289 + left: 10rpx;
  290 + z-index: 5;
  291 + text-align-last: center;
  292 +}
  293 +
  294 +.seckill-list image.status_img {
  295 + width: 100rpx;
  296 + height: 35rpx;
  297 + position: absolute;
  298 + top: 0rpx;
  299 + left: 10rpx;
  300 + z-index: 5;
  301 +}
  302 +
  303 +.seckill-list view.status_view {
  304 + width: 60rpx;
  305 + height: 60rpx;
  306 + text-align: center;
  307 + line-height: 60rpx;
  308 + position: absolute;
  309 + background: #e9030d;
  310 + color: #fff;
  311 + font-size: 18rpx;
  312 + top: 5rpx;
  313 + right: 10rpx;
  314 + z-index: 5;
  315 + border-radius: 50%;
  316 + padding: 0;
  317 +}
  318 +
  319 +.xiafa {
  320 + text-decoration: line-through;
  321 + font-size: 10px;
  322 + color: #999;
  323 + margin-left: 10rpx;
  324 +}
  325 +
  326 +.shelue {
  327 + /* text-overflow: -o-ellipsis-lastline;
  328 + overflow: hidden;
  329 + text-overflow: ellipsis;
  330 + display: -webkit-box;
  331 + -webkit-line-clamp: 2;
  332 + -webkit-box-orient: vertical; */
  333 + white-space: nowrap;
  334 + text-overflow: ellipsis;
  335 + overflow: hidden;
  336 +}
  337 +
  338 +.meiz {
  339 + padding: 0 10rpx;
  340 + background: #c4182e;
  341 + color: #fff;
  342 + height: 18px;
  343 + line-height: 18px;
  344 + margin-top: -10rpx;
  345 + border-radius: 10rpx;
  346 +}
  347 +
  348 +.dengj {
  349 + padding: 0 10rpx;
  350 + background: #ffd700;
  351 + color: #fff;
  352 + height: 18px;
  353 + line-height: 18px;
  354 + margin-top: -10rpx;
  355 + border-radius: 10rpx;
  356 +}
  357 +
  358 +.kongge {
  359 + width: 20rpx;
  360 +}
  361 +
  362 +.choice_footer .ys {
  363 + color: #999;
  364 + margin-top: 20rpx;
  365 + font-size: 11px;
  366 + margin-left: 5rpx;
  367 +}
  368 +
  369 +.p_swiper {
  370 + display: flex;
  371 +}
  372 +
  373 +.p_swiper .un_line {
  374 + text-decoration: line-through;
  375 + font-size: 22rpx;
  376 + color: #b2a2c2;
  377 +}
  378 +
  379 +.seckill-list view.co-red2 {
  380 + font-size: 22rpx;
  381 + color: #c2aebb;
  382 + margin-top: -8rpx;
  383 +}
  384 +
  385 +.seckill-list view.cantuan {
  386 + width: 72rpx;
  387 + height: 36rpx;
  388 + text-align: center;
  389 + line-height: 36rpx;
  390 + position: absolute;
  391 + background: #e9030d;
  392 + color: #fff;
  393 + font-size: 18rpx;
  394 + bottom: 30rpx;
  395 + right: 10rpx;
  396 + z-index: 5;
  397 + border-radius: 5rpx;
  398 + padding: 0;
  399 +}
  400 +
  401 +.arrow-right {
  402 + width: 24rpx;
  403 + height: 24rpx;
  404 +}
  405 +
  406 +.pd-view {
  407 + height: 80rpx;
  408 +}
  409 +
  410 +.xc-grow-ups {
  411 + margin-left: 8rpx;
  412 + margin-top: 6rpx;
  413 +}
  414 +
  415 +.xc-top-img {
  416 + width: 100%;
  417 + top: -1rpx;
  418 + height: 315rpx;
  419 +}
  420 +
  421 +.classify-frame {
  422 + line-height: 25rpx;
  423 +}
  424 +
  425 +.slide-image-frame {
  426 + width: 95%;
  427 + margin: auto;
  428 + border-radius: 10rpx;
  429 +}
  430 +
  431 +.xc-hook {
  432 + width: 52rpx;
  433 + height: 52rpx;
  434 +}
  435 +
  436 +.margin-left {
  437 + margin-left: 10rpx;
  438 +}
  439 +
  440 +.xc-class-img {
  441 + width: 83rpx;
  442 + height: 83rpx;
  443 +}
  444 +
  445 +.xc-class-frame {
  446 + line-height: 40rpx;
  447 + margin-top: 40rpx;
  448 + margin-bottom: 20rpx;
  449 +}
  450 +
  451 +.xc-title-img {
  452 + height: 220rpx;
  453 + width: 100%;
  454 + border-radius: 15rpx;
  455 +}
  456 +
  457 +.title-img-frame {
  458 + width: 94%;
  459 + margin: auto;
  460 + margin-top: 30rpx;
  461 + padding-bottom: 10rpx;
  462 +}
  463 +
  464 +.seckill-list {
  465 + line-height: 24rpx;
  466 +}
  467 +
  468 +.seckill-lists {
  469 + line-height: 30rpx;
  470 +}
  471 +
  472 +.xc-marfin-right {
  473 + margin-right: 8rpx;
  474 +}
  475 +
  476 +.classname .clock-img {
  477 + width: 36rpx;
  478 + height: 36rpx;
  479 + margin-right: 10rpx;
  480 +}
  481 +
  482 +.classname .seckill-ttitle-img {
  483 + width: 150rpx;
  484 + height: 40rpx;
  485 +}
  486 +
  487 +.seckill-ttitle-img.height {
  488 + height: 35rpx;
  489 +}
  490 +
  491 +.split-line {
  492 + width: 100%;
  493 + height: 10rpx;
  494 + background: #eee;
  495 +}
  496 +
  497 +.mar-top10 {
  498 + margin-top: 10rpx;
  499 +}
  500 +
  501 +.classname .user-img {
  502 + width: 30rpx;
  503 + height: 30rpx;
  504 + margin-left: 20rpx;
  505 + margin-right: 10rpx;
  506 +}
  507 +
  508 +.user-frame {
  509 + /* border-left: 5rpx solid #eee; */
  510 + height: 35rpx;
  511 + line-height: 35rpx;
  512 + margin-left: 10rpx;
  513 +}
  514 +
  515 +.user-name {
  516 + width: 66rpx;
  517 + border-left: 5rpx solid #eee;
  518 +}
  519 +
  520 +/* 团购列表 */
  521 +
  522 +.kill-item {
  523 + display: flex;
  524 + justify-content: space-between;
  525 + background-color: #fff;
  526 + padding: 10rpx 10rpx;
  527 + margin-bottom: 10rpx;
  528 + border-radius: 10rpx;
  529 + height: 249rpx;
  530 + align-items: center;
  531 +}
  532 +
  533 +.kill-pic {
  534 + width: 215rpx;
  535 + height: 215rpx;
  536 + position: relative;
  537 +}
  538 +
  539 +.teamheight {
  540 + height: 289rpx;
  541 + border-bottom: 6rpx solid #eee;
  542 +}
  543 +
  544 +.kill-cont {
  545 + width: 440rpx;
  546 + height: 215rpx;
  547 + margin-left: 16rpx;
  548 +}
  549 +
  550 +.goods-name {
  551 + max-height: 60rpx;
  552 + font-size: 24rpx;
  553 + color: #555;
  554 + line-height: 55rpx;
  555 +}
  556 +
  557 +.xc-team-img {
  558 + width: 38rpx;
  559 + height: 45rpx;
  560 + left: -1rpx;
  561 + top: -16rpx;
  562 +}
  563 +
  564 +.tneirong {
  565 + color: #fff;
  566 + font-size: 20rpx;
  567 + border-radius: 20rpx;
  568 + padding-left: 32rpx;
  569 + padding-right: 15rpx;
  570 + padding-bottom: 2rpx;
  571 + height: 28rpx;
  572 + line-height: 28rpx;
  573 + white-space: nowrap;
  574 +}
  575 +
  576 +.xc-people-val-frame {
  577 + border: 3rpx solid #d60021;
  578 + border-radius: 8rpx;
  579 + white-space: nowrap;
  580 + height: 28rpx;
  581 +}
  582 +
  583 +.xc-people-val-frame .val-img {
  584 + width: 33rpx;
  585 + height: 28rpx;
  586 + border-radius: 8rpx;
  587 + margin-left: -2rpx;
  588 +}
  589 +
  590 +.people-img {
  591 + width: 20rpx;
  592 + height: 20rpx;
  593 +}
  594 +
  595 +.goods-num {
  596 + height: 50rpx;
  597 + display: flex;
  598 + justify-content: space-between;
  599 + margin-top: 10rpx;
  600 + font-size: 24rpx;
  601 + color: #999;
  602 +}
  603 +
  604 +.xc-top15 {
  605 + padding-top: 15rpx;
  606 + margin-top: 25rpx;
  607 +}
  608 +
  609 +.underline {
  610 + text-decoration: line-through;
  611 + color: #999;
  612 + font-size: 20rpx;
  613 + margin-left: 5rpx;
  614 + margin-top: 5rpx;
  615 +}
  616 +
  617 +.navigator.navwidth {
  618 + width: 100%;;
  619 +}
  620 +
  621 +.view.left {
  622 + padding: 0 5rpx;
  623 +}
  624 +
  625 +/* 热门好物 */
  626 +
  627 +.title .China {
  628 + width: 100%;
  629 + margin-top: 10rpx;
  630 + margin-bottom: 10rpx;
  631 + line-height: 0rpx;
  632 +}
  633 +
  634 +.title .China .line view {
  635 + width: 2rpx;
  636 +}
  637 +
  638 +.title .China .line {
  639 + height: 40rpx;
  640 + color: rgb(51, 51, 51);
  641 +}
  642 +
  643 +.title .China .line view {
  644 + border-left: 3rpx solid #000;
  645 + margin-left: 5rpx;
  646 +}
  647 +
  648 +.title .China .line .one {
  649 + height: 23rpx;
  650 +}
  651 +
  652 +.title .China .line .two {
  653 + height: 15rpx;
  654 +}
  655 +
  656 +.title .China .line .three {
  657 + height: 18rpx;
  658 +}
  659 +
  660 +.title .China .Recommend {
  661 + margin: 0rpx 20rpx;
  662 + font-size: 28rpx;
  663 + line-height: 39rpx;
  664 + font-weight: bold;
  665 +}
  666 +
  667 +.title .english .silk {
  668 + width: 214rpx;
  669 + height: 2rpx;
  670 + background-color: #000;
  671 +}
  672 +
  673 +.title .english .esh {
  674 + margin: 0rpx 15rpx;
  675 +}
  676 +
  677 +.collects {
  678 + margin-top: 40rpx;
  679 +}
  680 +
  681 +.hang {
  682 + width: 100%;
  683 + margin: auto;
  684 + padding-left: 21rpx;
  685 +}
  686 +
  687 +.hang .collect {
  688 + width: 347rpx;
  689 + height: 571rpx;
  690 + border-radius: 25rpx;
  691 + border: 1rpx solid rgb(214, 214, 214);
  692 + overflow: hidden;
  693 + margin-right: 14rpx;
  694 + margin-bottom: 5rpx;
  695 +}
  696 +
  697 +.collect .bottom {
  698 + padding: 0rpx 20rpx;
  699 +}
  700 +
  701 +.collect .sp {
  702 + width: 100%;
  703 + height: 326rpx;
  704 +}
  705 +
  706 +.collect .money {
  707 + margin-top: 60rpx;
  708 + margin-bottom: 18rpx;
  709 + line-height: 28rpx;
  710 + align-items: baseline;
  711 +}
  712 +
  713 +.collect .money view {
  714 + line-height: 28rpx;
  715 +}
  716 +
  717 +.collect .money .flex {
  718 + font-weight: bold;
  719 +}
  720 +
  721 +.collect .money .flex .fs24 {
  722 + padding-top: 5rpx;
  723 +}
  724 +
  725 +.collect .Discount {
  726 + width: 156rpx;
  727 + height: 28rpx;
  728 + border-radius: 20rpx;
  729 + background-color: rgb(56, 56, 56);
  730 + font-size: 18rpx;
  731 + color: rgb(255, 255, 255);
  732 +}
  733 +
  734 +.collect .Discount image {
  735 + height: 18rpx;
  736 + width: 18rpx;
  737 + line-height: 28rpx;
  738 + margin-right: 3rpx;
  739 +}
  740 +
  741 +.collect.ml20 {
  742 + margin-left: 13rpx;
  743 +}
  744 +
  745 +.fs24.dollar {
  746 + padding: 0rpx;
  747 +}
  748 +
  749 +.money .price {
  750 + margin-left: 12rpx;
  751 + text-decoration: line-through;
  752 + line-height: 23rpx;
  753 +}
  754 +
  755 +.province {
  756 + line-height: 26rpx;
  757 +}
  758 +
  759 +.nothing {
  760 + height: 75rpx;
  761 + width: 100%;
  762 +}
  763 +
  764 +.nothing .no_content {
  765 + margin: 0rpx 11rpx;
  766 + color: rgb(138, 138, 138);
  767 +}
  768 +
  769 +.nothing .Foil {
  770 + width: 80rpx;
  771 + height: 2rpx;
  772 + background-color: rgb(138, 138, 138);
  773 +}
  774 +
  775 +.goods_name {
  776 + height: 70rpx;
  777 + margin-top: 6rpx;
  778 +}
  779 +
  780 +.seckill-list view.translation {
  781 + width: 108rpx;
  782 + height: 20rpx;
  783 + border-radius: 20rpx;
  784 + background: #dfdfdf;
  785 + margin: auto;
  786 + line-height: 20rpx;
  787 +}
  788 +
  789 +.seckill-list view.spot {
  790 + width: 10rpx;
  791 + height: 10rpx;
  792 + padding: 0rpx;
  793 +}
  794 +
  795 +.spot {
  796 + width: 10rpx;
  797 + height: 10rpx;
  798 + padding: 0rpx;
  799 +}
  800 +
  801 +.translation {
  802 + width: 108rpx;
  803 + height: 20rpx;
  804 + border-radius: 20rpx;
  805 + background: #e0e0e0;
  806 + line-height: 20rpx;
  807 + bottom: 45rpx;
  808 + left: 43%;
  809 +}
  810 +
  811 +.translation {
  812 + width: 108rpx;
  813 + height: 20rpx;
  814 + border-radius: 20rpx;
  815 + background: #b8d1d6;
  816 + line-height: 20rpx;
  817 + bottom: 12rpx;
  818 + left: 43%;
  819 +}
  820 +
  821 +.translations {
  822 + width: 108rpx;
  823 + height: 20rpx;
  824 + border-radius: 20rpx;
  825 + background: #dfdfdf;
  826 + line-height: 20rpx;
  827 + bottom: 25rpx;
  828 + left: 43%;
  829 +}
  830 +
  831 +.mar-top {
  832 + margin-top: 20rpx;
  833 +}
  834 +
  835 +.mar-tops {
  836 + margin-top: 10rpx;
  837 +}
  838 +
  839 +.pt_active {
  840 + animation: sport 0.5s;
  841 +}
  842 +
  843 +@keyframes sport {
  844 + 0% {
  845 + transform: translateY(80rpx);
  846 + opacity: 0;
  847 + }
  848 +
  849 + 100% {
  850 + transform: translateY(0rpx);
  851 + opacity: 1;
  852 + }
  853 +}
  854 +
  855 +.m-left {
  856 + margin-left: 18rpx;
  857 +}
  858 +
  859 +.martop4 {
  860 + margin-top: 4rpx;
  861 +}
  862 +
  863 +.time-blue {
  864 + margin-left: 10rpx;
  865 +}
  866 +
  867 +.is_seckill_height {
  868 + height: 40rpx;
  869 + line-height: 32rpx;
  870 +}
  871 +
  872 +.assemble-top-border {
  873 + border-top: 10rpx solid #eee;
  874 + padding-top: 20rpx;
  875 + margin-top: 0rpx;
  876 +}
  877 +
  878 +.gonju {
  879 + max-width: 120rpx;
  880 +}
  881 +
  882 +.disgraceful {
  883 + position: fixed;
  884 + width: 100%;
  885 + height: 100%;
  886 + left: 0rpx;
  887 + bottom: 0rpx;
  888 + background-color: rgba(182, 174, 174, 0.753);
  889 + z-index: 10;
  890 +}
  891 +
  892 +.newreceive {
  893 + position: fixed;
  894 + width: 100%;
  895 + height: 100%;
  896 + z-index: 11;
  897 +}
  898 +
  899 +.receive {
  900 + width: 570rpx;
  901 + height: 750rpx;
  902 +}
  903 +.close{
  904 + width: 70rpx;
  905 + height: 70rpx;
  906 + margin-top: 30rpx;
  907 +}
  908 +.swiper{
  909 + height: 250rpx;
  910 + padding-bottom:30rpx;
  911 +}
0 912 \ No newline at end of file
... ...