cases.vue 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362
  1. <template>
  2. <div class="wrapper">
  3. <h1 class="title-box">实践案例</h1>
  4. <p>从NUTUI诞生起,就逐渐应用在多个项目中,相信以后会有越来越多的项目接入到NUTUI中。以下是应用了NUTUI的项目示例。</p>
  5. <h4 class="nav-box"><b class="icon"></b>京东&nbsp;APP</h4>
  6. <div class="box" v-for="(item,index) in appList" v-bind:key="index">
  7. <p class="box-title"><b class="title-round"></b>{{item.title}}</p>
  8. <div class="box-entry">{{item.entry}}</div>
  9. <div class="box-intro">{{item.intro}}</div>
  10. <div class="box-image">
  11. <img :src='item.imageSrc' class="images" />
  12. </div>
  13. </div>
  14. <h4 class="nav-box"><b class="icon"></b>京东&nbsp;ME</h4>
  15. <ul class="logos">
  16. <li v-for="(list,index) in meList" v-bind:key="index">
  17. <img class="logos-img" :src="list.imageSrc"/>
  18. <p class="logos-text">{{list.title}}</p>
  19. </li>
  20. </ul>
  21. <div class="line"></div>
  22. <h4 class="nav-box"><b class="icon"></b>大客户</h4>
  23. <ul class="logos">
  24. <li v-for="(list,index) in clientList" v-bind:key="index">
  25. <div class="client-big" v-if="list.title == '生活杉德'">
  26. <img class="logos-img client-bigimg" :src="list.imageSrc"/>
  27. </div>
  28. <img class="logos-img client-img" :src="list.imageSrc" v-if="list.title !== '生活杉德'"/>
  29. <p class="logos-text">{{list.title}}</p>
  30. </li>
  31. </ul>
  32. <div class="line"></div>
  33. <h4 class="nav-box"><b class="icon"></b>其他</h4>
  34. <ul class="logos">
  35. <li v-for="(list,index) in otherList" v-bind:key="index">
  36. <img class="logos-img other-img" :src="list.imageSrc"/>
  37. <p class="logos-text">{{list.title}}</p>
  38. </li>
  39. </ul>
  40. </div>
  41. </template>
  42. <script>
  43. export default {
  44. data(){
  45. return{
  46. appList:[
  47. {
  48. title:'PLUS会员',
  49. entry:'京东APP首页—PLUS会员',
  50. intro:'京东为向核心客户提供更优质的购物体验,推出了京东PLUS会员,包含购物回馈、自营运费补贴、畅读电子书、退换无忧、专属客服和专享商品等权益,全方位提升和丰富网购特权。',
  51. imageSrc:'//img10.360buyimg.com/uba/jfs/t23413/151/250900924/114472/8b24b17f/5b2a2b55Ndc255cf7.png'
  52. },
  53. {
  54. title:'京保养',
  55. entry:'京东APP-车保养-京保养',
  56. intro:'京保养实现了汽车服务市场的业务快速接入,提供购买保养套餐后的绑车、预约门店进行保养等一系列移动端线上操作功能,让用户购买一次,多个门店可选择并进行爱车保养。',
  57. imageSrc:'//img11.360buyimg.com/uba/jfs/t20998/154/1477000841/77697/dc24002b/5b2a0f0eNfcdaa2f2.jpg'
  58. },
  59. {
  60. title:'宽带办理',
  61. entry:'京东APP-充值缴费-宽带办理',
  62. intro:'宽带项目作为电商进入客户家庭的关键入口,利用运营商现有渠道,能集约对接各省市运营商,且支持线下/第三方各渠道下单。',
  63. imageSrc:'//img11.360buyimg.com/uba/jfs/t22624/176/252723731/122091/20837dc4/5b2a17baNe4cc750f.png'
  64. }
  65. ],
  66. meList:[
  67. {
  68. title:'预约中心',
  69. imageSrc:'../asset/img/cases/yuyue_icon.png',
  70. },
  71. {
  72. title:'用户之声',
  73. imageSrc:'../asset/img/cases/user_icon.png',
  74. },
  75. {
  76. title:'一线支援',
  77. imageSrc:'../asset/img/cases/online_icon.png',
  78. },
  79. {
  80. title:'e维平台',
  81. imageSrc:'../asset/img/cases/e_platform.png',
  82. },
  83. {
  84. title:'差旅服务',
  85. imageSrc:'../asset/img/cases/travel.png',
  86. },
  87. {
  88. title:'智能停车场',
  89. imageSrc:'../asset/img/cases/car_stop.png',
  90. },
  91. {
  92. title:'访客预约',
  93. imageSrc:'../asset/img/cases/visitor.png',
  94. },
  95. {
  96. title:'京东福利',
  97. imageSrc:'../asset/img/cases/fuli.png',
  98. }
  99. ],
  100. clientList:[
  101. {
  102. title:'年节福利',
  103. imageSrc:'../asset/img/cases/jingxi.png',
  104. },
  105. {
  106. title:'生活杉德',
  107. imageSrc:'../asset/img/cases/shande_icon.png',
  108. }
  109. ],
  110. otherList:[
  111. {
  112. title:'智慧党建',
  113. imageSrc:'../asset/img/cases/dangjian_icon.png',
  114. }
  115. ]
  116. }
  117. },
  118. components: {
  119. },
  120. methods:{
  121. }
  122. }
  123. </script>
  124. <style lang="scss" scoped>
  125. .wrapper{
  126. padding-bottom:50px;
  127. background:#fff;
  128. }
  129. .title-box{
  130. color: #0f0649;
  131. margin-bottom: 20px;
  132. margin-top: 8px;
  133. font-size: 30px;
  134. line-height: 38px;
  135. }
  136. p{
  137. color: #314659;
  138. font-size: 16px;
  139. line-height: 2;
  140. }
  141. .nav-box{
  142. display:inline-block;
  143. font-size: 26px;
  144. height:25px;
  145. line-height: 25px;
  146. color:#a38249;
  147. &:hover{
  148. animation: swing 1s linear both;
  149. }
  150. .line{
  151. vertical-align:middle;
  152. width:15px;
  153. height:5px;
  154. background:#a38249;
  155. display:inline-block;
  156. margin-right:10px;
  157. }
  158. .icon{
  159. margin-right:10px;
  160. display:inline-block;
  161. width:11px;
  162. height:16px;
  163. background:url('../asset/img/cases/right-icon.png') no-repeat;
  164. }
  165. @-webkit-keyframes swing{
  166. 20% {
  167. -webkit-transform: rotate3d(0, 0, 1, 15deg);
  168. transform: rotate3d(0, 0, 1, 15deg);
  169. }
  170. 40% {
  171. -webkit-transform: rotate3d(0, 0, 1, -10deg);
  172. transform: rotate3d(0, 0, 1, -10deg);
  173. }
  174. 60% {
  175. -webkit-transform: rotate3d(0, 0, 1, 5deg);
  176. transform: rotate3d(0, 0, 1, 5deg);
  177. }
  178. 80% {
  179. -webkit-transform: rotate3d(0, 0, 1, -5deg);
  180. transform: rotate3d(0, 0, 1, -5deg);
  181. }
  182. to {
  183. -webkit-transform: rotate3d(0, 0, 1, 0deg);
  184. transform: rotate3d(0, 0, 1, 0deg);
  185. }
  186. }
  187. }
  188. .box{
  189. border-bottom:2px solid #eee;
  190. margin-bottom:20px;
  191. padding-bottom:40px;
  192. .box-title{
  193. font-size: 20px;
  194. margin-bottom:0px;
  195. font-weight:bold;
  196. .title-round{
  197. display:inline-block;
  198. width:10px;
  199. height:10px;
  200. background:#314659;
  201. border-radius:50%;
  202. margin-right:10px;
  203. margin-bottom: 2px;
  204. }
  205. }
  206. .box-entry, .box-intro{
  207. font-size: 16px;
  208. }
  209. .box-intro{
  210. margin-bottom:35px;
  211. }
  212. .box-entry{
  213. color:#2d336a;
  214. margin-bottom:10px;
  215. }
  216. .box-image{
  217. img{
  218. display:block;
  219. //margin:0 auto;
  220. box-shadow: 0px 15px 38px 1px #eee;
  221. animation: bounceInRight 1s linear both;
  222. @-webkit-keyframes bounceInRight{
  223. from, 60%, 75%, 90%, to {
  224. -webkit-animation-timing-function: cubic-bezier(0.215, 0.610, 0.355, 1.000);
  225. animation-timing-function: cubic-bezier(0.215, 0.610, 0.355, 1.000);
  226. }
  227. from {
  228. opacity: 0;
  229. -webkit-transform: translate3d(3000px, 0, 0);
  230. transform: translate3d(3000px, 0, 0);
  231. }
  232. 60% {
  233. opacity: 1;
  234. -webkit-transform: translate3d(-25px, 0, 0);
  235. transform: translate3d(-25px, 0, 0);
  236. }
  237. 75% {
  238. -webkit-transform: translate3d(10px, 0, 0);
  239. transform: translate3d(10px, 0, 0);
  240. }
  241. 90% {
  242. -webkit-transform: translate3d(-5px, 0, 0);
  243. transform: translate3d(-5px, 0, 0);
  244. }
  245. to {
  246. -webkit-transform: none;
  247. transform: none;
  248. }
  249. }
  250. }
  251. .images{
  252. width:350px
  253. }
  254. @media (max-width: 450px) {
  255. .images{
  256. width:250px
  257. }
  258. }
  259. }
  260. }
  261. .logos{
  262. padding:0px;
  263. margin:0px;
  264. //width:80%;
  265. margin:0 auto;
  266. box-sizing:border-box;
  267. list-style-type:none;
  268. display:flex;
  269. //justify-content: center;
  270. flex-wrap: wrap;
  271. li{
  272. float:left;
  273. padding:0px;
  274. margin:20px;
  275. width:80px;
  276. display:flex;
  277. flex-direction: column;
  278. justify-content: center;
  279. align-items: center;
  280. &:hover{
  281. animation: rubberBand 1s linear both;
  282. .logos-text{
  283. color:red;
  284. }
  285. }
  286. @-webkit-keyframes rubberBand{
  287. from {
  288. -webkit-transform: scale3d(1, 1, 1);
  289. transform: scale3d(1, 1, 1);
  290. }
  291. 30% {
  292. -webkit-transform: scale3d(1.25, 0.75, 1);
  293. transform: scale3d(1.25, 0.75, 1);
  294. }
  295. 40% {
  296. -webkit-transform: scale3d(0.75, 1.25, 1);
  297. transform: scale3d(0.75, 1.25, 1);
  298. }
  299. 50% {
  300. -webkit-transform: scale3d(1.15, 0.85, 1);
  301. transform: scale3d(1.15, 0.85, 1);
  302. }
  303. 65% {
  304. -webkit-transform: scale3d(.95, 1.05, 1);
  305. transform: scale3d(.95, 1.05, 1);
  306. }
  307. 75% {
  308. -webkit-transform: scale3d(1.05, .95, 1);
  309. transform: scale3d(1.05, .95, 1);
  310. }
  311. to {
  312. -webkit-transform: scale3d(1, 1, 1);
  313. transform: scale3d(1, 1, 1);
  314. }
  315. }
  316. .logos-img{
  317. display:block;
  318. width:56px;
  319. height:56px;
  320. background-size:56px 56px;
  321. background-repeat:no-repeat;
  322. background-position:center center;
  323. }
  324. .client-img{
  325. width:85px;
  326. height:65px;
  327. background-size:85px 65px;
  328. }
  329. .client-big{
  330. width:85px;
  331. height:65px;
  332. display:flex;
  333. justify-content:center;
  334. align-items:center;
  335. }
  336. .client-bigimg{
  337. width:89px;
  338. height:36px;
  339. background-size:89px 36px;
  340. }
  341. .other-img{
  342. width:65px;
  343. height:65px;
  344. background-size:65px 65px;
  345. }
  346. .logos-text{
  347. margin-top: 10px;
  348. }
  349. }
  350. }
  351. .line{
  352. border-bottom:2px solid #eee;
  353. margin-bottom:20px;
  354. }
  355. </style>