index.html 15 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248
  1. <!DOCTYPE html>
  2. <html lang="en">
  3. <head>
  4. <meta charset="UTF-8">
  5. <title>card 商城</title>
  6. <link rel="stylesheet" href="/api/static/css/index.css">
  7. <link rel="stylesheet" href="/api/static/css/carousel.css">
  8. <link rel="stylesheet" href="/api/static/css/home.css">
  9. <script src="/api/static/js/handler.js"></script>
  10. <meta name="description"
  11. content="海外数字商城,为全球用户提供谷歌、苹果、脸书等购买服务,还有苹果、谷歌、steam礼品卡等购买渠道。在这里您还能进行steam代充、steam海外代充、steam钱包代充等,7*24小时为您提供满意的交易。">
  12. </head>
  13. <body>
  14. <div class="nav-top"></div>
  15. {{template "NavigationBar.tmpl" .}}
  16. <div class="home">
  17. <div class="home-suspension">
  18. <div class="right-handler">
  19. <div class="handler-customerService"></div>
  20. <div class="handler-collection handler-item-top">
  21. <div class="handler-item handler-item-top">
  22. <ToolTip class="handler-tooltip"/>
  23. <div class="handler-item-content">
  24. <div class="item-icon">
  25. <svg width="26" height="24" fill="none" xmlns="http://www.w3.org/2000/svg">
  26. <g fill="currentClor">
  27. <path fill="currentColor"
  28. d="M6.2 23.85c-.394 0-.787-.113-1.069-.338-.562-.393-.843-1.125-.73-1.8l1.068-6.243c0-.056 0-.113-.056-.169L.856 10.856a1.855 1.855 0 0 1-.45-1.912c.225-.675.788-1.182 1.52-1.238l6.243-.9a.121.121 0 0 0 .112-.112l.62-1.181c.224-.394.73-.563 1.124-.394.394.225.563.731.394 1.125L9.8 7.425c-.281.563-.787.9-1.406 1.013l-6.244.956a.121.121 0 0 0-.112.112c0 .056 0 .113.056.169l4.556 4.444c.45.45.619 1.012.506 1.631l-1.125 6.244c0 .056 0 .112.057.169.056.056.112.056.168 0l5.625-2.982a1.908 1.908 0 0 1 1.744 0l5.625 2.982c.056.056.113.056.169 0 .056-.057.056-.113.056-.17l-1.069-6.243a1.753 1.753 0 0 1 .563-1.631l1.237-1.238a.816.816 0 0 1 1.182 0 .816.816 0 0 1 0 1.181L20.15 15.3c-.056.056-.056.112-.056.169l1.069 6.243c.112.675-.17 1.407-.732 1.8-.562.394-1.35.45-1.968.17l-5.625-2.926h-.17l-5.624 2.982a3.83 3.83 0 0 1-.844.112Z"
  29. class="collect_svg__collect1"></path>
  30. <path fill="currentColor"
  31. d="M22.625 12.544a.904.904 0 0 1-.618-.282.816.816 0 0 1 0-1.18l1.462-1.407s.056-.056.056-.169c0-.056-.056-.112-.225-.168l-6.3-.9c-.562-.057-1.068-.45-1.35-1.013l-2.756-5.681c-.056-.113-.225-.113-.281 0l-1.069 2.194c-.225.393-.731.562-1.125.393-.394-.225-.562-.731-.394-1.125l1.07-2.193A1.898 1.898 0 0 1 12.781 0c.73 0 1.35.394 1.687 1.012l2.813 5.682c0 .056.056.056.056.112l6.244.9c.73.113 1.35.619 1.575 1.294.225.675.056 1.406-.45 1.856l-1.463 1.406a.903.903 0 0 1-.619.282Z"
  32. class="collect_svg__collect2"></path>
  33. </g>
  34. </svg>
  35. </div>
  36. <span>收藏网址</span>
  37. </div>
  38. </div>
  39. </div>
  40. <div class="handler-phone-version">
  41. <div class="handler-item">
  42. <ToolTip class="handler-tooltip" :index="1"/>
  43. <div class="handler-item-content">
  44. <div class="item-icon">
  45. <svg width="20" height="23" fill="none" xmlns="http://www.w3.org/2000/svg">
  46. <path
  47. d="M3.143 0h13.714A3.153 3.153 0 0 1 20 3.163v16.674A3.153 3.153 0 0 1 16.857 23H3.143A3.153 3.153 0 0 1 0 19.837V3.163A3.153 3.153 0 0 1 3.143 0Zm0 1.725a1.42 1.42 0 0 0-1.01.421 1.438 1.438 0 0 0-.419 1.017v16.674a1.445 1.445 0 0 0 .419 1.017 1.43 1.43 0 0 0 1.01.421h13.714a1.422 1.422 0 0 0 1.32-.887c.072-.175.109-.362.109-.55V3.162a1.445 1.445 0 0 0-.419-1.017 1.428 1.428 0 0 0-1.01-.421H3.143ZM7.714 18.4a.855.855 0 0 1-.606-.253.865.865 0 0 1 0-1.22.855.855 0 0 1 .606-.252h4.572c.227 0 .445.09.606.253a.865.865 0 0 1-.606 1.472H7.714Z"
  48. fill="currentColor"></path>
  49. </svg>
  50. </div>
  51. <span>手机版</span>
  52. </div>
  53. </div>
  54. </div>
  55. <div class="handler-order-select ">
  56. <div class="handler-item">
  57. <ToolTip class="handler-tooltip" :index="2"></ToolTip>
  58. <div class="handler-item-content">
  59. <div class="item-icon">
  60. <svg width="24" height="23" fill="none" xmlns="http://www.w3.org/2000/svg">
  61. <g clip-path="url(#queryicon_svg__a)" fill="currentColor">
  62. <path
  63. d="M15.82 8.31H7.199c-.527 0-.958.413-.958.918 0 .505.43.918.958.918h8.623c.527 0 .958-.413.958-.918 0-.505-.431-.919-.958-.919Zm0 3.672H7.199c-.527 0-.958.413-.958.918 0 .505.43.918.958.918h8.623c.527 0 .958-.413.958-.918 0-.505-.431-.918-.958-.918Zm-2.874 3.673H7.198c-.527 0-.958.413-.958.918 0 .505.43.918.958.918h5.748c.527 0 .958-.413.958-.918 0-.505-.43-.918-.958-.918Z"></path>
  64. <path
  65. d="M19.21 1.882h-1.162C17.653.815 16.587.046 15.34.046H8.634c-1.257 0-2.31.769-2.706 1.836h-1.09c-1.317 0-2.395 1.033-2.395 2.296v16.527C2.443 21.967 3.52 23 4.838 23H19.21c1.33 0 2.396-1.033 2.396-2.295V4.178c0-1.274-1.078-2.296-2.396-2.296Zm-10.576-.23h6.707c.659 0 1.198.517 1.198 1.148 0 .632-.54 1.148-1.198 1.148H8.634c-.658 0-1.197-.516-1.197-1.148 0-.63.539-1.147 1.197-1.147Zm11.054 19.053a.47.47 0 0 1-.479.459H4.84a.47.47 0 0 1-.48-.46V4.179a.47.47 0 0 1 .48-.46h1.089c.395 1.068 1.461 1.837 2.706 1.837h6.707c1.246 0 2.312-.77 2.707-1.836h1.161a.47.47 0 0 1 .48.459v16.527Z"></path>
  66. </g>
  67. <defs>
  68. <clipPath id="queryicon_svg__a">
  69. <path fill="#fff" d="M0 0h24v23H0z"></path>
  70. </clipPath>
  71. </defs>
  72. </svg>
  73. </div>
  74. <span>快捷查单</span>
  75. </div>
  76. </div>
  77. </div>
  78. <div class="handler-app-ios-download ">
  79. <div class="handler-item">
  80. <ToolTip class="handler-tooltip" :index="3"></ToolTip>
  81. <div class="handler-item-content">
  82. <div class="item-icon">
  83. <svg xmlns="http://www.w3.org/2000/svg" fill="none" width="26" height="26">
  84. <defs>
  85. <clipPath id="ios-icon_svg__a">
  86. <rect width="26" height="26" rx="0"></rect>
  87. </clipPath>
  88. </defs>
  89. <g clip-path="url(#ios-icon_svg__a)">
  90. <path
  91. d="M20.096 13.815c-.032-3.293 2.686-4.872 2.807-4.95-1.528-2.236-3.907-2.541-4.754-2.577-2.025-.205-3.95 1.192-4.978 1.192-1.025 0-2.61-1.162-4.29-1.131-2.207.032-4.242 1.283-5.378 3.26-2.293 3.978-.588 9.872 1.647 13.1 1.092 1.579 2.395 3.353 4.104 3.29 1.646-.066 2.27-1.066 4.26-1.066 1.99 0 2.55 1.065 4.292 1.033 1.771-.034 2.894-1.61 3.979-3.194 1.253-1.832 1.77-3.607 1.8-3.698-.039-.018-3.455-1.326-3.489-5.26Zm-3.273-9.663C17.73 3.05 18.343 1.523 18.176 0c-1.308.054-2.892.871-3.83 1.969-.841.974-1.578 2.529-1.38 4.022 1.46.114 2.948-.741 3.857-1.84Z"
  92. fill="currentColor"></path>
  93. </g>
  94. </svg>
  95. </div>
  96. <span>IOS下载</span>
  97. </div>
  98. </div>
  99. </div>
  100. <div class="handler-app-android-download handler-item-bottom">
  101. <div class="handler-item">
  102. <ToolTip class="handler-tooltip" :index="4"></ToolTip>
  103. <div class="handler-item-content">
  104. <div class="item-icon">
  105. <svg xmlns="http://www.w3.org/2000/svg" fill="none" width="26" height="26">
  106. <defs>
  107. <clipPath id="android-icon_svg__a">
  108. <rect width="26" height="26" rx="0"></rect>
  109. </clipPath>
  110. </defs>
  111. <g clip-path="url(#android-icon_svg__a)">
  112. <path
  113. d="M23.131 8.131c-.919 0-1.68.728-1.68 1.612v6.267c0 .884.735 1.612 1.68 1.612.919 0 1.68-.728 1.68-1.613V9.743a1.674 1.674 0 0 0-1.68-1.611Zm-20.27 0c-.918 0-1.68.728-1.68 1.611v6.268c0 .884.735 1.612 1.68 1.612.946 0 1.681-.728 1.681-1.613V9.743c0-.884-.735-1.611-1.68-1.611Zm2.705.052V19.65c0 .675.578 1.247 1.313 1.247h1.497v3.484c0 .885.734 1.613 1.68 1.613.919 0 1.68-.728 1.68-1.613v-3.484h2.626v3.484c0 .885.735 1.613 1.68 1.613.918 0 1.68-.728 1.68-1.613v-3.484h1.497c.735 0 1.313-.546 1.313-1.247V8.182H5.566v.001ZM16.54 2.254 17.933.382c.052-.13.052-.286-.08-.338-.105-.078-.262-.026-.34.078l-1.419 1.95a9.22 9.22 0 0 0-3.098-.546c-1.103 0-2.152.182-3.098.546L8.481.122c-.08-.13-.237-.156-.342-.078a.245.245 0 0 0-.053.338l1.392 1.873c-2.179.962-3.728 2.782-3.912 4.914h14.94c-.236-2.133-1.76-3.952-3.965-4.915ZM9.846 5.22c-.473 0-.814-.338-.814-.78 0-.443.367-.78.814-.78.473 0 .813.337.813.78 0 .442-.367.78-.813.78Zm6.406 0c-.473 0-.814-.338-.814-.78 0-.443.368-.78.814-.78.473 0 .814.337.814.78 0 .442-.367.78-.814.78Z"
  114. fill="currentColor"></path>
  115. </g>
  116. </svg>
  117. </div>
  118. <span>安卓下载</span>
  119. </div>
  120. </div>
  121. </div>
  122. <div class="handler-to-top handler-item-bottom" onclick="ToTop()">
  123. <div class="handler-item handler-item-bottom">
  124. <div class="item-icon-top">
  125. <div class="item-icon">
  126. <svg data-v-5620823b="" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1024 1024">
  127. <path fill="currentColor"
  128. d="M160 832h704a32 32 0 1 1 0 64H160a32 32 0 1 1 0-64m384-253.696 236.288-236.352 45.248 45.248L508.8 704 192 387.2l45.248-45.248L480 584.704V128h64z"></path>
  129. </svg>
  130. </div>
  131. </div>
  132. </div>
  133. </div>
  134. </div>
  135. </div>
  136. <!-- todo body-->
  137. <div class="carousel">
  138. <div class="content">
  139. <ul id="item">
  140. {{range $carousel := .carousels }}
  141. <li class="item">
  142. <a href="detail?skuId={{$carousel.toId}}">
  143. <img src="{{$carousel.imageUrl}}">
  144. </a>
  145. </li>
  146. {{end}}
  147. </ul>
  148. <div id="btn-left"><</div>
  149. <div id="btn-right">></div>
  150. <ul id="circle">
  151. {{range $carousel := .carousels }}
  152. <li class="circle"></li>
  153. {{end}}
  154. </ul>
  155. </div>
  156. </div>
  157. <div class="gift-pack">
  158. <h2 class="gift-pack-title">特惠礼包</h2>
  159. <div class="gift-pack-content">
  160. {{range $package := .packageList}}
  161. <div class="content-item"
  162. onclick="JumpRouter('/detail/'+{{$package.shopAdviceCarousel.toId}},{{$package.shopAdviceCarousel.toType}})">
  163. <div class="content-item-img">
  164. <img src="{{$package.shopAdviceCarousel.imageUrl}}"/>
  165. </div>
  166. <div class="content-item-title">{{ $package.shopAdviceCarousel.name }}</div>
  167. <div class="content-item-remark">{{ $package.goodsSku.skuName }}</div>
  168. <div class="content-item-price">
  169. {{if gt $package.goodsSku.historicalPrices $package.goodsSku.price}}
  170. <del class="price-original">
  171. <span>¥{{ $package.goodsSku.historicalPrices }}</span>
  172. </del>
  173. {{ end }}
  174. {{if gt $package.goodsSku.historicalPrices $package.goodsSku.price}}
  175. <div class="price-target">
  176. <span>省{{addFloat $package.goodsSku.historicalPrices $package.goodsSku.price}}</span>
  177. </div>
  178. {{ end }}
  179. <div class="price-now">¥{{ $package.goodsSku.price }}</div>
  180. </div>
  181. </div>
  182. {{end}}
  183. </div>
  184. </div>
  185. {{range $item := .list}}
  186. {{if ne $item nil}}
  187. <div class="card" v-if="ShopHomeTopic">
  188. <div class="card-header">
  189. <div class="card-title">
  190. <span> {{$item.topic.topicName}}</span>
  191. </div>
  192. <div class="cart-other">
  193. <a onclick="JumpRouter('/topic?topicId={{$item.topic.id}}' )">发现全部</a>
  194. </div>
  195. </div>
  196. <div class="card-des">
  197. <span>
  198. {{ $item.topic.topicDesc }}
  199. </span>
  200. </div>
  201. <div class="card-list">
  202. {{$itemLen := len $item.skus}}
  203. {{if ne $itemLen 0}}
  204. {{range $index, $sku := $item.skus}}
  205. <div class="goods-info" index="{{$index}}" onclick="JumpRouter('/detail?skuId='+{{$sku.id}})">
  206. <!-- //获取图片-->
  207. <div class="goods-img"><img src="{{ $sku.skuImage }}" alt=""></div>
  208. <div class="goods-name">{{$sku.skuName }}
  209. </div>
  210. <div class="goods-price">{{ $sku.price }}</div>
  211. {{if gt $sku.historicalPrices $sku.price}}
  212. <div class="goods-price-od">
  213. <span class="goods-original-price">¥{{ $sku.historicalPrices }}</span>
  214. <span class="goods-discount-percentage">{{discalc $sku.historicalPrices $sku.price}}</span>
  215. </div>
  216. {{else}}
  217. <br>
  218. <div class="goods-price-od">
  219. <span class="goods-original-price"></span>
  220. <span class=""></span>
  221. </div>
  222. {{end}}
  223. </div>
  224. {{end}}
  225. {{end}}
  226. {{if gt $itemLen 12}}
  227. <!-- <div class="card-show" v-if="props.ShopHomeTopic.skus&&props.ShopHomeTopic.skus.length>12">-->
  228. <div class="card-show">
  229. <a>查看更多</a>
  230. </div>
  231. {{end}}
  232. </div>
  233. </div>
  234. {{end}}
  235. {{end}}
  236. </div>
  237. {{template "BottomBar.tmpl" .}}
  238. </body>
  239. <script src="/api/static/js/index.js"></script>
  240. <script>
  241. GetUserInfo()
  242. </script>
  243. </html>