index.js.map 50 KB

1
  1. {"version":3,"sources":["uni-app:///main.js","webpack:///G:/item/appBase/pages/index/index.vue?8fa3","webpack:///G:/item/appBase/pages/index/index.vue?8f39","webpack:///G:/item/appBase/pages/index/index.vue?84db","webpack:///G:/item/appBase/pages/index/index.vue?cfff","uni-app:///pages/index/index.vue","webpack:///G:/item/appBase/pages/index/index.vue?5c2f","webpack:///G:/item/appBase/pages/index/index.vue?2dc6"],"names":["createPage","Page"],"mappings":"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","file":"pages/index/index.js","sourcesContent":["import 'uni-pages';\nimport Vue from 'vue'\nimport Page from './pages/index/index.vue'\ncreatePage(Page)","import { render, staticRenderFns, recyclableRender, components } from \"./index.vue?vue&type=template&id=57280228&\"\nvar renderjs\nimport script from \"./index.vue?vue&type=script&lang=js&\"\nexport * from \"./index.vue?vue&type=script&lang=js&\"\nimport style0 from \"./index.vue?vue&type=style&index=0&lang=scss&\"\n\n\n/* normalize component */\nimport normalizer from \"!D:\\\\work\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\runtime\\\\componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null,\n false,\n components,\n renderjs\n)\n\ncomponent.options.__file = \"pages/index/index.vue\"\nexport default component.exports","export * from \"-!D:\\\\work\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\loaders\\\\templateLoader.js??vue-loader-options!D:\\\\work\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--16-0!D:\\\\work\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\template.js!D:\\\\work\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-uni-app-loader\\\\page-meta.js!D:\\\\work\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!D:\\\\work\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./index.vue?vue&type=template&id=57280228&\"","var components\ntry {\n components = {\n seckill: function() {\n return import(\n /* webpackChunkName: \"components/seckill/seckill\" */ \"@/components/seckill/seckill.vue\"\n )\n }\n }\n} catch (e) {\n if (\n e.message.indexOf(\"Cannot find module\") !== -1 &&\n e.message.indexOf(\".vue\") !== -1\n ) {\n console.error(e.message)\n console.error(\"1. 排查组件名称拼写是否正确\")\n console.error(\n \"2. 排查组件是否符合 easycom 规范,文档:https://uniapp.dcloud.net.cn/collocation/pages?id=easycom\"\n )\n console.error(\n \"3. 若组件不符合 easycom 规范,需手动引入,并在 components 中注册该组件\"\n )\n } else {\n throw e\n }\n}\nvar render = function() {\n var _vm = this\n var _h = _vm.$createElement\n var _c = _vm._self._c || _h\n}\nvar recyclableRender = false\nvar staticRenderFns = []\nrender._withStripped = true\n\nexport { render, staticRenderFns, recyclableRender, components }","import mod from \"-!D:\\\\work\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\babel-loader\\\\lib\\\\index.js!D:\\\\work\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--12-1!D:\\\\work\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\script.js!D:\\\\work\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!D:\\\\work\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./index.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!D:\\\\work\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\babel-loader\\\\lib\\\\index.js!D:\\\\work\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--12-1!D:\\\\work\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\script.js!D:\\\\work\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!D:\\\\work\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./index.vue?vue&type=script&lang=js&\"","<template>\r\n\t<view class=\"container\">\r\n\t\t<!-- 小程序头部兼容 -->\r\n\t\t<!-- #ifdef MP -->\r\n\t\t<view class=\"input-box flex\" @click=\"clickSearch\">\r\n\t\t\t<view class=\" input-content flex\">\r\n\t\t\t\t<view class=\"iconfont iconsearch\"></view>\r\n\t\t\t\t<view class=\"input\"><input type=\"text\" disabled placeholder=\"请输入搜索内容\" /></view>\r\n\t\t\t</view>\r\n\t\t</view>\r\n\t\t<view class=\"mp-height\"></view>\r\n\t\t<!-- #endif -->\r\n\t\t<!-- 头部轮播 -->\r\n\t\t<view class=\"carousel-section\">\r\n\t\t\t<!-- 标题栏和状态栏占位符 -->\r\n\t\t\t<view class=\"titleNview-placing\"></view>\r\n\t\t\t<!-- 背景色区域 -->\r\n\t\t\t<view class=\"titleNview-background\" :style=\"{ backgroundColor: '#5DBC7C' }\"></view>\r\n\t\t\t<swiper class=\"carousel\" autoplay=\"true\" duration=\"400\" interval=\"5000\" @change=\"swiperChange\">\r\n\t\t\t\t<swiper-item v-for=\"(item, index) in carouselList\" :key=\"index\" class=\"carousel-item\" @click=\"bannerNavToUrl(item)\"><image :src=\"item.pic\" /></swiper-item>\r\n\t\t\t</swiper>\r\n\t\t\t<!-- 自定义swiper指示器 -->\r\n\t\t\t<view class=\"swiper-dots\">\r\n\t\t\t\t<text class=\"num\">{{ swiperCurrent + 1 }}</text>\r\n\t\t\t\t<text class=\"sign\">/</text>\r\n\t\t\t\t<text class=\"num\">{{ swiperLength }}</text>\r\n\t\t\t</view>\r\n\t\t</view>\r\n\t\t<!-- 分类 -->\r\n\t\t<view class=\"cate-section\">\r\n\t\t\t<view class=\"cate-item\">\r\n\t\t\t\t<image src=\"/static/icon/c3.png\"></image>\r\n\t\t\t\t<text>联盟礼包</text>\r\n\t\t\t</view>\r\n\t\t\t<navigator url=\"/pages/product/groupBooking/index\">\r\n\t\t\t\t<view class=\"cate-item\">\r\n\t\t\t\t\t<image src=\"/static/icon/c5.png\"></image>\r\n\t\t\t\t\t<text>超值拼团</text>\r\n\t\t\t\t</view>\r\n\t\t\t</navigator>\r\n\t\t\t<navigator url=\"/pages/product/seckill\">\r\n\t\t\t\t<view class=\"cate-item\">\r\n\t\t\t\t\t<image src=\"/static/icon/c7.png\"></image>\r\n\t\t\t\t\t<text>限时秒杀</text>\r\n\t\t\t\t</view>\r\n\t\t\t</navigator>\r\n\t\t\t<navigator url=\"/pages/index/sign\">\r\n\t\t\t\t<view class=\"cate-item\">\r\n\t\t\t\t\t<image src=\"/static/icon/c8.png\"></image>\r\n\t\t\t\t\t<text>每日签到</text>\r\n\t\t\t\t</view>\r\n\t\t\t</navigator>\r\n\t\t</view>\r\n\t\t\r\n\t\t<view class=\"ad-1\"><image src=\"/static/temp/ad1.jpg\" mode=\"scaleToFill\"></image></view>\r\n\t\t<!-- 可领取优惠券 -->\r\n\t\t<scroll-view class=\"coupon-box clamp\" :scroll-x=\"true\">\r\n\t\t\t<view v-for=\"(item, index) in couponArray\" :key=\"item.id\" class=\"coupon-list\">\r\n\t\t\t\t<view class=\"row flex\">\r\n\t\t\t\t\t<view class=\"list-money flex\">\r\n\t\t\t\t\t\t<image :src=\"item.is_use ? '/static/img/img02.png' : '/static/img/img03.png'\" mode=\"scaleToFill\"></image>\r\n\t\t\t\t\t\t<view class=\"list-money-text\">\r\n\t\t\t\t\t\t\t<view class=\"tit\" :class=\"{ noAction: item.is_use }\">\r\n\t\t\t\t\t\t\t\t<text>{{ item.coupon_price }}</text>\r\n\t\t\t\t\t\t\t</view>\r\n\t\t\t\t\t\t</view>\r\n\t\t\t\t\t</view>\r\n\t\t\t\t\t<view class=\"list-interval position-relative\">\r\n\t\t\t\t\t\t<view class=\"bottom\"></view>\r\n\t\t\t\t\t\t<view class=\"top\"></view>\r\n\t\t\t\t\t</view>\r\n\t\t\t\t\t<view class=\"row_list_right\">\r\n\t\t\t\t\t\t<view class=\"right_top\"><text class=\"right_title\" :class=\"{ noAction: item.is_use }\">满减券</text></view>\r\n\t\t\t\t\t\t<view class=\"right_time\">\r\n\t\t\t\t\t\t\t<text>满{{ item.use_min_price }}使用</text>\r\n\t\t\t\t\t\t</view>\r\n\t\t\t\t\t</view>\r\n\t\t\t\t\t<view class=\"right_use\" :class=\"{ noAction: item.is_use }\" @click=\"setCoupons(item)\">\r\n\t\t\t\t\t\t<text>{{ item.is_use ? '已领取' : '立即领取' }}</text>\r\n\t\t\t\t\t</view>\r\n\t\t\t\t</view>\r\n\t\t\t</view>\r\n\t\t</scroll-view>\r\n\r\n\t\t<!-- 秒杀楼层 -->\r\n\t\t<seckill></seckill>\r\n\t\t<!-- 砍价 -->\r\n\t\t<view class=\"hot-goods\">\r\n\t\t\t<view class=\"hot-headers flex-upDown-center\">\r\n\t\t\t\t<!-- <image class=\"img\" src=\"../../static/img/img44.png\"></image> -->\r\n\t\t\t\t<view class=\"hot-title\">超值砍价</view>\r\n\t\t\t\t<view><view class=\"more\" @click.stop=\"navTo('/pages/activity/goods_bargain/index')\">更多</view></view>\r\n\t\t\t</view>\r\n\t\t\t<view class=\"hot-lists\" v-for=\"(baritem, barindex) in bargainlist\" :key=\"barindex\" @click.stop=\"navToDetailPages(baritem)\">\r\n\t\t\t\t<view class=\"hot-produce\">\r\n\t\t\t\t\t<view class=\"produce-image\"><image :src=\"baritem.image\"></image></view>\r\n\t\t\t\t\t<view class=\"produce-content\">\r\n\t\t\t\t\t\t<view class=\"produce-price1 \">\r\n\t\t\t\t\t\t\t<view class=\"produce-name line2\">{{ baritem.title }}</view>\r\n\t\t\t\t\t\t\t<!-- <view class=\"produce-info\">\r\n\t\t\t\t\t\t\t\t已抢\r\n\t\t\t\t\t\t\t\t<text style=\"color: #FF383E\">{{ baritem.sales }}</text>\r\n\t\t\t\t\t\t\t\t箱/仅剩\r\n\t\t\t\t\t\t\t\t<text style=\"color:#FF383E\">{{ baritem.stock }}</text>\r\n\t\t\t\t\t\t\t\t箱\r\n\t\t\t\t\t\t\t</view> -->\r\n\t\t\t\t\t\t\t<view class=\"produce-center\">\r\n\t\t\t\t\t\t\t\t<view class=\"kanjia_word\">\r\n\t\t\t\t\t\t\t\t\t<view class=\"word-1\">原价:¥{{ baritem.price }}</view>\r\n\t\t\t\t\t\t\t\t\t<view class=\"word-2\">\r\n\t\t\t\t\t\t\t\t\t\t砍后价\r\n\t\t\t\t\t\t\t\t\t\t<text style=\"font-size: 24rpx;\">¥</text>\r\n\t\t\t\t\t\t\t\t\t\t<text style=\"font-size: 36rpx;\">{{ baritem.min_price }}</text>\r\n\t\t\t\t\t\t\t\t\t</view>\r\n\t\t\t\t\t\t\t\t</view>\r\n\t\t\t\t\t\t\t\t<view\r\n\t\t\t\t\t\t\t\t\tclass=\"kanjia_button flex-center\"\r\n\t\t\t\t\t\t\t\t\t@tap.stop=\"openSubscribe('/pages/activity/goods_bargain_details/index?id=' + baritem.id + '&bargain=' + userInfo.uid)\"\r\n\t\t\t\t\t\t\t\t>\r\n\t\t\t\t\t\t\t\t\t<view>查看详情</view>\r\n\t\t\t\t\t\t\t\t</view>\r\n\t\t\t\t\t\t\t</view>\r\n\t\t\t\t\t\t</view>\r\n\t\t\t\t\t</view>\r\n\t\t\t\t</view>\r\n\t\t\t</view>\r\n\t\t</view>\r\n\t\t<!-- 拼团楼层 -->\r\n\r\n\t\t<view class=\"recommend flex\">\r\n\t\t\t<view class=\"recommend_list\" @click=\"change(ls.id)\" v-for=\"ls in recommend\">\r\n\t\t\t\t<view class=\"re_title\" v-bind:class=\"{ active_color: ls.id == checkid }\">{{ ls.re_title }}</view>\r\n\t\t\t\t<view class=\"re_name\" v-bind:class=\"{ active_color: ls.id == checkid }\">{{ ls.re_name }}</view>\r\n\t\t\t\t<image class=\"selected_icon\" v-bind:class=\"{ active: ls.id == checkid }\" src=\"/static/img/img04.png\"></image>\r\n\t\t\t</view>\r\n\t\t</view>\r\n\t\t<swiper id=\"list-box\" @change=\"listChange\" :style=\"{ height: swiperHeight + 'px' }\" :current=\"checkid\">\r\n\t\t\t<swiper-item>\r\n\t\t\t\t<!-- <scroll-view scroll-y=\"true\" class=\"list-box-h\"> -->\r\n\t\t\t\t<view class=\"guess-section\">\r\n\t\t\t\t\t<view v-for=\"(item, index) in bastList\" :key=\"index\" class=\"guess-item\" @click=\"navToDetailPage(item)\">\r\n\t\t\t\t\t\t<view class=\"image-wrapper\"><image :src=\"item.image\" mode=\"scaleToFill\"></image></view>\r\n\t\t\t\t\t\t<text class=\"title clamp margin-c-20\">{{ item.store_name }}</text>\r\n\t\t\t\t\t\t<view class=\"cmy-hr\"></view>\r\n\t\t\t\t\t\t<view class=\"price margin-c-20 flex\">\r\n\t\t\t\t\t\t\t<view>\r\n\t\t\t\t\t\t\t\t<text class=\"font-size-sm \">¥</text>\r\n\t\t\t\t\t\t\t\t{{ item.price }}\r\n\t\t\t\t\t\t\t</view>\r\n\t\t\t\t\t\t\t<view class=\"font-size-sm\">\r\n\t\t\t\t\t\t\t\t<text class=\"font-color-gray\">{{ item.sales }}人购买</text>\r\n\t\t\t\t\t\t\t</view>\r\n\t\t\t\t\t\t</view>\r\n\t\t\t\t\t</view>\r\n\t\t\t\t</view>\r\n\t\t\t\t<!-- </scroll-view> -->\r\n\t\t\t</swiper-item>\r\n\t\t\t<swiper-item>\r\n\t\t\t\t<scroll-view scroll-y=\"true\" class=\"list-box-h\">\r\n\t\t\t\t\t<view class=\"guess-section\">\r\n\t\t\t\t\t\t<view v-for=\"(item, index) in goodsList\" :key=\"index\" class=\"guess-item\" @click=\"navToDetailPage(item)\">\r\n\t\t\t\t\t\t\t<view class=\"image-wrapper\"><image :src=\"item.image\" mode=\"scaleToFill\"></image></view>\r\n\t\t\t\t\t\t\t<text class=\"title clamp margin-c-20\">{{ item.store_name }}</text>\r\n\t\t\t\t\t\t\t<view class=\"cmy-hr\"></view>\r\n\t\t\t\t\t\t\t<view class=\"price margin-c-20 flex\">\r\n\t\t\t\t\t\t\t\t<view>\r\n\t\t\t\t\t\t\t\t\t<text class=\"font-size-sm \">¥</text>\r\n\t\t\t\t\t\t\t\t\t{{ item.price }}\r\n\t\t\t\t\t\t\t\t</view>\r\n\t\t\t\t\t\t\t\t<view class=\"font-size-sm\">\r\n\t\t\t\t\t\t\t\t\t<text class=\"font-color-gray\">{{ item.sales }}人购买</text>\r\n\t\t\t\t\t\t\t\t</view>\r\n\t\t\t\t\t\t\t</view>\r\n\t\t\t\t\t\t</view>\r\n\t\t\t\t\t</view>\r\n\t\t\t\t</scroll-view>\r\n\t\t\t</swiper-item>\r\n\t\t\t<swiper-item>\r\n\t\t\t\t<scroll-view scroll-y=\"true\">\r\n\t\t\t\t\t<view class=\"guess-section\">\r\n\t\t\t\t\t\t<view v-for=\"(item, index) in bastBanner\" :key=\"index\" class=\"guess-item\" @click=\"navToDetailPage(item)\">\r\n\t\t\t\t\t\t\t<navigator :url=\"item.link\">\r\n\t\t\t\t\t\t\t\t<view class=\"image-wrapper\"><image :src=\"item.image\" mode=\"scaleToFill\"></image></view>\r\n\t\t\t\t\t\t\t\t<text class=\"title clamp margin-c-20\">{{ item.store_name }}</text>\r\n\t\t\t\t\t\t\t\t<view class=\"cmy-hr\"></view>\r\n\t\t\t\t\t\t\t\t<view class=\"price margin-c-20 flex\">\r\n\t\t\t\t\t\t\t\t\t<view>\r\n\t\t\t\t\t\t\t\t\t\t<text class=\"font-size-sm \">¥</text>\r\n\t\t\t\t\t\t\t\t\t\t{{ item.price }}\r\n\t\t\t\t\t\t\t\t\t</view>\r\n\t\t\t\t\t\t\t\t\t<view class=\"font-size-sm\">\r\n\t\t\t\t\t\t\t\t\t\t<text class=\"font-color-gray\">库存{{ item.stock + item.unit_name }}</text>\r\n\t\t\t\t\t\t\t\t\t</view>\r\n\t\t\t\t\t\t\t\t</view>\r\n\t\t\t\t\t\t\t</navigator>\r\n\t\t\t\t\t\t</view>\r\n\t\t\t\t\t</view>\r\n\t\t\t\t</scroll-view>\r\n\t\t\t</swiper-item>\r\n\t\t</swiper>\r\n\r\n\t\t<!-- 精品 商品 -->\r\n\t\t<view class=\"f-header m-t\">\r\n\t\t\t<view class=\"f-left-icon\"></view>\r\n\t\t\t<view class=\"tit-box\"><text class=\"tit\">精品推荐</text></view>\r\n\t\t\t<navigator url=\"/pages/product/classify?type=1\"><text class=\"iconfont iconenter\">更多</text></navigator>\r\n\t\t</view>\r\n\t\t<view class=\"guess-section\">\r\n\t\t\t<view v-for=\"(item, index) in bastList\" :key=\"index\" class=\"guess-item\" @click=\"navToDetailPage(item)\">\r\n\t\t\t\t<view class=\"image-wrapper\"><image :src=\"item.image\" mode=\"scaleToFill\"></image></view>\r\n\t\t\t\t<text class=\"title clamp margin-c-20\">{{ item.store_name }}</text>\r\n\t\t\t\t<view class=\"cmy-hr\"></view>\r\n\t\t\t\t<view class=\"price margin-c-20 flex\">\r\n\t\t\t\t\t<view>\r\n\t\t\t\t\t\t<text class=\"font-size-sm \">¥</text>\r\n\t\t\t\t\t\t{{ item.price }}\r\n\t\t\t\t\t</view>\r\n\t\t\t\t\t<view class=\"font-size-sm\">\r\n\t\t\t\t\t\t<text class=\"font-color-gray\">{{ item.sales }}人购买</text>\r\n\t\t\t\t\t</view>\r\n\t\t\t\t</view>\r\n\t\t\t</view>\r\n\t\t</view>\r\n\t\t<!-- 最新 商品 -->\r\n\t\t<view class=\"f-header m-t\">\r\n\t\t\t<view class=\"f-left-icon\"></view>\r\n\t\t\t<view class=\"tit-box\"><text class=\"tit\">最新商品</text></view>\r\n\t\t\t<navigator url=\"/pages/product/classify?type=3\"><text class=\"iconfont iconenter\">更多</text></navigator>\r\n\t\t</view>\r\n\t\t<view class=\"guess-section\">\r\n\t\t\t<view v-for=\"(item, index) in goodsList\" :key=\"index\" class=\"guess-item\" @click=\"navToDetailPage(item)\">\r\n\t\t\t\t<view class=\"image-wrapper\"><image :src=\"item.image\" mode=\"scaleToFill\"></image></view>\r\n\t\t\t\t<text class=\"title clamp margin-c-20\">{{ item.store_name }}</text>\r\n\t\t\t\t<view class=\"cmy-hr\"></view>\r\n\t\t\t\t<view class=\"price margin-c-20 flex\">\r\n\t\t\t\t\t<view>\r\n\t\t\t\t\t\t<text class=\"font-size-sm \">¥</text>\r\n\t\t\t\t\t\t{{ item.price }}\r\n\t\t\t\t\t</view>\r\n\t\t\t\t\t<view class=\"font-size-sm\">\r\n\t\t\t\t\t\t<text class=\"font-color-gray\">{{ item.sales }}人购买</text>\r\n\t\t\t\t\t</view>\r\n\t\t\t\t</view>\r\n\t\t\t</view>\r\n\t\t</view>\r\n\t\t<!-- 促销 商品 -->\r\n\t\t<view class=\"f-header m-t\">\r\n\t\t\t<view class=\"f-left-icon\"></view>\r\n\t\t\t<view class=\"tit-box\"><text class=\"tit\">促销商品</text></view>\r\n\t\t\t<navigator url=\"/pages/product/classify?type=4\"><text class=\"iconfont iconenter\">更多</text></navigator>\r\n\t\t</view>\r\n\t\t<view class=\"guess-section\">\r\n\t\t\t<view v-for=\"(item, index) in bastBanner\" :key=\"index\" class=\"guess-item\" @click=\"navToDetailPage(item)\">\r\n\t\t\t\t<view class=\"image-wrapper\"><image :src=\"item.image\" mode=\"scaleToFill\"></image></view>\r\n\t\t\t\t<text class=\"title clamp margin-c-20\">{{ item.store_name }}</text>\r\n\t\t\t\t<view class=\"cmy-hr\"></view>\r\n\t\t\t\t<view class=\"price margin-c-20 flex\">\r\n\t\t\t\t\t<view>\r\n\t\t\t\t\t\t<text class=\"font-size-sm \">¥</text>\r\n\t\t\t\t\t\t{{ item.price }}\r\n\t\t\t\t\t</view>\r\n\t\t\t\t\t<view class=\"font-size-sm\">\r\n\t\t\t\t\t\t<text class=\"font-color-gray\">{{ item.sales }}人购买</text>\r\n\t\t\t\t\t</view>\r\n\t\t\t\t</view>\r\n\t\t\t</view>\r\n\t\t</view>\r\n\t\t<!-- 会员升级专区 -->\r\n\t\t<!-- <view class=\"f-header m-t\">\r\n\t\t\t<view class=\"f-left-icon\"></view>\r\n\t\t\t<view class=\"tit-box\"><text class=\"tit\">会员升级专区</text></view>\r\n\t\t\t<text class=\"iconfont iconenter\">更多</text>\r\n\t\t</view> -->\r\n\t\t<!-- <view class=\"uservip flex\">\r\n\t\t\t<image @error=\"onImageError('userServant', 0)\" lazy-load :src=\"userServant[0].image\" mode=\"aspectFill\"></image>\r\n\t\t\t<view class=\"detail\">\r\n\t\t\t\t<view class=\"title\">满园春1999元会员升级礼包</view>\r\n\t\t\t\t<view class=\"icon\">自营</view>\r\n\t\t\t\t<view class=\"flex price-box\">\r\n\t\t\t\t\t<view class=\"price\">\r\n\t\t\t\t\t\t<text class=\"font-size-sm\">¥</text>\r\n\t\t\t\t\t\t18888\r\n\t\t\t\t\t</view>\r\n\t\t\t\t\t<view class=\"text\">115人购买</view>\r\n\t\t\t\t</view>\r\n\t\t\t</view>\r\n\t\t</view> -->\r\n\r\n\t\t<!-- 精品推荐 -->\r\n\t\t<!-- <view class=\"f-header m-t\">\r\n\t\t\t<view class=\"f-left-icon\"></view>\r\n\t\t\t<view class=\"tit-box\"><text class=\"tit\">精品推荐</text></view>\r\n\t\t\t<text class=\"iconfont iconenter\">更多</text>\r\n\t\t</view> -->\r\n\t\t<!-- <view class=\"guess-section\">\r\n\t\t\t<view v-for=\"(item, index) in goodsList\" :key=\"index\" class=\"guess-item\" @click=\"navToDetailPage(item)\">\r\n\t\t\t\t<view class=\"image-wrapper\"><image @error=\"onImageError('goodsList', index)\" lazy-load :src=\"item.image\" mode=\"aspectFill\"></image></view>\r\n\t\t\t\t<text class=\"title clamp margin-c-20\">\r\n\t\t\t\t\t<text class=\"icon\">自营</text>\r\n\t\t\t\t\t{{ item.title }}\r\n\t\t\t\t</text>\r\n\t\t\t\t<view class=\"hr\"></view>\r\n\t\t\t\t<view class=\"price margin-c-20 flex\">\r\n\t\t\t\t\t<view>\r\n\t\t\t\t\t\t<text class=\"font-size-sm \">¥</text>\r\n\t\t\t\t\t\t{{ item.price }}\r\n\t\t\t\t\t</view>\r\n\t\t\t\t\t<view class=\"font-size-sm\">\r\n\t\t\t\t\t\t<view class='detail'>\r\n\t\t\t\t\t\t\t<text class=\"icon\">代理价</text>\r\n\t\t\t\t\t\t\t<text></text>\r\n\t\t\t\t\t\t</view>\r\n\t\t\t\t\t\t<view class=\"detail\">\r\n\t\t\t\t\t\t\t<text class=\"font-color-yellow\">会员价</text>\r\n\t\t\t\t\t\t\t<text class=\"font-color-yellow\">7.5折</text>\r\n\t\t\t\t\t\t</view>\r\n\t\t\t\t\t</view>\r\n\t\t\t\t</view>\r\n\t\t\t\t<view class=\"tip\">兑换价¥44+44积分</view>\r\n\t\t\t</view>\r\n\t\t</view> -->\r\n\t\t<view class=\"Mask\" v-show=\"shareShow\">\r\n\t\t\t<image @click=\"share\" src=\"http://shicai.liuniu946.com/static/img/shareimg4.png\"></image>\r\n\t\t\t<view class=\"Toshare\" @click=\"Toshare\"></view>\r\n\t\t\t<view class=\"Tocancel\" @click=\"Tocancel\"></view>\r\n\t\t</view>\r\n\t</view>\r\n</template>\r\n\r\n<script>\r\nimport seckill from '../../components/seckill/seckill.vue';\r\nimport { loadIndexs } from '@/api/index.js';\r\nimport { getUserInfo } from '@/api/user.js';\r\nimport { setCoupons } from '@/api/functionalUnit.js';\r\nimport { getBargainList } from '@/api/product.js';\r\nimport { interceptor } from '@/utils/loginUtils';\r\nimport { mapState } from 'vuex';\r\nexport default {\r\n\tcomponents: {\r\n\t\tseckill\r\n\t},\r\n\twatch: {\r\n\t\t//自适应swiper高度\r\n\t\tcheckid(newValue, oldValue) {\r\n\t\t\tlet obj = this;\r\n\t\t\tif (newValue == 0) {\r\n\t\t\t\tlet bHeight = Math.ceil(obj.bastList.length / 2);\r\n\t\t\t\tobj.swiperHeight = Math.ceil(obj.pageProportion * 520 * bHeight);\r\n\t\t\t}\r\n\t\t\tif (newValue == 1) {\r\n\t\t\t\tlet bHeight = Math.ceil(obj.goodsList.length / 2);\r\n\t\t\t\tobj.swiperHeight = Math.ceil(obj.pageProportion * 520 * bHeight);\r\n\t\t\t}\r\n\t\t\tif (newValue == 2) {\r\n\t\t\t\tlet bHeight = Math.ceil(obj.bastBanner.length / 2);\r\n\t\t\t\tobj.swiperHeight = Math.ceil(obj.pageProportion * 520 * bHeight);\r\n\t\t\t}\r\n\t\t},\r\n\t\t// 初次加载页面高度时修改页面高度\r\n\t\tbastList(newValue, oldValue) {\r\n\t\t\tlet obj = this;\r\n\t\t\tlet bHeight = Math.ceil(newValue.length / 2);\r\n\t\t\tobj.$nextTick(function() {\r\n\t\t\t\tuni.createSelectorQuery()\r\n\t\t\t\t\t.select('#list-box')\r\n\t\t\t\t\t.fields(\r\n\t\t\t\t\t\t{\r\n\t\t\t\t\t\t\tsize: true\r\n\t\t\t\t\t\t},\r\n\t\t\t\t\t\tfunction(data) {\r\n\t\t\t\t\t\t\tobj.pageProportion = data.width / 750;\r\n\t\t\t\t\t\t\tobj.swiperHeight = Math.ceil(obj.pageProportion * 520 * bHeight);\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t)\r\n\t\t\t\t\t.exec();\r\n\t\t\t});\r\n\t\t}\r\n\t},\r\n\tdata() {\r\n\t\treturn {\r\n\t\t\tshareShow: false, //分享海报\r\n\t\t\tpageProportion: 0, //保存页面基于750宽度的比例\r\n\t\t\tswiperHeight: 0,\r\n\t\t\tcheckid: 0,\r\n\t\t\ttitleNViewBackground: '',\r\n\t\t\tswiperCurrent: 0,\r\n\t\t\tswiperLength: 0,\r\n\t\t\tbargainlist: [], //砍价商品\r\n\t\t\tcarouselList: [], //轮播列表\r\n\t\t\tgoodsList: [], //最新商品列表\r\n\t\t\tbastList: [], //精品推荐列表\r\n\t\t\tbastBanner: [], //促销商品列表\r\n\t\t\tmenusList: [], //头部菜单\r\n\t\t\tpage: 1,\r\n\t\t\tlimit: 5,\r\n\t\t\tuserServant: [\r\n\t\t\t\t{\r\n\t\t\t\t\timage: ''\r\n\t\t\t\t}\r\n\t\t\t], //用户推广服务\r\n\t\t\tcouponArray: [], //可领取优惠券\r\n\t\t\trecommend: [\r\n\t\t\t\t{\r\n\t\t\t\t\tid: 0,\r\n\t\t\t\t\tre_title: '精选',\r\n\t\t\t\t\tre_name: '为你推荐'\r\n\t\t\t\t},\r\n\t\t\t\t{\r\n\t\t\t\t\tid: 1,\r\n\t\t\t\t\tre_title: '最新',\r\n\t\t\t\t\tre_name: '最新好货优选'\r\n\t\t\t\t},\r\n\t\t\t\t{\r\n\t\t\t\t\tid: 2,\r\n\t\t\t\t\tre_title: '便宜好货',\r\n\t\t\t\t\tre_name: '90天便宜好货'\r\n\t\t\t\t}\r\n\t\t\t],\r\n\t\t\tactTime: new Date()\r\n\t\t};\r\n\t},\r\n\tcomputed: {\r\n\t\t...mapState(['loginInterceptor']),\r\n\t\t...mapState('user', ['hasLogin','userInfo'])\r\n\t},\r\n\tonLoad: function(option) {\r\n\t\t// #ifndef MP\r\n\t\tif (option.spread) {\r\n\t\t\t// 存储其他邀请人\r\n\t\t\tuni.setStorageSync('spread', option.spread);\r\n\t\t}\r\n\t\t// #endif\r\n\t\t// #ifdef MP\r\n\t\tif (option.scene) {\r\n\t\t\t// 存储小程序邀请人\r\n\t\t\tuni.setStorage({\r\n\t\t\t\tkey: 'spread_code',\r\n\t\t\t\tdata: option.scene\r\n\t\t\t});\r\n\t\t}\r\n\t\t// #endif\r\n\t},\r\n\tonShow: function() {\r\n\t\t// 判断是否强制登录\r\n\t\tif (this.loginInterceptor && !this.hasLogin) {\r\n\t\t\t// 登录拦截\r\n\t\t\tinterceptor();\r\n\t\t}\r\n\t\tthis.loadData();\r\n\t\tthis.getBargainList();\r\n\t},\r\n\t//下拉刷新\r\n\tonPullDownRefresh() {\r\n\t\tthis.loadData();\r\n\t},\r\n\t// #ifndef MP\r\n\t// 监听导航栏输入框点击事件\r\n\tonNavigationBarSearchInputClicked(e) {\r\n\t\t//跳转到搜索页面\r\n\t\tthis.clickSearch();\r\n\t},\r\n\t//点击导航栏 buttons 时触发\r\n\tonNavigationBarButtonTap(e) {\r\n\t\tconst index = e.index;\r\n\t\tif (index === 0) {\r\n\t\t\tthis.$api.msg('点击了扫描');\r\n\t\t} else if (index === 1) {\r\n\t\t\t// #ifdef APP-PLUS\r\n\t\t\tconst pages = getCurrentPages();\r\n\t\t\tconst page = pages[pages.length - 1];\r\n\t\t\tconst currentWebview = page.$getAppWebview();\r\n\t\t\tcurrentWebview.hideTitleNViewButtonRedDot({\r\n\t\t\t\tindex\r\n\t\t\t});\r\n\t\t\t// #endif\r\n\t\t\tuni.navigateTo({\r\n\t\t\t\turl: '/pages/user/notice'\r\n\t\t\t});\r\n\t\t}\r\n\t},\r\n\t// #endif\r\n\tmethods: {\r\n\t\t//砍价商品推荐详情页\r\n\t\tnavToDetailPages(item) {\r\n\t\t\tlet id = item.product_id;\r\n\t\t\t//let type = 2;\r\n\t\t\r\n\t\t\tuni.navigateTo({\r\n\t\t\t\turl: '/pages/product/product?id=' + id\r\n\t\t\t});\r\n\t\t},\r\n\t\topenSubscribe: function(e) {\r\n\t\t\tlet page = e;\r\n\t\t\t// #ifndef MP\r\n\t\t\tuni.navigateTo({\r\n\t\t\t\turl: page\r\n\t\t\t});\r\n\t\t\t// #endif\r\n\t\t\t// #ifdef MP\r\n\t\t\tuni.showLoading({\r\n\t\t\t\ttitle: '正在加载'\r\n\t\t\t});\r\n\t\t\topenBargainSubscribe()\r\n\t\t\t\t.then(res => {\r\n\t\t\t\t\tuni.hideLoading();\r\n\t\t\t\t\tuni.navigateTo({\r\n\t\t\t\t\t\turl: page\r\n\t\t\t\t\t});\r\n\t\t\t\t})\r\n\t\t\t\t.catch(err => {\r\n\t\t\t\t\tuni.hideLoading();\r\n\t\t\t\t});\r\n\t\t\t// #endif\r\n\t\t},\r\n\t\tgetBargainList() {\r\n\t\t\tlet that = this;\r\n\t\t\r\n\t\t\tgetBargainList({\r\n\t\t\t\tpage: that.page,\r\n\t\t\t\tlimit: that.limit\r\n\t\t\t})\r\n\t\t\t\t.then(function(res) {\r\n\t\t\t\t\tthat.$set(that, 'bargainlist', res.data.slice(0, 2));\r\n\t\t\t\t})\r\n\t\t\t\t.catch(res => {\r\n\t\t\t\t\tconsole.log(res, 'getBargainList');\r\n\t\t\t\t});\r\n\t\t},\r\n\t\tMask() {\r\n\t\t\tthis.MaskShow = false;\r\n\t\t\tthis.shareShow = true;\r\n\t\t\tuni.setStorage({\r\n\t\t\t\tkey: 'FirstEntry',\r\n\t\t\t\tdata: true,\r\n\t\t\t\tsuccess: function() {\r\n\t\t\t\t\tconsole.log(uni.getStorageSync('FirstEntry'), 'Mask');\r\n\t\t\t\t}\r\n\t\t\t});\r\n\t\t},\r\n\t\tToshare() {\r\n\t\t\tif (this.userInfo == '') {\r\n\t\t\t\tgetUserInfo({})\r\n\t\t\t\t\t.then(({ data }) => {\r\n\t\t\t\t\t\tthis.setUserInfo(data);\r\n\t\t\t\t\t\tthis.userInfo = data;\r\n\t\t\t\t\t})\r\n\t\t\t\t\t.catch(e => {});\r\n\t\t\t} else {\r\n\t\t\t\tthis.shareShow = false;\r\n\t\t\t\tuni.navigateTo({\r\n\t\t\t\t\turl: '/pages/user/shareQrCode?spread=' + this.userInfo.uid\r\n\t\t\t\t});\r\n\t\t\t}\r\n\t\t},\r\n\t\tTocancel() {\r\n\t\t\tthis.shareShow = false;\r\n\t\t},\r\n\t\t// 监听切换事件\r\n\t\tlistChange(e) {\r\n\t\t\tthis.checkid = e.detail.current;\r\n\t\t},\r\n\t\t// 點擊搜索框\r\n\t\tclickSearch() {\r\n\t\t\tuni.navigateTo({\r\n\t\t\t\turl: '/pages/product/search'\r\n\t\t\t});\r\n\t\t},\r\n\t\t// 点击触发领取优惠券\r\n\t\tsetCoupons(item) {\r\n\t\t\t// 判断是否已经领取了优惠券\r\n\t\t\tlet obj = this;\r\n\t\t\tuni.showModal({\r\n\t\t\t\ttitle: '领取提示',\r\n\t\t\t\tcontent: '是否领取优惠券',\r\n\t\t\t\tsuccess(e) {\r\n\t\t\t\t\tif (e.confirm) {\r\n\t\t\t\t\t\tsetCoupons({ couponId: item.id }).then(e => {\r\n\t\t\t\t\t\t\titem.is_use = true;\r\n\t\t\t\t\t\t\tuni.showToast({\r\n\t\t\t\t\t\t\t\ttitle: '领取成功',\r\n\t\t\t\t\t\t\t\ttype: 'top',\r\n\t\t\t\t\t\t\t\tduration: 2000\r\n\t\t\t\t\t\t\t});\r\n\t\t\t\t\t\t});\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\t\t\t});\r\n\t\t},\r\n\t\t//商品种类切换\r\n\t\tchange(item) {\r\n\t\t\tlet id = item;\r\n\t\t\tthis.checkid = id;\r\n\t\t\tif (this.checkid == 1) {\r\n\t\t\t\t// console.log(1);\r\n\t\t\t\tthis.detail = this.selected_detail;\r\n\t\t\t} else if (this.checkid == 2) {\r\n\t\t\t\t// console.log(2);\r\n\t\t\t\tthis.detail = this.new_product;\r\n\t\t\t} else {\r\n\t\t\t\tthis.detail = this.cheap_good;\r\n\t\t\t}\r\n\t\t},\r\n\t\t// 监听图片加载完成\r\n\t\tonImageError(key, index) {\r\n\t\t\tthis[key][index].image = '/static/error/errorImage.jpg';\r\n\t\t},\r\n\t\t// 请求载入数据\r\n\t\tasync loadData() {\r\n\t\t\tloadIndexs({})\r\n\t\t\t\t.then(({ data }) => {\r\n\t\t\t\t\tlet goods = data.info;\r\n\t\t\t\t\tthis.carouselList = data.banner;\r\n\t\t\t\t\tthis.swiperLength = this.carouselList.length;\r\n\t\t\t\t\tthis.menusList = data.menus;\r\n\t\t\t\t\tthis.goodsList = goods.firstList; //最新商品\r\n\t\t\t\t\tthis.bastList = goods.bastList; //精品推荐\r\n\t\t\t\t\tthis.bastBanner = data.benefit; //促销单品\r\n\t\t\t\t\tthis.$set(this, 'couponArray', data.couponList); //保存卡包券\r\n\r\n\t\t\t\t\tuni.stopPullDownRefresh();\r\n\t\t\t\t})\r\n\t\t\t\t.catch(e => {\r\n\t\t\t\t\tuni.stopPullDownRefresh();\r\n\t\t\t\t});\r\n\t\t},\r\n\t\t//轮播图切换修改背景色\r\n\t\tswiperChange(e) {\r\n\t\t\tconst index = e.detail.current;\r\n\t\t\tthis.swiperCurrent = index;\r\n\t\t\tthis.titleNViewBackground = this.carouselList[index].background;\r\n\t\t},\r\n\t\t//详情页\r\n\t\tnavToDetailPage(item) {\r\n\t\t\tlet id = item.id;\r\n\t\t\tuni.navigateTo({\r\n\t\t\t\turl: '/pages/product/product?id=' + id\r\n\t\t\t});\r\n\t\t},\r\n\r\n\t\t// 轮播图跳转\r\n\t\tbannerNavToUrl(item) {\r\n\t\t\t// #ifdef H5\r\n\t\t\tif (item.wap_url.indexOf('http') > 0) {\r\n\t\t\t\twindow.location.href = item.wap_url;\r\n\t\t\t}\r\n\t\t\t// #endif\r\n\t\t\t//测试数据没有写id,用title代替\r\n\t\t\tuni.navigateTo({\r\n\t\t\t\turl: item.wap_url\r\n\t\t\t});\r\n\t\t}\r\n\t}\r\n};\r\n</script>\r\n\r\n<style lang=\"scss\">\r\n.Mask {\r\n\twidth: 100%;\r\n\theight: 100vh;\r\n\tposition: fixed;\r\n\tz-index: 99999;\r\n\tbackground-color: rgba(0, 0, 0, 0.7);\r\n\ttop: 0;\r\n\timage {\r\n\t\twidth: 100%;\r\n\t\theight: 100vh;\r\n\t}\r\n}\r\n// 热销商品\r\n\t.hot-goods {\r\n\t\tmargin: 0 25rpx;\r\n\t\tpadding: 5rpx 25rpx 30rpx 25rpx;\r\n\t\tbackground-color: #fff;\r\n\t\tborder-radius: 10rpx;\r\n\t\t.hot-headers {\r\n\t\t\tmargin: 25rpx 0;\r\n\t\t\twidth: 100%;\r\n\t\t\tdisplay: flex;\r\n\t\t\t.img {\r\n\t\t\t\twidth: 32rpx;\r\n\t\t\t\theight: 32rpx;\r\n\t\t\t\tmargin-right: 10rpx;\r\n\t\t\t}\r\n\t\t\t.hot-title {\r\n\t\t\t\tfont-size: 30rpx;\r\n\t\t\t\tmargin-right: 15rpx;\r\n\t\t\t}\r\n\t\t\t.more {\r\n\t\t\t\tline-height: 1;\r\n\t\t\t\tpadding: 5rpx 10rpx 5rpx 15rpx;\r\n\t\t\t\ttext-align: center;\r\n\t\t\t\tfont-size: 20rpx;\r\n\t\t\t\tborder-radius: 15rpx;\r\n\t\t\t\tcolor: #ffffff;\r\n\t\t\t\tbackground: linear-gradient(90deg, rgba(250, 52, 38, 1) 0%, rgba(249, 30, 83, 1) 100%);\r\n\t\t\t\timage {\r\n\t\t\t\t\twidth: 20rpx;\r\n\t\t\t\t\theight: 20rpx;\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t}\r\n\t\t.hot-lists {\r\n\t\t\tline-height: 1;\r\n\t\t\tdisplay: flex;\r\n\t\t\t.hot-produce {\r\n\t\t\t\twidth: 100%;\r\n\t\t\t\theight: 260rpx;\r\n\t\t\t\tborder-top: 1px solid #f0f0f0;\r\n\t\t\t\tdisplay: flex;\r\n\t\t\t\tpadding-top: 28rpx;\r\n\t\t\t\t.produce-image {\r\n\t\t\t\t\twidth: 200rpx;\r\n\t\t\t\t\theight: 200rpx;\r\n\t\t\t\t\timage {\r\n\t\t\t\t\t\twidth: 200rpx;\r\n\t\t\t\t\t\theight: 200rpx;\r\n\t\t\t\t\t\tborder: 1px solid #f0f0f0;\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\t\t\t\t.produce-content {\r\n\t\t\t\t\t// flex-direction: column;\r\n\t\t\t\t\tmargin-left: 30rpx;\r\n\t\t\t\t\theight: 200rpx;\r\n\t\t\t\t\tposition: relative;\r\n\t\t\t\t\twidth: calc(100% - 200rpx - 30rpx);\r\n\t\t\t\t\t.produce-name {\r\n\t\t\t\t\t\tfont-size: 28rpx;\r\n\t\t\t\t\t\tfont-weight: bold;\r\n\t\t\t\t\t\tline-height: 35rpx;\r\n\t\t\t\t\t\tcolor: #343434;\r\n\t\t\t\t\t}\r\n\t\t\t\t\t.produce-info {\r\n\t\t\t\t\t\tfont-size: 20rpx;\r\n\t\t\t\t\t\tmargin-top: 25rpx;\r\n\t\t\t\t\t}\r\n\t\t\t\t\t.produce-price {\r\n\t\t\t\t\t\tdisplay: flex;\r\n\t\t\t\t\t\talign-items: flex-end;\r\n\t\t\t\t\t\tcolor: #ff383e;\r\n\t\t\t\t\t\tfont-size: 24rpx;\r\n\t\t\t\t\t\tmargin-top: 70rpx;\r\n\t\t\t\t\t\tfont-weight: bold;\r\n\t\t\t\t\t\ttext {\r\n\t\t\t\t\t\t\tfont-size: 36rpx;\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t\t.produce-price-1 {\r\n\t\t\t\t\t\t\tfont-size: 22rpx;\r\n\t\t\t\t\t\t\tfont-weight: 500;\r\n\t\t\t\t\t\t\ttext-decoration: line-through;\r\n\t\t\t\t\t\t\tcolor: rgba(170, 170, 170, 1);\r\n\t\t\t\t\t\t\tmargin-left: 20rpx;\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t}\r\n\t\t\t\t\t.produce-price1 {\r\n\t\t\t\t\t\theight: 100%;\r\n\t\t\t\t\t\tletter-spacing: 3rpx;\r\n\t\t\t\t\t\tcolor: #ff383e;\r\n\t\t\t\t\t\tfont-size: 24rpx;\r\n\t\t\t\t\t\tfont-weight: bold;\r\n\t\t\t\t\t\t.produce-center {\r\n\t\t\t\t\t\t\twidth: 100%;\r\n\t\t\t\t\t\t\tposition: absolute;\r\n\t\t\t\t\t\t\tbottom: 0;\r\n\t\t\t\t\t\t\tdisplay: flex;\r\n\t\t\t\t\t\t\tjustify-content: space-between;\r\n\t\t\t\t\t\t\talign-items: center;\r\n\t\t\t\t\t\t\t.kanjia_word {\r\n\t\t\t\t\t\t\t\t.word-1 {\r\n\t\t\t\t\t\t\t\t\tfont-size: 22rpx;\r\n\t\t\t\t\t\t\t\t\tcolor: #666666;\r\n\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t\t.word-2 {\r\n\t\t\t\t\t\t\t\t\tfont-size: 28rpx;\r\n\t\t\t\t\t\t\t\t\tcolor: #ff383e;\r\n\t\t\t\t\t\t\t\t\tmargin-top: 10rpx;\r\n\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t.kanjia_button {\r\n\t\t\t\t\t\t\t\theight: 50rpx;\r\n\t\t\t\t\t\t\t\twidth: 150rpx;\r\n\t\t\t\t\t\t\t\tborder-radius: 25rpx;\r\n\t\t\t\t\t\t\t\tfont-size: 26rpx;\r\n\t\t\t\t\t\t\t\tfont-weight: 500;\r\n\t\t\t\t\t\t\t\tcolor: #ff383e;\r\n\t\t\t\t\t\t\t\tborder: 1px solid rgba(255, 56, 62, 1);\r\n\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t}\r\n\t}\r\n/* #ifdef MP */\r\n.mp-height {\r\n\theight: 44px;\r\n}\r\n.input-box {\r\n\tposition: fixed;\r\n\ttop: 0;\r\n\tleft: 0;\r\n\twidth: 100%;\r\n\tpadding: 25rpx;\r\n\tbackground-color: #ffffff;\r\n\tz-index: 999;\r\n\theight: 44px;\r\n\t.iconsearch {\r\n\t\tfont-size: 50rpx;\r\n\t}\r\n\t.input-content {\r\n\t\tborder-radius: 99rpx;\r\n\t\tflex-grow: 1;\r\n\t\tpadding: 10rpx 30rpx;\r\n\t\tbackground-color: rgba(231, 231, 231, 0.7);\r\n\t\t.input {\r\n\t\t\tflex-grow: 1;\r\n\t\t\tinput {\r\n\t\t\t\tfont-size: $font-lg;\r\n\t\t\t}\r\n\t\t}\r\n\t}\r\n\t.input-button {\r\n\t\tpadding-left: 20rpx;\r\n\t\tfont-size: $font-lg;\r\n\t\theight: 100%;\r\n\t}\r\n}\r\npage {\r\n\t.cate-section {\r\n\t\tposition: relative;\r\n\t\tz-index: 5;\r\n\t\tborder-radius: 16rpx 16rpx 0 0;\r\n\t\tmargin-top: -20rpx;\r\n\t}\r\n\t.carousel-section {\r\n\t\tpadding: 0;\r\n\t\t.titleNview-placing {\r\n\t\t\tpadding-top: 0;\r\n\t\t\theight: 0;\r\n\t\t}\r\n\t\t.carousel {\r\n\t\t\t.carousel-item {\r\n\t\t\t\tpadding: 0;\r\n\t\t\t}\r\n\t\t}\r\n\t\t.swiper-dots {\r\n\t\t\tleft: 45rpx;\r\n\t\t\tbottom: 40rpx;\r\n\t\t}\r\n\t}\r\n}\r\n/* #endif */\r\n\r\npage {\r\n\tbackground: #f7f8f7;\r\n}\r\n.m-t {\r\n\tmargin-top: 16rpx;\r\n}\r\n/* 头部 轮播图 */\r\n.carousel-section {\r\n\tposition: relative;\r\n\tpadding-top: 10px;\r\n\toverflow: hidden;\r\n\r\n\t.titleNview-placing {\r\n\t\theight: var(--status-bar-height);\r\n\t\tpadding-top: 44px;\r\n\t\tbox-sizing: content-box;\r\n\t}\r\n\r\n\t.titleNview-background {\r\n\t\tposition: absolute;\r\n\t\ttop: 0;\r\n\t\tleft: 0;\r\n\t\twidth: 100%;\r\n\t\theight: 426rpx;\r\n\t\ttransition: 0.4s;\r\n\t}\r\n\t.carousel {\r\n\t\twidth: 100%;\r\n\t\theight: 240rpx;\r\n\t\t.carousel-item {\r\n\t\t\twidth: 100%;\r\n\t\t\theight: 100%;\r\n\t\t\tpadding: 0 28rpx;\r\n\t\t\toverflow: hidden;\r\n\t\t}\r\n\r\n\t\timage {\r\n\t\t\twidth: 100%;\r\n\t\t\theight: 100%;\r\n\t\t\tborder-radius: $border-radius-sm;\r\n\t\t}\r\n\t}\r\n}\r\n.swiper-dots {\r\n\tdisplay: flex;\r\n\tposition: absolute;\r\n\tleft: 60rpx;\r\n\tbottom: 15rpx;\r\n\twidth: 72rpx;\r\n\theight: 36rpx;\r\n\tbackground-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMgAAABkCAYAAADDhn8LAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyZpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuNi1jMTMyIDc5LjE1OTI4NCwgMjAxNi8wNC8xOS0xMzoxMzo0MCAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wTU09Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9tbS8iIHhtbG5zOnN0UmVmPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvc1R5cGUvUmVzb3VyY2VSZWYjIiB4bWxuczp4bXA9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC8iIHhtcE1NOkRvY3VtZW50SUQ9InhtcC5kaWQ6OTk4MzlBNjE0NjU1MTFFOUExNjRFQ0I3RTQ0NEExQjMiIHhtcE1NOkluc3RhbmNlSUQ9InhtcC5paWQ6OTk4MzlBNjA0NjU1MTFFOUExNjRFQ0I3RTQ0NEExQjMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENDIDIwMTcgKFdpbmRvd3MpIj4gPHhtcE1NOkRlcml2ZWRGcm9tIHN0UmVmOmluc3RhbmNlSUQ9InhtcC5paWQ6Q0E3RUNERkE0NjExMTFFOTg5NzI4MTM2Rjg0OUQwOEUiIHN0UmVmOmRvY3VtZW50SUQ9InhtcC5kaWQ6Q0E3RUNERkI0NjExMTFFOTg5NzI4MTM2Rjg0OUQwOEUiLz4gPC9yZGY6RGVzY3JpcHRpb24+IDwvcmRmOlJERj4gPC94OnhtcG1ldGE+IDw/eHBhY2tldCBlbmQ9InIiPz4Gh5BPAAACTUlEQVR42uzcQW7jQAwFUdN306l1uWwNww5kqdsmm6/2MwtVCp8CosQtP9vg/2+/gY+DRAMBgqnjIp2PaCxCLLldpPARRIiFj1yBbMV+cHZh9PURRLQNhY8kgWyL/WDtwujjI8hoE8rKLqb5CDJaRMJHokC6yKgSCR9JAukmokIknCQJpLOIrJFwMsBJELFcKHwM9BFkLBMKFxNcBCHlQ+FhoocgpVwwnv0Xn30QBJGMC0QcaBVJiAMiec/dcwKuL4j1QMsVCXFAJE4s4NQA3K/8Y6DzO4g40P7UcmIBJxbEesCKWBDg8wWxHrAiFgT4fEGsB/CwIhYE+AeBAAdPLOcV8HRmWRDAiQVcO7GcV8CLM8uCAE4sQCDAlHcQ7x+ABQEEAggEEAggEEAggEAAgQACASAQQCCAQACBAAIBBAIIBBAIIBBAIABe4e9iAe/xd7EAJxYgEGDeO4j3EODp/cOCAE4sYMyJ5cwCHs4rCwI4sYBxJ5YzC84rCwKcXxArAuthQYDzC2JF0H49LAhwYUGsCFqvx5EF2T07dMaJBetx4cRyaqFtHJ8EIhK0i8OJBQxcECuCVutxJhCRoE0cZwMRyRcFefa/ffZBVPogePihhyCnbBhcfMFFEFM+DD4m+ghSlgmDkwlOgpAl4+BkkJMgZdk4+EgaSCcpVX7bmY9kgXQQU+1TgE0c+QJZUUz1b2T4SBbIKmJW+3iMj2SBVBWz+leVfCQLpIqYbp8b85EskIxyfIOfK5Sf+wiCRJEsllQ+oqEkQfBxmD8BBgA5hVjXyrBNUQAAAABJRU5ErkJggg==);\r\n\tbackground-size: 100% 100%;\r\n\t.num {\r\n\t\twidth: 36rpx;\r\n\t\theight: 36rpx;\r\n\t\tborder-radius: 50px;\r\n\t\tfont-size: 24rpx;\r\n\t\tcolor: #fff;\r\n\t\ttext-align: center;\r\n\t\tline-height: 36rpx;\r\n\t}\r\n\r\n\t.sign {\r\n\t\tposition: absolute;\r\n\t\ttop: 0;\r\n\t\tleft: 50%;\r\n\t\tline-height: 36rpx;\r\n\t\tfont-size: 12rpx;\r\n\t\tcolor: #fff;\r\n\t\ttransform: translateX(-50%);\r\n\t}\r\n}\r\n/* 分类 */\r\n.cate-section {\r\n\tdisplay: flex;\r\n\tjustify-content: space-around;\r\n\talign-items: center;\r\n\tflex-wrap: wrap;\r\n\tpadding: 30rpx 22rpx;\r\n\t.cate-item {\r\n\t\tdisplay: flex;\r\n\t\tflex-direction: column;\r\n\t\talign-items: center;\r\n\t\tfont-size: $font-sm + 2rpx;\r\n\t\tcolor: $font-color-dark;\r\n\t}\r\n\t/* 原图标颜色太深,不想改图了,所以加了透明度 */\r\n\timage {\r\n\t\twidth: 88rpx;\r\n\t\theight: 88rpx;\r\n\t\tmargin-bottom: 14rpx;\r\n\t\tborder-radius: 50%;\r\n\t\topacity: 0.7;\r\n\t}\r\n}\r\n// 中间广告图片\r\n.ad-1 {\r\n\twidth: 100%;\r\n\theight: 210rpx;\r\n\tpadding: 10rpx 0;\r\n\tbackground: #fff;\r\n\timage {\r\n\t\twidth: 100%;\r\n\t\theight: 100%;\r\n\t}\r\n}\r\n/*公用边框样式*/\r\n%icon {\r\n\tmargin-right: 10rpx;\r\n\tdisplay: inline-block;\r\n\tpadding: 2rpx 10rpx;\r\n\tborder: 1rpx solid $color-yellow;\r\n\tcolor: $color-yellow;\r\n\tline-height: 1;\r\n\tfont-size: $font-base;\r\n\tborder-radius: 10rpx;\r\n}\r\n.f-header {\r\n\tdisplay: flex;\r\n\talign-items: center;\r\n\theight: 92rpx;\r\n\tpadding: 6rpx 30rpx 8rpx;\r\n\timage {\r\n\t\tflex-shrink: 0;\r\n\t\twidth: 80rpx;\r\n\t\theight: 80rpx;\r\n\t\tmargin-right: 20rpx;\r\n\t}\r\n\t.tit-box {\r\n\t\t@extend %font-title-box;\r\n\t}\r\n\t.tit {\r\n\t\t@extend %font-title;\r\n\t}\r\n\t.iconenter {\r\n\t\tfont-size: $font-lg + 2rpx;\r\n\t\tcolor: $font-color-light;\r\n\t}\r\n\t.f-left-icon {\r\n\t\t@extend %f-left-icon;\r\n\t}\r\n\t.iconfont {\r\n\t\tfont-size: $font-sm - 2rpx;\r\n\t}\r\n}\r\n// 会员升级礼包\r\n.uservip {\r\n\tborder-radius: $border-radius-sm;\r\n\tbackground-color: white;\r\n\tbox-shadow: $box-shadow;\r\n\theight: 300rpx;\r\n\tmargin: 0 30rpx;\r\n\timage {\r\n\t\theight: 100%;\r\n\t\twidth: 300rpx;\r\n\t}\r\n\t.detail {\r\n\t\tposition: relative;\r\n\t\tpadding: 20rpx;\r\n\t\theight: 100%;\r\n\t\t.icon {\r\n\t\t\t@extend %icon;\r\n\t\t}\r\n\t\t.price-box {\r\n\t\t\tposition: absolute;\r\n\t\t\tbottom: 20rpx;\r\n\t\t\twidth: calc(100% - 40rpx);\r\n\t\t\t.price {\r\n\t\t\t\tfont-size: $font-lg + 2rpx;\r\n\t\t\t\tfont-weight: bold;\r\n\t\t\t\tcolor: $font-color-base;\r\n\t\t\t}\r\n\t\t\t.text {\r\n\t\t\t\tcolor: $color-gray;\r\n\t\t\t\tfont-size: $font-sm;\r\n\t\t\t}\r\n\t\t}\r\n\t\t.title {\r\n\t\t\tfont-size: $font-lg;\r\n\t\t\tfont-weight: bold;\r\n\t\t}\r\n\t}\r\n}\r\n\r\n/* 猜你喜欢 */\r\n.guess-section {\r\n\tdisplay: flex;\r\n\tflex-wrap: wrap;\r\n\tpadding: 0 30rpx;\r\n\t.guess-item {\r\n\t\toverflow: hidden;\r\n\t\tdisplay: flex;\r\n\t\tflex-direction: column;\r\n\t\twidth: 48%;\r\n\t\tmargin-bottom: 4%;\r\n\t\tborder-radius: $border-radius-sm;\r\n\t\tbackground-color: white;\r\n\t\tbox-shadow: $box-shadow;\r\n\t\t&:nth-child(2n + 1) {\r\n\t\t\tmargin-right: 4%;\r\n\t\t}\r\n\t}\r\n\t.image-wrapper {\r\n\t\twidth: 100%;\r\n\t\theight: 330rpx;\r\n\t\tborder-radius: 3px;\r\n\t\toverflow: hidden;\r\n\t\timage {\r\n\t\t\twidth: 100%;\r\n\t\t\theight: 100%;\r\n\t\t\topacity: 1;\r\n\t\t}\r\n\t}\r\n\t.title {\r\n\t\tfont-size: $font-base;\r\n\t\tcolor: $font-color-dark;\r\n\t\tfont-weight: bold;\r\n\t\tline-height: 80rpx;\r\n\t}\r\n\t.price {\r\n\t\tfont-size: $font-lg;\r\n\t\tcolor: $font-color-base;\r\n\t\tfont-weight: bold;\r\n\t\tline-height: 1;\r\n\t\tline-height: 80rpx;\r\n\t}\r\n\r\n\t.icon {\r\n\t\t@extend %icon;\r\n\t}\r\n\r\n\t.detail {\r\n\t\tline-height: 1;\r\n\t}\r\n\t.tip {\r\n\t\tcolor: white;\r\n\t\tbackground-color: $color-yellow;\r\n\t\tline-height: 1.5;\r\n\t\tfont-size: $font-sm;\r\n\t\tpadding-left: 20rpx;\r\n\t}\r\n}\r\n\r\n// 推荐\r\n.recommend {\r\n\twidth: 95%;\r\n\theight: 155rpx;\r\n\tmargin: 0rpx auto;\r\n\tpadding-top: 30rpx;\r\n\tfont-size: 26rpx;\r\n\ttext-align: center;\r\n\tcolor: #333333;\r\n\talign-items: flex-start;\r\n\r\n\t.recommend_list {\r\n\t\twidth: 33%;\r\n\t}\r\n\t.re_title {\r\n\t\tfont-size: 32rpx;\r\n\t\tfont-weight: bold;\r\n\t}\r\n\t.re_name {\r\n\t\tcolor: #999999;\r\n\t\tpadding-top: 10rpx;\r\n\t}\r\n\t.selected_icon {\r\n\t\twidth: 25rpx;\r\n\t\theight: 10rpx;\r\n\t\tmargin: 0px auto;\r\n\t\tdisplay: none;\r\n\t\timage {\r\n\t\t\twidth: 100%;\r\n\t\t\theight: 100%;\r\n\t\t}\r\n\t}\r\n\t.active {\r\n\t\tdisplay: block;\r\n\t}\r\n\t.active_color {\r\n\t\tcolor: #dc4d46 !important;\r\n\t}\r\n}\r\n\r\n// 列表\r\n.list-box-h {\r\n\theight: 1550rpx;\r\n}\r\n// 优惠券\r\n.coupon-list {\r\n\tdisplay: inline-block;\r\n}\r\n.row {\r\n\tborder-radius: 15rpx;\r\n\tmargin: 25rpx;\r\n\theight: 155rpx;\r\n\t// width: 552rpx;\r\n\toverflow: hidden;\r\n\tbackground-color: #ffffff;\r\n\tpadding-right: 25rpx;\r\n\t.list-interval {\r\n\t\tborder: 1px dashed $border-color-light;\r\n\t\theight: 100%;\r\n\t\t.top,\r\n\t\t.bottom {\r\n\t\t\tborder-radius: 100rpx;\r\n\t\t\twidth: 30rpx;\r\n\t\t\theight: 30rpx;\r\n\t\t\tposition: absolute;\r\n\t\t\tbackground-color: $page-color-base;\r\n\t\t\tright: -15rpx;\r\n\t\t}\r\n\t\t.top {\r\n\t\t\ttop: -18rpx;\r\n\t\t}\r\n\t\t.bottom {\r\n\t\t\tbottom: -18rpx;\r\n\t\t}\r\n\t}\r\n\t.list-money {\r\n\t\theight: 100%;\r\n\t\tmin-width: 155rpx;\r\n\t\ttext-align: center;\r\n\t\timage {\r\n\t\t\theight: 100%;\r\n\t\t\twidth: 20rpx;\r\n\t\t}\r\n\t\t.list-money-text {\r\n\t\t\tflex-grow: 1;\r\n\t\t\tpadding: 0 25rpx;\r\n\t\t\t.tit {\r\n\t\t\t\ttext-align: center;\r\n\t\t\t\tpadding: 15rpx 0rpx;\r\n\t\t\t\tfont-size: 55rpx;\r\n\t\t\t\tcolor: $color-red;\r\n\t\t\t\tfont-weight: bold;\r\n\t\t\t\t&.noAction {\r\n\t\t\t\t\tcolor: $font-color-light;\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t\t.price {\r\n\t\t\t\tpadding-bottom: 25rpx;\r\n\t\t\t\tcolor: $font-color-light;\r\n\t\t\t}\r\n\t\t}\r\n\t}\r\n\t.row_list_right {\r\n\t\t// flex-grow: 1;\r\n\t\tmin-width: 200rpx;\r\n\t\tpadding-left: 25rpx;\r\n\t\tline-height: 1;\r\n\t\t.right_time {\r\n\t\t\tpadding: 10rpx 0rpx;\r\n\t\t\tcolor: $font-color-light;\r\n\t\t\tfont-size: $font-sm;\r\n\t\t}\r\n\t\t.right_top {\r\n\t\t\tmargin: 15rpx 0;\r\n\t\t\t.right_name {\r\n\t\t\t\tfont-size: $font-base;\r\n\t\t\t\tcolor: #bc253a;\r\n\t\t\t\tfont-weight: bold;\r\n\t\t\t}\r\n\t\t\t.right_title {\r\n\t\t\t\tfont-size: $font-base;\r\n\t\t\t\tcolor: $font-base;\r\n\t\t\t\tfont-weight: bold;\r\n\t\t\t\t&.noAction {\r\n\t\t\t\t\tcolor: $font-color-light;\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t}\r\n\t}\r\n\t.right_use {\r\n\t\tmargin: 15rpx 0;\r\n\t\tpadding: 10rpx;\r\n\t\twidth: 160rpx;\r\n\t\ttext-align: center;\r\n\t\tcolor: #fff;\r\n\t\tbackground-color: #bc253a;\r\n\t\tborder-radius: 50rpx;\r\n\t\tfont-size: $font-sm;\r\n\t\t&.noAction {\r\n\t\t\tbackground-color: $font-color-light;\r\n\t\t}\r\n\t}\r\n\t.iconlocation {\r\n\t\tfont-size: 36rpx;\r\n\t\tcolor: $font-color-light;\r\n\t}\r\n}\r\n</style>\r\n","import mod from \"-!D:\\\\work\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\mini-css-extract-plugin\\\\dist\\\\loader.js??ref--8-oneOf-1-0!D:\\\\work\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\css-loader\\\\dist\\\\cjs.js??ref--8-oneOf-1-1!D:\\\\work\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\loaders\\\\stylePostLoader.js!D:\\\\work\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--8-oneOf-1-2!D:\\\\work\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\postcss-loader\\\\src\\\\index.js??ref--8-oneOf-1-3!D:\\\\work\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\sass-loader\\\\dist\\\\cjs.js??ref--8-oneOf-1-4!D:\\\\work\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--8-oneOf-1-5!D:\\\\work\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!D:\\\\work\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./index.vue?vue&type=style&index=0&lang=scss&\"; export default mod; export * from \"-!D:\\\\work\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\mini-css-extract-plugin\\\\dist\\\\loader.js??ref--8-oneOf-1-0!D:\\\\work\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\css-loader\\\\dist\\\\cjs.js??ref--8-oneOf-1-1!D:\\\\work\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\loaders\\\\stylePostLoader.js!D:\\\\work\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--8-oneOf-1-2!D:\\\\work\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\postcss-loader\\\\src\\\\index.js??ref--8-oneOf-1-3!D:\\\\work\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\sass-loader\\\\dist\\\\cjs.js??ref--8-oneOf-1-4!D:\\\\work\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--8-oneOf-1-5!D:\\\\work\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!D:\\\\work\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./index.vue?vue&type=style&index=0&lang=scss&\"","// extracted by mini-css-extract-plugin\n if(module.hot) {\n // 1618025084100\n var cssReload = require(\"D:/work/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/hmr/hotModuleReplacement.js\")(module.id, {\"hmr\":true,\"publicPath\":\"../../\",\"locals\":false});\n module.hot.dispose(cssReload);\n module.hot.accept(undefined, cssReload);\n }\n "],"sourceRoot":""}