projectInfoPointOrder.vue 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. <template>
  2. <view class="content">
  3. <fxyk-navbar :isSearch="false" title="节点批示" />
  4. <fxyk-textarea marginBottom="69" placeholder="批示信息!" />
  5. <view class="d-flex a-center j-center">
  6. <view class="box d-flex a-center j-center">
  7. <fxyk-button style="font-size: 21rpx;
  8. line-height: 27rpx"
  9. width="106"
  10. height="44"
  11. bgColor="#4CB2FF"
  12. content="查看附件" />
  13. </view>
  14. </view>
  15. </view>
  16. </template>
  17. <script>
  18. export default {
  19. methods: {
  20. // 上传附件
  21. uploading() {
  22. uni.chooseImage({
  23. count: 6, //默认9
  24. sizeType: ['original', 'compressed'], //可以指定是原图还是压缩图,默认二者都有
  25. sourceType: ['album', 'camera '], //从相册选择
  26. success: function (res) {
  27. console.log(JSON.stringify(res.tempFilePaths));
  28. }
  29. })
  30. }
  31. }
  32. }
  33. </script>
  34. <style lang="scss" scoped>
  35. page {
  36. width: 100%;
  37. height: 100%;
  38. }
  39. .content {
  40. width: 100%;
  41. height: 100%;
  42. min-height: 100vh;
  43. background-color: $yk-bg-color;
  44. }
  45. .box {
  46. width: 321rpx;
  47. height: 154rpx;
  48. border: 2rpx dashed #707070;
  49. }
  50. </style>