index.vue 9.0 KB

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