| | |
| | | </template> |
| | | |
| | | <script> |
| | | import { $ } from '@tarojs/extend'; |
| | | import Taro from '@tarojs/taro'; |
| | | import { $ } from '@tarojs/extend'; |
| | | import { AtInput, AtImagePicker, AtCurtain } from 'taro-ui-vue'; |
| | | import { $fetcherCommon } from '@fetchers/FCommon'; |
| | | import './cImagePicker.scss'; |
| | |
| | | AtCurtain, |
| | | }, |
| | | props: { |
| | | // 表单数据资源(表单组件内部机制专用) |
| | | itemRes: Object, |
| | | }, |
| | | data() { |
| | |
| | | ) |
| | | ); |
| | | } else { |
| | | reject({ message: 'res2.state.msg' }); |
| | | reject({ message: res2.state.msg }); |
| | | } |
| | | }, |
| | | cancel() { |
| | |
| | | .find('.at-input__input') |
| | | .prepend(this.$refs.picker.$el); |
| | | } else if (process.env.TARO_ENV === 'weapp') { |
| | | console.log(this.$refs); |
| | | $(this.$refs.input.$el) |
| | | .find('.at-input__container') |
| | | .append(this.$refs.picker.$el); |