Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
I
integral-mall
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
integralMall
integral-mall
Commits
bacaa6b7
Commit
bacaa6b7
authored
Nov 02, 2018
by
zhangmeng
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
优化会员头像 https
parent
ee6bdec3
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
10 additions
and
11 deletions
+10
-11
index.html
dist/index.html
+2
-2
app.d18afcf670f109332b11.js
dist/static/js/app.d18afcf670f109332b11.js
+0
-0
member-info.vue
src/views/mall/common/member-info.vue
+4
-1
list.vue
src/views/mall/goods/list.vue
+4
-8
No files found.
dist/index.html
View file @
bacaa6b7
<!DOCTYPE html>
<html><head><meta
charset=
utf-8
><meta
name=
viewport
content=
"width=device-width,initial-scale=1"
><link
rel=
"shortcut icon"
href=
./static/img/favicon.ico
><title>
GIC后台
</title><link
rel=
stylesheet
type=
text/css
href=
static/css/iconfont.css
><link
rel=
stylesheet
type=
text/css
href=
static/css/common.css
><link
href=
/integral-mall/static/css/app.e283673409e035b2e21dbe4d915fc132.css
rel=
stylesheet
></head><body><div
id=
app
></div><script
type=
text/javascript
src=
/integral-mall/static/js/manifest.003beacb9c9ae622c7f2.js
></script><script
type=
text/javascript
src=
/integral-mall/static/js/vendor.1a8cb7c8f1d1496e1d6c.js
></script><script
type=
text/javascript
src=
/integral-mall/static/js/app.39156b40ce083a4cc2f8.js
></script></body></html>
\ No newline at end of file
<!DOCTYPE html>
<html><head><meta
charset=
utf-8
><meta
name=
viewport
content=
"width=device-width,initial-scale=1"
><link
rel=
"shortcut icon"
href=
./static/img/favicon.ico
><title>
GIC后台
</title><link
rel=
stylesheet
type=
text/css
href=
static/css/iconfont.css
><link
rel=
stylesheet
type=
text/css
href=
static/css/common.css
><link
href=
/integral-mall/static/css/app.e283673409e035b2e21dbe4d915fc132.css
rel=
stylesheet
></head><body><div
id=
app
></div><script
type=
text/javascript
src=
/integral-mall/static/js/manifest.003beacb9c9ae622c7f2.js
></script><script
type=
text/javascript
src=
/integral-mall/static/js/vendor.1a8cb7c8f1d1496e1d6c.js
></script><script
type=
text/javascript
src=
/integral-mall/static/js/app.d18afcf670f109332b11.js
></script></body></html>
\ No newline at end of file
dist/static/js/app.
39156b40ce083a4cc2f8
.js
→
dist/static/js/app.
d18afcf670f109332b11
.js
View file @
bacaa6b7
This source diff could not be displayed because it is too large. You can
view the blob
instead.
src/views/mall/common/member-info.vue
View file @
bacaa6b7
...
...
@@ -30,7 +30,7 @@
</div>
<span
slot=
"reference"
>
<a
:href=
"'/member/#/wechatmemberDetail?memberId='+ row.memberId"
target=
"_blank"
>
<img
class=
"vertical-middle table__avatar"
:src=
"
row.photoUrl || defaultAvatar
"
width=
"60"
height=
"60"
alt=
""
srcset=
""
>
<img
class=
"vertical-middle table__avatar"
:src=
"
filterAvatar(row.photoUrl)
"
width=
"60"
height=
"60"
alt=
""
srcset=
""
>
<div
class=
"inline-block vertical-middle"
>
<p
class=
"table-name--ellipsis"
>
{{
row
.
memberName
||
'--'
}}
</p>
<p
class=
"table-name--ellipsis fz13"
>
{{
row
.
cardNum
||
'--'
}}
</p>
...
...
@@ -67,6 +67,9 @@ export default {
}
},
methods
:{
filterAvatar
(
img
)
{
return
img
?
img
.
replace
(
/^http/
,
'https'
):
this
.
defaultAvatar
;
},
getSingleInfo
()
{
getMemberInfo
({
memberId
:
this
.
row
.
memberId
}).
then
(
res
=>
{
if
(
res
.
errorCode
===
0
)
{
...
...
src/views/mall/goods/list.vue
View file @
bacaa6b7
...
...
@@ -40,13 +40,7 @@
</el-table-column>
<el-table-column
label=
"会员信息"
align=
"left"
prop=
"changeType"
min-width=
"180"
>
<
template
slot-scope=
"scope"
>
<a
:href=
"'/member/#/wechatmemberDetail?memberId='+scope.row.memberId"
target=
"_blank"
>
<img
class=
"vertical-middle table__avatar"
:src=
"scope.row.memberImgUrl || defaultAvatar"
width=
"60"
height=
"60"
alt=
""
srcset=
""
>
<div
class=
"inline-block vertical-middle"
>
<p
class=
"table-name--ellipsis"
>
{{
scope
.
row
.
memberName
||
'--'
}}
</p>
<p
class=
"table-name--ellipsis fz13"
>
{{
scope
.
row
.
cardNum
||
'--'
}}
</p>
</div>
</a>
<memberInfoCom
:row=
"scope.row"
></memberInfoCom>
</
template
>
</el-table-column>
<el-table-column
label=
"消耗积分"
align=
"left"
prop=
"status"
width=
"100px"
>
...
...
@@ -99,12 +93,14 @@ import {formateDateTimeByType} from '@/utils/index.js';
import
express
from
'../common/express'
;
import
sendGoods
from
'./send-goods'
;
import
orderInfo
from
'./order-info'
;
import
memberInfoCom
from
'../common/member-info'
;
export
default
{
name
:
'goods-list'
,
components
:
{
express
,
sendGoods
,
orderInfo
orderInfo
,
memberInfoCom
},
data
()
{
return
{
...
...
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