goods_manual.vue 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
  1. <template>
  2. <view class="pageBg">
  3. <view class="goods_params_list">
  4. <view class="goods_params_item" v-for="(item,index) in manual" :key="index">
  5. <view class="goods_params_title">【{{item.name}}】</view>
  6. <view class="goods_params_des">{{item.value}}</view>
  7. </view>
  8. </view>
  9. </view>
  10. </template>
  11. <script>
  12. export default {
  13. components: {
  14. },
  15. data() {
  16. return {
  17. manual: []
  18. }
  19. },
  20. methods: {
  21. getLastPageData() {
  22. let lastPage = this.$util.getPageCtx(1).$vm;
  23. this.manual=lastPage.manual;
  24. },
  25. onLoadPage(options) {
  26. wx.hideShareMenu();
  27. this.getLastPageData();
  28. }
  29. },
  30. }
  31. </script>
  32. <style lang="scss" scoped>
  33. .goods_params_list {
  34. display: flex;
  35. flex-direction: column;
  36. padding: 20upx 20upx 0 20upx;
  37. .goods_params_item {
  38. display: flex;
  39. flex-direction: column;
  40. margin-bottom: 30upx;
  41. .goods_params_title {
  42. color: #666666;
  43. font-size: 28upx;
  44. }
  45. .goods_params_des {
  46. flex: 1;
  47. font-size: 28upx;
  48. color: #333333;
  49. text-align: justify;
  50. margin-top: 10upx;
  51. }
  52. }
  53. }
  54. </style>