|
@@ -130,7 +130,7 @@ class BirdGridPermissionPage extends React.Component {
|
|
|
}
|
|
|
if (editImage == "image") {
|
|
|
this.setState({
|
|
|
- imageUrl7: imageList.localUrl==null ? 'http://img01.store.sogou.com/net/a/04/link?appid=100520029&url='+imageList.materialUrl : WXMpAPI+imageList.localUrl
|
|
|
+ imageUrl7: imageList.localUrl==null ? 'http://img01.store.sogou.com/net/a/04/link?appid=100520029&url='+imageList.materialUrl : imageList.localUrl
|
|
|
})
|
|
|
}
|
|
|
if (editValue == "text") {
|
|
@@ -145,7 +145,7 @@ class BirdGridPermissionPage extends React.Component {
|
|
|
} else if (editValue == "miniprogrampage") {
|
|
|
this.setState({
|
|
|
editKey: "3",
|
|
|
- imageUrl9: messageList.localUrl==null ? 'http://img01.store.sogou.com/net/a/04/link?appid=100520029&url='+messageList.materialUrl : WXMpAPI+messageList.localUrl
|
|
|
+ imageUrl9: messageList.localUrl==null ? 'http://img01.store.sogou.com/net/a/04/link?appid=100520029&url='+messageList.materialUrl : messageList.localUrl
|
|
|
})
|
|
|
}
|
|
|
if (data.qrcode_isPermanent == 0) {
|
|
@@ -575,7 +575,7 @@ class BirdGridPermissionPage extends React.Component {
|
|
|
this.setState(
|
|
|
{
|
|
|
mediaId4: item.mediaId,
|
|
|
- imageUrl4: item.localUrl==null ? 'http://img01.store.sogou.com/net/a/04/link?appid=100520029&url='+item.materialUrl : WXMpAPI+item.localUrl,
|
|
|
+ imageUrl4: item.localUrl==null ? 'http://img01.store.sogou.com/net/a/04/link?appid=100520029&url='+item.materialUrl : item.localUrl,
|
|
|
imgShow4: true,
|
|
|
imgShow7: true
|
|
|
},
|
|
@@ -637,7 +637,7 @@ class BirdGridPermissionPage extends React.Component {
|
|
|
this.setState(
|
|
|
{
|
|
|
mediaId5: item.mediaId,
|
|
|
- imageUrl5: item.localUrl==null ? 'http://img01.store.sogou.com/net/a/04/link?appid=100520029&url='+item.materialUrl : WXMpAPI+item.localUrl,
|
|
|
+ imageUrl5: item.localUrl==null ? 'http://img01.store.sogou.com/net/a/04/link?appid=100520029&url='+item.materialUrl : item.localUrl,
|
|
|
imgShow5: true,
|
|
|
imgShow8: true
|
|
|
},
|
|
@@ -700,7 +700,7 @@ class BirdGridPermissionPage extends React.Component {
|
|
|
this.setState(
|
|
|
{
|
|
|
mediaId6: item.mediaId,
|
|
|
- imageUrl6: item.localUrl==null ? 'http://img01.store.sogou.com/net/a/04/link?appid=100520029&url='+item.materialUrl : WXMpAPI+item.localUrl,
|
|
|
+ imageUrl6: item.localUrl==null ? 'http://img01.store.sogou.com/net/a/04/link?appid=100520029&url='+item.materialUrl : item.localUrl,
|
|
|
imgShow6: true,
|
|
|
imgShow9: true
|
|
|
},
|
|
@@ -762,7 +762,7 @@ class BirdGridPermissionPage extends React.Component {
|
|
|
this.setState(
|
|
|
{
|
|
|
mediaId1: item.mediaId,
|
|
|
- imageUrl1: item.localUrl==null ? 'http://img01.store.sogou.com/net/a/04/link?appid=100520029&url='+item.materialUrl : WXMpAPI+item.localUrl,
|
|
|
+ imageUrl1: item.localUrl==null ? 'http://img01.store.sogou.com/net/a/04/link?appid=100520029&url='+item.materialUrl : item.localUrl,
|
|
|
imgShow1: true
|
|
|
},
|
|
|
() => {
|
|
@@ -823,7 +823,7 @@ class BirdGridPermissionPage extends React.Component {
|
|
|
this.setState(
|
|
|
{
|
|
|
mediaId2: item.mediaId,
|
|
|
- imageUrl2: item.localUrl==null ? 'http://img01.store.sogou.com/net/a/04/link?appid=100520029&url='+item.materialUrl : WXMpAPI+item.localUrl,
|
|
|
+ imageUrl2: item.localUrl==null ? 'http://img01.store.sogou.com/net/a/04/link?appid=100520029&url='+item.materialUrl : item.localUrl,
|
|
|
imgShow2: true
|
|
|
},
|
|
|
() => {
|
|
@@ -884,7 +884,7 @@ class BirdGridPermissionPage extends React.Component {
|
|
|
this.setState(
|
|
|
{
|
|
|
mediaId3: item.mediaId,
|
|
|
- imageUrl3: item.localUrl==null ? 'http://img01.store.sogou.com/net/a/04/link?appid=100520029&url='+item.materialUrl : WXMpAPI+item.localUrl,
|
|
|
+ imageUrl3: item.localUrl==null ? 'http://img01.store.sogou.com/net/a/04/link?appid=100520029&url='+item.materialUrl : item.localUrl,
|
|
|
imgShow3: true
|
|
|
},
|
|
|
() => {
|
|
@@ -1883,7 +1883,7 @@ class BirdGridPermissionPage extends React.Component {
|
|
|
<div key={i} style={{ margin: "10px 20px" }} onClick={e => this.selectImg1(i, e)}>
|
|
|
<img
|
|
|
style={{ width: "132px", height: "132px", border: i == this.state.select ? "1px solid red" : "" }}
|
|
|
- src={item.localUrl==null}
|
|
|
+ src={item.localUrl}
|
|
|
/>
|
|
|
<p
|
|
|
style={{
|