You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

57 lines
974 B

8 months ago
  1. <!-- 证书页面 -->
  2. <template>
  3. <view class="certificate bx">
  4. <navbar :leftClick="leftClick" :title="$t('page.certificate.title')"></navbar>
  5. <!-- 证书图片 -->
  6. <view class="certificate-image">
  7. <image src="@/static/certificate/certificate.png" mode="aspectFit"></image>
  8. </view>
  9. </view>
  10. </template>
  11. <script>
  12. import navbar from '@/components/base/m-navbar.vue'
  13. export default {
  14. components : { navbar },
  15. data(){
  16. return {
  17. }
  18. },
  19. created(){
  20. },
  21. methods : {
  22. leftClick() {
  23. uni.navigateTo({
  24. url: '/pages/home/home'
  25. })
  26. }
  27. }
  28. }
  29. </script>
  30. <style lang="scss" scoped>
  31. .certificate{
  32. width: 750rpx;
  33. min-height: 100vh;
  34. background-color: black;
  35. margin: 0 auto;
  36. background-size: 100%;
  37. background-repeat: no-repeat;
  38. .certificate-image{
  39. width: 96%;
  40. margin: 0rpx auto;
  41. padding-top: 30rpx;
  42. image{
  43. width: 100%;
  44. height: 50vh;
  45. background-size: 100% !important;
  46. }
  47. }
  48. }
  49. </style>