Browse Source

【直播接口调试】

livetest
liuhui 5 years ago
parent
commit
9ce78f4a70
6 changed files with 16 additions and 16 deletions
  1. +1
    -0
      app.json
  2. +1
    -0
      index/index.js
  3. +9
    -6
      index/index.wxml
  4. +1
    -1
      index/index.wxss
  5. +0
    -9
      index/user.wxml
  6. +4
    -0
      utils/imgurl.js

+ 1
- 0
app.json View File

@@ -1,6 +1,7 @@
{
"pages": [
"pages/index/index",
"pages/main/index",
"index/index",
"index/searchbar",
"index/passCar",


+ 1
- 0
index/index.js View File

@@ -48,6 +48,7 @@ Page({
product: imgurl.product.url,
barginicon: imgurl.barginicon.url,
pintuan: imgurl.pintuan.url,
live: imgurl.live.url,
duihuan: imgurl.duihuan.url,
market: app.globalData.market,
list: [],


+ 9
- 6
index/index.wxml View File

@@ -39,18 +39,18 @@
<image src='{{pintuan}}' mode='aspectFill'></image>
<text>拼团</text>
</view>
<view class='kjBox' bindtap='goLive'>
<image src='{{live}}' mode='aspectFill'></image>
<text>直播</text>
</view>
<view class='kjBox' bindtap='gotoCard'>
<image src='{{xiaofeika}}' mode='aspectFill'></image>
<text>消费卡</text>
</view>
<view class='kjBox' bindtap='goLive'>
<image src='{{xiaofeika}}' mode='aspectFill'></image>
<text>直播</text>
</view>
<view class='kjBox' bindtap='gotogame'>
<!-- <view class='kjBox' bindtap='gotogame'>
<image src='{{xingyun}}' mode='aspectFill' bindtap=''></image>
<text>游戏频道</text>
</view>
</view> -->
<view class='kjBox' bindtap='gotoJfsc'>
<image src='{{jfshangcheng}}' mode='aspectFill'></image>
<text>积分商城</text>
@@ -103,6 +103,9 @@
</view>
</view>
</view>
<view class="game-entry" bindtap='gotogame'>
<image src="{{usergift}}" mode="widthFix" class="gameimg"></image>
</view>
<!-- 爆款专区 -->
<c-hot id="hot"/>
<view class='product' wx:if="{{showTopic}}" bindtap='gotoTopic'>


+ 1
- 1
index/index.wxss View File

@@ -42,7 +42,7 @@ page {
.game-entry {
position: fixed;
right: 27rpx;
bottom:323rpx;
bottom:443rpx;
width: 120rpx;
margin: 37rpx auto 0;
z-index: 10;


+ 0
- 9
index/user.wxml View File

@@ -55,15 +55,6 @@
</view>
</view>
</navigator>
<navigator url="/pages2/live/livelist/index">
<view class="user-btn app-border-bottom">
<view>
<image class='icons' src="{{cardiconUrl}}" mode='widthFix'></image>直播</view>
<view>
<text class="couponnum" wx:if="{{couponNum2=='couponNum2'}}"></text>
</view>
</view>
</navigator>
</view>
</view>
</view>


+ 4
- 0
utils/imgurl.js View File

@@ -732,5 +732,9 @@ module.exports = {
'down':{
'url' : baseUrl + 'down.png',
'name':''
},
'live': {
'url': baseUrl + 'live.png',
'name': ''
}
}

Loading…
Cancel
Save