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
bba28864
Commit
bba28864
authored
Feb 23, 2021
by
李嘉林
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
关联公众号
parent
92616af6
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
6 deletions
+9
-6
src/pages/home/index.vue
+6
-3
static/nativeComponents/VideoPlayer/index.wxml
+3
-3
No files found.
src/pages/home/index.vue
View file @
bba28864
...
@@ -63,6 +63,9 @@
...
@@ -63,6 +63,9 @@
<div
v-if=
"item.componentCode == 'video-player'"
>
<div
v-if=
"item.componentCode == 'video-player'"
>
<video-player
:datas=
"item"
:indexs=
"index"
></video-player>
<video-player
:datas=
"item"
:indexs=
"index"
></video-player>
</div>
</div>
<div
v-if=
"item.componentCode == 'official-account'"
>
<official-account></official-account>
</div>
</div>
</div>
<bottomCont></bottomCont>
<bottomCont></bottomCont>
...
@@ -161,9 +164,9 @@ export default {
...
@@ -161,9 +164,9 @@ export default {
onLoad
(
options
)
{
onLoad
(
options
)
{
let
location
=
JSON
.
parse
(
wx
.
getStorageSync
(
'location'
)
||
'{}'
)
let
location
=
JSON
.
parse
(
wx
.
getStorageSync
(
'location'
)
||
'{}'
)
if
(
!
location
.
areaGroupId
)
{
if
(
!
location
.
areaGroupId
)
{
wx
.
redirectTo
({
//
wx.redirectTo({
url
:
'/pages/changeAdr/main?areaGroupId='
+
this
.
data
.
designateAreaObj
.
areaGroupId
//
url: '/pages/changeAdr/main?areaGroupId=' + this.data.designateAreaObj.areaGroupId
})
//
})
}
}
let
that
=
this
;
let
that
=
this
;
// 来源
// 来源
...
...
static/nativeComponents/VideoPlayer/index.wxml
View file @
bba28864
...
@@ -23,9 +23,9 @@
...
@@ -23,9 +23,9 @@
</view>
</view>
</view>
</view>
<!-- 代码片段展示 -->
<!-- 代码片段展示 -->
<
!-- <view class="isCodeSnippets
">
<
view class="isCodeSnippets" wx:if="{{datas.componentData['type']==3&&datas.componentData['codeSnippet']!=''}}
">
<rich-text nodes="{{datas.componentData['codeSnippet']}}"></rich-text>
</view> --
>
</view
>
</view>
</view>
</view>
</view>
...
...
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