diff --git a/pages/guide/index.vue b/pages/guide/index.vue index c9496be..91b50d4 100644 --- a/pages/guide/index.vue +++ b/pages/guide/index.vue @@ -72,7 +72,7 @@ //that.loadList(1, 4) }, onShareAppMessage() { - + return this.util.shareInfo }, methods: { showwhat(type) { diff --git a/pages/index/index.vue b/pages/index/index.vue index 0b5c042..6ab6456 100644 --- a/pages/index/index.vue +++ b/pages/index/index.vue @@ -178,7 +178,7 @@ } }, onShareAppMessage() { - + return this.util.shareInfo }, onLoad() { this.loadInfo(); diff --git a/pages/map/map.vue b/pages/map/map.vue index 091d48f..9bf3b87 100644 --- a/pages/map/map.vue +++ b/pages/map/map.vue @@ -17,7 +17,7 @@ this.openlocation(); }, onShareAppMessage() { - + return this.util.shareInfo }, methods: { markertap() { diff --git a/pages/mine/recommend.vue b/pages/mine/recommend.vue index 4bf27c6..7c38334 100644 --- a/pages/mine/recommend.vue +++ b/pages/mine/recommend.vue @@ -19,7 +19,7 @@ } }, onShareAppMessage() { - + return this.util.shareInfo }, methods: { goBack(){ diff --git a/pages/visit/book.vue b/pages/visit/book.vue index e21d8a3..1b0e41e 100644 --- a/pages/visit/book.vue +++ b/pages/visit/book.vue @@ -403,11 +403,11 @@ label: '身份证' }, { - value: 2, + value: 3, label: '港澳台居民居住证' }, { - value: 3, + value: 2, label: '护照' }, { @@ -587,13 +587,13 @@ }, submitOrder() { console.log(this.form); - + this.form.date = this.currentDate.date; this.form.rule_id = this.currentTime.id; - if(this.specialid){ - // - this.form.is_disability = this.specialid; - } + // if(this.specialid){ + // // + // this.form.is_disability = this.specialid; + // } if (this.form.details_list.length != this.form.total) { uni.showToast({ @@ -728,7 +728,8 @@ name: m.name, idcard: m.idcard, mobile: m.mobile, - card_type: 1 + card_type: 1, + is_disability:0 }) } uni.hideLoading(); diff --git a/static/img/img_activity.jpg b/static/img/img_activity.jpg deleted file mode 100644 index ebe7a15..0000000 Binary files a/static/img/img_activity.jpg and /dev/null differ diff --git a/static/share.jpg b/static/share.jpg new file mode 100644 index 0000000..f9b7dd9 Binary files /dev/null and b/static/share.jpg differ diff --git a/utils/util.js b/utils/util.js index c249b8e..b4f7ca1 100755 --- a/utils/util.js +++ b/utils/util.js @@ -355,7 +355,12 @@ const isValidCardID = cardID => { var last = parity[sum % 11]; return parity[sum % 11] == code[17]; -}; +}; + +const shareInfo = { + title:"苏州的红色摇篮", + imageUrl:"/static/share.jpg" +} /** * UTF16和UTF8转换对照表 * U+00000000 – U+0000007F 0xxxxxxx @@ -554,6 +559,7 @@ module.exports = { getUserProfile: getUserProfile, getUserInfo: getUserInfo, toast: toast, - isValidCardID:isValidCardID + isValidCardID:isValidCardID, + shareInfo:shareInfo };