Commit e635312391a5bd5d7e8e5a6f93939d581ef2f5ee
1 parent
0c190439
'小程序推广'
Showing
6 changed files
with
11 additions
and
12 deletions
admin-web-master/dist (2).zip
0 → 100644
No preview for this file type
admin-web-master/dist.zip deleted
No preview for this file type
admin-web-master/src/views/shopRental/manage/index.vue
lvdao-miniapp/main.js
| ... | ... | @@ -8,13 +8,13 @@ import uView from "uview-ui"; |
| 8 | 8 | import DialogBox from './components/DialogBox/DialogBox'; |
| 9 | 9 | // let hostall = window.location.href; |
| 10 | 10 | // let c1 = hostall.split('cdwlMall')[0]; |
| 11 | -let c1 = 'https://jy.scjysm.asia:18086/' | |
| 12 | -// let c1 = 'https://zhgw-uat.028wlkj.com/' | |
| 11 | +// let c1 = 'https://jy.scjysm.asia:18086/' | |
| 12 | +let c1 = 'https://zhgw-uat.028wlkj.com/' | |
| 13 | 13 | Vue.config.productionTip = false |
| 14 | 14 | Vue.prototype.$http = http |
| 15 | 15 | Vue.prototype.$imgUrl = (url) => { |
| 16 | - return (c1 + "cdwlMall/questionnaire/file/static" + url); | |
| 17 | - // return (c1 + "cdwlMall/zsfwzxt/test/file/static" + url); | |
| 16 | + // return (c1 + "cdwlMall/questionnaire/file/static" + url); | |
| 17 | + return (c1 + "cdwlMall/zsfwzxt/test/file/static" + url); | |
| 18 | 18 | } |
| 19 | 19 | Vue.prototype.$img = c1+ 'cdwlMall' |
| 20 | 20 | // Vue.prototype.$upload = "https://zhld.028wlkj.com:49008/cdwlMall/admin-server/miniio/upload" | ... | ... |
lvdao-miniapp/pagesA/projectManagement/projectDetails.vue
| ... | ... | @@ -39,7 +39,7 @@ |
| 39 | 39 | :class="{ 'share-modal-animate': showShareModal }"> |
| 40 | 40 | <view class="share-option" @click="generatePoster">生成海报</view> |
| 41 | 41 | <!-- <view class="share-option" @click="wechatShare">微信分享</view> --> |
| 42 | - <button class="share-option" open-type="share">分享朋友</button> | |
| 42 | + <button class="share-option" open-type="share">微信分享</button> | |
| 43 | 43 | <view class="share-option" @click="closeShareModal">取消</view> |
| 44 | 44 | </view> |
| 45 | 45 | |
| ... | ... | @@ -100,9 +100,8 @@ |
| 100 | 100 | generatePoster() { |
| 101 | 101 | this.closeShareModal() |
| 102 | 102 | this.$http.sendRequest(`/cerePromotion/getSharePic/${this.tableData.id}`, 'GET','', 1).then(res => { |
| 103 | - console.log(res,'123123123123123') | |
| 103 | + this.posterUrl = this.imgurl+res.data.data | |
| 104 | 104 | this.showPosterMask = true; |
| 105 | - // this.posterUrl = | |
| 106 | 105 | }) |
| 107 | 106 | |
| 108 | 107 | // setTimeout(() => { | ... | ... |
lvdao-miniapp/utils/request.js
| 1 | 1 | |
| 2 | 2 | // let hostall = window.location.href; |
| 3 | 3 | // let c1 = hostall.split('cdwlMall')[0]; |
| 4 | -let c1 = 'https://jy.scjysm.asia:18086/' | |
| 5 | -// let c1 = 'https://zhgw-uat.028wlkj.com/' | |
| 4 | +// let c1 = 'https://jy.scjysm.asia:18086/' | |
| 5 | +let c1 = 'https://zhgw-uat.028wlkj.com/' | |
| 6 | 6 | //封装request请求 |
| 7 | 7 | const sendRequest = (url, method = 'GET', data = {}, baseUrl,contentType) => { |
| 8 | 8 | //判断header提交数据类型 |
| ... | ... | @@ -21,10 +21,10 @@ const sendRequest = (url, method = 'GET', data = {}, baseUrl,contentType) => { |
| 21 | 21 | // bases = 'https://zhgw.028wlkj.com:20443/cdwlMall/meserver/admin-server' + url; |
| 22 | 22 | // bases = 'https://jy.scjysm.asia:18086/cdwlMall/meserver/admin-server' + url; |
| 23 | 23 | |
| 24 | - bases = 'http://128.10.249.46:9003'+ url; | |
| 24 | + // bases = 'http://128.10.249.46:9003'+ url; | |
| 25 | 25 | // bases = 'https://zhld.028wlkj.com:49008/cdwlMall/admin-server' + url; |
| 26 | 26 | |
| 27 | - // bases = c1 + 'cdwlMall/meserver/admin-server' + url; | |
| 27 | + bases = c1 + 'cdwlMall/meserver/admin-server' + url; | |
| 28 | 28 | |
| 29 | 29 | }else if(baseUrl == 3){ |
| 30 | 30 | // bases = 'https://jy.scjysm.asia:18086/cdwlMall/meserver/api' + url; | ... | ... |