strategy.vue 1.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576
  1. <template>
  2. <view>
  3. <view class="header">
  4. <view class="title">
  5. 新手攻略
  6. </view>
  7. </view>
  8. <view class="strategy-list">
  9. <view class="strategy-item">
  10. <view>
  11. <image class="image" src="../../static/images/material/s1.jpg" mode="scaleToFill"></image>
  12. </view>
  13. <view class="title">
  14. 怎样参加砍价活动?
  15. </view>
  16. </view>
  17. </view>
  18. </view>
  19. </template>
  20. <script>
  21. export default {
  22. data() {
  23. return {
  24. }
  25. },
  26. methods: {
  27. }
  28. }
  29. </script>
  30. <style lang="scss">
  31. .header {
  32. margin: 20upx;
  33. background: white;
  34. text-align: center;
  35. border-radius: 20upx;
  36. .title {
  37. height: 100upx;
  38. font-size: 32upx;
  39. line-height: 100upx;
  40. // font-weight: bold;
  41. }
  42. }
  43. .strategy-list {
  44. .strategy-item {
  45. border-radius: 10upx;
  46. margin: 20upx;
  47. background: white;
  48. // padding: 20upx;
  49. overflow: hidden;
  50. .image {
  51. width: 710upx;
  52. height: 302upx;
  53. }
  54. .title {
  55. padding: 20upx;
  56. padding-top: 15upx;
  57. font-size: 28upx;
  58. }
  59. }
  60. }
  61. </style>