index.vue 58 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520
  1. <template>
  2. <!-- index.ttml -->
  3. <view :class="['container',themeType]">
  4. <view class="new-top">
  5. <view class="address">
  6. <view class="name" @tap="goCheckAddress">
  7. <image style="width: 28rpx; height: 36rpx" src="https://mall.zhaijieshi.cc/file/wx-dy/icon-map.png"
  8. mode="widthFix"></image>
  9. <text class="address-city">{{ addressInfo.city }}</text>
  10. <text class="jz-color address-name">{{ addressInfo.address }}</text>
  11. <!-- <text class="shop-name" wx:if="{{addressInfo.shopId!=0&&addressInfo.shopName}}">{{addressInfo.shopName}}</text> -->
  12. <image style="width: 10rpx; height: 24rpx" src="/static/images/new/arrow-right.png" mode="widthFix">
  13. </image>
  14. </view>
  15. <navigator url="/pages/category/search/search" class="input" style="flex: 1; text-align: right">
  16. <image style="width: 28rpx; height: 36rpx"
  17. src="https://mall.zhaijieshi.cc/file/wx-dy/icon-search.png" mode="widthFix"></image>
  18. </navigator>
  19. <view class="warning" v-if="addressInfo.shopId == 0">您的地址不在服务范围内,换一个试试</view>
  20. </view>
  21. <swiper class="banner" :indicator-dots="banner.length > 1 ? true : false" :autoplay="true" interval="3000"
  22. duration="1000" indicator-color="rgba(0, 192, 255, .2)" indicator-active-color="rgba(0, 192, 255)">
  23. <swiper-item v-for="(item, index) in banner" :key="index">
  24. <block v-if="item.link">
  25. <navigator :url="item.link">
  26. <image mode="aspectFill" :src="item.url"></image>
  27. </navigator>
  28. </block>
  29. <block v-else>
  30. <image mode="aspectFill" :src="item.url"></image>
  31. </block>
  32. </swiper-item>
  33. </swiper>
  34. </view>
  35. <!-- <view class="service-adv">
  36. <view class="adv-item">
  37. <image src="https://mall.zhaijieshi.cc/file/wx-dy/icon-pz.png" mode="widthFix"></image>
  38. <view>专业培训 品质保证</view>
  39. </view>
  40. <view class="adv-item">
  41. <image src="https://mall.zhaijieshi.cc/file/wx-dy/icon-fw.png" mode="widthFix"></image>
  42. <view>服务流程有标准</view>
  43. </view>
  44. <view class="adv-item">
  45. <image src="https://mall.zhaijieshi.cc/file/wx-dy/icon-pz.png" mode="widthFix"></image>
  46. <view>全程保险 售后无忧</view>
  47. </view>
  48. </view> -->
  49. <!-- 分类 -->
  50. <view class="m-menu">
  51. <!--index拿前5个,最后一个固定所有-->
  52. <navigator :url="'/pages/category/category?id='+item.id" v-if="index<4" v-for="(item,index) in channel" :key="index" class="category-navi">
  53. <view class="category-item">
  54. <image :src="item.iconUrl" ></image>
  55. <!-- <view class="item-name">{{item.name}}</view>
  56. <view class="item-desc">{{item.desc}}</view> -->
  57. </view>
  58. </navigator>
  59. <!-- <navigator class="item" open-type="switchTab" url="/pages/tabBar/catalog/catalog">
  60. <image src="/static/images/quanbufenlei.png" background-size="cover"></image>
  61. <text>全部分类</text>
  62. </navigator> -->
  63. </view>
  64. <!-- <view class="new-category">
  65. <view class="cat-item">
  66. <navigator url="/pages/category/category?id=1036741">
  67. <image src="https://mall.zhaijieshi.cc/file/wx-dy/icon-category1.png" mode="aspectFit"></image>
  68. </navigator>
  69. <view>3小时保洁</view>
  70. </view>
  71. <view class="cat-item">
  72. <navigator url="/pages/category/category?id=1036756">
  73. <image src="https://mall.zhaijieshi.cc/file/wx-dy/icon-category2.png" mode="aspectFit"></image>
  74. </navigator>
  75. <view>精细擦窗</view>
  76. </view>
  77. <view class="cat-item">
  78. <view class="ndbb-wrapper">
  79. <navigator url="/pages/category/category?id=1036773">
  80. <image src="https://mall.zhaijieshi.cc/file/wx-dy/icon-category3.png" mode="aspectFit"></image>
  81. </navigator>
  82. <view class="ndbb"></view>
  83. </view>
  84. <view>焕新大扫除</view>
  85. </view>
  86. <view class="cat-item">
  87. <navigator url="/pages/category/category?id=1036053">
  88. <image src="https://mall.zhaijieshi.cc/file/wx-dy/icon-category4.png" mode="aspectFit"></image>
  89. </navigator>
  90. <view>厨房蒸洗</view>
  91. </view>
  92. <view class="cat-item">
  93. <navigator url="/pages/category/category?id=1036053">
  94. <image src="https://mall.zhaijieshi.cc/file/wx-dy/icon-category5.png" mode="aspectFit"></image>
  95. </navigator>
  96. <view>浴室蒸洗</view>
  97. </view>
  98. </view> -->
  99. <!-- 推荐商品 -->
  100. <view class="ad-wrapper">
  101. <navigator url="/pages/category/category?id=1036756" class="hot-item-nav">
  102. <view class="hot-item">
  103. <image :src="'https://jzmall.lifejingzhi.com/file/jzmall/weixin/ad-02.png?'+randomNum"
  104. mode="widthFix"></image>
  105. </view>
  106. </navigator>
  107. <navigator url="/pages/category/category?id=1036038" class="hot-item-nav">
  108. <view class="hot-item">
  109. <image :src="'https://jzmall.lifejingzhi.com/file/jzmall/weixin/ad-01.png?' +randomNum"
  110. mode="widthFix"></image>
  111. </view>
  112. </navigator>
  113. <!-- <image src="{{'https://jzmall.lifejingzhi.com/file/jzmall/weixin/ad-kt.png?' +randomNum}}"
  114. mode="widthFix" class="kt-img" catchtap="goJoin"></image> -->
  115. </view>
  116. <!-- <view class="new-hot-good">
  117. <navigator :url="'/pages/goods/goods?id=' + baojie">
  118. <image :src="'https://mall.zhaijieshi.cc/file/wx-dy/goods-bj.png' + '?' + randomNum" mode="aspectFill">
  119. </image>
  120. </navigator>
  121. <navigator :url="'/pages/goods/goods?id=' + chachuang">
  122. <image :src="'https://mall.zhaijieshi.cc/file/wx-dy/goods-pl.png' + '?' + randomNum" mode="aspectFill">
  123. </image>
  124. </navigator>
  125. </view> -->
  126. <!-- 鲸致推荐 -->
  127. <!-- <view class="jz-hot">
  128. <view>鲸致推荐</view>
  129. <image src="https://mall.zhaijieshi.cc/file/wx-dy/icon-hand.png" mode="aspectFill"></image>
  130. </view> -->
  131. <!-- <view class="search">
  132. <navigator url="/pages/category/search/search" class="input">
  133. <image style="width: 26rpx;height: 26rpx;margin-right:20rpx;" src="/static/images/new/search.png" mode="widthFix">
  134. </image>
  135. <text class="txt">搜索商品名称</text>
  136. </navigator>
  137. </view> -->
  138. <!--<view class="no-login" wx:if="{{!hasLogin}}">
  139. <view class="c">
  140. <text>您还没有登录</text>
  141. <button open-type="getUserInfo" bindgetuserinfo="goLogin">
  142. <image class="wechat" src="/static/images/wechat.png"></image>
  143. 点击授权微信登录
  144. </button>
  145. </view>
  146. </view>-->
  147. <view class="login">
  148. <view class="a-section a-popular" v-if="hotGoods.length > 0">
  149. <view class="h">
  150. <!-- @tap="goHotGoods" -->
  151. <view class="popular-title">
  152. <!-- <navigator url="../goods/hotGoods/hotGoods" class="popular-title"> -->
  153. <view class="title-left">
  154. <view class="txt1"></view>
  155. <view class="txt">鲸致推荐</view>
  156. </view>
  157. <view class="title-right">
  158. <!-- <text class="sub-color more"> 更多</text>
  159. <van-icon name="arrow" color="#85868A" /> -->
  160. </view>
  161. <!-- </navigator> -->
  162. </view>
  163. </view>
  164. <view class="b">
  165. <view v-for="(item, index) in hotGoods" :key="index">
  166. <navigator :url="'/pages/goods/goods?id=' + item.id" class="popular-item">
  167. <view class="item-img-wrapper">
  168. <!-- <image v-if="item.isNew" src="/static/images/new/isnew.png" class="isNew" mode="aspectFill"></image> -->
  169. <image class="img" :src="item.gallery[0]" mode="aspectFill"></image>
  170. <!-- <view class="item-tag">{{item.categoryName}}</view> -->
  171. </view>
  172. <view class="item-main">
  173. <!-- <view class="new-item-left">
  174. <view class="new-real-price">¥{{ item.retailPrice }}</view>
  175. <view class="new-retail-price">¥{{ item.counterPrice }}</view>
  176. </view>
  177. <view class="new-item-right" :style="'background:'+themeCol">立即购买</view>
  178. -->
  179. <view class="item-left">
  180. <view style="display:flex;align-items:center;">
  181. <view class="self-tag">推荐</view>
  182. <text class="product-item-name">{{item.name}}</text>
  183. </view>
  184. <text class="sub-color item-brief">{{item.brief}}</text>
  185. </view>
  186. <view style="width: 180rpx;margin-top: 6rpx;">
  187. <view v-if="item.activited||item.counterPrice!=item.retailPrice"
  188. class="item-right counter-price">
  189. 市场价:¥{{item.counterPrice}}
  190. </view>
  191. <view class="item-right retail-price">
  192. <text v-if="item.activited" class="title">大促价:</text>
  193. <text class="unit">¥</text>
  194. <text v-if="!item.activited" class="price">{{item.retailPrice}}</text>
  195. <text v-else class="price">{{item.activityPrice}}</text>
  196. </view>
  197. </view>
  198. </view>
  199. <!-- 活动商品 显示样式 -->
  200. <!-- <view v-if="item.activited" class="activity">
  201. <view class="limit">
  202. </view>
  203. <view style="display: flex; align-items: center">
  204. <image class="clock" src="https://7a68-zhaijieshi-3guecm78383ca692-1307626841.tcb.qcloud.la/activity/clock.png"></image>
  205. <view class="time">距离活动仅剩{{ item.activityDay }}天</view>
  206. <image class="arrow" src="https://7a68-zhaijieshi-3guecm78383ca692-1307626841.tcb.qcloud.la/activity/arrow.png" />
  207. </view>
  208. </view> -->
  209. </navigator>
  210. </view>
  211. </view>
  212. </view>
  213. <!-- 专题精选 -->
  214. <view class="a-section a-topic" v-if="topics.length > 0">
  215. <view class="h">
  216. <view>
  217. <navigator url="/pages/topic/topic">
  218. <text class="txt">专题精选</text>
  219. </navigator>
  220. </view>
  221. </view>
  222. <view class="b">
  223. <view class="list">
  224. <view class="item" v-for="(item, index) in topics" :key="index">
  225. <navigator :url="'/pages/topic/topicDetail/topicDetail?id=' + item.id">
  226. <image class="img" :src="item.gallery[0]" background-size="cover"></image>
  227. <view class="np">
  228. <text class="name">{{ item.title }}</text>
  229. <text class="price">¥{{ item.price }}元起</text>
  230. </view>
  231. <text class="desc">{{ item.subtitle }}</text>
  232. </navigator>
  233. </view>
  234. </view>
  235. <navigator v-if="'topics.length > 0'" url="/pages/topic/topic" class="t">
  236. <view class="txt">更多其他专题 ></view>
  237. </navigator>
  238. </view>
  239. <!--旧格式专题
  240. <view class="b">
  241. <scroll-view scroll-x class="list">
  242. <view class="item" wx:for="{{topics}}" wx:for-index="index" wx:for-item="item" wx:key="id">
  243. <navigator url="../topicDetail/topicDetail?id={{item.id}}">
  244. <image class="img" src="{{item.picUrl}}" background-size="cover"></image>
  245. <view class="np">
  246. <text class="name">{{item.title}}</text>
  247. <text class="price">¥{{item.price}}元起</text>
  248. </view>
  249. <text class="desc">{{item.subtitle}}</text>
  250. </navigator>
  251. </view>
  252. </scroll-view>
  253. <navigator url="/pages/category/category?id={{item.id}}" class="t">
  254. <view class="txt">{{'更多其他专题 >'}}</view>
  255. </navigator>
  256. </view>-->
  257. </view>
  258. <!-- 关于鲸致 -->
  259. <!-- <view class="about-jz">
  260. <view class="popular-title">
  261. <view class="title-left">
  262. <view class="devide-bar"></view>
  263. <view class="title-text">关于鲸致生活</view>
  264. </view>
  265. </view>
  266. <view class="jz-feature">
  267. <view class="feature-item">
  268. <text>家庭服务</text>
  269. <text>知名品牌</text>
  270. </view>
  271. <view class="devide-line"></view>
  272. <view class="feature-item">
  273. <text>自营人员</text>
  274. <text>标准服务</text>
  275. </view>
  276. <view class="devide-line"></view>
  277. <view class="feature-item">
  278. <text>100万+</text>
  279. <text>家庭客户</text>
  280. </view>
  281. <view class="devide-line"></view>
  282. <view class="feature-item">
  283. <text>100%</text>
  284. <text>技能培训</text>
  285. </view>
  286. <view class="devide-line"></view>
  287. <view class="feature-item">
  288. <text>中国平安</text>
  289. <text>保险保障</text>
  290. </view>
  291. </view>
  292. <view class="partner-title">鲸致合作</view>
  293. <image mode="widthFix" class="jzhz-img" src="https://mall.zhaijieshi.cc/file/jzmall/weixin/new/jzhz-0727.png">
  294. </image>
  295. <view class="jz-logo-wrapper">
  296. <image mode="widthFix" src="/static/images/new/jz-logo.png" class="jz-logo"></image>
  297. </view>
  298. <view class="service-tel sub-color">
  299. <view>客服热线:</view>
  300. <view bindtap="callPhone" class="phone-wrapper">
  301. <text>400-921-8987</text>
  302. <van-icon class="right-icon" name="phone-o" />
  303. </view>
  304. </view>
  305. <view class="jz-company">上海宅洁仕网络科技有限公司</view>
  306. </view> -->
  307. <!-- 关于鲸致 -->
  308. <view class="about-jz">
  309. <view class="popular-title">
  310. <view class="title-left">
  311. <view class="devide-bar"></view>
  312. <view class="title-text">关于鲸致生活</view>
  313. </view>
  314. </view>
  315. <!-- poster="https://jzmall.lifejingzhi.com/file/jzmall-dy/video-poster.png" -->
  316. <video class="jz-video" play-btn-position="bottom"
  317. src="https://media.lifejingzhi.com/sv/19c50f70-18f14278f8c/19c50f70-18f14278f8c.mp4"
  318. :autoplay="false" :show-play-btn="true" :loop="false" controls object-fit="cover"></video>
  319. <view class="jz-about">
  320. <view class="about-item">
  321. <image mode="aspectFill" src="https://jzmall.lifejingzhi.com/file/jzmall-dy/jzsh-about1.png"
  322. class="about-img"></image>
  323. <view class="middle-text">家庭服务</view>
  324. <view class="small-text">一站式家政服务</view>
  325. </view>
  326. <view class="about-item">
  327. <image mode="aspectFill" src="https://jzmall.lifejingzhi.com/file/jzmall-dy/jzsh-about2.png"
  328. class="about-img"></image>
  329. <view class="middle-text">标准服务</view>
  330. <view class="small-text">可视化验收标准</view>
  331. </view>
  332. <view class="about-item">
  333. <image mode="aspectFill" src="https://jzmall.lifejingzhi.com/file/jzmall-dy/jzsh-about3.png"
  334. class="about-img"></image>
  335. <view class="middle-text">值得信赖</view>
  336. <view class="small-text">100万+家庭客户</view>
  337. </view>
  338. <view class="about-item">
  339. <image mode="aspectFill" src="https://jzmall.lifejingzhi.com/file/jzmall-dy/jzsh-about4.png"
  340. class="about-img"></image>
  341. <view class="middle-text">专业培训</view>
  342. <view class="small-text">服务品质有保障</view>
  343. </view>
  344. <view class="about-item">
  345. <image mode="aspectFill" src="https://jzmall.lifejingzhi.com/file/jzmall-dy/jzsh-about5.png"
  346. class="about-img"></image>
  347. <view class="middle-text">保险保障</view>
  348. <view class="small-text">中国平安更保险</view>
  349. </view>
  350. </view>
  351. <view class="jz-logo-wrapper">
  352. <image mode="widthFix" src="https://jzmall.lifejingzhi.com/file/jzmall-dy/jzsh-slogan.png"
  353. class="jz-logo"></image>
  354. </view>
  355. </view>
  356. <!-- <view class="new-jz">
  357. <view class="jz-super">
  358. <view class="super-item">
  359. <image src="https://mall.zhaijieshi.cc/file/wx-dy/icon-tag1.png" mode="aspectFill"></image>
  360. <view>100%专业培训</view>
  361. </view>
  362. <view class="super-item">
  363. <image src="https://mall.zhaijieshi.cc/file/wx-dy/icon-tag2.png" mode="aspectFill"></image>
  364. <view>上户有保险</view>
  365. </view>
  366. <view class="super-item">
  367. <image src="https://mall.zhaijieshi.cc/file/wx-dy/icon-tag3.png" mode="aspectFill"></image>
  368. <view>售后有保障</view>
  369. </view>
  370. <view class="super-item">
  371. <image src="https://mall.zhaijieshi.cc/file/wx-dy/icon-tag4.png" mode="aspectFill"></image>
  372. <view>服务标准 品质保证</view>
  373. </view>
  374. </view>
  375. <view class="jz-service">
  376. <view class="service-item">
  377. <image src="https://mall.zhaijieshi.cc/file/wx-dy/icon-city.png" mode="aspectFill"></image>
  378. <view>服务覆盖近百座城市</view>
  379. </view>
  380. <view class="service-item">
  381. <image src="https://mall.zhaijieshi.cc/file/wx-dy/icon-home.png" mode="aspectFill"></image>
  382. <view>100万客户中高端家庭选择</view>
  383. </view>
  384. </view>
  385. <image src="https://mall.zhaijieshi.cc/file/wx-dy/slogn.png" mode="aspectFill" class="img-slogan"></image>
  386. <view class="company-kf">鲸致生活全国统一客服专线</view>
  387. <view class="service-tel" @tap="callPhone">400-921-8987</view>
  388. </view> -->
  389. <!--
  390. <view class="a-section a-topic" wx:if="topics.length > 0" hidden="{{topics.length <= 0}}">
  391. <view class="h">
  392. <view>
  393. <navigator url="/pages/topic/topic">
  394. <text class="txt">专题精选</text>
  395. </navigator>
  396. </view>
  397. </view>
  398. <view class="b">
  399. <scroll-view scroll-x class="list">
  400. <view class="item" wx:for="{{topics}}" wx:for-index="index" wx:for-item="item" wx:key="id">
  401. <navigator url="../topicDetail/topicDetail?id={{item.id}}">
  402. <image class="img" src="{{item.picUrl}}" background-size="cover"></image>
  403. <view class="np">
  404. <text class="name">{{item.title}}</text>
  405. <text class="price">¥{{item.price}}元起</text>
  406. </view>
  407. <text class="desc">{{item.subtitle}}</text>
  408. </navigator>
  409. </view>
  410. </scroll-view>
  411. </view>
  412. </view>
  413. <view class="good-grid" wx:for="{{floorGoods}}" wx:key="id">
  414. <view class="h">
  415. <text>{{item.name}}</text>
  416. </view>
  417. <view class="b">
  418. <block wx:for="{{item.goodsList}}" wx:for-index="iindex" wx:for-item="iitem" wx:key="id">
  419. <view class="item {{iindex % 2 == 0 ? '' : 'item-b'}}">
  420. <navigator url="../goods/goods?id={{iitem.id}}" class="a">
  421. <image class="img" src="{{iitem.picUrl}}" background-size="cover"></image>
  422. <text class="name">{{iitem.name}}</text>
  423. <text class="price">¥{{iitem.retailPrice}}</text>
  424. </navigator>
  425. </view>
  426. </block>
  427. </view>
  428. <navigator url="/pages/category/category?id={{item.id}}" class="t">
  429. <view class="txt">{{'更多'+item.name+'好物 >'}}</view>
  430. </navigator>
  431. </view>-->
  432. </view>
  433. <!-- 广告 -->
  434. <!-- <view class="adv" bindtap='goinviteFriends'>
  435. <view style="width:100%;height:100%">
  436. <image src="/static/images/active/xyhxd.jpg" style="width:100%;height:100%" />
  437. </view>
  438. </view> -->
  439. <!-- 弹窗 蒙城 -->
  440. <view class="mask" @touchmove.stop.prevent="preventTouchMove" v-if="showModalStatus"></view>
  441. <!-- 弹窗 -->
  442. <view class="modalDlg" v-if="showModalStatus">
  443. <view class="huode">未使用优惠券</view>
  444. <view class="youhuiquan">{{ couponsData.length }}张优惠券</view>
  445. <view class="table">
  446. <view class="line" @tap="gocoupon" v-for="(item, index) in couponsData" :key="index">
  447. <view class="left">
  448. <view style="font-size: 36rpx; margin-top: 20rpx">
  449. <span v-if="item.voucherType == 1">¥{{ item.discount }}</span>
  450. <span v-if="item.voucherType == 2">{{ item.discount / 10 }}折</span>
  451. </view>
  452. <view style="display: block; font-size: 19rpx">
  453. <!-- {{item.name}} -->
  454. <span v-if="item.voucherType == 1">立减券</span>
  455. <span v-if="item.voucherType == 2">折扣券</span>
  456. </view>
  457. <view class="ljsy">立即使用</view>
  458. </view>
  459. <view class="right">
  460. <view class="mz">{{ item.desc }}</view>
  461. <view class="sj">有效期致 {{ item.endTime }}</view>
  462. </view>
  463. </view>
  464. </view>
  465. <button @tap="gocoupon">立即使用</button>
  466. <view @tap="guanbicoupon" class="guanbi">×</view>
  467. </view>
  468. <!-- 客服电话 -->
  469. <!-- <view class="phone-btn" bindtap="callPhone">
  470. <van-icon class="right-icon" name="phone-o" />
  471. </view> -->
  472. </view>
  473. </template>
  474. <script>
  475. const util = require('../../utils/util.js');
  476. const api = require('../../config/api.js');
  477. const user = require('../../utils/user.js');
  478. const map = require('../../utils/map.js');
  479. const area = require('../../utils/area.js');
  480. //获取应用实例
  481. const app = getApp();
  482. export default {
  483. data() {
  484. return {
  485. baojie: '',
  486. chachuang: '',
  487. newGoods: [],
  488. hotGoods: [],
  489. topics: [],
  490. brands: [],
  491. groupons: [],
  492. floorGoods: [],
  493. banner: [],
  494. channel: [],
  495. coupon: [],
  496. goodsCount: 0,
  497. hasLogin: true,
  498. city: '',
  499. //当前业务城市
  500. citys: [],
  501. cityIndex: 0,
  502. addressInfo: {
  503. city: '上海市',
  504. shopId: 0,
  505. lng: 121.4737,
  506. lat: 31.23037,
  507. address: '上海市浦东新区祖冲之路1505弄100号3栋',
  508. shopName: ''
  509. },
  510. showModalStatus: false,
  511. couponsData: [],
  512. randomNum: (Math.random() * 100000000).toFixed(0)
  513. };
  514. },
  515. // computed: {
  516. // themeType() {
  517. // return this.$store.state.themeType
  518. // }
  519. // }
  520. onShareAppMessage: function() {
  521. return {
  522. title: '保洁擦窗 家电清洗 专区收纳',
  523. desc: '鲸致生活,为美好生活',
  524. path: '/pages/index/index'
  525. };
  526. },
  527. onPullDownRefresh() {
  528. uni.showNavigationBarLoading(); //在标题栏中显示加载
  529. this.getIndexData();
  530. uni.hideNavigationBarLoading(); //完成停止加载
  531. uni.stopPullDownRefresh(); //停止下拉刷新
  532. },
  533. onReady: function() {
  534. console.log(this.$store.state.curThemeType);
  535. // if(this.$store.state.curThemeType=='yj'){
  536. // uni.setNavigationBarColor({
  537. // frontColor: '#ffffff',
  538. // backgroundColor:'#ff8219'
  539. // });
  540. // }
  541. },
  542. onLoad: function(options) {
  543. let that = this;
  544. // 页面初始化 options为页面跳转所带来的参数
  545. //邀好友60现金券走这里,然后要注册登陆
  546. console.log('options.rId' + options.rId);
  547. if (options.rId) {
  548. uni.setStorageSync('r_userid', options.rId);
  549. }
  550. var shareId;
  551. if (options.scene) {
  552. //这个scene的值存在则证明首页的开启来源于朋友圈分享的图,同时可以通过获取到的goodId的值跳转导航到对应的详情页
  553. var scene = decodeURIComponent(options.scene);
  554. console.log(scene);
  555. //console.info(scene); sId:分享id
  556. //goods,1181009;rId,10;sId:0
  557. //g,1181009;rId,10;sId:0 因为超长 缩写了goods
  558. //三种格式(1) rId,2 (2)g,3;rId,2 (3)g,3;rId,3;sId:10(阿姨开单分享)
  559. if (scene.indexOf('rId') >= 0 || scene.indexOf('r_userid') >= 0) {
  560. //兼容之前的r_userid
  561. let value = null;
  562. if (scene.indexOf(';') > 0) {
  563. //包含分号 表示是good和user两种
  564. value = scene.split(';')[1];
  565. //console.info(value);
  566. uni.setStorageSync('r_userid', value.split(',')[1]); //获取r_userid
  567. if (scene.indexOf('sId') >= 0 || scene.indexOf('shareId') >= 0) {
  568. //阿姨开单分享id ||兼容之前的shareId
  569. shareId = scene.split(';')[2].split(',')[1];
  570. }
  571. scene = scene.split(';')[0];
  572. //console.info(scene);
  573. } else {
  574. value = scene;
  575. uni.setStorageSync('r_userid', value.split(',')[1]);
  576. // 引荐人分享
  577. console.log('只有rid,进入引荐人');
  578. let rId = value.split(',')[1];
  579. uni.navigateTo({
  580. url: '../ucenter/parter/recommend/recommend?rId=' + rId
  581. });
  582. // return; //结束逻辑 不在往下进行;
  583. }
  584. }
  585. let info_arr = [];
  586. info_arr = scene.split(',');
  587. let _type = info_arr[0];
  588. let id = info_arr[1];
  589. console.info(_type);
  590. if (_type == 'goods' || _type == 'g') {
  591. if (shareId) {
  592. uni.navigateTo({
  593. url: '../goods/goods?id=' + id + '&shareId=' + shareId
  594. });
  595. } else {
  596. let rId = uni.getStorageSync('r_userid');
  597. if (!rId) {
  598. rId = 0;
  599. }
  600. uni.navigateTo({
  601. url: '../goods/goods?id=' + id + '&rId=' + rId
  602. });
  603. }
  604. } else if (_type == 'groupon') {
  605. uni.navigateTo({
  606. url: '../goods/goods?grouponId=' + id
  607. });
  608. } else {
  609. uni.navigateTo({
  610. url: '../index/index'
  611. });
  612. }
  613. }
  614. // 页面初始化 options为页面跳转所带来的参数
  615. if (options.grouponId) {
  616. //这个pageId的值存在则证明首页的开启来源于用户点击来首页,同时可以通过获取到的pageId的值跳转导航到对应的详情页
  617. uni.navigateTo({
  618. url: '../goods/goods?grouponId=' + options.grouponId
  619. });
  620. }
  621. // 页面初始化 options为页面跳转所带来的参数
  622. if (options.goodId) {
  623. //这个goodId的值存在则证明首页的开启来源于分享,同时可以通过获取到的goodId的值跳转导航到对应的详情页
  624. if (options.share_id) {
  625. uni.navigateTo({
  626. url: '../goods/goods?id=' + options.goodId + '&share_id=' + options.share_id
  627. });
  628. } else {
  629. uni.navigateTo({
  630. url: '../goods/goods?id=' + options.goodId
  631. });
  632. }
  633. }
  634. // 页面初始化 options为页面跳转所带来的参数
  635. if (options.orderId) {
  636. //这个orderId的值存在则证明首页的开启来源于订单模版通知,同时可以通过获取到的pageId的值跳转导航到对应的详情页
  637. uni.navigateTo({
  638. url: '../ucenter/orderDetail/orderDetail?id=' + options.orderId
  639. });
  640. }
  641. },
  642. onShow: function() {
  643. //this.naviToMiniProgram();
  644. this.getLocation();
  645. },
  646. onHide: function() {
  647. // 页面隐藏
  648. },
  649. onUnload: function() {
  650. // 页面关闭
  651. },
  652. methods: {
  653. getIndexData: function() {
  654. //新人登陆优惠券发放判断 !app.globalData.hasLogin ||,需要获取地址后再拿券
  655. if (uni.getStorageSync('userInfo').id == null) {
  656. console.log('未登陆进入' + app.globalData.hasLogin + '----' + uni.getStorageSync('userInfo').id);
  657. // this.youhuiquan();
  658. }
  659. uni.showLoading({
  660. title: '加载中'
  661. });
  662. let that = this;
  663. console.info(that.addressInfo.shopId);
  664. util.request(api.IndexUrl, {
  665. city: that.addressInfo.city,
  666. shopId: that.addressInfo.shopId
  667. }).then(function(res) {
  668. if (res.errno === 0) {
  669. that.setData({
  670. // newGoods: res.data.newGoodsList,
  671. hotGoods: res.data.hotGoodsList,
  672. // topics: res.data.topicList,
  673. //brands: res.data.brandList,
  674. //floorGoods: res.data.floorGoodsList,
  675. banner: res.data.banner,
  676. //groupons: res.data.grouponList,
  677. channel: res.data.channel,
  678. baojie: res.data.baojie,
  679. chachuang: res.data.chachuang
  680. //coupon: res.data.couponList
  681. });
  682. //console.info(res.data.banner);
  683. }
  684. uni.hideLoading();
  685. });
  686. // util.request(api.GoodsCount).then(function (res) {
  687. // that.setData({
  688. // goodsCount: res.data
  689. // });
  690. // });
  691. },
  692. youhuiquan() {
  693. //进入小程序优惠券展示
  694. let that = this;
  695. util.request(api.CouponRegister, {
  696. city: that.addressInfo.city
  697. }).then(function(res) {
  698. //console.info(res.data);
  699. if (res.errno === 0 && res.data.length > 0 && uni.getStorageSync('userInfo').nickName ==
  700. null) {
  701. that.setData({
  702. showModalStatus: true,
  703. couponsData: res.data
  704. });
  705. }
  706. });
  707. },
  708. getLocation() {
  709. let that = this;
  710. //获取地理位置 缓存中是否有地址
  711. /**
  712. * 分2重判断
  713. * 1:缓存中是否有地址
  714. * 2:未登录 取当前地理位置判断
  715. */
  716. var addressInfo = uni.getStorageSync('addressInfo');
  717. if (addressInfo) {
  718. console.info(addressInfo);
  719. that.setData({
  720. addressInfo: addressInfo
  721. });
  722. this.getIndexData();
  723. } else {
  724. if (!app.globalData.hasLogin) {
  725. //未登陆
  726. map.getCity()
  727. .then((res) => {
  728. that.setData({
  729. addressInfo: res
  730. });
  731. console.info(res);
  732. this.getIndexData();
  733. })
  734. .catch((res) => {
  735. //reject内容 1:未授权 2:不在服务范围 3:异常解析
  736. console.log('map fail');
  737. uni.showModal({
  738. title: '提醒',
  739. showCancel: false,
  740. content: '您未授权或非业务城市,已切换其他业务城市'
  741. });
  742. this.getdefaultCityShop();
  743. });
  744. }
  745. }
  746. },
  747. getdefaultCityShop() {
  748. let that = this;
  749. util.request(api.getDefaultCityShop, {}, 'get').then((res) => {
  750. if (res.errno === 0) {
  751. that.setData({
  752. addressInfo: res.data
  753. });
  754. uni.setStorageSync('addressInfo', res.data);
  755. that.getIndexData();
  756. } else {
  757. util.showErrorToast(res.errmsg);
  758. }
  759. });
  760. },
  761. goCheckAddress() {
  762. user.checkLogin()
  763. .then((res) => {
  764. uni.navigateTo({
  765. url: '/pages/ucenter/address/address'
  766. });
  767. })
  768. .catch((res) => {
  769. uni.navigateTo({
  770. url: '/pages/auth/login/login'
  771. });
  772. });
  773. },
  774. naviToMiniProgram() {
  775. let that = this;
  776. uni.showModal({
  777. title: '温馨提示',
  778. content: '尊敬的客户,鲸致生活小程序已迁移到【鲸致生活lifeplus】,您的相关权益也全部迁移保留,请点击确认 使用新小程序。',
  779. showCancel: false,
  780. //是否显示取消按钮
  781. cancelText: '取消',
  782. //默认是“取消”
  783. cancelColor: '#000000',
  784. //取消文字的颜色
  785. confirmText: '确认跳转',
  786. //默认是“确定”
  787. confirmColor: '#3cc51f',
  788. //确定文字的颜色
  789. success: function(res) {
  790. if (res.cancel) {
  791. //点击取消,wx.navigateBack
  792. } else {
  793. // 使用wx.navigateToMiniProgram跳转到小程序
  794. uni.navigateToMiniProgram({
  795. appId: 'wxf0a77f9993d8b60d',
  796. path: 'pages/index/index',
  797. envVersion: 'release',
  798. // 打开正式版
  799. success(res) {
  800. // 打开成功
  801. },
  802. fail: function(err) {
  803. console.log(err);
  804. that.naviToMiniProgram();
  805. }
  806. });
  807. }
  808. },
  809. fail: function(res) {
  810. //接口调用失败的回调函数,wx.navigateBack
  811. },
  812. complete: function(res) {
  813. console.info(res);
  814. //接口调用结束的回调函数(调用成功、失败都会执行)
  815. }
  816. });
  817. },
  818. goLogin: function(e) {
  819. if (e.detail.userInfo == null) {
  820. app.globalData.hasLogin = false;
  821. util.showErrorToast('微信授权失败');
  822. return;
  823. }
  824. app.globalData.hasLogin = false;
  825. uni.setStorageSync('userInfo', null);
  826. user.loginByWeixin(e.detail.userInfo)
  827. .then((res) => {
  828. //跳转注册页
  829. if (user.checkRegisted() == false) {
  830. uni.navigateTo({
  831. url: '/pages/auth/register/register'
  832. });
  833. } else {
  834. this.setData({
  835. hasLogin: true
  836. });
  837. }
  838. })
  839. .catch((err) => {
  840. app.globalData.hasLogin = false;
  841. });
  842. },
  843. getCoupon(e) {
  844. if (!app.globalData.hasLogin) {
  845. uni.navigateTo({
  846. url: '/pages/auth/login/login'
  847. });
  848. }
  849. let couponId = e.currentTarget.dataset.index;
  850. util.request(
  851. api.CouponReceive, {
  852. couponId: couponId
  853. },
  854. 'POST'
  855. ).then((res) => {
  856. if (res.errno === 0) {
  857. uni.showToast({
  858. title: '领取成功'
  859. });
  860. } else {
  861. util.showErrorToast(res.errmsg);
  862. }
  863. });
  864. },
  865. goinviteFriends(e) {
  866. console.log(app.globalData.hasLogin);
  867. //跳转到邀请页面
  868. if (app.globalData.hasLogin) {
  869. uni.navigateTo({
  870. url: '/pages/activity/invitefriends/inviteFriends'
  871. });
  872. } else {
  873. uni.navigateTo({
  874. url: '/pages/auth/login/login'
  875. });
  876. }
  877. },
  878. guanbicoupon() {
  879. this.setData({
  880. showModalStatus: false
  881. });
  882. },
  883. gocoupon(e) {
  884. this.setData({
  885. showModalStatus: false
  886. });
  887. if (!app.globalData.hasLogin) {
  888. uni.navigateTo({
  889. url: '/pages/auth/login/login'
  890. });
  891. }
  892. },
  893. myshowtost: function(v) {
  894. uni.showToast({
  895. title: v,
  896. icon: 'none',
  897. duration: 3000
  898. });
  899. },
  900. goCatalog() {
  901. uni.navigateTo({
  902. url: '/pages/tabBar/catalog/catalog'
  903. });
  904. },
  905. goHotGoods() {
  906. uni.navigateTo({
  907. url: '/pages/goods/hotGoods/hotGoods'
  908. });
  909. },
  910. callPhone: function() {
  911. uni.makePhoneCall({
  912. phoneNumber: '4009218987'
  913. });
  914. },
  915. preventTouchMove() {
  916. console.log('占位:函数 preventTouchMove 未声明');
  917. }
  918. }
  919. };
  920. </script>
  921. <style>
  922. page {
  923. height: 100vh;
  924. }
  925. .container {
  926. /* background: #fefefe; */
  927. background: #f8f8f8;
  928. padding: 20rpx 30rpx 30rpx;
  929. }
  930. /*弹窗*/
  931. .mask {
  932. width: 100%;
  933. height: 100%;
  934. position: fixed;
  935. top: 0;
  936. left: 0;
  937. background: #000;
  938. z-index: 9000;
  939. opacity: 0.7;
  940. }
  941. .guanbi {
  942. border: 5rpx solid #7f7f7f;
  943. position: absolute;
  944. bottom: -70rpx;
  945. color: #7f7f7f;
  946. font-size: 60rpx;
  947. border-radius: 40rpx;
  948. width: 60rpx;
  949. height: 60rpx;
  950. text-align: center;
  951. line-height: 57rpx;
  952. }
  953. .modalDlg {
  954. width: 580rpx;
  955. /* height: 750rpx; */
  956. position: fixed;
  957. top: 45%;
  958. left: 0;
  959. z-index: 9999;
  960. margin: -370rpx 85rpx;
  961. background-color: #fff;
  962. border-radius: 36rpx;
  963. display: flex;
  964. flex-direction: column;
  965. align-items: center;
  966. background: #ee4749;
  967. }
  968. .modalDlg button {
  969. margin-top: 30rpx;
  970. margin-bottom: 30rpx;
  971. font-size: 24rpx;
  972. color: #47c5fa;
  973. background: #e7f7ff;
  974. border-radius: 30rpx;
  975. }
  976. .modalDlg .table {
  977. /* border:1px solid red; */
  978. overflow: scroll;
  979. max-height: 600rpx;
  980. min-height: 200rpx;
  981. }
  982. .modalDlg .huode {
  983. color: white;
  984. margin-top: 30rpx;
  985. font-size: 30rpx;
  986. }
  987. .modalDlg .youhuiquan {
  988. margin-top: 10rpx;
  989. font-size: 24rpx;
  990. color: white;
  991. }
  992. .modalDlg .line {
  993. width: 520rpx;
  994. /* border: 2px solid blue; */
  995. background: white;
  996. height: 140rpx;
  997. border-radius: 30rpx;
  998. overflow: hidden;
  999. text-align: center;
  1000. margin-top: 20rpx;
  1001. }
  1002. .modalDlg .line .left {
  1003. width: 150rpx;
  1004. height: 140rpx;
  1005. background: #e7f7ff;
  1006. float: left;
  1007. }
  1008. .modalDlg .line .left .ljsy {
  1009. width: 100rpx;
  1010. font-size: 20rpx;
  1011. background: #47c5fa;
  1012. color: white;
  1013. margin: 0px auto;
  1014. border-radius: 20rpx;
  1015. margin-top: 5rpx;
  1016. }
  1017. .modalDlg .line .right .mz {
  1018. margin-top: 30rpx;
  1019. overflow: hidden;
  1020. color: black;
  1021. font-weight: 600;
  1022. font-size: 26rpx;
  1023. }
  1024. .modalDlg .line .right .sj {
  1025. color: #c8c5c5;
  1026. font-size: 20rpx;
  1027. margin-top: 20rpx;
  1028. }
  1029. .adv {
  1030. position: fixed;
  1031. left: 0rpx;
  1032. bottom: 0;
  1033. z-index: 100;
  1034. width: 750rpx;
  1035. height: 165rpx;
  1036. display: flex;
  1037. /* border: 1px solid red; */
  1038. }
  1039. .m-menu {
  1040. /* background: #fff; */
  1041. margin: 20rpx 0;
  1042. display: flex;
  1043. align-items: center;
  1044. flex-wrap: wrap;
  1045. height: 270rpx;
  1046. justify-content: space-between;
  1047. }
  1048. .category-item {
  1049. width: 164rpx;
  1050. height: 270rpx;
  1051. position: relative;
  1052. }
  1053. .item-name {
  1054. position: absolute;
  1055. left: 0;
  1056. right: 0;
  1057. top: 30rpx;
  1058. text-align: center;
  1059. font-size: 24rpx;
  1060. color: #fff;
  1061. margin: 0 0 12rpx 0;
  1062. }
  1063. .item-desc {
  1064. position: absolute;
  1065. left: 0;
  1066. right: 0;
  1067. top: 64rpx;
  1068. text-align: center;
  1069. font-size: 20rpx;
  1070. color: #fff;
  1071. }
  1072. .m-menu .item {
  1073. width: 245rpx;
  1074. height: 126rpx;
  1075. margin-top: 10rpx;
  1076. margin-bottom: 10rpx;
  1077. }
  1078. .hot-item {
  1079. /* padding: 0 20rpx; */
  1080. /* height: 148rpx; */
  1081. font-size: 0;
  1082. }
  1083. .hot-item image {
  1084. width: 690rpx;
  1085. height: 148rpx;
  1086. /* margin-bottom: 18rpx; */
  1087. }
  1088. .hot-item-nav{
  1089. border-radius: 32rpx; margin-bottom:18rpx
  1090. }
  1091. .m-menu image {
  1092. width: 168rpx;
  1093. height: 272rpx;
  1094. border-radius: 10rpx;
  1095. }
  1096. .m-menu text {
  1097. display: block;
  1098. font-size: 24rpx;
  1099. text-align: center;
  1100. margin: 0 auto;
  1101. line-height: 1;
  1102. color: #333;
  1103. }
  1104. .shoadow {
  1105. box-shadow: 1px 2px 2px 2px #f7f7f1;
  1106. }
  1107. .image-margin {
  1108. margin-bottom: 20rpx;
  1109. }
  1110. .a-section {
  1111. /* width: 750rpx; */
  1112. height: auto;
  1113. overflow: hidden;
  1114. /* margin-top: 20rpx; */
  1115. }
  1116. .a-section .h {
  1117. display: flex;
  1118. flex-flow: row nowrap;
  1119. align-items: center;
  1120. justify-content: center;
  1121. height: 92rpx;
  1122. padding:40rpx 0 20rpx;
  1123. }
  1124. .popular-title {
  1125. display: flex;
  1126. align-items: center;
  1127. justify-content: space-between;
  1128. height: 34rpx;
  1129. width: 100%;
  1130. }
  1131. .a-section .h .txt1 {
  1132. width: 4rpx;
  1133. height: 34rpx;
  1134. background: #09afff;
  1135. margin: 0 12rpx 0 0;
  1136. }
  1137. .devide-bar {
  1138. width: 4rpx;
  1139. height: 34rpx;
  1140. background: #09afff;
  1141. margin: 0 12rpx 0 0;
  1142. }
  1143. .title-text {
  1144. font-size: 33rpx;
  1145. font-weight: bold;
  1146. }
  1147. .title-left {
  1148. display: flex;
  1149. align-items: center;
  1150. height: 34rpx;
  1151. }
  1152. .title-right {
  1153. display: flex;
  1154. align-items: center;
  1155. height: 34rpx;
  1156. font-size: 24rpx;
  1157. }
  1158. .a-section .h .txt {
  1159. padding-right: 30rpx;
  1160. font-size: 33rpx;
  1161. font-weight: bold;
  1162. }
  1163. .a-brand .b {
  1164. width: 750rpx;
  1165. height: auto;
  1166. overflow: hidden;
  1167. position: relative;
  1168. }
  1169. .a-brand .wrap {
  1170. position: relative;
  1171. }
  1172. .a-brand .img {
  1173. position: absolute;
  1174. left: 0;
  1175. top: 0;
  1176. }
  1177. .a-brand .mt {
  1178. position: absolute;
  1179. z-index: 2;
  1180. padding: 27rpx 31rpx;
  1181. left: 0;
  1182. top: 0;
  1183. }
  1184. .a-brand .mt .brand {
  1185. display: block;
  1186. font-size: 33rpx;
  1187. height: 43rpx;
  1188. color: #fff;
  1189. }
  1190. .a-brand .mt .price,
  1191. .a-brand .mt .unit {
  1192. font-size: 25rpx;
  1193. color: #fff;
  1194. }
  1195. .a-brand .item-1 {
  1196. float: left;
  1197. width: 375rpx;
  1198. height: 252rpx;
  1199. overflow: hidden;
  1200. border-top: 1rpx solid #fff;
  1201. margin-left: 1rpx;
  1202. }
  1203. .a-brand .item-1:nth-child(2n + 1) {
  1204. margin-left: 0;
  1205. width: 374rpx;
  1206. }
  1207. .a-brand .item-1 .img {
  1208. width: 375rpx;
  1209. height: 253rpx;
  1210. }
  1211. .a-coupon {
  1212. width: 750rpx;
  1213. height: auto;
  1214. overflow: hidden;
  1215. }
  1216. .a-coupon .b .item {
  1217. position: relative;
  1218. height: 200rpx;
  1219. width: 700rpx;
  1220. background: linear-gradient(to right, #cfa568, #e3bf79);
  1221. margin-bottom: 10rpx;
  1222. margin-left: 30rpx;
  1223. margin-right: 30rpx;
  1224. padding-top: 30rpx;
  1225. }
  1226. .a-coupon .b .tag {
  1227. height: 32rpx;
  1228. background: #a48143;
  1229. padding-left: 16rpx;
  1230. padding-right: 16rpx;
  1231. position: absolute;
  1232. left: 20rpx;
  1233. color: #fff;
  1234. top: 20rpx;
  1235. font-size: 20rpx;
  1236. text-align: center;
  1237. line-height: 32rpx;
  1238. }
  1239. .a-coupon .b .content {
  1240. margin-top: 24rpx;
  1241. margin-left: 40rpx;
  1242. display: flex;
  1243. margin-right: 40rpx;
  1244. flex-direction: row;
  1245. }
  1246. .a-coupon .b .content .left {
  1247. flex: 1;
  1248. }
  1249. .a-coupon .b .discount {
  1250. font-size: 50rpx;
  1251. color: #b4282d;
  1252. }
  1253. .a-coupon .b .min {
  1254. color: #fff;
  1255. }
  1256. .a-coupon .b .content .right {
  1257. width: 400rpx;
  1258. }
  1259. .a-coupon .b .name {
  1260. font-size: 44rpx;
  1261. color: #fff;
  1262. margin-bottom: 14rpx;
  1263. }
  1264. .a-coupon .b .desc {
  1265. font-size: 24rpx;
  1266. color: #fff;
  1267. }
  1268. .a-coupon .b .time {
  1269. font-size: 24rpx;
  1270. color: #fff;
  1271. line-height: 30rpx;
  1272. }
  1273. .a-groupon {
  1274. width: 750rpx;
  1275. height: auto;
  1276. overflow: hidden;
  1277. }
  1278. .a-groupon .b .item {
  1279. border-top: 1px solid #d9d9d9;
  1280. margin: 0 20rpx;
  1281. height: 244rpx;
  1282. width: 710rpx;
  1283. }
  1284. .a-groupon .b .img {
  1285. margin-top: 12rpx;
  1286. margin-right: 12rpx;
  1287. float: left;
  1288. width: 220rpx;
  1289. height: 220rpx;
  1290. }
  1291. .a-groupon .b .right {
  1292. float: left;
  1293. height: 244rpx;
  1294. width: 476rpx;
  1295. display: flex;
  1296. flex-flow: row nowrap;
  1297. }
  1298. .a-groupon .b .text {
  1299. display: flex;
  1300. flex-wrap: nowrap;
  1301. flex-direction: column;
  1302. justify-content: center;
  1303. overflow: hidden;
  1304. height: 244rpx;
  1305. width: 476rpx;
  1306. }
  1307. .a-groupon .b .name {
  1308. float: left;
  1309. display: block;
  1310. color: #333;
  1311. line-height: 50rpx;
  1312. font-size: 30rpx;
  1313. }
  1314. .a-groupon .b .desc {
  1315. width: 476rpx;
  1316. display: block;
  1317. color: #999;
  1318. line-height: 50rpx;
  1319. font-size: 25rpx;
  1320. }
  1321. .a-groupon .b .price {
  1322. width: 476rpx;
  1323. display: flex;
  1324. color: #ab956d;
  1325. line-height: 50rpx;
  1326. font-size: 33rpx;
  1327. }
  1328. .a-groupon .b .counterPrice {
  1329. text-decoration: line-through;
  1330. font-size: 28rpx;
  1331. color: #999;
  1332. }
  1333. .a-groupon .b .retailPrice {
  1334. margin-left: 30rpx;
  1335. font-size: 28rpx;
  1336. color: #a98f76;
  1337. }
  1338. .a-new .b {
  1339. width: 750rpx;
  1340. height: auto;
  1341. overflow: hidden;
  1342. padding: 0 31rpx 45rpx 31rpx;
  1343. }
  1344. .a-new .b .item {
  1345. float: left;
  1346. width: 302rpx;
  1347. margin-top: 10rpx;
  1348. margin-left: 21rpx;
  1349. margin-right: 21rpx;
  1350. }
  1351. .a-new .b .item-b {
  1352. margin-left: 42rpx;
  1353. }
  1354. .a-new .b .img {
  1355. width: 298rpx;
  1356. height: 300rpx;
  1357. }
  1358. .a-new .b .name {
  1359. /*text-align: center;*/
  1360. display: block;
  1361. width: 302rpx;
  1362. height: 60rpx;
  1363. margin-bottom: 14rpx;
  1364. overflow: hidden;
  1365. font-size: 30rpx;
  1366. color: #333;
  1367. /*white-space: nowrap;*/
  1368. overflow: hidden;
  1369. text-overflow: ellipsis;
  1370. margin-top: 5rpx;
  1371. margin-left: 0rpx;
  1372. line-height: 1em;
  1373. /*行间距*/
  1374. }
  1375. .a-new .b .price {
  1376. display: block;
  1377. /*text-align: center;*/
  1378. line-height: 30rpx;
  1379. font-size: 30rpx;
  1380. color: darkred;
  1381. margin-left: 10rpx;
  1382. }
  1383. .a-new .b .brand {
  1384. font-size: 20rpx;
  1385. color: #a98f76;
  1386. display: block;
  1387. line-height: 30rpx;
  1388. margin-bottom: 5rpx;
  1389. margin-left: 12rpx;
  1390. }
  1391. .a-popular {
  1392. width: 690rpx;
  1393. height: auto;
  1394. overflow: hidden;
  1395. /* padding: 0 20rpx; */
  1396. margin: -18rpx 0 0;
  1397. }
  1398. .popular-item {
  1399. /* box-shadow: 0 0 10rpx 0 rgba(100, 100, 100, 0.2); */
  1400. border-radius: 20rpx;
  1401. margin: 0 0 20rpx 0;
  1402. min-height: 380rpx;
  1403. width: 690rpx;
  1404. background: #fff;
  1405. padding: 20rpx 20rpx 24rpx;
  1406. display: flex;
  1407. flex-direction: column;
  1408. }
  1409. .item-img-wrapper {
  1410. position: relative;
  1411. /* padding:20rpx;
  1412. background: #C4ECFF; */
  1413. border-radius: 20rpx;
  1414. font-size: 0;
  1415. }
  1416. .self-tag {
  1417. height: 28rpx;
  1418. background: #09afff;
  1419. color: #fff;
  1420. padding: 0 8rpx;
  1421. /* line-height: 28rpx; */
  1422. font-size: 20rpx;
  1423. margin: 0 12rpx 0 0;
  1424. border-radius: 4rpx;
  1425. }
  1426. .popular-item .product-item-name {
  1427. width: 380rpx;
  1428. overflow: hidden;
  1429. white-space: nowrap;
  1430. text-overflow: ellipsis;
  1431. font-size: 28rpx;
  1432. }
  1433. .popular-item .item-brief {
  1434. width: 400rpx;
  1435. overflow: hidden;
  1436. /* white-space: nowrap; */
  1437. text-overflow: ellipsis;
  1438. font-size: 20rpx;
  1439. display: -webkit-box;
  1440. color: #85868a;
  1441. -webkit-box-orient: vertical;
  1442. -webkit-line-clamp: 2;
  1443. margin-top: 5rpx;
  1444. /*超过两行省略号*/
  1445. }
  1446. .counter-price {
  1447. font-size: 20rpx;
  1448. text-decoration: line-through;
  1449. color: #2a2a2a;
  1450. line-height: 28rpx;
  1451. text-align: center;
  1452. }
  1453. .retail-price {
  1454. font-size: 32rpx;
  1455. font-weight: bold;
  1456. color: #dd483e;
  1457. text-align: center;
  1458. }
  1459. .retail-price .title {
  1460. font-size: 26rpx;
  1461. color: #dd483e;
  1462. line-height: 48rpx;
  1463. }
  1464. .retail-price .unit {
  1465. font-size: 21rpx;
  1466. font-weight: 400;
  1467. color: #dd483e;
  1468. }
  1469. .retail-price .price {
  1470. font-size: 32rpx;
  1471. font-weight: bold;
  1472. color: #dd483e;
  1473. margin-left: 10rpx;
  1474. }
  1475. /* 活动商品显示样式 */
  1476. .activity {
  1477. height: 75rpx;
  1478. background: linear-gradient(67deg, #4f43dd, #689cf2, #ba64e2);
  1479. border-radius: 10rpx;
  1480. display: flex;
  1481. justify-content: space-between;
  1482. flex-direction: row;
  1483. align-items: center;
  1484. }
  1485. .activity .clock {
  1486. width: 42rpx;
  1487. height: 42rpx;
  1488. margin-right: 10rpx;
  1489. }
  1490. .activity .time {
  1491. font-size: 20rpx;
  1492. font-weight: 400;
  1493. color: #f4f4f4;
  1494. line-height: 30rpx;
  1495. }
  1496. .activity .arrow {
  1497. width: 10rpx;
  1498. height: 16rpx;
  1499. margin-left: 10rpx;
  1500. margin-right: 10rpx;
  1501. }
  1502. .activity .limit {
  1503. width: 131rpx;
  1504. height: 32rpx;
  1505. background-image: url('https://7a68-zhaijieshi-3guecm78383ca692-1307626841.tcb.qcloud.la/activity/activity2.png');
  1506. background-size: 100% 100%;
  1507. color: #fff;
  1508. font-size: 23rpx;
  1509. text-align: center;
  1510. margin-left: 20rpx;
  1511. }
  1512. .a-popular .b .img {
  1513. width: 650rpx;
  1514. height: 400rpx;
  1515. border-radius: 20rpx;
  1516. }
  1517. .item-tag {
  1518. position: absolute;
  1519. left: 0;
  1520. top: 20rpx;
  1521. height: 32rpx;
  1522. width: 116rpx;
  1523. text-align: center;
  1524. color: #fff;
  1525. font-size: 22rpx;
  1526. background: #09afff;
  1527. border-radius: 0 32rpx 32rpx 0;
  1528. }
  1529. .item-main {
  1530. /* display: flex;
  1531. align-items: center;
  1532. justify-content: space-between;
  1533. height: 100rpx;
  1534. width: 690rpx;
  1535. margin: 20rpx 0 0;
  1536. background: url('https://mall.zhaijieshi.cc/file/wx-dy/price-bj.png') no-repeat center;
  1537. background-size: 100%;
  1538. padding: 0 42rpx 0 48rpx; */
  1539. display: flex;
  1540. /* align-items: center; */
  1541. justify-content: space-between;
  1542. height: 68rpx;
  1543. margin: 20rpx 0 10rpx;
  1544. padding-left:20rpx;
  1545. }
  1546. .item-sub {
  1547. display: flex;
  1548. align-items: center;
  1549. justify-content: space-between;
  1550. /* height: 20rpx; */
  1551. }
  1552. .item-left {
  1553. display: flex;
  1554. /* align-items: center; */
  1555. flex-direction: column;
  1556. }
  1557. .a-popular .b .right {
  1558. float: left;
  1559. height: 264rpx;
  1560. width: 456rpx;
  1561. display: flex;
  1562. flex-flow: row nowrap;
  1563. }
  1564. .a-popular .b .text {
  1565. display: flex;
  1566. flex-wrap: nowrap;
  1567. flex-direction: column;
  1568. justify-content: center;
  1569. overflow: hidden;
  1570. height: 264rpx;
  1571. width: 456rpx;
  1572. }
  1573. .a-popular .b .name {
  1574. width: 456rpx;
  1575. display: block;
  1576. color: #333;
  1577. line-height: 40rpx;
  1578. font-size: 30rpx;
  1579. }
  1580. .a-popular .b .desc {
  1581. width: 456rpx;
  1582. display: block;
  1583. color: #a98f76;
  1584. line-height: 50rpx;
  1585. font-size: 25rpx;
  1586. }
  1587. /*
  1588. .a-popular .b .price {
  1589. width: 456rpx;
  1590. display: block;
  1591. color: darkred;
  1592. line-height: 50rpx;
  1593. font-size: 33rpx;
  1594. } */
  1595. .a-popular .b .brand {
  1596. font-size: 20rpx;
  1597. color: #a98f76;
  1598. display: block;
  1599. line-height: 30rpx;
  1600. padding: 2rpx;
  1601. }
  1602. .a-topic .b {
  1603. /*height: 533rpx;*/
  1604. height: auto;
  1605. width: 750rpx;
  1606. padding: 0 0 48rpx 0;
  1607. }
  1608. .good-nva {
  1609. border: 1px #eee solid;
  1610. }
  1611. /*
  1612. .a-topic .b .list {
  1613. height: auto;
  1614. width: 750rpx;
  1615. white-space: nowrap;
  1616. }
  1617. .a-topic .b .item {
  1618. display: block;
  1619. height: 533rpx;
  1620. width: 680.5rpx;
  1621. margin-left: 30rpx;
  1622. overflow: hidden;
  1623. }
  1624. .a-topic .b .t {
  1625. height: 100rpx;
  1626. background: #fff;
  1627. display: flex;
  1628. align-items: center;
  1629. justify-content: center;
  1630. }
  1631. .a-topic .b .item:last-child {
  1632. margin-right: 30rpx;
  1633. }
  1634. .a-topic .b .img {
  1635. height: 387.5rpx;
  1636. width: 680.5rpx;
  1637. margin-bottom: 30rpx;
  1638. }
  1639. .a-topic .b .np {
  1640. height: 35rpx;
  1641. margin-bottom: 13.5rpx;
  1642. color: #333;
  1643. font-size: 30rpx;
  1644. }
  1645. .a-topic .b .np .price {
  1646. margin-left: 20.8rpx;
  1647. color: #ab956d;
  1648. }
  1649. .a-topic .b .np .discount {
  1650. width: 476rpx;
  1651. display: block;
  1652. color: #999;
  1653. line-height: 50rpx;
  1654. font-size: 25rpx;
  1655. }
  1656. .a-topic .b .desc {
  1657. display: block;
  1658. height: 30rpx;
  1659. color: #999;
  1660. font-size: 24rpx;
  1661. white-space: nowrap;
  1662. overflow: hidden;
  1663. text-overflow: ellipsis;
  1664. } */
  1665. .good-grid {
  1666. width: 750rpx;
  1667. height: auto;
  1668. overflow: hidden;
  1669. }
  1670. .good-grid .h {
  1671. display: flex;
  1672. flex-flow: row nowrap;
  1673. align-items: center;
  1674. justify-content: center;
  1675. height: 130rpx;
  1676. font-size: 33rpx;
  1677. color: #333;
  1678. }
  1679. .good-grid .b {
  1680. width: 750rpx;
  1681. padding: 0 6.25rpx;
  1682. height: auto;
  1683. overflow: hidden;
  1684. }
  1685. .good-grid .b .item {
  1686. float: left;
  1687. background: #fff;
  1688. width: 365rpx;
  1689. margin-bottom: 6.25rpx;
  1690. height: 452rpx;
  1691. overflow: hidden;
  1692. text-align: center;
  1693. }
  1694. .good-grid .b .item .a {
  1695. height: 452rpx;
  1696. width: 100%;
  1697. }
  1698. .good-grid .b .item-b {
  1699. margin-left: 6.25rpx;
  1700. }
  1701. .good-grid .item .img {
  1702. margin-top: 20rpx;
  1703. width: 302rpx;
  1704. height: 302rpx;
  1705. }
  1706. .good-grid .item .name {
  1707. display: block;
  1708. width: 365.625rpx;
  1709. padding: 0 20rpx;
  1710. overflow: hidden;
  1711. height: 35rpx;
  1712. margin: 11.5rpx 0 22rpx 0;
  1713. text-align: center;
  1714. font-size: 30rpx;
  1715. color: #333;
  1716. }
  1717. .good-grid .item .price {
  1718. display: block;
  1719. width: 365.625rpx;
  1720. height: 30rpx;
  1721. text-align: center;
  1722. font-size: 30rpx;
  1723. color: #a98f76;
  1724. }
  1725. .good-grid .t {
  1726. height: 100rpx;
  1727. background: #fff;
  1728. display: flex;
  1729. align-items: center;
  1730. justify-content: center;
  1731. }
  1732. .address {
  1733. padding: 0 34rpx 0 20rpx;
  1734. height: 66rpx;
  1735. display: flex;
  1736. align-items: center;
  1737. background: #fff;
  1738. border-radius: 66rpx;
  1739. justify-content: space-between;
  1740. margin:0 0 20rpx 0;
  1741. }
  1742. .address .name {
  1743. display: flex;
  1744. align-items: center;
  1745. /* height: 40rpx; */
  1746. width: 470rpx;
  1747. overflow: hidden;
  1748. float: left;
  1749. }
  1750. .address .shar {
  1751. background: #fff;
  1752. }
  1753. .address button::after {
  1754. border: none;
  1755. }
  1756. .address .shar image {
  1757. float: right;
  1758. width: 40rpx;
  1759. height: 40rpx;
  1760. margin-top: 6rpx;
  1761. /* border:1px solid red; */
  1762. }
  1763. .address .name .address-name {
  1764. height: 68rpx;
  1765. line-height: 70rpx;
  1766. text-overflow: ellipsis;
  1767. /* word-wrap: break-word; */
  1768. margin: 0 8rpx 0 12rpx;
  1769. white-space: nowrap;
  1770. overflow: hidden;
  1771. max-width: 216rpx;
  1772. font-size: 22rpx;
  1773. }
  1774. .address .warning {
  1775. font-size: 24rpx;
  1776. color: red;
  1777. margin-left: 40rpx;
  1778. line-height: 32rpx;
  1779. }
  1780. .search {
  1781. height: 68rpx;
  1782. width: 100%;
  1783. padding: 0 50rpx;
  1784. display: flex;
  1785. align-items: center;
  1786. margin: 0 0 20rpx 0;
  1787. }
  1788. .search .van-icon-search {
  1789. line-height: 59rpx;
  1790. color: #ffffff;
  1791. }
  1792. .search .input {
  1793. width: 648rpx;
  1794. height: 68rpx;
  1795. background: #fff;
  1796. border-radius: 68rpx;
  1797. /* border:1rpx solid gray; */
  1798. display: flex;
  1799. align-items: center;
  1800. justify-content: center;
  1801. }
  1802. .search .txt {
  1803. height: 42rpx;
  1804. line-height: 42rpx;
  1805. /* color: #ffffff; */
  1806. color: gray;
  1807. padding-left: 10rpx;
  1808. font-size: 30rpx;
  1809. }
  1810. .no-login {
  1811. width: 100%;
  1812. height: auto;
  1813. margin: 0 auto;
  1814. background-color: #fff;
  1815. }
  1816. .no-login .c {
  1817. width: 100%;
  1818. height: auto;
  1819. margin-top: 400rpx;
  1820. }
  1821. .no-login .c text {
  1822. margin: 0 auto;
  1823. display: block;
  1824. width: 258rpx;
  1825. height: 59rpx;
  1826. line-height: 29rpx;
  1827. text-align: center;
  1828. font-size: 35rpx;
  1829. }
  1830. .no-login button {
  1831. width: 90%;
  1832. margin: 0 auto;
  1833. color: #fff;
  1834. font-size: 30rpx;
  1835. height: 96rpx;
  1836. line-height: 96rpx;
  1837. right: 0;
  1838. display: flex;
  1839. justify-content: center;
  1840. align-items: center;
  1841. position: flex;
  1842. bottom: 0;
  1843. left: 0;
  1844. border-radius: 0;
  1845. padding: 0;
  1846. margin-left: 5%;
  1847. text-align: center;
  1848. border-radius: 6rpx;
  1849. letter-spacing: 3rpx;
  1850. background-color: #242a48;
  1851. /*background-image: linear-gradient(to right, #9a9ba1 0%, #9a9ba1 100%);*/
  1852. }
  1853. .wechat {
  1854. width: 80rpx;
  1855. height: 80rpx;
  1856. margin-right: 15rpx;
  1857. }
  1858. /* 关于鲸致 */
  1859. .about-jz {
  1860. padding: 10rpx 0rpx 0;
  1861. }
  1862. .jzhz-img {
  1863. width: 710rpx;
  1864. }
  1865. .service-tel {
  1866. font-size: 20rpx;
  1867. text-align: center;
  1868. display: flex;
  1869. align-items: center;
  1870. justify-content: center;
  1871. }
  1872. .partner-title {
  1873. font-size: 30rpx;
  1874. margin: 40rpx 0 24rpx;
  1875. text-align: center;
  1876. font-weight: bold;
  1877. }
  1878. .jz-feature {
  1879. margin: 40rpx 0 0;
  1880. height: 60rpx;
  1881. display: flex;
  1882. align-items: center;
  1883. justify-content: space-between;
  1884. }
  1885. .devide-line {
  1886. height: 50rpx;
  1887. width: 2rpx;
  1888. background: #85868a;
  1889. }
  1890. .feature-item {
  1891. display: flex;
  1892. flex-direction: column;
  1893. justify-content: space-between;
  1894. font-size: 20rpx;
  1895. align-items: center;
  1896. height: 50rpx;
  1897. }
  1898. .jz-logo-wrapper {
  1899. text-align: center;
  1900. margin: 20rpx 0 10rpx;
  1901. height: 30rpx;
  1902. }
  1903. .jz-logo {
  1904. width: 152rpx;
  1905. height: 30rpx;
  1906. }
  1907. .jz-company {
  1908. color: #a4a4a4;
  1909. font-size: 20rpx;
  1910. margin: 24rpx 0 0;
  1911. text-align: center;
  1912. }
  1913. .member-price {
  1914. height: 34rpx;
  1915. display: flex;
  1916. align-items: center;
  1917. justify-content: flex-end;
  1918. }
  1919. .memberPrice {
  1920. font-size: 26rpx;
  1921. color: #dd483e;
  1922. margin: 0 0 0 30rpx;
  1923. }
  1924. .member-price-tag {
  1925. width: 120rpx;
  1926. height: 32rpx;
  1927. line-height: 32rpx;
  1928. background: url('https://mall.zhaijieshi.cc/file/jzmall/weixin/member/member-price-bg.png') no-repeat center center;
  1929. background-size: 100% 100%;
  1930. color: #5e3a11;
  1931. font-size: 22rpx;
  1932. padding: 0 8rpx 0 0;
  1933. text-align: right;
  1934. }
  1935. /* 新客角标 */
  1936. .isNew {
  1937. position: absolute;
  1938. width: 80rpx;
  1939. height: 120rpx;
  1940. right: 30rpx;
  1941. }
  1942. .phone-btn {
  1943. position: fixed;
  1944. z-index: 999;
  1945. right: 20rpx;
  1946. top: 500rpx;
  1947. font-size: 60rpx;
  1948. animation-iteration-count: infinite;
  1949. width: 100rpx;
  1950. height: 100rpx;
  1951. border-radius: 100rpx;
  1952. background: rgba(255, 255, 255, 0.8);
  1953. display: flex;
  1954. align-items: center;
  1955. justify-content: center;
  1956. color: #09afff;
  1957. }
  1958. .phone-wrapper {
  1959. display: flex;
  1960. align-items: center;
  1961. }
  1962. .right-icon {
  1963. color: #09afff;
  1964. font-size: 30rpx;
  1965. margin-left: 6rpx;
  1966. }
  1967. .shop-name {
  1968. font-size: 24rpx;
  1969. border: 2rpx solid #09afff;
  1970. line-height: 30rpx;
  1971. padding: 0 8rpx;
  1972. border-radius: 8rpx;
  1973. margin: 0 8rpx 0 0;
  1974. word-break: keep-all;
  1975. max-width: 240rpx;
  1976. overflow: hidden;
  1977. text-overflow: ellipsis;
  1978. }
  1979. .new-top {
  1980. /* padding: 20rpx 30rpx 0;
  1981. background: linear-gradient(180deg, #09afff 10%, #f8f8f8 90%);
  1982. margin-bottom: 20rpx; */
  1983. }
  1984. .banner {
  1985. width: 690rpx;
  1986. height: 462rpx;
  1987. z-index: 20;
  1988. }
  1989. .banner image {
  1990. width: 690rpx;
  1991. height: 462rpx;
  1992. }
  1993. .address-city {
  1994. font-size: 30rpx;
  1995. margin-left: 8rpx;
  1996. white-space: nowrap;
  1997. }
  1998. .service-adv {
  1999. width: 690rpx;
  2000. height: 46rpx;
  2001. background: #def6ff;
  2002. border-radius: 10rpx;
  2003. margin: 0 30rpx 20rpx;
  2004. display: flex;
  2005. align-items: center;
  2006. justify-content: space-between;
  2007. padding: 0 30rpx;
  2008. }
  2009. .adv-item {
  2010. height: 46rpx;
  2011. display: flex;
  2012. align-items: center;
  2013. }
  2014. .adv-item image {
  2015. width: 20rpx;
  2016. height: 24rpx;
  2017. margin-right: 6rpx;
  2018. }
  2019. .adv-item view {
  2020. color: #00c0ff;
  2021. font-size: 20rpx;
  2022. }
  2023. .new-hot-good {
  2024. height: 200rpx;
  2025. width: 690rpx;
  2026. margin: 0 30rpx;
  2027. display: flex;
  2028. align-items: center;
  2029. justify-content: space-between;
  2030. }
  2031. .new-hot-good image {
  2032. width: 334rpx;
  2033. height: 200rpx;
  2034. }
  2035. .jz-hot {
  2036. height: 30rpx;
  2037. margin: 30rpx 30rpx 20rpx 30rpx;
  2038. display: flex;
  2039. align-items: center;
  2040. }
  2041. .jz-hot view {
  2042. font-size: 30rpx;
  2043. /* font-weight: bold; */
  2044. }
  2045. .jz-hot image {
  2046. width: 26rpx;
  2047. height: 26rpx;
  2048. margin-left: 10rpx;
  2049. }
  2050. .new-real-price {
  2051. color: #ff483c;
  2052. font-size: 42rpx;
  2053. }
  2054. .new-retail-price {
  2055. text-decoration: line-through;
  2056. color: #666666;
  2057. font-size: 28rpx;
  2058. margin-left: 28rpx;
  2059. padding-bottom: 6rpx;
  2060. }
  2061. .new-item-right {
  2062. width: 162rpx;
  2063. height: 50rpx;
  2064. line-height: 50rpx;
  2065. background: #00c0ff;
  2066. border-radius: 50rpx;
  2067. font-size: 24rpx;
  2068. text-align: center;
  2069. color: #fff;
  2070. }
  2071. .new-item-left {
  2072. display: flex;
  2073. align-items: flex-end;
  2074. }
  2075. .new-jz {
  2076. width: 750rpx;
  2077. padding: 0 30rpx 44rpx;
  2078. background: #fff;
  2079. }
  2080. .jz-super {
  2081. height: 166rpx;
  2082. display: flex;
  2083. align-items: center;
  2084. justify-content: space-between;
  2085. border-bottom: 2rpx solid #f4f4f4;
  2086. }
  2087. .super-item {
  2088. display: flex;
  2089. align-items: center;
  2090. flex: 1;
  2091. flex-direction: column;
  2092. }
  2093. .super-item image {
  2094. width: 56rpx;
  2095. height: 56rpx;
  2096. margin-bottom: 20rpx;
  2097. }
  2098. .super-item view {
  2099. color: #00c0ff;
  2100. font-size: 20rpx;
  2101. height: 20rpx;
  2102. line-height: 20rpx;
  2103. }
  2104. .jz-service {
  2105. height: 92rpx;
  2106. display: flex;
  2107. align-items: center;
  2108. justify-content: space-between;
  2109. padding: 0 44rpx;
  2110. }
  2111. .service-item {
  2112. display: flex;
  2113. align-items: center;
  2114. }
  2115. .service-item image {
  2116. width: 28rpx;
  2117. height: 28rpx;
  2118. margin-right: 8rpx;
  2119. }
  2120. .service-item view {
  2121. color: #00c0ff;
  2122. font-size: 24rpx;
  2123. /* font-weight: bold; */
  2124. }
  2125. .img-slogan {
  2126. width: 446rpx;
  2127. height: 60rpx;
  2128. margin: 0 122rpx;
  2129. }
  2130. .company-kf {
  2131. color: #00c0ff;
  2132. text-align: center;
  2133. font-size: 20rpx;
  2134. margin: 28rpx 0 12rpx 0;
  2135. height: 20rpx;
  2136. line-height: 20rpx;
  2137. }
  2138. .service-tel {
  2139. color: #00c0ff;
  2140. text-align: center;
  2141. font-size: 20rpx;
  2142. font-weight: bold;
  2143. width: 230rpx;
  2144. margin: 0 230rpx;
  2145. }
  2146. .new-category {
  2147. width: 690rpx;
  2148. height: 140rpx;
  2149. margin: 0 30rpx 30rpx;
  2150. display: flex;
  2151. align-items: center;
  2152. justify-content: space-between;
  2153. background: #ffffff;
  2154. border-radius: 20rpx;
  2155. /* padding:0 24rpx; */
  2156. }
  2157. .cat-item {
  2158. display: flex;
  2159. flex-direction: column;
  2160. flex: 1;
  2161. align-items: center;
  2162. }
  2163. .cat-item image {
  2164. height: 62rpx;
  2165. width: 70rpx;
  2166. margin-bottom: 14rpx;
  2167. }
  2168. .cat-item view {
  2169. color: #161616;
  2170. font-size: 26rpx;
  2171. height: 26rpx;
  2172. line-height: 26rpx;
  2173. }
  2174. .cat-item .ndbb-wrapper {
  2175. height: 62rpx;
  2176. width: 70rpx;
  2177. position: relative;
  2178. margin-top: 10rpx;
  2179. margin-bottom: 14rpx;
  2180. }
  2181. .cat-item .ndbb {
  2182. position: absolute;
  2183. background: url('https://mall.zhaijieshi.cc/file/wx-dy/icon-ndbb.png') no-repeat center;
  2184. background-size: 68rpx 24rpx;
  2185. top: -12rpx;
  2186. left: 48rpx;
  2187. width: 70rpx;
  2188. height: 24rpx;
  2189. }
  2190. .jz-video {
  2191. width: 690rpx;
  2192. height: 380rpx;
  2193. border-radius: 12rpx;
  2194. margin: 20rpx 0;
  2195. }
  2196. .jz-about {
  2197. width: 690rpx;
  2198. height: 180rpx;
  2199. background: #FFFFFF;
  2200. border-radius: 15rpx;
  2201. padding: 0 8rpx;
  2202. display: flex;
  2203. align-items: center;
  2204. justify-content: space-between;
  2205. }
  2206. .about-item {
  2207. display: flex;
  2208. flex-direction: column;
  2209. align-items: center;
  2210. flex: 1;
  2211. }
  2212. .about-item image {
  2213. width: 72rpx;
  2214. height: 72rpx;
  2215. margin-bottom: 20rpx;
  2216. }
  2217. .about-item .middle-text {
  2218. height: 24rpx;
  2219. font-size: 24rpx;
  2220. color: #000000;
  2221. line-height: 24rpx;
  2222. margin-bottom: 10rpx;
  2223. }
  2224. .about-item .small-text {
  2225. font-size: 16rpx;
  2226. color: #999999;
  2227. line-height: 16rpx;
  2228. height: 16rpx;
  2229. }
  2230. .category-navi {
  2231. border-radius: 32rpx;
  2232. }
  2233. </style>