This commit is contained in:
parent
3101b03df6
commit
dace91963d
|
@ -90,7 +90,7 @@
|
|||
// 与vue中的proxyTable配置大致上一致,此处我同时代理了两个
|
||||
"/pre" : {
|
||||
// 预发布
|
||||
"target" : "http://192.168.1.85:8080/h5/api", // 目标接口域名
|
||||
"target" : "http://192.168.1.3:8080/h5/api", // 目标接口域名
|
||||
|
||||
// "target" : "https://yxx.ydool.net/h5/api", // 目标接口域名
|
||||
"changeOrigin" : true, // 是否跨域
|
||||
|
|
|
@ -78,7 +78,10 @@
|
|||
content: '寒冬虽冷,美术工作者们以画传心,心是热的;疫情虽紧,艺术家们以笔墨为歌,信心是充足的。在市委宣传部和市递正能量,吹响新时代的',
|
||||
time: '2023-09-30 20:00'
|
||||
}
|
||||
]
|
||||
],
|
||||
pages: 1,
|
||||
size: 20,
|
||||
type: ''
|
||||
};
|
||||
},
|
||||
onLoad() {
|
||||
|
@ -95,6 +98,11 @@
|
|||
console.log('item', item);
|
||||
},
|
||||
getData() {
|
||||
let par = {
|
||||
pages: this.pages,
|
||||
size: this.size,
|
||||
type: this.type
|
||||
}
|
||||
this.http.request('/match/list', {}, "GET").then(res => {
|
||||
if (res.code == 200) {
|
||||
this.load = false
|
||||
|
|
|
@ -25,7 +25,8 @@
|
|||
<view class="codeTitle">公众号链接/二维码</view>
|
||||
<view class="codeImg">
|
||||
<view class="codeEle">
|
||||
<uqrcode :id="'uQRCode'+index" ref="uQRCode0" :size='QRsize' :text='item' />
|
||||
<uqrcode ref="uQRCode" canvas-id="uQRCode" :value="item.text" :size="QRsize" :start="true" :auto="true"></uqrcode>
|
||||
<!-- <uqrcode :id="'uQRCode'+index" ref="uQRCode0" :size='QRsize' :text='item' /> -->
|
||||
<!-- <image src="../../static/icon12.jpg" mode="" class="code"></image> -->
|
||||
</view>
|
||||
<view class="remark">
|
||||
|
@ -49,7 +50,11 @@
|
|||
opCalue: 0,
|
||||
pageTitle: "媒体宣传",
|
||||
QRsize: 136,
|
||||
QRlist: ['https://www.uviewui.com/components/tooltip.html']
|
||||
QRlist: [
|
||||
{
|
||||
text: 'https://www.uviewui.com/components/tooltip.html'
|
||||
},
|
||||
]
|
||||
};
|
||||
},
|
||||
onPageScroll(e) {
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
|
||||
export default {
|
||||
config: {
|
||||
baseUrl: "http://192.168.1.85:8080/h5/api", //俞燕红-小程序不能配跨域
|
||||
baseUrl: "http://192.168.1.3:8080/h5/api", //俞燕红-小程序不能配跨域
|
||||
// baseUrl: "/pre", //俞燕红-跨域
|
||||
// baseUrl: "https://yxx.ydool.net/h5/api", //线上
|
||||
// baseUrl: "/h5/api", //h5
|
||||
|
|
Loading…
Reference in New Issue