Commit 81bda0c9 by jscat

更新

parent 4f510b4b
...@@ -16,6 +16,7 @@ Page({ ...@@ -16,6 +16,7 @@ Page({
* 页面的初始数据 * 页面的初始数据
*/ */
data: { data: {
nyxCode: "",
// 主要是公屏内容 // 主要是公屏内容
autoplay: false, autoplay: false,
interval: 3000, interval: 3000,
...@@ -73,6 +74,7 @@ Page({ ...@@ -73,6 +74,7 @@ Page({
redUrl: "../../../icon/live/red.png", // 在线图标的url redUrl: "../../../icon/live/red.png", // 在线图标的url
editUrl: "../../../icon/live/editTitle.png", // 编辑图标的url editUrl: "../../../icon/live/editTitle.png", // 编辑图标的url
saveUrl: "../../../icon/live/saveTitle.png", // 编辑图标的url saveUrl: "../../../icon/live/saveTitle.png", // 编辑图标的url
favUrl: "../../../icon/my/fav.png", // 编辑图标的url
//directly to redis //directly to redis
rankData_raw_like: { rankData_raw_like: {
'@叁年间' : 100, '@叁年间' : 100,
...@@ -154,7 +156,7 @@ Page({ ...@@ -154,7 +156,7 @@ Page({
} }
}) })
} }
_this.setData({ nyxCode })
//step2: 获取上一页面传入的数据 //step2: 获取上一页面传入的数据
var sid = _this.__data__.sid var sid = _this.__data__.sid
var streamer_name = _this.__data__.streamer_name var streamer_name = _this.__data__.streamer_name
......
...@@ -30,8 +30,13 @@ ...@@ -30,8 +30,13 @@
<view style="height:{{chatHeight}}rpx;position:fixed; bottom:0; width:100%"> <view style="height:{{chatHeight}}rpx;position:fixed; bottom:0; width:100%">
<view class="weui-cell weui-cell_access"> <view class="weui-cell weui-cell_access">
<view class="live"> <view class="live">
<view class="live-left"> <view class="live-left">
<block wx:if="{{editMode=='0'}}" > <block wx:if="{{nyxCode != sid}}" >
<view class="live-row">
{{title}}<image src="{{favUrl}}"></image>
</view>
</block>
<block wx:elif="{{editMode=='0'}}" >
<view class="live-row" bindtap="editTitle"> <view class="live-row" bindtap="editTitle">
{{title}}<image src="{{editUrl}}"></image> {{title}}<image src="{{editUrl}}"></image>
</view> </view>
......
...@@ -53,7 +53,7 @@ ...@@ -53,7 +53,7 @@
<view class="items"> <view class="items">
<navigator url="/pages/my/my-collects/my-collects"> <navigator url="/pages/my/my-collects/my-collects">
<image src="../../icon/my/fav.png" style="margin-top:10rpx; margin-bottom:-10rpx"></image> <image src="../../icon/my/fav.png" style="margin-top:10rpx; margin-bottom:-10rpx"></image>
<text style="font-size:28rpx;">关注: 12.5k, +2300</text> <text style="font-size:28rpx;">关注: 12.5k</text>
</navigator> </navigator>
</view> </view>
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论