bookinfo.vue 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435
  1. <template>
  2. <view class="page">
  3. <view class="padd">
  4. <view class="wrap">
  5. <u-swiper :list="list1" mode='number' height='750' indicator-pos="bottomRight"></u-swiper>
  6. </view>
  7. <view class="back" style="margin-top: 24rpx;">
  8. <view class="">九年级化学上册电子课本目录(义务教育教科</view>
  9. <view class="item-jian">教材级别:公共体育教材</view>
  10. <view class="item-jian">适用层次:高职教材</view>
  11. <view class="item-jian">适用专业:建筑类系列教材</view>
  12. <view class="item-jian">ISBN:989-9-2392-232</view>
  13. <view class="item-jian">作者:袁伟,郑太雄,罗荣</view>
  14. <view class="item-jian">纸质定价:¥57.5</view>
  15. </view>
  16. </view>
  17. <view class="height"></view>
  18. <view class="series">
  19. <view class="u-flex u-row-between">
  20. <view class="abount">相关系列</view>
  21. <view class="updown" @click="toupdown">系列下载</view>
  22. </view>
  23. <view class="" style="margin-top: 24rpx;">
  24. <swiper class="swiper" circular :indicator-dots="true" :autoplay="true">
  25. <swiper-item v-for="(item,index) in 3" :key="index">
  26. <view class="u-flex u-row-between">
  27. <view class="">
  28. <image src="/static/logo.png" style="width: 196rpx;height: 280rpx;" mode=""></image>
  29. <view class="u-line-1">腰部功能强化训…</view>
  30. <view class="">
  31. 定价:¥28.5
  32. </view>
  33. </view>
  34. <view class="">
  35. <image src="/static/logo.png" style="width: 196rpx;height: 280rpx;" mode=""></image>
  36. <view class="u-line-1">腰部功能强化训…</view>
  37. <view class="">
  38. 定价:¥28.5
  39. </view>
  40. </view>
  41. <view class="">
  42. <image src="/static/logo.png" style="width: 196rpx;height: 280rpx;" mode=""></image>
  43. <view class="u-line-1">腰部功能强化训…</view>
  44. <view class="">
  45. 定价:¥28.5
  46. </view>
  47. </view>
  48. </view>
  49. </swiper-item>
  50. </swiper>
  51. </view>
  52. </view>
  53. <view class="height"></view>
  54. <view class="content">
  55. <view class="">
  56. <u-tabs active-color='#06A971' :list="list" :is-scroll="false" :current="current"
  57. @change="change"></u-tabs>
  58. </view>
  59. <view v-if="current==0" class="padd content-box">
  60. <view class="u-flex">
  61. <view class="">
  62. <view class="chu">开本:16开</view>
  63. <view class="chu">印制:双色</view>
  64. <view class="chu">版次:第一版第一次</view>
  65. </view>
  66. <view class="" style="margin-left: 100rpx;">
  67. <view class="chu">印张:12</view>
  68. <view class="chu">出版日期:2021年1月</view>
  69. <view class="chu">出版单位:北京出版社</view>
  70. </view>
  71. </view>
  72. <view class="tu">
  73. <view class="" style="position: relative;">
  74. <view class="brief">前言</view>
  75. <image class="image" src="/static/images/compile.png" mode=""></image>
  76. </view>
  77. <view class="fonta">
  78. 本书以体能训练的原则、价值和方法为主要阐
  79. </view>
  80. </view>
  81. <view class="tu">
  82. <view class="" style="position: relative;">
  83. <view class="brief">内容简介</view>
  84. <image class="image" src="/static/images/compile.png" mode=""></image>
  85. </view>
  86. <view class="fonta">
  87. 本书以体能训练的原则、价值和方法为主要阐
  88. </view>
  89. </view>
  90. <view class="tu">
  91. <view class="" style="position: relative;">
  92. <view class="brief">作者简介</view>
  93. <image class="image" src="/static/images/compile.png" mode=""></image>
  94. </view>
  95. <view class="fonta">
  96. 本书以体能训练的原则、价值和方法为主要阐
  97. </view>
  98. </view>
  99. </view>
  100. <view v-if="current==1" class="padd data">
  101. <!-- 样章 -->
  102. <view class="">
  103. <view class="sample">样章</view>
  104. <view class="" style="display: flex;margin-top: 28rpx;">
  105. <image src="/static/images/pdf.png" class="image3" mode=""></image>
  106. <view class="pdf">第一章 集合与函数概念单元检测卷高一数学轻轻巧巧轻轻巧巧轻轻巧巧轻轻巧巧轻轻巧巧轻轻巧巧轻轻巧</view>
  107. <image src="/static/images/updown.png" mode="" style="width: 32rpx;height: 32rpx;"></image>
  108. </view>
  109. </view>
  110. <view class="">
  111. <view class="sample u-flex u-row-between">
  112. <view class="">资源包</view>
  113. <view class="u-flex">
  114. <view class="selling">资源售价</view>
  115. <view class="money5">¥48.5</view>
  116. <view class="button4" @click="show=true">付费下载</view>
  117. </view>
  118. </view>
  119. <view class="courseware">课件</view>
  120. <view class="" style="display: flex;margin-top: 28rpx;">
  121. <image src="/static/images/pdf.png" class="image3" mode=""></image>
  122. <view class="pdf">第一章 集合与函数概念单元检测卷高一数学轻轻巧巧轻轻巧巧轻轻巧巧轻轻巧巧轻轻巧巧轻轻巧巧轻轻巧</view>
  123. <image src="/static/images/updown.png" mode="" style="width: 32rpx;height: 32rpx;"></image>
  124. </view>
  125. <view class="courseware">资源</view>
  126. <view class="" style="display: flex;margin-top: 28rpx;">
  127. <image src="/static/images/pdf.png" class="image3" mode=""></image>
  128. <view class="pdf">第一章 集合与函数概念单元检测卷高一数学轻轻巧巧轻轻巧巧轻轻巧巧轻轻巧巧轻轻巧巧轻轻巧巧轻轻巧</view>
  129. <image src="/static/images/updown.png" mode="" style="width: 32rpx;height: 32rpx;"></image>
  130. </view>
  131. </view>
  132. </view>
  133. </view>
  134. <view class="" style=" height: 166rpx;"></view>
  135. <view class="bottom u-flex">
  136. <view class="left" @click="stylebook">样书申请</view>
  137. <view class="right">在线试读</view>
  138. </view>
  139. <u-popup v-model="show" mode="bottom" border-radius="24">
  140. <view class="" style="padding: 32rpx 28rpx;">
  141. <view class="u-flex u-row-center" style="text-align: center;position: relative;">
  142. <view class="courseware" style="margin-top: 0;">资源下载</view>
  143. <image src="../../static/images/close.png"
  144. style="width: 44rpx;height: 44rpx;position: absolute;top: 0;right: 0;" mode=""></image>
  145. </view>
  146. <view class="" style="margin-top: 40rpx;">
  147. <view class="sample">样章</view>
  148. <view class="" style="display: flex;margin-top: 28rpx;">
  149. <image src="/static/images/pdf.png" class="image3" mode=""></image>
  150. <view class="pdf">第一章 集合与函数概念单元检测卷高一数学轻轻巧巧轻轻巧巧轻轻巧巧轻轻巧巧轻轻巧巧轻轻巧巧轻轻巧</view>
  151. <image src="/static/images/updown.png" mode="" style="width: 32rpx;height: 32rpx;"></image>
  152. </view>
  153. </view>
  154. <view class="">
  155. <view class="sample u-flex u-row-between">
  156. <view class="">资源包</view>
  157. <!-- <view class="u-flex">
  158. <view class="selling">资源售价</view>
  159. <view class="money5">¥48.5</view>
  160. <view class="button4">付费下载</view>
  161. </view> -->
  162. </view>
  163. <view class="courseware">电子书</view>
  164. <view class="" style="display: flex;margin-top: 28rpx;">
  165. <image src="/static/images/pdf.png" class="image3" mode=""></image>
  166. <view class="pdf">第一章 集合与函数概念单元检测卷高一数学轻轻巧巧轻轻巧巧轻轻巧巧轻轻巧巧轻轻巧巧轻轻巧巧轻轻巧</view>
  167. <image src="/static/images/updown.png" mode="" style="width: 32rpx;height: 32rpx;"></image>
  168. </view>
  169. <view class="courseware"
  170. style='border-top: 2rpx solid rgba(151, 151, 151, 0.1);margin-bottom:26rpx;padding-top:28rpx;'>
  171. 课件</view>
  172. <view class="" style="display: flex;margin-top: 28rpx;">
  173. <image src="/static/images/pdf.png" class="image3" mode=""></image>
  174. <view class="pdf">第一章 集合与函数概念单元检测卷高一数学轻轻巧巧轻轻巧巧轻轻巧巧轻轻巧巧轻轻巧巧轻轻巧巧轻轻巧</view>
  175. <image src="/static/images/updown.png" mode="" style="width: 32rpx;height: 32rpx;"></image>
  176. </view>
  177. <view class="courseware"
  178. style='border-top: 2rpx solid rgba(151, 151, 151, 0.1);margin-bottom:26rpx;padding-top:28rpx;'>
  179. 资源</view>
  180. <view class="" style="display: flex;margin-top: 28rpx;">
  181. <image src="/static/images/pdf.png" class="image3" mode=""></image>
  182. <view class="pdf">第一章 集合与函数概念单元检测卷高一数学轻轻巧巧轻轻巧巧轻轻巧巧轻轻巧巧轻轻巧巧轻轻巧巧轻轻巧</view>
  183. <image src="/static/images/updown.png" mode="" style="width: 32rpx;height: 32rpx;"></image>
  184. </view>
  185. </view>
  186. </view>
  187. </u-popup>
  188. </view>
  189. </template>
  190. <script>
  191. export default {
  192. data() {
  193. return {
  194. list: [{
  195. name: '内容介绍',
  196. }, {
  197. name: '资料',
  198. }],
  199. current: 0,
  200. show: false,
  201. list1: [{
  202. image: 'https://cdn.uviewui.com/uview/swiper/2.jpg',
  203. title: '身无彩凤双飞翼,心有灵犀一点通'
  204. },
  205. {
  206. image: 'https://cdn.uviewui.com/uview/swiper/3.jpg',
  207. title: '谁念西风独自凉,萧萧黄叶闭疏窗,沉思往事立残阳'
  208. }
  209. ],
  210. };
  211. },
  212. methods: {
  213. change(index) {
  214. this.current = index;
  215. },
  216. toupdown() {
  217. uni.navigateTo({
  218. url: '/pages/index/updown'
  219. })
  220. },
  221. stylebook() {
  222. uni.navigateTo({
  223. url: '/pages/index/stylebook'
  224. })
  225. }
  226. }
  227. }
  228. </script>
  229. <style lang="scss">
  230. .courseware {
  231. font-size: 28rpx;
  232. font-family: PingFangSC, PingFang SC;
  233. font-weight: 500;
  234. color: #222222;
  235. margin-top: 24rpx;
  236. }
  237. .money5 {
  238. font-size: 32rpx;
  239. font-family: SFPro, SFPro;
  240. font-weight: 500;
  241. color: #CC3300;
  242. }
  243. .button4 {
  244. width: 120rpx;
  245. height: 52rpx;
  246. background: #06A971;
  247. border-radius: 6rpx;
  248. margin-left: 16rpx;
  249. font-size: 24rpx;
  250. font-family: PingFangSC, PingFang SC;
  251. font-weight: 400;
  252. color: #FFFFFF;
  253. text-align: center;
  254. line-height: 52rpx;
  255. }
  256. .selling {
  257. font-size: 24rpx;
  258. font-family: PingFangSC, PingFang SC;
  259. font-weight: 400;
  260. color: #555555;
  261. margin-right: 4rpx;
  262. }
  263. .image3 {
  264. width: 28rpx;
  265. height: 28rpx;
  266. }
  267. .pdf {
  268. font-size: 24rpx;
  269. font-family: PingFangSC, PingFang SC;
  270. font-weight: 400;
  271. color: #222222;
  272. margin-left: 24rpx;
  273. margin-right: 80rpx;
  274. }
  275. .sample {
  276. height: 72rpx;
  277. background: #F5F5F5;
  278. border-radius: 8rpx;
  279. font-size: 28rpx;
  280. font-family: PingFangSC, PingFang SC;
  281. font-weight: 500;
  282. color: #222222;
  283. padding: 14rpx 10rpx 14rpx 20rpx;
  284. margin-top: 28rpx;
  285. }
  286. .data {
  287. border-top: 2rpx solid rgba(151, 151, 151, 0.1);
  288. padding-top: 26rpx !important;
  289. }
  290. .fonta {
  291. font-size: 24rpx;
  292. font-family: PingFangSC, PingFang SC;
  293. font-weight: 400;
  294. color: #222222;
  295. margin-top: 24rpx;
  296. }
  297. .tu {
  298. margin-top: 32rpx;
  299. }
  300. .image {
  301. width: 694rpx;
  302. height: 50rpx;
  303. }
  304. .brief {
  305. position: absolute;
  306. left: 28rpx;
  307. font-size: 28rpx;
  308. font-family: PingFangSC, PingFang SC;
  309. font-weight: 500;
  310. color: #06A971;
  311. line-height: 50rpx;
  312. }
  313. .chu {
  314. margin-top: 20rpx;
  315. }
  316. .content-box {
  317. border-top: 2rpx solid rgba(151, 151, 151, 0.1);
  318. padding-top: 42rpx !important;
  319. }
  320. ::v-deep .u-tab-bar {
  321. background-color: #06A971 !important;
  322. }
  323. // 系列
  324. .series {
  325. padding: 44rpx 28rpx 32rpx;
  326. }
  327. .about {
  328. font-size: 28rpx;
  329. font-family: PingFangSC, PingFang SC;
  330. font-weight: 500;
  331. color: #222222;
  332. }
  333. .updown {
  334. width: 134rpx;
  335. height: 56rpx;
  336. background: #06A971;
  337. border-radius: 6rpx;
  338. font-size: 24rpx;
  339. font-family: PingFangSC, PingFang SC;
  340. font-weight: 500;
  341. color: #FFFFFF;
  342. line-height: 56rpx;
  343. text-align: center;
  344. }
  345. .wrap {
  346. height: 750rpx;
  347. padding: 0 106rpx;
  348. }
  349. .back {
  350. padding: 0 0 40rpx 0;
  351. background: #fff;
  352. }
  353. .padd {
  354. padding: 0 28rpx;
  355. }
  356. .page {
  357. // background: #F5F5F5;
  358. min-height: 100vh;
  359. }
  360. .height {
  361. width: 750rpx;
  362. height: 20rpx;
  363. background: #F5F5F5;
  364. }
  365. .item-jian {
  366. font-size: 24rpx;
  367. font-family: PingFangSC, PingFang SC;
  368. font-weight: 400;
  369. color: #444444;
  370. margin-top: 18rpx;
  371. }
  372. .bottom {
  373. width: 750rpx;
  374. height: 166rpx;
  375. background: #FFFFFF;
  376. padding: 16rpx 28rpx 0;
  377. position: fixed;
  378. bottom: 0;
  379. left: 0;
  380. .left {
  381. width: 336rpx;
  382. height: 88rpx;
  383. background: #FFA30E;
  384. border-radius: 12rpx;
  385. font-size: 32rpx;
  386. font-family: PingFangSC, PingFang SC;
  387. font-weight: 500;
  388. color: #FFFFFF;
  389. text-align: center;
  390. line-height: 88rpx;
  391. }
  392. .right {
  393. width: 336rpx;
  394. height: 88rpx;
  395. background: #06A971;
  396. border-radius: 12rpx;
  397. font-size: 32rpx;
  398. font-family: PingFangSC, PingFang SC;
  399. font-weight: 500;
  400. color: #FFFFFF;
  401. text-align: center;
  402. line-height: 88rpx;
  403. margin-left: 12rpx;
  404. }
  405. }
  406. </style>