Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
J
jueqing
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
7
Issues
7
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
xhw
jueqing
Commits
42d122ba
Commit
42d122ba
authored
Aug 16, 2024
by
xhw
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
更新
parent
028ad081
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
19 additions
and
11 deletions
+19
-11
pages/index/index.vue
+12
-8
unpackage/dist/dev/.sourcemap/mp-weixin/pages/index/index.js.map
+0
-0
unpackage/dist/dev/mp-weixin/pages/index/index.js
+7
-3
No files found.
pages/index/index.vue
View file @
42d122ba
...
...
@@ -1008,6 +1008,10 @@ export default {
// this.total_val.unshift()
this
.
total_val
=
this
.
total_val
.
splice
(
1
,
this
.
total_val
.
length
)
console
.
log
(
text
,
this
.
total_val
)
//更新头像
const
int
=
this
.
total_val
[
0
].
split
(
''
)[
0
]
console
.
log
(
int
)
this
.
reloadGetPhoto
(
int
)
// console.log('finalVal',finalVal)
// console.log('ISLIU_content',ISLIU_content,'text',text,'total_val',res[1].data.results)
...
...
@@ -1230,19 +1234,19 @@ export default {
})
},
reloadGetPhoto
(){
reloadGetPhoto
(
int
){
uni
.
request
({
url
:
`https://admin.mindepoch.com:8089/worlds/
${
this
.
currentPageData
.
worldName
}
.png`
?
`https://admin.mindepoch.com:8089/worlds/
${
this
.
currentPageData
.
worldName
}
.png`
:
`https://admin.mindepoch.com:8089/worlds/
${
this
.
currentPageData
.
worldName
}
.jpg`
?
`https://admin.mindepoch.com:8089/worlds/
${
this
.
currentPageData
.
worldName
}
.jpg`
:
`https://admin.mindepoch.com:8089/worlds/
${
this
.
currentPageData
.
worldName
}
.gif`
?
`https://admin.mindepoch.com:8089/worlds/
${
this
.
currentPageData
.
worldName
}
.gif`
:
url
:
`https://admin.mindepoch.com:8089/worlds/
${
int
}
.png`
?
`https://admin.mindepoch.com:8089/worlds/
${
int
}
.png`
:
`https://admin.mindepoch.com:8089/worlds/
${
int
}
.jpg`
?
`https://admin.mindepoch.com:8089/worlds/
${
int
}
.jpg`
:
`https://admin.mindepoch.com:8089/worlds/
${
int
}
.gif`
?
`https://admin.mindepoch.com:8089/worlds/
${
int
}
.gif`
:
`/images/ai1.png`
,
method
:
'GET'
,
responseType
:
'arraybuffer'
,
data
:
{
id
:
this
.
currentPageData
.
worldName
,
id
:
int
,
},
responseType
:
'arraybuffer'
,
header
:
{
...
...
unpackage/dist/dev/.sourcemap/mp-weixin/pages/index/index.js.map
View file @
42d122ba
This source diff could not be displayed because it is too large. You can
view the blob
instead.
unpackage/dist/dev/mp-weixin/pages/index/index.js
View file @
42d122ba
...
...
@@ -1190,6 +1190,10 @@ var _default =
// this.total_val.unshift()
_this5
.
total_val
=
_this5
.
total_val
.
splice
(
1
,
_this5
.
total_val
.
length
);
console
.
log
(
text
,
_this5
.
total_val
);
//更新头像
var
int
=
_this5
.
total_val
[
0
].
split
(
''
)[
0
];
console
.
log
(
int
);
_this5
.
reloadGetPhoto
(
int
);
// console.log('finalVal',finalVal)
// console.log('ISLIU_content',ISLIU_content,'text',text,'total_val',res[1].data.results)
...
...
@@ -1412,16 +1416,16 @@ var _default =
});
},
reloadGetPhoto
:
function
reloadGetPhoto
()
{
var
_uni$request
,
_this8
=
this
;
reloadGetPhoto
:
function
reloadGetPhoto
(
int
)
{
var
_uni$request
,
_this8
=
this
;
uni
.
request
((
_uni$request
=
{
url
:
true
?
"https://admin.mindepoch.com:8089/worlds/"
.
concat
(
this
.
currentPageData
.
worldName
,
".png"
)
:
int
,
".png"
)
:
undefined
,
method
:
'GET'
,
responseType
:
'arraybuffer'
,
data
:
{
id
:
this
.
currentPageData
.
worldName
}
},
_defineProperty
(
_uni$request
,
"responseType"
,
id
:
int
}
},
_defineProperty
(
_uni$request
,
"responseType"
,
'arraybuffer'
),
_defineProperty
(
_uni$request
,
"header"
,
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment