123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081 |
- Component({
-
- properties: {
- productionData: {
- type: Object,
- value: {}
- },
- title: {
- type: String,
- value: ''
- },
- query: {
- type: String,
- value: ''
- },
- type: {
- type: String,
- value: ''
- },
- columnType: {
- type: String,
- value: ''
- },
- },
-
- data: {
- text: '',
- chatDatas: [],
- animationData: {},
- },
-
- methods: {
- uploadImage (e) {
- const type = this.properties.type;
- const columnType = this.properties.columnType;
- wx.navigateTo({
- url: '../input_content/input_content?type=' + type + '&columnType=' + columnType
- })
- },
- listenerButtonPreviewImage: function(e) {
- let imgUrl = [];
- imgUrl.push(e.target.dataset.img);
- wx.previewImage({
- current: '',
- urls: imgUrl,
-
- success: function(res) {
-
- },
-
- fail: function() {
-
- }
- })
- },
- shareImage: function(e){
- console.log(e);
-
- const postId = e.currentTarget.dataset.postsid;
- this.share.showPopup(postId);
- },
- examine: function () {
-
- var myEventDetail = {}
- var myEventOption = {}
- this.triggerEvent('myevent', myEventDetail, myEventOption)
- }
- },
- ready: function(){
- }
- })
|