Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
mayi-mp-shop
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
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
程默
mayi-mp-shop
Commits
3907d08c
Commit
3907d08c
authored
Sep 09, 2023
by
李嘉林
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改
parent
8fd1c215
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
7 deletions
+10
-7
src/main.js
+5
-5
static/nativeComponents/PhotoGallery/index.wxss
+5
-2
No files found.
src/main.js
View file @
3907d08c
...
@@ -43,11 +43,11 @@ Vue.prototype.$mpBehavior = mpBehavior;
...
@@ -43,11 +43,11 @@ Vue.prototype.$mpBehavior = mpBehavior;
// 异常监控(行为收集)
// 异常监控(行为收集)
let
mpAnalytics
=
require
(
"../node_modules/mayi-analytics/dist/mayi.mpAnalytics.js"
)
let
mpAnalytics
=
require
(
"../node_modules/mayi-analytics/dist/mayi.mpAnalytics.js"
)
.
default
;
.
default
;
mpAnalytics
.
init
({
//
mpAnalytics.init({
url
:
process
.
env
.
NODE_ENV
==
'production'
?
"https://analytics.mayi888.com/ma.gif"
:
"https://analytics.mayi888.cn/ma.gif"
,
//错误上报地址
//
url: process.env.NODE_ENV == 'production' ? "https://analytics.mayi888.com/ma.gif" : "https://analytics.mayi888.cn/ma.gif", //错误上报地址
app
:
"mayi-mp-shop"
,
//项目名称
//
app: "mayi-mp-shop",//项目名称
wx
//
wx
});
//
});
Vue
.
prototype
.
$mpAnalytics
=
mpAnalytics
;
Vue
.
prototype
.
$mpAnalytics
=
mpAnalytics
;
const
app
=
new
Vue
(
App
)
const
app
=
new
Vue
(
App
)
...
...
static/nativeComponents/PhotoGallery/index.wxss
View file @
3907d08c
/* static/nativeComponents/PhotoGallery/index.wxss */
/* static/nativeComponents/PhotoGallery/index.wxss */
@import "/static/font/common_icon.wxss";
@import "/static/font/common_icon.wxss";
image{
.photo-gallery
image{
width: 100%;
width: 100%;
height: auto;
height: auto;
}
}
...
@@ -62,7 +62,10 @@ image{
...
@@ -62,7 +62,10 @@ image{
.prev-btn{
.prev-btn{
left:10rpx;
left:10rpx;
-webkit-transform: rotate(180deg);
-webkit-transform: rotate(180deg);
transform: rotate(180deg)
transform: rotate(180deg);
-moz-transform: rotate(180deg);
-ms-transform: rotate(180deg);
-o-transform: rotate(180deg);
}
}
...
...
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