Commit 59db24d1b671b7c930ea3aba21943c1f47ff7450

Authored by 后端研发-倪永富
1 parent 3798c3ff

积分购

packageA/pages/jfbuy/jfbuy.js 0 → 100644
  1 +// packageA//pages/goods_share/goods_share.js
  2 +var app=getApp(),oo = app.globalData.setting,os=oo,ut = require("../../../utils/util.js");
  3 +var regeneratorRuntime = require('../../../utils/runtime.js');
  4 +Page({
  5 + /**
  6 + * 页面的初始数据
  7 + */
  8 + data: {
  9 + // tab
  10 + tab: ['全部','价格','销量','积分值'],
  11 + currentIndex: 1,
  12 + //促销页tab
  13 + // tab2: ['订单促销','搭配促销','优惠促销'],
  14 + // currentIndex2: 0,
  15 + //秒杀和拼单底部tab
  16 + // currentIndex3: 0,
  17 + // 控制价格
  18 + active1: false,
  19 + // 控制佣金
  20 + active2: false,
  21 + url: oo.imghost,
  22 + //popup
  23 + hiddenPopup: true,
  24 + // 排序
  25 + isUp: false,
  26 + //控制滚动条至顶部时开启下拉刷新
  27 + // open: false,
  28 + requestData: null,
  29 +
  30 + list:[],
  31 + is_load:0, //是否正在加载
  32 + is_no_data:0, //没有数据
  33 + is_no_more:0, //没有更多数据
  34 + key_str:'',
  35 + pattern:0, //分成的方式
  36 + currentPage:1, //当前的页码
  37 +
  38 + // canvasHidden: 1, //-- 隐藏画布 --
  39 + // dis_switch:0, //-- 分销开关 --
  40 + // pattern:0, //-- 分成的方式 --
  41 + // share_hidden:1, //-- 分享的按钮隐藏 --
  42 + // share_good:null, //--- 要分享的商品 ---
  43 +
  44 + // timer:0,
  45 + // hui_active:null, //优惠活动分享
  46 +
  47 + //点击活动详情的时候的响应
  48 + list2:[],
  49 + is_load2:0,
  50 + is_no_data2:0, //没有数据
  51 + is_no_more2:0, //没有更多数据
  52 + currentPage2:1, //页码
  53 + prom_goods:null, //优惠活动的条件
  54 +
  55 +
  56 + triggered: false,
  57 + isPullDownRefresh: false,
  58 + },
  59 +
  60 + /**
  61 + * 生命周期函数--监听页面加载
  62 + */
  63 + onLoad: function (options) {
  64 + this.request_list({
  65 + store_id:oo.stoid,
  66 + stype:1,
  67 + stypeup:1
  68 + });
  69 + // var th=this;
  70 + // //接受有没有导购的参数
  71 + // var first_leader=options.first_leader;
  72 + // if(first_leader){
  73 + // //-- user_id代过来免登陆 --
  74 + // getApp().globalData.user_id=first_leader;
  75 + // getApp().getUserFir();
  76 + // }
  77 +
  78 + // this.requestGoodsList();
  79 + //-- 自定义海报 --
  80 + // getApp().request.promiseGet("/api/weshop/goods/poster/page",{
  81 + // data:{store_id:os.stoid, type:1, is_use:1 }
  82 + // }).then(res=>{
  83 + // if(res.data.code==0){
  84 +
  85 + // var poster_data=res.data.data.pageData[0];
  86 + // var json_str=poster_data.jsonStr;
  87 +
  88 + // if(json_str){
  89 + // var json_data=JSON.parse(json_str);
  90 + // if(json_data.bg_img){
  91 +
  92 + // //-- 把图片那到本地 --
  93 + // wx.getImageInfo({
  94 + // src:json_data.bg_img,
  95 + // success: function(res) {
  96 + // var path= res.path;
  97 + // th.setData({share_b_img:path})
  98 + // },
  99 + // fail: function(res) {}
  100 + // });
  101 + // }
  102 +
  103 + // th.setData({poster:json_data})
  104 +
  105 + // }
  106 + // }
  107 + // })
  108 +
  109 + //获取分销的配置
  110 + // getApp().request.promiseGet("/api/weshop/storeDistribut/get/"+oo.stoid,{}).then(res=>{
  111 + // if(res.data.code==0){
  112 + // th.setData({dis_switch:res.data.data.switch,pattern:res.data.data.pattern});
  113 + // }
  114 + // })
  115 +
  116 + //获取用户设备信息,屏幕宽度
  117 + // wx.getSystemInfo({
  118 + // success: res => {
  119 + // th.setData({
  120 + // screenWidth: res.screenWidth
  121 + // })
  122 + // }
  123 + // });
  124 +
  125 + //-- ---秒杀和拼团都要有定时器---
  126 + // if(!options.currentIndex || options.currentIndex<=1){
  127 + // //设置全局定时器
  128 + // th.data.timer=setInterval(function () {
  129 + // th.countDown();
  130 + // },1000);
  131 + // }
  132 + },
  133 +
  134 + /**
  135 + * 生命周期函数--监听页面显示
  136 + */
  137 + onShow: function () {},
  138 + /**
  139 + * 生命周期函数--监听页面隐藏
  140 + */
  141 + onHide: function () {
  142 + //--清理定时器--
  143 + // clearInterval(this.timer);
  144 + },
  145 + /**e
  146 + * 页面上拉触底事件的处理函数
  147 + */
  148 + onReachBottom: function () {
  149 +
  150 + },
  151 +
  152 + /**
  153 + * 用户点击右上角分享
  154 + */
  155 + // onShareAppMessage: function () {
  156 + // var th = this;
  157 + // //礼包的转发
  158 + // if(th.data.currentIndex==3){
  159 + // var lbid=th.data.hui_active.lbId;
  160 + // var url="pages/giftpack/giftpacklist/giftpacklist?lbId="+lbid+"&isBuy=1";
  161 + // if(getApp().globalData.user_id){
  162 + // url+="&first_leader="+getApp().globalData.user_id;
  163 + // }
  164 + // var img=this.data.share_img;
  165 + // var title=th.data.hui_active.giftTitle;
  166 +
  167 + // var ob={
  168 + // title:title,
  169 + // path:url,
  170 + // imageUrl: img,
  171 + // };
  172 + // th.setData({share_hidden:1});
  173 + // return ob;
  174 +
  175 + // }else{
  176 + // //---秒杀,拼团,促销---
  177 + // var item=this.data.share_good;
  178 + // if(item){
  179 + // var price = item.shop_price;
  180 + // var title= item.goods_name;
  181 + // var img=this.data.url+item.original_img;
  182 + // var url="/pages/goods/goodsInfo/goodsInfo?goods_id=" + th.data.gid;
  183 + // if(getApp().globalData.user_id){
  184 + // url+="&first_leader="+getApp().globalData.user_id;
  185 + // }
  186 + // var ob={
  187 + // title: price + "元 " +title,
  188 + // path:url,
  189 + // imageUrl: img,
  190 + // };
  191 + // th.setData({share_hidden:1,share_good:null});
  192 + // return ob;
  193 + // }else{
  194 + // var url="/pages/index/index/index";
  195 + // if(getApp().globalData.user_id){
  196 + // url+="?first_leader="+getApp().globalData.user_id;
  197 + // }
  198 + // var hui_active=this.data.hui_active;
  199 + // var title=hui_active.name;
  200 + // if(!title) title=hui_active.main_goods_name;
  201 + // if(!title) title=hui_active.giftTitle;
  202 +
  203 + // var ob={
  204 + // title: title,
  205 + // path:url,
  206 + // };
  207 + // th.setData({share_hidden:1,share_good:null});
  208 + // return ob;
  209 + // }
  210 + // }
  211 +
  212 + // },
  213 +
  214 +
  215 + //-- 点击tab --
  216 + clickTab(e) {
  217 + var th=this;
  218 + var data = {
  219 + store_id:oo.stoid,
  220 + stype:e.target.dataset.index,
  221 + stypeup:1,
  222 + };
  223 + this.setData({
  224 + is_no_data2:0,
  225 + is_no_more2:0,
  226 + list2:[],
  227 + is_load2: 0,
  228 + currentPage2:1,
  229 + });
  230 + if(this.data.currentIndex!=e.target.dataset.index){
  231 + this.setData({
  232 + currentIndex: e.target.dataset.index,
  233 + isUp: false,
  234 + });
  235 +
  236 + } else {
  237 + console.log('第2次点击');
  238 + this.setData({
  239 + isUp: !this.data.isUp
  240 + });
  241 + };
  242 +
  243 + if(this.data.isUp) {
  244 + data.stypeup = 0;
  245 + } else {
  246 + data.stypeup = 1;
  247 + };
  248 +
  249 + // this.data.requestData = data;
  250 + this.setData({
  251 + requestData: data
  252 + })
  253 +
  254 + this.request_list(data);
  255 + },
  256 +
  257 +
  258 +
  259 +
  260 + request_list: function(data, callback){
  261 + // console.log('触发上拉刷新');
  262 +
  263 + var th = this;
  264 + if(this.data.is_load2) return false; //-- 正在加载
  265 + if(this.data.is_no_data2) return false; //-- 没有数据
  266 + if(this.data.is_no_more2) return false; //-- 没有更多
  267 +
  268 + // 开启加载状态
  269 + this.data.is_load2=1;
  270 +
  271 + // var req_data = {
  272 + // page:th.data.currentPage2
  273 + // }
  274 +
  275 + app.request.promiseGet("/api/weshop/integralbuy/pageIntegralBuyGoodsList", {
  276 + data: data
  277 + }).then(res=>{
  278 + // 关闭加载状态
  279 + th.data.is_load2=0;
  280 + // 请求成功
  281 + if(res.data.code==0) {
  282 + if(res.data.data.pageData.length>0) {
  283 + th.data.currentPage2++;
  284 + var data = res.data.data.pageData;
  285 + // 判断有无更多数据可以加载,如果大于则没有更多数据,反之则有
  286 + if(res.data.data.page*res.data.data.pageSize > res.data.data.total){th.setData({is_no_more2:1});}
  287 + var list=th.data.list2;
  288 + list=list.concat(data);
  289 + th.setData({list2:list});
  290 + } else {
  291 + if(th.data.currentPage==1){
  292 + th.setData({is_no_data2:1});
  293 + } else {
  294 + th.setData({is_no_more2:1});
  295 + }
  296 + }
  297 + if(callback) callback();
  298 + } else {
  299 + wx.showToast({
  300 + title: res.data.msg,
  301 + icon: 'none',
  302 + duration: 2000
  303 + })
  304 + }
  305 + console.log('xx',res);
  306 + })
  307 + },
  308 +
  309 +
  310 +
  311 +
  312 + //---图片失败,默认图片---
  313 + bind_bnerr2: function (e) {
  314 + var _errImg = e.target.dataset.errorimg;
  315 + var _errObj = {};
  316 + _errObj[_errImg] ="/miniapp/images/default_g_img.gif";
  317 + this.setData(_errObj); //注意这里的赋值方式,只是将数据列表中的此项图片路径值替换掉 ;
  318 + // this.setData({['list2[0].original_img']:/miniapp/images/default_g_img.gif});
  319 + },
  320 + //-- ---更多加载----
  321 + refresh:function(){
  322 + this.request_list(this.data.requestData);
  323 + },
  324 +
  325 +
  326 +
  327 + // 页面滚动
  328 + onPageScroll (e) {
  329 + console.log(e);
  330 + if(e.scrollTop == 0) {
  331 + this.setData({open: true });
  332 + } else {
  333 + this.setData({open: false});
  334 + }
  335 + },
  336 +
  337 + // 下拉刷新
  338 + onPullDownRefresh() {
  339 + var th = this;
  340 + var data = this.data.requestData;
  341 +
  342 + if(this.isPullDownRefresh) return;
  343 + // 触发下拉刷新开启
  344 + this.isPullDownRefresh = true;
  345 +
  346 + this.setData({
  347 + list2: [],
  348 + currentPage2: 1,
  349 + is_no_more2: 0
  350 + });
  351 +
  352 + this.request_list(data, function() {
  353 + th.setData({
  354 + triggered: false,
  355 + });
  356 + th.isPullDownRefresh = false;
  357 + });
  358 + },
  359 +})
0 360 \ No newline at end of file
... ...
packageA/pages/jfbuy/jfbuy.json 0 → 100644
  1 +{
  2 + "navigationBarTitleText": "积分购",
  3 + "usingComponents": {
  4 + "nodata": "/components/nodata/nodata",
  5 + "share_button": "/components/share/share"
  6 + },
  7 + "enablePullDownRefresh": false
  8 +}
0 9 \ No newline at end of file
... ...
packageA/pages/jfbuy/jfbuy.wxml 0 → 100644
  1 +<!-- <wxs module="g_filter" src="g_filter.wxs"></wxs> -->
  2 +<view class="container">
  3 + <!-- 搜索框 -->
  4 + <!-- <view class="search-container">
  5 + <view class="input-container"><input bindinput="set_search_value" class="search" type="text" placeholder="请输入您想查找的商品信息"/></view>
  6 + <view bindtap="search_data" class="btn-search">搜索</view>
  7 + </view> -->
  8 +
  9 + <view class="banner-container">
  10 + <image src="../../images/jfbuy.jpg" class="banner"></image>
  11 + </view>
  12 +
  13 +
  14 +
  15 + <!-- 列表 -->
  16 + <view class="list-container">
  17 + <!-- 标题 -->
  18 + <view class="title" >
  19 + <block wx:for="{{tab}}">
  20 + <view class="title-item {{currentIndex == (index+1) ? 'active' + (isUp?' active1':''):''}}" data-index="{{index+1}}" bindtap="clickTab">{{item}}</view>
  21 + </block>
  22 + </view>
  23 +
  24 + <!-- <view> -->
  25 + <scroll-view
  26 + class="list"
  27 + scroll-y="true"
  28 + bindscrolltolower="request_list"
  29 + scroll-anchoring
  30 + refresher-enabled
  31 + refresher-triggered="{{triggered}}"
  32 + bindrefresherrefresh="onPullDownRefresh">
  33 +
  34 + <block wx:for="{{list2}}">
  35 + <view class class="list-item" bindtap="viewItemDetails">
  36 + <view class="img-container">
  37 + <image
  38 + src="{{url+item.original_img}}"
  39 + style="width: 100%; height: 100%;"
  40 + binderror="bind_bnerr2" lazy-load="true"
  41 + data-errorimg="list2[{{index}}].original_img"></image>
  42 + </view>
  43 + <view class="details">
  44 + <view class="ellipsis-2 fs30 name">{{item.goods_name}}</view>
  45 + <view>
  46 + <view class="red">
  47 + <text>{{item.integral}}积分 + ¥{{item.addmoney}}</text>
  48 + </view>
  49 + <view class="pdt14 fs22 gray flex jc_sb">
  50 + <view>零售价:¥{{item.shop_price}}</view>
  51 + <view>销量:{{item.sales_sum}}</view>
  52 + </view>
  53 + </view>
  54 + </view>
  55 + </view>
  56 + </block>
  57 +
  58 +
  59 + <!-- <view style="height: 1rpx;"></view> -->
  60 + <nodata wx:if="{{list2.length==0}}" nodataContainer="nodata">暂无数据</nodata>
  61 + <view wx:if="{{is_no_more2}}" class="no-more t-c">- 已全部加载 -</view>
  62 + <!-- <nodata nodataContainer="nodata">暂无数据</nodata>
  63 + <view class="no-more t-c">- 已全部加载 -</view> -->
  64 + </scroll-view>
  65 + <!-- </view> -->
  66 +
  67 + </view>
  68 +</view>
... ...
packageA/pages/jfbuy/jfbuy.wxss 0 → 100644
  1 +/* packageA//pages/goods_share/goods_share.wxss */
  2 +.red {
  3 + color: #FE6867;
  4 +}
  5 +.gray {
  6 + color: #7b7b7b;
  7 +}
  8 +.w25 {
  9 + width: 25%;
  10 +}
  11 +.w50 {
  12 + width: 50%;
  13 +}
  14 +.w164 {
  15 + width: 164rpx;
  16 +}
  17 +.bold {
  18 + font-weight: bold;
  19 +}
  20 +page,
  21 +.container {
  22 + height: 100%;
  23 +}
  24 +page {
  25 + background-color: #f2f2f2;
  26 + /* height: 100%; */
  27 +}
  28 +.container {
  29 + /* height: 100%; */
  30 + /* position: relative; */
  31 +}
  32 +
  33 +.search-container {
  34 + /* display: flex;
  35 + padding: 26rpx 20rpx;
  36 + border-bottom: 2rpx solid #f8f8f8; */
  37 +}
  38 +.input-container {
  39 + /* flex: 1;
  40 + border-radius: 6rpx 0 0 6rpx;
  41 + overflow: hidden; */
  42 +}
  43 +.search {
  44 + /* background-color: #f0f0f0;
  45 + padding: 10rpx 20rpx;
  46 + font-size: 28rpx; */
  47 +}
  48 +.btn-search {
  49 + /* background-color: #FE6867;
  50 + color: white;
  51 + padding: 0 30rpx;
  52 + display: flex;
  53 + align-items: center;
  54 + border-radius: 0 6rpx 6rpx 0; */
  55 +}
  56 +.title {
  57 + display: flex;
  58 + font-size: 30rpx;
  59 + border-bottom: 2rpx solid #f8f8f8;
  60 + background-color: white;
  61 + position: sticky;
  62 + position: -webkit-sticky;
  63 + width: 100%;
  64 + top: 0;
  65 + z-index: 3;
  66 +}
  67 +.title .iconfont {
  68 + color: #ccc;
  69 + font-size: 16rpx;
  70 + margin-left: 8rpx;
  71 +}
  72 +.title-item {
  73 + width: 25%;
  74 + box-sizing: border-box;
  75 + text-align: center;
  76 + padding: 20rpx;
  77 + position: relative;
  78 +}
  79 +.title-item.active {
  80 + color: #FE6867;
  81 + font-weight: bold;
  82 +}
  83 +
  84 +.title-item.active:before {
  85 + content:'';
  86 + position: absolute;
  87 + width: 60%;
  88 + height: 4rpx;
  89 + background-color: #FE6867;
  90 + left: 0;
  91 + right: 0;
  92 + bottom: 0;
  93 + margin: 0 auto;
  94 +}
  95 +.title-item.active:after {
  96 + font-family: iconfont;
  97 + content: '\e650';
  98 + font-size: 18rpx;
  99 + margin-left: 8rpx;
  100 +}
  101 +.title-item.active.active1:after {
  102 + font-family: iconfont;
  103 + content: '\e604';
  104 + font-size: 18rpx;
  105 + margin-left: 8rpx;
  106 +}
  107 +.list-container {
  108 + height: calc(100% - 360rpx);
  109 + /* height: 100%; */
  110 +}
  111 +.list {
  112 + box-sizing: border-box;
  113 + height: calc(100% - 82rpx);
  114 + background-color: #f2f2f2;
  115 + /* padding-bottom: 102rpx; */
  116 +}
  117 +.list.active1 {
  118 + /* height: calc(100% - 82rpx - 78rpx); */
  119 + /* padding-bottom: 0; */
  120 +}
  121 +.list.active2 {
  122 + /* padding-bottom: 0; */
  123 +}
  124 +.list-item {
  125 + display: flex;
  126 + padding: 20rpx;
  127 + border-bottom: 2rpx solid #f8f8f8;
  128 + background-color: white;
  129 +}
  130 +.img-container {
  131 + background-color: #f0f0f0;
  132 + width: 280rpx;
  133 + height: 248rpx;
  134 + display: flex;
  135 + align-items: center;
  136 + justify-content: center;
  137 +}
  138 +.img-container:after {
  139 +
  140 +}
  141 +.details {
  142 + flex: 1;
  143 + padding-left: 20rpx;
  144 + display: flex;
  145 + flex-direction: column;
  146 + justify-content: space-between;
  147 +}
  148 +.btn-share {
  149 + box-sizing: border-box;
  150 + display: inline-block;
  151 + background-color: #FE6867;
  152 + color: white;
  153 + padding: 8rpx 30rpx;
  154 + border-radius: 6rpx;
  155 + text-align: center;
  156 +}
  157 +.pdt14 {
  158 + padding-top: 14rpx;
  159 +}
  160 +.pdtb6 {
  161 + padding-top: 6rpx;
  162 + padding-bottom: 6rpx;
  163 +}
  164 +.pdtb8 {
  165 + padding-top: 8rpx;
  166 + padding-bottom: 8rpx;
  167 +}
  168 +.pdl20 {
  169 + padding-left: 104rpx;
  170 +}
  171 +
  172 +
  173 +.no-more {
  174 + line-height: 3;
  175 + color: #ccc;
  176 + /* background-color: #f2f2f2; */
  177 +}
  178 +.nodata {
  179 + text-align: center;
  180 + background-color: #f2f2f2;
  181 +}
  182 +.progress-container {
  183 + width: 55%;
  184 + padding-right: 10rpx;
  185 + position: relative;
  186 + text-align: center;
  187 +}
  188 +.retail {
  189 + color: #7b7b7b;
  190 + text-decoration: line-through;
  191 + font-size: 22rpx;
  192 + padding-left: 20rpx;
  193 +}
  194 +.name {
  195 + height: 76rpx;
  196 + overflow: hidden;
  197 +}
  198 +
  199 +.percent {
  200 + position: absolute;
  201 + top: 0;
  202 + bottom: 0;
  203 + left: 0;
  204 + right: 0;
  205 + margin: auto;
  206 + color: white;
  207 +}
  208 +.tabbar {
  209 + position: fixed;
  210 + width: 100%;
  211 + bottom: 0;
  212 + background-color: white;
  213 +}
  214 +.tabbar:after {
  215 + position: absolute;
  216 + content: '';
  217 + width: 2rpx;
  218 + height: 50%;
  219 + top: 0;
  220 + bottom: 0;
  221 + left: 0;
  222 + right: 0;
  223 + margin: auto;
  224 + background-color: #f0f0f0;
  225 +}
  226 +.tabbar-item {
  227 + width: 50%;
  228 + text-align: center;
  229 + padding-top: 30rpx;
  230 + padding-bottom: 30rpx;
  231 +}
  232 +.tabbar-item .iconfont {
  233 + margin-right: 10rpx;
  234 +}
  235 +.tabbar-item.active {
  236 + color: #FE6867;
  237 +}
  238 +
  239 +
  240 +.group-type,
  241 +.group-num {
  242 + position: relative;
  243 + font-size: 22rpx;
  244 +}
  245 +.group-type:before,
  246 +.group-num:before {
  247 + font-family: iconfont;
  248 +}
  249 +.group-type:before {
  250 + content: '\e66a';
  251 + color: white;
  252 + background-color: #FE6867;
  253 + position: absolute;
  254 + left: 0;
  255 + top: 0;
  256 + bottom: 0;
  257 + padding-left: 6rpx;
  258 + padding-right: 10rpx;
  259 + line-height: 30rpx;
  260 +}
  261 +.group-num:before {
  262 + padding-right: 6rpx;
  263 +}
  264 +.group-num:before {
  265 + content: '\e694';
  266 + position: relative;
  267 +}
  268 +.group-num {
  269 + color: white;
  270 + background-color: #FE6867;
  271 + border-radius: 34rpx;
  272 + padding-left: 10rpx;
  273 + padding-right: 10rpx;
  274 + margin-right: 14rpx;
  275 +}
  276 +.group-type {
  277 + color: #FE6867;
  278 + border: 2rpx solid #FE6867;
  279 + padding-left: 42rpx;
  280 + padding-right: 4rpx;
  281 + border-radius: 6rpx;
  282 +}
  283 +
  284 +.badge {
  285 + color: white;
  286 + padding: 0 20rpx;
  287 + border-radius: 6rpx;
  288 + background-color: #FE6867;
  289 + margin-right: 10rpx;
  290 +}
  291 +
  292 +.subTab-title {
  293 + text-align: center;
  294 + justify-content: center;
  295 + align-items: center;
  296 + font-size: 28rpx;
  297 +}
  298 +.subTab-list {
  299 + padding: 20rpx;
  300 +}
  301 +.subTab-titleItem {
  302 + box-sizing: border-box;
  303 + width: calc(100% / 3);
  304 + padding: 20rpx 40rpx;
  305 + background-color: white;
  306 + border-right: 2rpx solid #f8f8f8;
  307 +}
  308 +.subTab-titleItem:last-child {
  309 + border-right: none;
  310 +}
  311 +.subTab-titleItem.active {
  312 + background-color: #FE6867;
  313 + color: white;
  314 +}
  315 +.subTab-item {
  316 + padding: 20rpx;
  317 + border-bottom: 2rpx solid #f8f8f8;
  318 + background-color: white;
  319 + border-radius: 8rpx;
  320 + box-shadow: 0 8px 12px #e7e9eb;
  321 +}
  322 +.subTab-item ~ .subTab-item {
  323 + margin-top: 20rpx;
  324 +}
  325 +.pdv10 {
  326 + padding-top: 10rpx;
  327 + padding-bottom: 10rpx;
  328 +}
  329 +.pdv20 {
  330 + padding-top: 20rpx;
  331 + padding-bottom: 20rpx;
  332 +}
  333 +.pdb10 {
  334 + padding-bottom: 10rpx;
  335 +}
  336 +.pdb20 {
  337 + padding-bottom: 20rpx;
  338 +}
  339 +.bdr-b {
  340 + border-bottom: 2rpx solid #f8f8f8;
  341 +}
  342 +.dash-b {
  343 + border-bottom: 2rpx dashed #ddd;
  344 +}
  345 +.btn-container {
  346 + display: flex;
  347 + align-items: flex-end;
  348 + font-size: 26rpx;
  349 +}
  350 +
  351 +
  352 +/* .popup-container {
  353 + content:'';
  354 + position: fixed;
  355 + top: 0;
  356 + bottom: 0;
  357 + left: 0;
  358 + right: 0;
  359 + z-index: 3;
  360 + background-color: rgba(0,0,0,.6);
  361 + display: flex;
  362 + align-items: center;
  363 + justify-content: center;
  364 +}
  365 +.popup {
  366 + width: 90%;
  367 +}
  368 +.popup-content {
  369 + box-sizing: border-box;
  370 + width: 100%;
  371 + background-color: white;
  372 + padding: 0 20rpx;
  373 + border-radius: 10rpx;
  374 + max-height: 1038rpx;
  375 +}
  376 +.icon-close {
  377 + font-size: 60rpx;
  378 + color: white;
  379 +}
  380 +.popup-btn {
  381 + padding-top: 30rpx;
  382 +} */
  383 +
  384 +/* .popup-title { */
  385 + /* font-size: 28rpx; */
  386 + /* font-weight: bold;
  387 + padding: 20rpx 0;
  388 +} */
  389 +/* .popup-title2 { */
  390 + /* padding: 10rpx 0; */
  391 + /* padding-bottom: 8rpx;
  392 +}
  393 +.popup-title3 {
  394 + padding-left: 34rpx;
  395 + font-size: 30rpx;
  396 +}
  397 +.popup-list {
  398 + max-height: 602rpx;
  399 + overflow-y: auto;
  400 +}
  401 +
  402 +
  403 +radio .wx-radio-input {
  404 + width: 28rpx;
  405 + height: 28rpx;
  406 +}
  407 +
  408 +
  409 +radio .wx-radio-input.wx-radio-input-checked {
  410 + background-color: #FE6867;
  411 + border-color: #FE6867;
  412 +}
  413 +radio .wx-radio-input.wx-radio-input-checked::before{
  414 + color: white;
  415 +} */
  416 +
  417 +/* .popup-content.active {
  418 + max-height: 982rpx;
  419 + overflow: auto;
  420 +} */
  421 +
  422 +.banner-container {
  423 + height: 360rpx;
  424 +}
  425 +.banner {
  426 + display: block;
  427 + width: 100%;
  428 + height: 100%;
  429 +}
0 430 \ No newline at end of file
... ...