index.vue 8.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337
  1. <template>
  2. <div class="container">
  3. <div class="header">
  4. <span>中德全国校区</span>
  5. <div class="form channel">
  6. <div class="text control">加盟申请</div>
  7. <div class="info control">
  8. <img src="~assets/images/campus/phone.png" alt="">
  9. <div class="phone">400-6807300</div>
  10. </div>
  11. <div class="control-input">
  12. <input type="text" placeholder="姓名">
  13. </div>
  14. <div class="control-input">
  15. <input type="text" placeholder="手机号">
  16. </div>
  17. <div class="control-input">
  18. <input type="text" placeholder="邮箱地址">
  19. </div>
  20. <div class="control-input">
  21. <input type="text" placeholder="加盟城市">
  22. </div>
  23. <div class="submit">提交申请</div>
  24. </div>
  25. </div>
  26. <!-- 全国校区 -->
  27. <div class="campus">
  28. <div class="title-content">
  29. <div class="c-title title-zh title-content wow animate__animated animate__fadeInDown">
  30. <div class="title-en">NATIONWIDE</div>
  31. 全国校区
  32. </div>
  33. </div>
  34. <div class="c-content w1200">
  35. <div class="list-warp">
  36. <ul class="list">
  37. <li class="campus-item wow animate__animated animate__bounceIn" v-for="(item, index) in campusList" :key="index">
  38. <img :src="item.imgUrl" alt="">
  39. <div class="info">
  40. <div class="area">{{ item.area }}</div>
  41. <div class="name">{{ item.name }}</div>
  42. <div class="address">
  43. <div class="icon"><img src="~/assets/images/campus/icon_address.png" alt=""></div>
  44. <p>{{ item.address }}</p>
  45. </div>
  46. <div class="phone">
  47. <div class="icon"><img src="~/assets/images/campus/icon_phone.png" alt=""></div>
  48. <p>{{ item.phone }}</p>
  49. </div>
  50. <div class="detail">
  51. <!-- to="{name:'news-category',params:{category: indexFirstNewsList.articleCategoryId}} -->
  52. <nuxt-link :to="{ name: 'campus-type', params: { type: item.id } }">
  53. 查看详情
  54. </nuxt-link>
  55. </div>
  56. </div>
  57. </li>
  58. </ul>
  59. </div>
  60. </div>
  61. </div>
  62. </div>
  63. </template>
  64. <script>
  65. if (process.browser) {
  66. var {WOW} = require('wowjs')
  67. }
  68. export default {
  69. data() {
  70. return {
  71. campusList: [
  72. {
  73. id: 1,
  74. imgUrl: require('~/assets/images/campus/campus_img.jpg'),
  75. address: '盈港东路8300弄佳乐苑社区商铺',
  76. phone: '4007288000',
  77. name: '襄阳校区',
  78. area: '上海市·上海市市辖区·青浦区'
  79. },
  80. {
  81. id: 2,
  82. imgUrl: require('~/assets/images/campus/campus_img.jpg'),
  83. address: '盈港东路8300弄佳乐苑社区商铺',
  84. phone: '4007288000',
  85. name: '武汉校区',
  86. area: '上海市·上海市市辖区·青浦区'
  87. },
  88. {
  89. id: 3,
  90. imgUrl: require('~/assets/images/campus/campus_img.jpg'),
  91. address: '盈港东路8300弄佳乐苑社区商铺',
  92. phone: '4007288000',
  93. name: '唐山校区',
  94. area: '上海市·上海市市辖区·青浦区'
  95. },
  96. {
  97. id: 4,
  98. imgUrl: require('~/assets/images/campus/campus_img.jpg'),
  99. address: '盈港东路8300弄佳乐苑社区商铺',
  100. phone: '4007288000',
  101. name: '莆田校区',
  102. area: '上海市·上海市市辖区·青浦区'
  103. }
  104. ]
  105. }
  106. },
  107. head() {
  108. return {
  109. title: "逻辑狗官网-中德智慧教育",
  110. meta: [
  111. {
  112. name: "keywords",
  113. hid: "keywords",
  114. content: `逻辑狗官网、逻辑狗教材、 幼儿园教材、逻辑狗课程、逻辑狗思维训练课程、儿童思维教育、0-12岁儿童`,
  115. },
  116. {
  117. name: "description",
  118. hid: "description",
  119. content: `逻辑狗官方网站,专为0-12岁儿童设计的思维训练课程,中德智慧教育,全球优质教育内容输出平台`,
  120. },
  121. ],
  122. };
  123. },
  124. created() {
  125. },
  126. mounted() {
  127. if (process.browser) {
  128. new WOW({
  129. offset: 0,
  130. live: true
  131. }).init()
  132. }
  133. },
  134. methods: {
  135. }
  136. }
  137. </script>
  138. <style lang="scss" scoped>
  139. @import "~static/common/style.sass";
  140. .title-content {
  141. position: relative;
  142. text-align: center;
  143. }
  144. .title-en {
  145. position: absolute;
  146. font-size: 78px;
  147. font-family: PingFangSC-Semibold, PingFang SC;
  148. font-weight: 600;
  149. color:rgba(35,106,250,1);
  150. opacity: 0.16;
  151. }
  152. .title-zh {
  153. position: relative;
  154. display: inline-block;
  155. font-size:58px;
  156. font-family:PingFangSC-Semibold,PingFang SC;
  157. font-weight:600;
  158. color:rgba(38,38,38,1);
  159. text-align: center;
  160. }
  161. .header {
  162. position: relative;
  163. background: url('~assets/images/campus/header.png') 100% 100% no-repeat;
  164. height: 882px;
  165. // padding: 446px 0 0 302px;
  166. padding: 446px 0 0 15%;
  167. span {
  168. font-size: 80px;
  169. font-family: PingFangSC-Semibold,PingFang SC;
  170. font-weight: 600;
  171. color:#ffffff;
  172. line-height: 112px;
  173. }
  174. .form {
  175. font-size: 16px;
  176. position: absolute;
  177. right: 13.8%;
  178. // right: 266px;
  179. bottom: 124px;
  180. width: 327px;
  181. height: 450px;
  182. background:#FFFFFF;
  183. border-radius: 3px;
  184. padding: 34px 0 12px;
  185. div.text {
  186. font-size:14px;
  187. line-height:20px;
  188. font-family:PingFangSC-Regular,PingFang SC;
  189. font-weight:400;
  190. color: #5B5F5D;
  191. margin-bottom: 7px;
  192. }
  193. div.info {
  194. display: flex;
  195. align-items: center;
  196. margin-bottom: 20px;
  197. .phone {
  198. font-size: 26px;
  199. font-family: PingFangSC-Medium,PingFang SC;
  200. font-weight: 500;
  201. margin-left: 15px;
  202. }
  203. }
  204. .control {
  205. width:250px;
  206. margin: 0 auto;
  207. }
  208. .control-input {
  209. margin: 0 auto;
  210. width:250px;
  211. border-radius: 3px;
  212. border: 1px solid rgba(151,151,151,1);
  213. margin-bottom: 23px;
  214. input {
  215. width: 100%;
  216. height:44px;
  217. line-height: 44px;
  218. padding: 0 13px ;
  219. background: none;
  220. outline: none;
  221. border: 0px;
  222. &::-webkit-input-placeholder {
  223. color: #A4A6A5;
  224. }
  225. }
  226. }
  227. .submit {
  228. margin: 0 auto;
  229. text-align: center;
  230. font-size:14px;
  231. width: 148px;
  232. height: 27px;
  233. line-height: 27px;
  234. background: linear-gradient(180deg,rgba(88,144,251,1) 0%,rgba(51,117,252,1) 100%);
  235. box-shadow: 0px 7px 14px 0px rgba(136,176,254,0.79);
  236. border-radius: 3px;
  237. color: #ffffff;
  238. }
  239. }
  240. }
  241. .campus {
  242. padding: 192px 0 206px;
  243. .title-en {
  244. top: -40px;
  245. left: 50%;
  246. transform: translate(-50%);
  247. }
  248. .c-content {
  249. margin-top: 130px;
  250. ul {
  251. li.campus-item {
  252. display: inline-block;
  253. width: 374px;
  254. background:#FFFFFF;
  255. box-shadow: 0px 9px 13px 0px rgba(123,166,252,0.13);
  256. border-radius: 10px;
  257. margin: 0 38px 42px 0;
  258. transition: transform .3s ease-in-out;
  259. &:nth-child(3n) {
  260. margin-right: 0;
  261. }
  262. &:hover {
  263. transform: translate3d(0,-8px,0);
  264. }
  265. img {
  266. width: 100%;
  267. border-radius: 18px 18px 0 0;
  268. }
  269. .info {
  270. height: 175px;
  271. color: #898A8C;
  272. padding: 15px 20px 15px;
  273. .icon {
  274. margin-right: 8px;
  275. }
  276. }
  277. .area {
  278. font-size:14px;
  279. font-family: PingFangSC-Regular,PingFang SC;
  280. font-weight: 400;
  281. color:#898A8C;
  282. line-height: 20px;
  283. }
  284. .name {
  285. font-size:22px;
  286. font-family: PingFangSC-Medium,PingFang SC;
  287. font-weight:500;
  288. color:#1F241E;
  289. line-height:30px;
  290. margin-top: 5px;
  291. }
  292. .address {
  293. display: flex;
  294. align-items: center;
  295. font-size: 12px;
  296. font-family: PingFangSC-Regular,PingFang SC;
  297. font-weight: 400;
  298. line-height: 17px;
  299. margin-top: 9px;
  300. }
  301. .phone {
  302. display: flex;
  303. align-items: center;
  304. font-size: 12px;
  305. font-family: PingFangSC-Regular,PingFang SC;
  306. font-weight: 400;
  307. line-height: 17px;
  308. margin-top: 2px;
  309. }
  310. .detail {
  311. width: 85px;
  312. height: 26px;
  313. line-height: 26px;
  314. border-radius: 4px;
  315. border: 1px solid #4B86FB;
  316. font-size: 10px;
  317. text-align: center;
  318. color: #1B1616;
  319. margin: 17px auto 0;
  320. }
  321. }
  322. }
  323. }
  324. }
  325. </style>