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 @@
<div
v-if=
"item.componentCode == 'video-player'"
>
<video-player
:datas=
"item"
:indexs=
"index"
></video-player>
</div>
<div
v-if=
"item.componentCode == 'official-account'"
>
<official-account></official-account>
</div>
</div>
<bottomCont></bottomCont>
...
...
@@ -161,9 +164,9 @@ export default {
onLoad
(
options
)
{
let
location
=
JSON
.
parse
(
wx
.
getStorageSync
(
'location'
)
||
'{}'
)
if
(
!
location
.
areaGroupId
)
{
wx
.
redirectTo
({
url
:
'/pages/changeAdr/main?areaGroupId='
+
this
.
data
.
designateAreaObj
.
areaGroupId
})
//
wx.redirectTo({
//
url: '/pages/changeAdr/main?areaGroupId=' + this.data.designateAreaObj.areaGroupId
//
})
}
let
that
=
this
;
// 来源
...
...
static/nativeComponents/VideoPlayer/index.wxml
View file @
bba28864
...
...
@@ -23,9 +23,9 @@
</view>
</view>
<!-- 代码片段展示 -->
<
!-- <view class="isCodeSnippets
">
</view> --
>
<
view class="isCodeSnippets" wx:if="{{datas.componentData['type']==3&&datas.componentData['codeSnippet']!=''}}
">
<rich-text nodes="{{datas.componentData['codeSnippet']}}"></rich-text>
</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