You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
1383 lines
64 KiB
1383 lines
64 KiB
<template>
|
|
<view>
|
|
<!-- 状态栏 -->
|
|
<view v-if="showHeader" class="status"
|
|
:style="{ position: headerPosition,top:statusTop,opacity: afterHeaderOpacity}"></view>
|
|
<!-- 顶部导航栏 -->
|
|
<view v-if="showHeader" class="header"
|
|
:style="{ position: headerPosition,top:headerTop,opacity: afterHeaderOpacity }">
|
|
<!-- 定位城市 -->
|
|
<view class="addr" @click="goPostion">
|
|
<!-- <view class="icon location"></view> -->
|
|
{{ city }}
|
|
<image mode="widthFix" style="width: 15px;" :src="imagewxUrl+imgadres2"></image>
|
|
</view>
|
|
<!-- 搜索框 -->
|
|
<view class="input-box">
|
|
<input placeholder="搜索门店" placeholder-style="color:#c0c0c0;" @tap="toSearch()" />
|
|
<view class="icon search"></view>
|
|
</view>
|
|
<!-- 右侧图标按钮 -->
|
|
<!-- <view class="icon-btn"> -->
|
|
<!-- <view class="icon yuyin-home"></view> -->
|
|
<!-- <button open-type="contact" class="icon" show-message-card session-from send-message-path send-message-title> -->
|
|
<!-- <image style="width: 30px;height: 30px;" @click="toScan"
|
|
src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAIAAAACACAYAAADDPmHLAAAGv0lEQVR4Xu2dgXHUSBBFWxFABuAIgAjgIsBEwBEBvRHgi2D7IsCO4EwEQARnIjgcARCBrj43WyV0s961u1vWSH+qXK6yd1rdv59Go1lNqxO2VSvQrTp6Bi8EYOUQEAACsHIFVh4+RwACsHIFVh4+RwACsHIFVh4+RwACsHIFVh4+RwACsHIFVh4+RwACsHIFVh4+RwACkKuAqj7uuu553/enIvJQRF4kHvGriPxhZucZx1DV30XknYg8zrBfbH4Ske9d1132ff/ZzBBTWksbAZD4IhZEm7qdRAtX4vln6kBEBDAD6hQQUgAoZ8r7exBrd8jfzAxnUlhTVYxcH8MM3t7Qm4yRLRwAVUXi7+OsH0q6RAAQ37mZv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BI9IRAAj3oL6EsAFpBETwgEwKPeAvoSgAUk0RMCAfCot4C+BGABSfSEQAA86i2gLwFYQBI9IRAAj3oL6EsAFpBETwgEwKPeAvoSgAUk0RMCAfCot4C+BGABSfSEMGcAUMpsXAKO7wvwZLvSd84A1GoAEYB4AE5FBBtwfmneIlIR+wLOReT1yC/3iwyC9WvenKqeici7OQJQI/ODmeHvbEEKqOqliLwcmXNXEYsYAbAn8NvIsfQCh0G6NmNGVWsFN90nmhsAKKiqtcvABrtEm1F4xo6qKjaEYmPouLlLyUYBgFKwIHTYsHsVm0TTCx7POHdu18qm0I+D3ddDmydefUMAKKNAbZKCIofYwkwI7oBCSf77yu5rWLswM7xAytUiAfj5JisReTIeCbquO9tut3+6PF1Z581m87bve5xU+94L6D77IWkYAGUUgLM42x9U8oW/Y0S46roOoKS07XaLEqtpbbPZZJW8fdj3PWoA7H5uqrDuvvbvBAoFoECAAJDgGgRpiRkYvjSzVxkHUlUsxNz37W3I0J8GwGAkqF0OMvJSsxm+ErlvKXaqgMpxQpMffgkYilHeconbl/+tXk0g2hIBCBv2h/qHXwLGycX7gkQEk5nxcnEmByETpBHQtVvdzBh2ti+gX9adVDoAuyjKiPCiXEMhJiaM4zsGr6DXRSwsTIW38v4jwJz5AixMYrGGgqVfvB849RZ6MgDCs0GDIQoQgBAZ2zVCANrNXYjnBCBExnaNEIB2cxfiOQEIkbFdIwSg3dyFeE4AQmRs1wgBaDd3IZ4TgBAZ2zVCANrNXYjnBCBExnaNEIB2cxfiOQEIkbFdIwSg3dyFeE4AQmRs18i/zMYNrphXcJEAAAAASUVORK5CYII=">
|
|
</image> -->
|
|
<!-- </button> -->
|
|
<!-- </view> -->
|
|
</view>
|
|
<!-- 占位 -->
|
|
<view v-if="showHeader" class="place"></view>
|
|
<!-- 轮播图 -->
|
|
<view class="height90 backcor008 viewbor"></view>
|
|
<view class="swiper">
|
|
<view class="swiper-box">
|
|
<swiper circular="true" autoplay="true" @change="swiperChange">
|
|
<swiper-item v-for="swiper in swiperList" :key="swiper.id">
|
|
<image :src="imageUrl+swiper.imgData"></image>
|
|
</swiper-item>
|
|
</swiper>
|
|
<view class="indicator">
|
|
<view class="dots" v-for="(swiper, index) in swiperList"
|
|
:class="[currentSwiper >= index ? 'on' : '']" :key="index"></view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
<!-- /菜单 -->
|
|
<view class="height60 backcorfff"></view>
|
|
<view class="category-list">
|
|
<view class="category" v-for="(row, index) in categoryList" :key="index" @tap="toCategory(row)">
|
|
<view class="img">
|
|
<image :src="imagewxUrl+row.img"></image>
|
|
</view>
|
|
<view class="text">{{ row.name }}</view>
|
|
</view>
|
|
</view>
|
|
<image mode="widthFix" style="margin-top: 30px;width: 90%;margin-left: 5%;" @click="jumpTyou"
|
|
:src="imagewxUrl+imgadres4"></image>
|
|
|
|
<image mode="widthFix" style="margin-top: 30px;width: 90%;margin-left: 5%;" @click="jumphuafei(3)"
|
|
:src="imagewxUrl+imgadres5"></image>
|
|
<!-- 赠券 -->
|
|
<view style="width: 91%;margin-left: 5%;" v-if='productList.length != 0' @click="goGoodsList(1)">
|
|
<image class="mart30 width100" mode="widthFix" :src="imagewxUrl+imgadres"></image>
|
|
</view>
|
|
<swiper class="orange-content" style="border: 2px solid #ff5836;" v-if='productList.length != 0'
|
|
:display-multiple-items="productListleg">
|
|
<swiper-item class="swiper-hed" v-for="pro in productList" :key="pro.id" @click="toGoods(pro.id)">
|
|
<view class="swiper-item" :data-id="pro.id">
|
|
<image class="img" :src="imageUrl+pro.couponImg" mode="aspectFit">
|
|
</image>
|
|
<view class="fotct fcor333 font14 text1 mart10">{{pro.couponName}}</view>
|
|
<view class="subject fotct mart5">¥{{pro.discountPrice}}</view>
|
|
</view>
|
|
</swiper-item>
|
|
</swiper>
|
|
|
|
|
|
<!-- 金币 -->
|
|
<view style="width: 90%;margin-left: 5%;" v-if='goldproductList.length != 0' @click="goGoodsList(2)">
|
|
<image class="mart30 width100" mode="widthFix" :src="imagewxUrl+imgadres1"></image>
|
|
</view>
|
|
<!-- v-if="goldproductList&&goldproductList.length>0" -->
|
|
<swiper class="orange-content" :display-multiple-items="goldproductListleg" v-if='goldproductList.length != 0'
|
|
next-margin="50rpx">
|
|
<swiper-item class="swiper-hed" v-for="(item,index) in goldproductList" :key="index"
|
|
@click="toGoods(item.id)">
|
|
<view class="swiper-item" :data-id="item.id">
|
|
<image class="img" :src="imageUrl+item.couponImg" mode="aspectFit"></image>
|
|
<view class="fotct fcor333 font14 text1 mart10">{{item.couponName}}</view>
|
|
<view class="subject fotct mart5">¥{{ item.discountPrice}}</view>
|
|
</view>
|
|
</swiper-item>
|
|
</swiper>
|
|
<image mode="widthFix" style="margin-top: 30px;width: 90%;margin-left: 5%;" @click="jumphuafei(2)"
|
|
:src="imagewxUrl+imgadres6"></image>
|
|
<image mode="widthFix" style="margin-top: 30px;width: 90%;margin-left: 5%;" @click="jumphuafei(1)"
|
|
:src="imagewxUrl+imgadres7"></image>
|
|
<!-- 分期 -->
|
|
<!-- <view style="width: 90%;margin-left: 5%;">
|
|
<image class="mart30 width100" mode="widthFix" src="../../../static/img/fqhed.png"></image>
|
|
</view>
|
|
<swiper class="orange-content" :display-multiple-items="productListleg">
|
|
<swiper-item class="swiper-hed" v-for="pro in productList" :key="product.id">
|
|
<view class="swiper-item" @tap="tapList" :data-id="pro.id">
|
|
<image class="img" :src="imageUrl+pro.couponImg" mode="aspectFit">
|
|
</image>
|
|
<view class="fotct fcor333 font14 text1 mart10">{{pro.couponName}}</view>
|
|
<view class="subject fotct mart5">¥{{pro.discountPrice}}</view>
|
|
</view>
|
|
</swiper-item>
|
|
</swiper>
|
|
-->
|
|
<!-- 广告图 -->
|
|
<!-- <view class="banner" @click="tao">
|
|
<image src="/static/img/banner.jpg"></image>
|
|
</view> -->
|
|
<!-- 商品列表 -->
|
|
<!-- <view class="goods-list">
|
|
<view :class="[cpStuats == 1?'active_tie':'title']" @click="eheckStu(1)">
|
|
猜你喜欢
|
|
</view>
|
|
<view :class="[cpStuats == 2?'active_tie':'title']" @click="eheckStu(2)">
|
|
今日特价
|
|
</view>
|
|
<view :class="[cpStuats == 3?'active_tie':'title']" @click="eheckStu(3)">
|
|
发现好店
|
|
</view>
|
|
<view v-if="productList == '' || productList == null" class="mart60 fotct font14 fcor666">
|
|
<image style="width: 100px;height: 100px;"
|
|
src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAIAAAACACAYAAADDPmHLAAAPoElEQVR4Xu1daXBcRxGefqusIisJUS6UiwApU4TiKkhxQ8UU91Gc5XAYE8na995KsoiVkBPiXTuxndiWHMmr9+atLYMxhJiQOyE4IcoB4aaAgiKFCyoQElS5lEocKZG0r6l2zUuthazdfvv20s783e6Z7p7v9XT3zOyA0K2hLQANrb1WXmgANDgINAA0ABrcAg2uvvYAGgANboEGV197AA2AxrQAIoLneWtJe9M00wCAjWiJhvMAqVTKaG9vXwsAV+RPOCKuGx8fT6dSKb+RgNAwANi7d29sYmKCvvhvF5jg9W1tbenly5fnGgEIix4AY2NjTfv371+LiN/iTCgAXLl06dL0smXLZjl89Ua7aAEgpTxCCEFf/OUlTspVQoi0ZVkzJfZTk+yLDgBDQ0PNzc3NtL5fFqXFEXHj9PR0uq+v76Uo+612X4sGALt27TpyenqavvhLymzUTfF4PN3R0fFimcepSPd1D4CBgYGWJUuWUFR/McdiAHBfLpdLE08sFqMY4Rwm/9UHDhxI9/f3T3H4ao22bgEgpVyi1viLOEYNJj6ZTN6Xz+c4zjlhgCCEuEbFCJMcOWqFtu4AsHv37tapqSly9d/kGBEA7s7lchvmTvzcPkoAwuaWlpb0ypUrX+DIVW3augFAJpM5ir5QALiQabQ7fN/fUmjiowICAGyZmZlJ9/T0HGDKWRXymgfAzp07j56dnaUv/gKOhRDxJkQc4k58VEAQQmxtampKr1q16nmO3JWmrVkA7Nmz55jJyUkKzvqZRrne93231ImPEAiDra2tqRUrVjzH1KMi5DUHgMHBwWMpqhdCnM+0wPeEEJ5lWT9n8rHIS4gRtk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Hyz61jAACGYylUoZ7e3tlDVQnPByQ8R14+Pj6VQqRfWChmkNB4BgZhERPM87+ICkaZppAKACUMO1hgVAw830YRTWAGhwJGgAaAA0uAUaXH3tATQAGtwCDa6+9gAaAA1ugQZX/3+DPb4XwPiylgAAAABJRU5ErkJggg==">
|
|
</image>
|
|
<view class="mart10">暂无数据</view>
|
|
</view>
|
|
<view class="product-list">
|
|
<view class="product" v-for="product in productList" :key="product.id" @click="toGoods(product.id)">
|
|
<image mode="widthFix" :src="imageUrl+product.couponImg"></image>
|
|
<view class="name">{{ product.couponName }}</view>
|
|
<view class="info">
|
|
<view class="price">¥{{ product.discountPrice}}</view>
|
|
<view class="slogan" v-if="product.discountPrice !== product.salesPrice">
|
|
¥{{ product.salesPrice}}</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view> -->
|
|
|
|
<!-- <view class="goods-list">
|
|
<view class="title">
|
|
<image src="/static/img/hua.png"></image>
|
|
金币专区
|
|
<image src="/static/img/hua.png"></image>
|
|
</view>
|
|
<view v-if="goldproductList == '' || goldproductList ==null " class="mart60 fotct font14 fcor666">
|
|
<image style="width: 100px;height: 100px;"
|
|
src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAIAAAACACAYAAADDPmHLAAAPoElEQVR4Xu1daXBcRxGefqusIisJUS6UiwApU4TiKkhxQ8UU91Gc5XAYE8na995KsoiVkBPiXTuxndiWHMmr9+atLYMxhJiQOyE4IcoB4aaAgiKFCyoQElS5lEocKZG0r6l2zUuthazdfvv20s783e6Z7p7v9XT3zOyA0K2hLQANrb1WXmgANDgINAA0ABrcAg2uvvYAGgANboEGV197AA2AxrQAIoLneWtJe9M00wCAjWiJhvMAqVTKaG9vXwsAV+RPOCKuGx8fT6dSKb+RgNAwANi7d29sYmKCvvhvF5jg9W1tbenly5fnGgEIix4AY2NjTfv371+LiN/iTCgAXLl06dL0smXLZjl89Ua7aAEgpTxCCEFf/OUlTspVQoi0ZVkzJfZTk+yLDgBDQ0PNzc3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EeIs6q9PHKfD4uAFzXpYekaGlq4owvhNiqSraUvdRsq3kABJbLZDJHqcrihUxr5pRHWE98xQJASkkPSRHwYpzxAGDLzMwMVe4OcPiqRVs3AAgMtHv37tapqSmaGEq7OM2nYNH3fVjovQDDMFC5eoPTuRBic0tLS3rlypWUptZNqzsABJaVUlLaRUC4qMrWpjSUCjiUltZdq1sABJYeGBhooawBAC6upPUB4OoDBw6k+/v7KQ2t21b3AAgsv2vXriOnp6fJI1B+Xs62KR6Ppzs6Ol4s5yCV6nvRACAw2NDQUHNzczNtu14WpRERcSOVbPv6+l6Kst9q97XoAJAXIxyhYgTK30tpV6k1fqaUTmqVd9ECIDD42NhY0/79+6mgRPl80Q0Arly6dGl62bJlVE9YtG3RAyCYub1798YmJiYoRqD8fqG2vq2tLb18+XKqHyz61jAACGYylUoZ7e3tlDVQnPByQ8R14+Pj6VQqRfWChmkNB4BgZhERPM87+ICkaZppAKACUMO1hgVAw830YRTWAGhwJGgAaAA0uAUaXH3tATQAGtwCDa6+9gAaAA1ugQZX/3+DPb4XwPiylgAAAABJRU5ErkJggg==">
|
|
</image>
|
|
<view class="mart10">暂无数据</view>
|
|
</view>
|
|
<view class="product-list">
|
|
<view class="product" v-for="product in goldproductList" :key="product.id" @tap="toGoods(product.id)">
|
|
<image mode="widthFix" :src="imageUrl+product.couponImg"></image>
|
|
<view class="name">{{ product.couponName }}</view>
|
|
<view class="info">
|
|
<view class="price">
|
|
<image style="width: 15px;height: 15px;vertical-align: sub;"
|
|
src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAIAAAACACAYAAADDPmHLAAAXdElEQVR4Xu1dCZhcVZX+z3v1Xnc6nfSW7qSTdDZAAgkJJC4EERCZEMF0V4UhRlkVRKPCDDKiA44iCIqMCMoyoowLiJAZyGDgC8IgiChLFkgngQAh6e50dzrpfa2qtx2/9yppeqmq917Vq6W7634fX4evzj33nHP/d9dzziXkyoS2AE1o7XPKIweACQ6CHAByAJjgFpjg6udGgBwAJr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rEtHRc2XqowkteYB8BIhfgZlOphrGADC5mwgIFjwDiWiEYlt4pnWAabx5LvE7CXCPuIsUf04RX6DDpT2SHp5j3uABC3UzegEJNRCAWTVR8KyUChSc8C+iQNfRDQhzD6s33h5iVIJhQAvDTceOGVA8B46ckE9cgBIEHDjZdqOQCMl55MUI8cABI03HiplgPAeOnJBPXIASBBw42XajkAjJeeTFCPfwDFw2wILO7XOQAAAABJRU5ErkJggg==">
|
|
</image> {{ product.discountPrice*100}}
|
|
</view>
|
|
<view class="slogan" v-if="product.discountPrice !== product.salesPrice">
|
|
<image style="width: 15px;height: 15px;vertical-align: sub;"
|
|
src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAIAAAACACAYAAADDPmHLAAAQkUlEQVR4Xu1dC5BdRZn+/54ZMrkDDAoJtSgYFARNsNTgAyhXyVIUoLLJUjXEJz6QiFnjmuR23yS7etaYye2+k1lAI0YXBWV5xAdYSKVEDWgZ8EG0VLR0w4qQlTJBJYHkTmVmcn7rH+fGYXLvPX3O6XPuuXdOV6VmMufvv//H1+/uvxHyNKMtgDNa+1x5yAEww0GQAyAHwAy3wAxXP28BcgDMcAvMcPXzFiAHQOdZwPO8Qm9v76uFEIsAYCEAnEVEcwFgFgB0I2IXAAiAI7MgHwAOE9E4Io4SUZWInkbEPyDizwDgu9Vq9Qee51U7zVod0QJ4ntddKBTeBwADkw4/wbWjiIhZ7geAnxPRNwqFwpdXrFjxlOty0ubXlgDgGt7X1/dPvu9fDQCvF0LMIaLUdSGi/Yi4Qwjx6eOOO+47y5YtG0vbgXHLS91ocQRev379WbNmzVpPRJcg4nFxeCWQ9xAR3UNEq0ql0hMJ8E+EZeYBoLU+BRE/TERXI+JJiVhhkikiwmRTH6sYItolhFhVLBbvicUohcyZBoAx5hoAKAPA85KwBTu75nT+GSbV8jbLQ0R7iegTpVJpcxjeadKG0zolycrlskTEtYjYn1KRsYsJAAQPHtdJKTMHhEwBYHBw8Lyurq5vIOKc2B5pMYNaVzK1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7/lAGDhN23a9NLx8fHPI+I/TlcmgRpnZa+EnF4re3tXV9e1q1at+l8rYRIkygQAavqVy+UBIcQwADzn4eNaP1sDQ1KgSIrvFP/tJqKVSqmvJujTUKwzBQCW3PO8QqFQ4IBUHwWAHhtt6gFjujOn1uiEa/dRIhPRKCIOV6vV9TZxe2x0dkWTOQBMGRu8kEGAiHzdyf5etivLOOBDRPzk7ucA4DqXe/gORDvCIrMAqEm4efPmY5999tlrhBArAOBFLpVPihcR/R4Rr+vr67tp+fLlHGU1synzAKhZzvM8MXv27DdOPl5xBQCclDGr/gkAvoaIWw8ePPhAkhs4LvVuGwBMV9oYczERvRMALkPEE10aJQSvPxHRvYh4m5TyvhD5MkPatgCoWXDy3MFCRLyMiDiEx2sTPJPIBzF/zDt1ALBNSrkzjQ2bJNHS9gCYbpzh4eHnj46OnoeIZwMA31t8yWSg61DBrYiIA2Lx3cdHfd//nRDiN4cPH35ozZo1TyfpkLR5dxwAmhmQB5QHDx48lkPf+75/rBCCfwff9w8IIQ6MjY0dOOGEEw5mfeDmEiQzCgAuDdcpvHIAdIonI+qRAyCi4TolWw6ATvFkRD1yAEQ0XKdkywHQKZ6MqEcOgIiG65RsOQA6xZMR9fgrPYiD6t42bAwAAAAASUVORK5CYII=">
|
|
</image>{{ product.salesPrice*100}}
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view> -->
|
|
<wybPopup ref="popup" type="center" height="750" width="500" radius="6" bgColor="" :showCloseIcon="true">
|
|
<image class="popImg" :src="imageUrl+imgadres3" @click="jumpWeb"></image>
|
|
</wybPopup>
|
|
<!-- //手机号提示框 -->
|
|
<view class='Popup' v-if='isShowAuth'>
|
|
<view class="logo-auth">
|
|
<image src="../../../static/img/logo.png" mode="aspectFit"></image>
|
|
</view>
|
|
<view class='title'>授权提醒</view>
|
|
<view class='tip'>请授权手机号,以便为您提供更好的服务</view>
|
|
<view class='bottom flex'>
|
|
<view class='item' @click='close'>随便逛逛</view>
|
|
<!-- #ifdef MP -->
|
|
<button class='item grant' open-type="getPhoneNumber" @getphonenumber="getPhoneNumber">去授权</button>
|
|
<!-- #endif -->
|
|
</view>
|
|
</view>
|
|
<view class='mask' v-if='isShowAuth' @click='close'></view>
|
|
|
|
<view class="height60"></view>
|
|
</view>
|
|
</template>
|
|
|
|
<script>
|
|
import {
|
|
getUserInfo,
|
|
HandleCode,
|
|
WXlogin,
|
|
getCouponList,
|
|
getH5UserInfo,
|
|
getH5AccessToken,
|
|
getTPigKFCToken,
|
|
getTPigCinemaToken,
|
|
getCmsContent,
|
|
GetPhoneNumber,
|
|
} from "../../../Utils/Api.js"; //您的api路径
|
|
// import { getUserInfo } from '../../../Utils/Api.js'
|
|
import wybPopup from '../../../components/wyb-popup/wyb-popup.vue';
|
|
let app = getApp();
|
|
export default {
|
|
components: {
|
|
wybPopup
|
|
},
|
|
data() {
|
|
return {
|
|
showHeader: true,
|
|
isShowAuth: false,
|
|
afterHeaderOpacity: 1, //不透明度
|
|
headerPosition: 'fixed',
|
|
headerTop: null,
|
|
statusTop: null,
|
|
nVueTitle: null,
|
|
city: '',
|
|
currentSwiper: 0,
|
|
imageUrl: app.globalData.imgUrl,
|
|
imagewxUrl: app.globalData.imageWxImg,
|
|
imgadres: 'headzq.png',
|
|
imgadres1: 'jbhed.png',
|
|
imgadres2: 'jt.png',
|
|
imgadres3: '',
|
|
imgadres4: 'homet.png',
|
|
imgadres5: 'homeh.png',
|
|
imgadres6:'homed.jpg',
|
|
imgadres7:'homek.jpg',
|
|
webUrl: '',
|
|
// 轮播图片
|
|
swiperList: [{
|
|
id: 1,
|
|
src: 'url1',
|
|
img: 'banner2.png'
|
|
},
|
|
{
|
|
id: 2,
|
|
src: 'url2',
|
|
img: 'banner3.png'
|
|
}
|
|
],
|
|
//猜你喜欢列表
|
|
productList: [],
|
|
productListleg: '',
|
|
goldproductList: [],
|
|
goldproductListleg: '',
|
|
loadingText: '正在加载...',
|
|
pageNum: 1,
|
|
pageSize: 6,
|
|
// 分类菜单
|
|
categoryList: [{
|
|
id: 1,
|
|
name: '团油',
|
|
img: 'user/home1.png',
|
|
src: '/pages/goods/refuel/refuel'
|
|
},
|
|
{
|
|
id: 2,
|
|
name: '电影票',
|
|
img: 'user/home2.png',
|
|
src: '/pages/tabBar/order/order'
|
|
},
|
|
{
|
|
id: 3,
|
|
name: '肯德基',
|
|
img: 'user/home3.png',
|
|
src: '/pages/tabBar/order/order'
|
|
},
|
|
{
|
|
id: 4,
|
|
name: '话费充值',
|
|
img: 'user/home4.png'
|
|
}
|
|
],
|
|
//切换状态
|
|
cpStuats: 1
|
|
};
|
|
},
|
|
|
|
onShow() {
|
|
// #ifdef H5
|
|
var arr1 = window.location.href;
|
|
var arr2 = arr1.split('=');
|
|
if (!app.globalData.userInfo && arr2[1] != undefined && arr2[2] == '2#/') {
|
|
this.getH5UserInfo(arr2[1]);
|
|
}
|
|
|
|
if (app.globalData.userInfo && arr2[1] != undefined && arr2[2] == '1#/') {
|
|
this.getH5AccessToken(arr2[1]);
|
|
}
|
|
// #endif
|
|
if (app.globalData.cityName != '') {
|
|
this.city = app.globalData.cityName;
|
|
this.getCouponListArea();
|
|
this.getCouponListgold();
|
|
this.getCmsContent();
|
|
// this.getCmsAactibity();
|
|
}
|
|
},
|
|
onLoad() {
|
|
let that = this;
|
|
// 1.wx获取登录用户code
|
|
// #ifdef MP
|
|
uni.login({
|
|
provider: 'weixin',
|
|
success: function(loginRes) {
|
|
app.globalData.code = loginRes.code;
|
|
// 请求接口
|
|
let params = {
|
|
code: app.globalData.code
|
|
}
|
|
HandleCode(params).then(res => {
|
|
if (res.return_code == '000000') {
|
|
app.globalData.openId = res.return_data.openId;
|
|
}
|
|
})
|
|
},
|
|
})
|
|
// #endif
|
|
//定位
|
|
this.postionIng();
|
|
uni.getStorage({
|
|
key: "user",
|
|
success(e) {
|
|
app.globalData.userInfo = e.data //这就是你想要取的token
|
|
uni.getStorage({
|
|
key: 'token',
|
|
success(e) {
|
|
app.globalData.token = e.data;
|
|
}
|
|
})
|
|
},
|
|
fail: res => {}
|
|
})
|
|
// #ifdef H5
|
|
uni.getStorage({
|
|
key: "openId",
|
|
success(e) {
|
|
app.globalData.openId = e.data
|
|
},
|
|
fail: res => {}
|
|
})
|
|
// #endif
|
|
},
|
|
methods: {
|
|
//获取弹出或者弹窗
|
|
getCmsContent() {
|
|
let params = {
|
|
regionId: app.globalData.cityId,
|
|
categoryCode: 'CMS_WX_APPLETS_HOME_SLIDESHOW'
|
|
}
|
|
getCmsContent(params).then(res => {
|
|
if (res.return_code == '000000') {
|
|
this.swiperList = res.return_data;
|
|
}
|
|
});
|
|
},
|
|
getCmsAactibity() {
|
|
let params = {
|
|
regionId: app.globalData.cityId,
|
|
categoryCode: 'CMS_WX_APPLETS_HOME_ACTIVITY'
|
|
}
|
|
getCmsContent(params).then(res => {
|
|
if (res.return_code == '000000' && res.return_data != '') {
|
|
//弹窗首页广告
|
|
this.showPopup();
|
|
this.imgadres3 = res.return_data[0].imgData;
|
|
this.webUrl = res.return_data[0].ext1;
|
|
}
|
|
});
|
|
},
|
|
//显示弹出
|
|
showPopup() {
|
|
this.$refs.popup.show();
|
|
},
|
|
close() {
|
|
this.isShowAuth = false;
|
|
},
|
|
//关闭弹窗
|
|
closePopup() {
|
|
this.$refs.popup.hide();
|
|
},
|
|
// 微信获取手机号
|
|
getPhoneNumber(PhoneNumber) {
|
|
let params = {
|
|
openId: app.globalData.openId,
|
|
iv: PhoneNumber.detail.iv,
|
|
encryptedData: PhoneNumber.detail.encryptedData
|
|
}
|
|
GetPhoneNumber(params).then(res => {
|
|
if (res.return_code == '000000') {
|
|
uni.showToast({
|
|
title: '授权成功',
|
|
icon: 'none',
|
|
duration: 2000
|
|
})
|
|
this.close();
|
|
app.globalData.userInfo = res.return_data
|
|
.object
|
|
.highUser;
|
|
uni.setStorage({
|
|
key: "user",
|
|
data: res.return_data
|
|
.object
|
|
.highUser
|
|
})
|
|
}
|
|
});
|
|
},
|
|
/**
|
|
* 跳转外链
|
|
*/
|
|
jumpWeb() {
|
|
uni.navigateTo({
|
|
url: '../order/webUrl/webUrl?url=' + this.webUrl
|
|
})
|
|
this.closePopup();
|
|
},
|
|
/**
|
|
* 定位
|
|
*/
|
|
postionIng() {
|
|
uni.showLoading({
|
|
title: '加载中'
|
|
})
|
|
let that = this;
|
|
uni.getLocation({
|
|
type: 'wgs84',
|
|
success: function(res) {
|
|
app.globalData.latitude = res.latitude;
|
|
app.globalData.longitude = res.longitude;
|
|
that.getUserLocation(res.longitude, res.latitude);
|
|
// #ifdef MP
|
|
uni.request({
|
|
url: 'https://apis.map.qq.com/ws/geocoder/v1/?location=' + res.latitude +
|
|
',' + res.longitude + '&key=7UMBZ-HFEHX-HSD4Q-Z3QY6-OQKN7-2QBDB',
|
|
data: {},
|
|
success: function(res) {
|
|
// that.city = res.data.result.address_component.city.replace(/市/g,
|
|
// '');
|
|
that.city = res.data.result.address_component.province;
|
|
app.globalData.cityName = res.data.result.address_component
|
|
.province;
|
|
app.globalData.cityId = res.data.result.ad_info.adcode;
|
|
// app.globalData.cityId = '500100';
|
|
that.getCouponListArea();
|
|
that.getCouponListgold();
|
|
uni.hideLoading();
|
|
that.getCmsContent();
|
|
that.getCmsAactibity();
|
|
},
|
|
fail() {
|
|
uni.hideLoading()
|
|
}
|
|
})
|
|
//#endif
|
|
}
|
|
})
|
|
},
|
|
//H5 获取openId
|
|
getH5AccessToken(item) {
|
|
let params = {
|
|
code: item
|
|
}
|
|
getH5AccessToken(params).then(res => {
|
|
if (res.return_code == '000000') {
|
|
app.globalData.openId = res.return_data.openid;
|
|
uni.setStorage({
|
|
key: "openId",
|
|
data: res.return_data.openid
|
|
})
|
|
}
|
|
});
|
|
},
|
|
|
|
//获取H5用户信息
|
|
getH5UserInfo(item) {
|
|
let params = {
|
|
code: item
|
|
}
|
|
getH5UserInfo(params).then(res => {
|
|
if (res.return_code == '000000') {
|
|
app.globalData.userInfo = res.return_data
|
|
.object
|
|
.highUser;
|
|
app.globalData.token = res.return_data.uniqueCode;
|
|
uni.setStorage({
|
|
key: "user",
|
|
data: res.return_data
|
|
.object
|
|
.highUser
|
|
})
|
|
uni.setStorage({
|
|
key: "token",
|
|
data: res.return_data.uniqueCode
|
|
})
|
|
uni.setStorage({
|
|
key: "openId",
|
|
data: res.return_data
|
|
.object
|
|
.highUser.openIdH5
|
|
})
|
|
app.globalData.openId = res.return_data
|
|
.object
|
|
.highUser.openIdH5;
|
|
} else {
|
|
uni.showToast({
|
|
title: res.return_msg
|
|
})
|
|
}
|
|
});
|
|
},
|
|
//金纬度转
|
|
getUserLocation(long, lat) {
|
|
let vm = this;
|
|
let url =
|
|
'https://apis.map.qq.com/ws/geocoder/v1?coord_type=5&get_poi=1&output=jsonp&poi_options=page_size=1;page_index=1';
|
|
let locationObj = lat + ',' + long;
|
|
this.$jsonp(url, {
|
|
key: '7UMBZ-HFEHX-HSD4Q-Z3QY6-OQKN7-2QBDB',
|
|
location: locationObj
|
|
})
|
|
.then(res => {
|
|
vm.city = res.result.address_component.city.replace(/市/g, '');
|
|
app.globalData.cityName = res.result.address_component.city.replace(/市/g, '');
|
|
app.globalData.cityId = res.result.ad_info.adcode;
|
|
vm.getCouponListArea();
|
|
vm.getCouponListgold();
|
|
uni.hideLoading()
|
|
})
|
|
.catch(err => {
|
|
uni.hideLoading()
|
|
console.log(err);
|
|
});
|
|
},
|
|
//调整商品列表
|
|
goGoodsList(item) {
|
|
uni.navigateTo({
|
|
url: '../../goods/goods-list/goods-list?id=' + item
|
|
})
|
|
},
|
|
//搜索跳转
|
|
toSearch() {
|
|
uni.navigateTo({
|
|
url: '../../goods/HM-search/HM-search'
|
|
})
|
|
},
|
|
//跳转位置
|
|
goPostion() {
|
|
uni.navigateTo({
|
|
url: '/pages/user/positioning/positioning'
|
|
})
|
|
},
|
|
//商品跳转
|
|
toGoods(e) {
|
|
uni.navigateTo({
|
|
url: '../../goods/goods?id=' + e
|
|
});
|
|
},
|
|
//扫码
|
|
toScan() {
|
|
uni.scanCode({
|
|
success: function(res) {
|
|
uni.navigateTo({
|
|
url: '../../goods/coupons-info-details/coupons-info-details?id=' + JSON
|
|
.parse(res.result).code
|
|
})
|
|
},
|
|
fail() {
|
|
uni.showToast({
|
|
title: '无法识别二维码',
|
|
icon: 'none',
|
|
duration: 2000
|
|
})
|
|
}
|
|
});
|
|
|
|
},
|
|
//赠券卡券列表
|
|
getCouponListArea() {
|
|
let params = {
|
|
regionId: app.globalData.cityId,
|
|
pageNum: this.pageNum,
|
|
pageSize: this.pageSize,
|
|
displayArea: 1
|
|
}
|
|
getCouponList(params).then(res => {
|
|
if (res.return_code == '000000' && res.return_data.list) {
|
|
this.productList = res.return_data.list;
|
|
if (res.return_data.total > 4) {
|
|
this.productListleg = 4;
|
|
return;
|
|
}
|
|
this.productListleg = res.return_data.total;
|
|
}
|
|
})
|
|
},
|
|
//金币卡券列表
|
|
getCouponListgold() {
|
|
let params = {
|
|
regionId: app.globalData.cityId,
|
|
pageNum: this.pageNum,
|
|
pageSize: this.pageSize,
|
|
displayArea: 2
|
|
}
|
|
getCouponList(params).then(res => {
|
|
if (res.return_code == '000000' && res.return_data.list) {
|
|
this.goldproductList = res.return_data.list;
|
|
this.goldproductListleg = res.return_data.total;
|
|
if (res.return_data.total > 4) {
|
|
this.goldproductListleg = 4;
|
|
return;
|
|
}
|
|
this.goldproductListleg = res.return_data.total;
|
|
}
|
|
})
|
|
},
|
|
/**
|
|
* 跳转其他小程序
|
|
*/
|
|
tao(url, id) {
|
|
console.log(url);
|
|
uni.navigateToMiniProgram({
|
|
appId: id,
|
|
path: url,
|
|
success: res => {
|
|
// 打开成功
|
|
console.log("打开成功", res);
|
|
},
|
|
fail: err => {
|
|
console.log(err);
|
|
}
|
|
});
|
|
},
|
|
//轮播图指示器
|
|
swiperChange(event) {
|
|
this.currentSwiper = event.detail.current;
|
|
},
|
|
eheckStu(item) {
|
|
this.cpStuats = item;
|
|
},
|
|
//获取登陆信息
|
|
getuserinfos() {
|
|
let that = this;
|
|
// 获取微信用户信息
|
|
uni.getUserProfile({
|
|
desc: '登录中...',
|
|
success: function(res) {
|
|
let params = {
|
|
openId: app.globalData.openId,
|
|
iv: res.iv,
|
|
encryptedData: res.encryptedData
|
|
}
|
|
getUserInfo(params).then(res => {
|
|
if (res.return_code == '000000') {
|
|
uni.hideLoading();
|
|
uni.showToast({
|
|
title: '获取信息成功',
|
|
icon: 'none',
|
|
duration: 2000
|
|
})
|
|
app.globalData.userInfo = res
|
|
.return_data
|
|
.object
|
|
.highUser;
|
|
app.globalData.token = res
|
|
.return_data.uniqueCode;
|
|
uni.setStorage({
|
|
key: "user",
|
|
data: res.return_data
|
|
.object
|
|
.highUser
|
|
})
|
|
uni.setStorage({
|
|
key: "token",
|
|
data: res.return_data
|
|
.uniqueCode
|
|
})
|
|
} else {
|
|
uni.hideLoading();
|
|
uni.showToast({
|
|
title: res.return_msg,
|
|
icon: 'none',
|
|
duration: 2000
|
|
})
|
|
}
|
|
});
|
|
},
|
|
fail: res => {
|
|
uni.hideLoading();
|
|
uni.showToast({
|
|
title: "微信登录授权失败",
|
|
icon: "none"
|
|
});
|
|
}
|
|
})
|
|
},
|
|
//跳转团油
|
|
jumpTyou() {
|
|
uni.navigateTo({
|
|
url: '/pages/goods/refuel/refuel'
|
|
})
|
|
},
|
|
//跳转菜单
|
|
toCategory(item) {
|
|
if (item.name == '团油') {
|
|
uni.navigateTo({
|
|
url: item.src
|
|
})
|
|
} else if (item.name == '肯德基') {
|
|
if (!app.globalData.userInfo) {
|
|
this.getuserinfos();
|
|
return false;
|
|
}
|
|
if (!app.globalData.userInfo.phone) {
|
|
this.isShowAuth = true;
|
|
return false;
|
|
}
|
|
uni.navigateTo({
|
|
url: '/pages/tabBar/order/order?id=1'
|
|
})
|
|
|
|
} else if (item.name == '电影票') {
|
|
|
|
if (!app.globalData.userInfo) {
|
|
this.getuserinfos();
|
|
return false;
|
|
}
|
|
if (!app.globalData.userInfo.phone) {
|
|
this.isShowAuth = true;
|
|
return false;
|
|
}
|
|
uni.navigateTo({
|
|
url: '/pages/tabBar/order/order?id=2'
|
|
})
|
|
|
|
|
|
} else if (item.name == '话费充值') {
|
|
if (!app.globalData.userInfo) {
|
|
this.getuserinfos();
|
|
return false;
|
|
}
|
|
if (!app.globalData.userInfo.phone) {
|
|
this.isShowAuth = true;
|
|
return false;
|
|
}
|
|
uni.navigateTo({
|
|
url: '/pages/tabBar/order/order?id=3'
|
|
})
|
|
|
|
} else {
|
|
uni.showToast({
|
|
title: '暂未开通',
|
|
icon: 'none',
|
|
duration: 2000
|
|
})
|
|
}
|
|
},
|
|
//单独跳转话费充值
|
|
jumphuafei(item) {
|
|
if (!app.globalData.userInfo) {
|
|
this.getuserinfos();
|
|
return false;
|
|
}
|
|
if (!app.globalData.userInfo.phone) {
|
|
this.isShowAuth = true;
|
|
return false;
|
|
}
|
|
uni.navigateTo({
|
|
url: '/pages/tabBar/order/order?id='+item
|
|
})
|
|
|
|
}
|
|
},
|
|
|
|
};
|
|
</script>
|
|
<style lang="scss">
|
|
page {
|
|
position: relative;
|
|
background-color: #F5F5F5;
|
|
}
|
|
|
|
.popImg {
|
|
width: 250px;
|
|
height: 390px
|
|
}
|
|
|
|
@font-face {
|
|
font-family: 'HMfont-home';
|
|
src: url('data:application/x-font-woff2;charset=utf-8;base64,d09GMgABAAAAABDkAAsAAAAAHNQAABCUAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHEIGVgCEOAqqPKIAATYCJAM4Cx4ABCAFhG0HgUIbsBczo8LGAQApXpzs/3DAzQnrqJVQobqjkywr6K3VnnGPu9Hok7hbbDQrMa3YYH8hMXBogoTzwQb7Cx1kafc7LoV7nPdDKXng//D1vvHHmJQxLb6PhyYHA5TjobT1Ahe8Yj0Bel0CGZ62+e/eIdwdcCPswEj8LgoVo7G/whxWfmb0JgvdWPLFRbsoNzNXdS7DRYaDbmUCvEXgheNFZKuuXTu+aEU1WZOVcF6HmhlSCYD7H5tIg0qTmVZRu7s/lUSaaoKS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|
|
}
|
|
|
|
button::after {
|
|
border: none
|
|
}
|
|
|
|
.pullDown-effects {
|
|
position: fixed;
|
|
//top: calc(100upx - 36vw);
|
|
top: 0;
|
|
z-index: 9;
|
|
width: 100%;
|
|
height: 36vw;
|
|
/* #ifdef APP-PLUS */
|
|
padding-top: var(--status-bar-height);
|
|
|
|
/* #endif */
|
|
image {
|
|
width: 100%;
|
|
height: 36vw;
|
|
}
|
|
}
|
|
|
|
.status {
|
|
width: 100%;
|
|
height: 0;
|
|
position: fixed;
|
|
z-index: 10;
|
|
background-color: #fff;
|
|
top: 0;
|
|
/* #ifdef APP-PLUS */
|
|
height: var(--status-bar-height); //覆盖样式
|
|
/* #endif */
|
|
}
|
|
|
|
.header {
|
|
width: 92%;
|
|
padding: 0 4%;
|
|
height: 100upx;
|
|
display: flex;
|
|
align-items: center;
|
|
position: fixed;
|
|
background-color: #0083f5;
|
|
top: 0;
|
|
z-index: 10;
|
|
|
|
/* #ifdef APP-PLUS */
|
|
top: var(--status-bar-height);
|
|
/* #endif */
|
|
|
|
.addr {
|
|
width: 120upx;
|
|
height: 60upx;
|
|
flex-shrink: 0;
|
|
display: flex;
|
|
align-items: center;
|
|
font-size: 28upx;
|
|
color: #FFFFFF;
|
|
|
|
.icon {
|
|
height: 60upx;
|
|
margin-right: 5upx;
|
|
display: flex;
|
|
align-items: center;
|
|
font-size: 42upx;
|
|
color: #ffc50a;
|
|
}
|
|
}
|
|
|
|
.input-box {
|
|
width: 100%;
|
|
height: 70rpx;
|
|
background-color: #f5f5f5;
|
|
border-radius: 10rpx;
|
|
position: relative;
|
|
display: flex;
|
|
align-items: center;
|
|
|
|
.icon {
|
|
display: flex;
|
|
align-items: center;
|
|
position: absolute;
|
|
top: 0;
|
|
right: 0;
|
|
width: 60upx;
|
|
height: 60upx;
|
|
font-size: 34upx;
|
|
color: #c0c0c0;
|
|
}
|
|
|
|
input {
|
|
padding-left: 28upx;
|
|
height: 28upx;
|
|
font-size: 28upx;
|
|
width: 100%;
|
|
}
|
|
}
|
|
|
|
.icon-btn {
|
|
width: 60upx;
|
|
height: 60upx;
|
|
flex-shrink: 0;
|
|
display: flex;
|
|
|
|
.icon {
|
|
width: 60upx;
|
|
height: 60upx;
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
font-size: 42upx;
|
|
background-color: transparent;
|
|
}
|
|
}
|
|
}
|
|
|
|
.place {
|
|
background-color: #ffffff;
|
|
height: 100upx;
|
|
/* #ifdef APP-PLUS */
|
|
margin-top: var(--status-bar-height);
|
|
/* #endif */
|
|
}
|
|
|
|
.viewbor {
|
|
border-radius: 0px 0px 10px 10px;
|
|
position: relative;
|
|
}
|
|
|
|
.swiper {
|
|
width: 100%;
|
|
display: flex;
|
|
justify-content: center;
|
|
position: absolute;
|
|
top: 60px;
|
|
|
|
.swiper-box {
|
|
width: 92%;
|
|
height: 130px;
|
|
overflow: hidden;
|
|
border-radius: 15upx;
|
|
box-shadow: 0upx 8upx 25upx rgba(0, 0, 0, 0.2);
|
|
//兼容ios,微信小程序
|
|
position: relative;
|
|
z-index: 1;
|
|
|
|
swiper {
|
|
width: 100%;
|
|
height: 130px;
|
|
|
|
swiper-item {
|
|
image {
|
|
width: 100%;
|
|
height: 130px;
|
|
}
|
|
}
|
|
}
|
|
|
|
.indicator {
|
|
position: absolute;
|
|
bottom: 20upx;
|
|
left: 20upx;
|
|
background-color: rgba(255, 255, 255, 0.4);
|
|
width: 150upx;
|
|
height: 5upx;
|
|
border-radius: 3upx;
|
|
overflow: hidden;
|
|
display: flex;
|
|
|
|
.dots {
|
|
width: 0upx;
|
|
background-color: rgba(255, 255, 255, 1);
|
|
transition: all 0.3s ease-out;
|
|
|
|
&.on {
|
|
width: (100%/3);
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
.banner {
|
|
width: 92%;
|
|
margin: 40upx 4%;
|
|
|
|
image {
|
|
width: 100%;
|
|
height: 20vw;
|
|
border-radius: 10vw;
|
|
}
|
|
}
|
|
|
|
.promotion {
|
|
width: 92%;
|
|
margin: 0 4%;
|
|
|
|
.text {
|
|
width: 100%;
|
|
height: 60upx;
|
|
font-size: 34upx;
|
|
font-weight: 600;
|
|
margin-top: -10upx;
|
|
}
|
|
|
|
.list {
|
|
width: 100%;
|
|
display: flex;
|
|
justify-content: space-between;
|
|
|
|
.column {
|
|
width: 43%;
|
|
padding: 15upx 3%;
|
|
background-color: #ebf9f9;
|
|
border-radius: 10upx;
|
|
overflow: hidden;
|
|
display: flex;
|
|
justify-content: space-between;
|
|
flex-wrap: wrap;
|
|
|
|
.top {
|
|
width: 100%;
|
|
height: 40upx;
|
|
display: flex;
|
|
align-items: center;
|
|
margin-bottom: 5upx;
|
|
|
|
.title {
|
|
font-size: 30upx;
|
|
}
|
|
|
|
.countdown {
|
|
margin-left: 20upx;
|
|
display: flex;
|
|
height: 40upx;
|
|
display: flex;
|
|
align-items: center;
|
|
font-size: 20upx;
|
|
|
|
view {
|
|
height: 30upx;
|
|
background-color: #0083f5;
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
color: #fff;
|
|
border-radius: 4upx;
|
|
margin: 0 4upx;
|
|
padding: 0 2upx;
|
|
}
|
|
}
|
|
}
|
|
|
|
.left {
|
|
width: 50%;
|
|
height: 18.86vw;
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
align-content: space-between;
|
|
|
|
.ad {
|
|
margin-top: 5upx;
|
|
width: 100%;
|
|
font-size: 22upx;
|
|
color: #acb0b0;
|
|
}
|
|
|
|
.into {
|
|
width: 100%;
|
|
font-size: 24upx;
|
|
color: #aaa;
|
|
margin-bottom: 5upx;
|
|
}
|
|
}
|
|
|
|
.right {
|
|
width: 18.86vw;
|
|
height: 18.86vw;
|
|
|
|
image {
|
|
width: 18.86vw;
|
|
height: 18.86vw;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
.category-list {
|
|
width: 100%;
|
|
padding: 0 0 30upx 0;
|
|
background-color: #FFFFFF;
|
|
border-bottom: solid 2upx #f6f6f6;
|
|
display: flex;
|
|
justify-content: space-between;
|
|
flex-wrap: wrap;
|
|
|
|
.category {
|
|
width: 25%;
|
|
margin-top: 50upx;
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
|
|
.img {
|
|
width: 100%;
|
|
display: flex;
|
|
justify-content: center;
|
|
|
|
image {
|
|
width: 9vw;
|
|
height: 9vw;
|
|
}
|
|
}
|
|
|
|
.text {
|
|
margin-top: 16upx;
|
|
width: 100%;
|
|
display: flex;
|
|
justify-content: center;
|
|
font-size: 24upx;
|
|
color: #3c3c3c;
|
|
}
|
|
}
|
|
}
|
|
|
|
.goods-list {
|
|
background-color: #FFFFFF;
|
|
margin-top: 40px;
|
|
|
|
.title {
|
|
height: 80rpx;
|
|
color: #333333;
|
|
text-align: center;
|
|
margin-top: 10px;
|
|
font-size: 30rpx;
|
|
width: 100px;
|
|
line-height: 80rpx;
|
|
margin-bottom: 10px;
|
|
float: left;
|
|
}
|
|
|
|
.active_tie {
|
|
font-size: 42rpx;
|
|
font-weight: bold;
|
|
height: 80rpx;
|
|
color: #333333;
|
|
margin-top: 10px;
|
|
text-align: center;
|
|
width: 100px;
|
|
line-height: 80rpx;
|
|
margin-bottom: 10px;
|
|
float: left;
|
|
}
|
|
|
|
.loading-text {
|
|
width: 100%;
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
height: 60upx;
|
|
color: #979797;
|
|
font-size: 24upx;
|
|
}
|
|
|
|
.product-list {
|
|
width: 92%;
|
|
padding: 0 4% 3vw 4%;
|
|
display: flex;
|
|
justify-content: space-between;
|
|
flex-wrap: wrap;
|
|
|
|
.product {
|
|
width: 48%;
|
|
border-radius: 20upx;
|
|
background-color: #fff;
|
|
margin: 0 0 15upx 0;
|
|
box-shadow: 0upx 5upx 25upx rgba(0, 0, 0, 0.1);
|
|
|
|
image {
|
|
width: 100%;
|
|
border-radius: 20upx 20upx 0 0;
|
|
}
|
|
|
|
.name {
|
|
width: 92%;
|
|
padding: 8upx 4%;
|
|
display: -webkit-box;
|
|
-webkit-box-orient: vertical;
|
|
-webkit-line-clamp: 1;
|
|
text-align: justify;
|
|
overflow: hidden;
|
|
font-size: 30upx;
|
|
}
|
|
|
|
.info {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: flex-end;
|
|
width: 92%;
|
|
padding: 10upx 4% 10upx 4%;
|
|
|
|
.price {
|
|
color: #e65339;
|
|
font-size: 30upx;
|
|
font-weight: 600;
|
|
}
|
|
|
|
.slogan {
|
|
color: #807c87;
|
|
font-size: 24upx;
|
|
text-decoration: line-through;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
//赠券专区
|
|
.orange-wrap {
|
|
position: relative;
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
.orange-title {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
margin-bottom: 20rpx;
|
|
padding-right: 30rpx;
|
|
}
|
|
|
|
.orange-title .al {
|
|
font-weight: 700;
|
|
font-size: 34rpx;
|
|
}
|
|
|
|
.orange-title .ar {
|
|
font-size: 28rpx;
|
|
color: #777;
|
|
position: relative;
|
|
top: 10rpx;
|
|
|
|
}
|
|
|
|
.orange-content {
|
|
height: 170px;
|
|
width: 90%;
|
|
margin-left: 5%;
|
|
border-radius: 0 0 10px 10px;
|
|
margin-top: -5px;
|
|
background-color: white;
|
|
box-shadow: 0rpx 8rpx 25rpx rgba(0, 0, 0, 0.2);
|
|
}
|
|
|
|
.swiper-hed {
|
|
width: 28%;
|
|
}
|
|
|
|
.orange-content .swiper-item {
|
|
height: 180rpx;
|
|
margin-left: 14rpx;
|
|
margin-top: 14rpx;
|
|
}
|
|
|
|
.orange-content .swiper-item .img {
|
|
width: 100%;
|
|
height: 100%;
|
|
// border-Radius:10rpx;
|
|
}
|
|
|
|
.orange-content .swiper-item .subject {
|
|
font-size: 26rpx;
|
|
width: 100%;
|
|
color: #ff5836;
|
|
}
|
|
|
|
.lookmore {
|
|
background-color: #e2e2e2;
|
|
text-align: center;
|
|
line-height: 140rpx;
|
|
}
|
|
|
|
.lookmore .moretext {
|
|
color: #777;
|
|
font-size: 28rpx;
|
|
}
|
|
|
|
//弹窗
|
|
button::after {
|
|
border: none
|
|
}
|
|
|
|
.Popup {
|
|
width: 600rpx;
|
|
background-color: #fff;
|
|
position: fixed;
|
|
top: 50%;
|
|
left: 50%;
|
|
margin-left: -300rpx;
|
|
transform: translateY(-50%);
|
|
z-index: 320;
|
|
}
|
|
|
|
.Popup {
|
|
.logo-auth {
|
|
z-index: -1;
|
|
position: absolute;
|
|
left: 50%;
|
|
top: 0%;
|
|
transform: translate(-50%, -50%);
|
|
width: 150rpx;
|
|
height: 150rpx;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
border: 8rpx solid #fff;
|
|
border-radius: 50%;
|
|
background: #fff;
|
|
}
|
|
|
|
image {
|
|
height: 80rpx;
|
|
margin-top: -54rpx;
|
|
}
|
|
}
|
|
|
|
.Popup .title {
|
|
font-size: 28rpx;
|
|
color: #000;
|
|
text-align: center;
|
|
margin-top: 30rpx
|
|
}
|
|
|
|
.Popup .tip {
|
|
font-size: 14px;
|
|
color: #555;
|
|
padding: 0 24rpx;
|
|
margin-top: 50rpx;
|
|
text-align: center;
|
|
}
|
|
|
|
.Popup .bottom .item {
|
|
width: 50%;
|
|
height: 90rpx;
|
|
background-color: #eeeeee;
|
|
text-align: center;
|
|
line-height: 90rpx;
|
|
font-size: 14px;
|
|
color: #666;
|
|
margin-top: 54rpx;
|
|
}
|
|
|
|
.Popup .bottom .item.on {
|
|
width: 100%
|
|
}
|
|
|
|
.flex {
|
|
display: flex;
|
|
}
|
|
|
|
.Popup .bottom .item.grant {
|
|
font-size: 28rpx;
|
|
color: #fff;
|
|
font-weight: bold;
|
|
background-color: #a1bac5;
|
|
border-radius: 0;
|
|
padding: 0;
|
|
}
|
|
|
|
.mask {
|
|
position: fixed;
|
|
top: 0;
|
|
right: 0;
|
|
left: 0;
|
|
bottom: 0;
|
|
background-color: rgba(0, 0, 0, 0.65);
|
|
z-index: 310;
|
|
}
|
|
</style>
|
|
|