achievement.vue 996 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. <template>
  2. <view >
  3. <uni-nav-bar id="nav-bar" status-bar="true" @clickLeft="onBack()"
  4. color="#000000" title="我的成就" fixed="true" :border="false">
  5. <view slot="left">
  6. <view class="flex align-center margin-left">
  7. <image class="p-left-arrow" src="../../../static/p-left-arrow.png"></image>
  8. </view>
  9. </view>
  10. </uni-nav-bar>
  11. <view style="height: 8px; background-color: #EEEEEE;"></view>
  12. <view class="cu-form-group">
  13. <view class="grid col-4 flex-sub" >
  14. <view class="flex flex-direction align-center padding" v-for="(item,index) in 10" :key="index">
  15. <image style="width: 110rpx;height:110rpx;" src="../../../static/achievement/11-01@2x.png"></image>
  16. <text>成就名称</text>
  17. </view>
  18. </view>
  19. </view>
  20. </view>
  21. </template>
  22. <script>
  23. export default {
  24. data() {
  25. return {
  26. }
  27. },
  28. methods: {
  29. onBack(){
  30. uni.navigateBack({
  31. delta:1
  32. })
  33. }
  34. }
  35. }
  36. </script>
  37. <style>
  38. page{
  39. background-color: #FFFFFF;
  40. }
  41. </style>