1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859 |
- Component({
-
- properties: {
- productionData: {
- type: Object,
- value: {}
- },
- title: {
- type: String,
- value: ''
- },
- type: {
- type: String,
- value: ''
- },
- },
-
- data: {
- text: '',
- chatDatas: [],
- animationData: {},
- },
-
- methods: {
- uploadImage (e) {
- const type = this.properties.type;
- wx.navigateTo({
- url: '../input_content/input_content?type=' + type
- })
- },
- listenerButtonPreviewImage: function(e) {
- let imgUrl = [];
- imgUrl.push(e.target.dataset.img);
- wx.previewImage({
- current: '',
- urls: imgUrl,
-
- success: function(res) {
-
- },
-
- fail: function() {
-
- }
- })
- }
- }
- })
|