浏览代码

[修改首页的内容的显示][修改]

newMall
meo 5 年前
父节点
当前提交
2e910204e9
共有 4 个文件被更改,包括 15 次插入40 次删除
  1. +0
    -12
      app.json
  2. +0
    -12
      custom-tab-bar/index.js
  3. +7
    -7
      index/index.wxml
  4. +8
    -9
      index/user.wxml

+ 0
- 12
app.json 查看文件

@@ -82,18 +82,6 @@
"selectedIconPath": "assets/images/home-a.png", "selectedIconPath": "assets/images/home-a.png",
"text": "首页" "text": "首页"
}, },
{
"pagePath": "index/searchbar",
"iconPath": "assets/images/mendian.png",
"selectedIconPath": "assets/images/mendian-a.png",
"text": "门店"
},
{
"pagePath": "index/passCar",
"iconPath": "assets/images/park.png",
"selectedIconPath": "assets/images/park-a.png",
"text": "停车"
},
{ {
"pagePath": "index/user", "pagePath": "index/user",
"iconPath": "assets/images/user.png", "iconPath": "assets/images/user.png",


+ 0
- 12
custom-tab-bar/index.js 查看文件

@@ -11,18 +11,6 @@ Component({
"selectedIconPath": "../assets/images/home-a.png", "selectedIconPath": "../assets/images/home-a.png",
"text": "首页" "text": "首页"
}, },
{
"pagePath": "/index/searchbar",
"iconPath": "../assets/images/mendian.png",
"selectedIconPath": "../assets/images/mendian-a.png",
"text": "门店"
},
{
"pagePath": "/index/passCar",
"iconPath": "../assets/images/park.png",
"selectedIconPath": "../assets/images/park-a.png",
"text": "停车"
},
{ {
"pagePath": "/index/user", "pagePath": "/index/user",
"iconPath": "../assets/images/user.png", "iconPath": "../assets/images/user.png",


+ 7
- 7
index/index.wxml 查看文件

@@ -30,7 +30,7 @@
<!-- banner --> <!-- banner -->
<c-banner wx:key="unique" list="{{list}}" /> <c-banner wx:key="unique" list="{{list}}" />
<!-- 频道 --> <!-- 频道 -->
<view class='channelBox' wx:if="{{ifStoreApp!=1}}">
<!-- <view class='channelBox' wx:if="{{ifStoreApp!=1}}">
<view class='kjBox' bindtap='gotoBargain'> <view class='kjBox' bindtap='gotoBargain'>
<image src='{{kanjia}}' mode='aspectFill'></image> <image src='{{kanjia}}' mode='aspectFill'></image>
<text>砍价</text> <text>砍价</text>
@@ -42,18 +42,18 @@
<view class='kjBox' bindtap='gotoCard'> <view class='kjBox' bindtap='gotoCard'>
<image src='{{xiaofeika}}' mode='aspectFill'></image> <image src='{{xiaofeika}}' mode='aspectFill'></image>
<text>消费卡</text> <text>消费卡</text>
</view>
</view> -->
<!-- <view class='kjBox' bindtap='gotogame'> <!-- <view class='kjBox' bindtap='gotogame'>
<image src='{{xingyun}}' mode='aspectFill' bindtap=''></image> <image src='{{xingyun}}' mode='aspectFill' bindtap=''></image>
<text>游戏频道</text> <text>游戏频道</text>
</view> --> </view> -->
<view class='kjBox' bindtap='gotoJfsc'>
<!-- <view class='kjBox' bindtap='gotoJfsc'>
<image src='{{jfshangcheng}}' mode='aspectFill'></image> <image src='{{jfshangcheng}}' mode='aspectFill'></image>
<text>积分商城</text> <text>积分商城</text>
</view> </view>
</view>
</view> -->
<!-- 频道 --> <!-- 频道 -->
<view class='channelBox' wx:if="{{ifStoreApp==1}}" style="width:525rpx;">
<!-- <view class='channelBox' wx:if="{{ifStoreApp==1}}" style="width:525rpx;">
<view class='kjBox' bindtap='gotoBargain'> <view class='kjBox' bindtap='gotoBargain'>
<image src='{{kanjia}}' mode='aspectFill'></image> <image src='{{kanjia}}' mode='aspectFill'></image>
<text>砍价</text> <text>砍价</text>
@@ -66,7 +66,7 @@
<image src='{{xiaofeika}}' mode='aspectFill'></image> <image src='{{xiaofeika}}' mode='aspectFill'></image>
<text>限时抢购</text> <text>限时抢购</text>
</view> </view>
</view>
</view> -->
<!-- 每日头条 限时抢购 --> <!-- 每日头条 限时抢购 -->
<!-- <view class='toutiao' bindtap='gotoRushBuy' wx:if="{{showQg&&ifStoreApp!=1}}" > <!-- <view class='toutiao' bindtap='gotoRushBuy' wx:if="{{showQg&&ifStoreApp!=1}}" >
<view class='imgBox'> <view class='imgBox'>
@@ -100,7 +100,7 @@
</view> </view>
</view> </view>
<!-- 爆款专区 --> <!-- 爆款专区 -->
<c-hot id="hot"/>
<!-- <c-hot id="hot"/> -->
<view class='product' wx:if="{{showTopic}}" bindtap='gotoTopic'> <view class='product' wx:if="{{showTopic}}" bindtap='gotoTopic'>
<image src='{{cover}}' mode='widthFix' ></image> <image src='{{cover}}' mode='widthFix' ></image>
</view> </view>


+ 8
- 9
index/user.wxml 查看文件

@@ -21,13 +21,12 @@
<text class='chengzhang '>{{levelName}}</text> <text class='chengzhang '>{{levelName}}</text>
</view> </view>
</view> </view>
<view class="user-phone" bindtap='gotograde'>
<!-- <view class="user-phone" bindtap='gotograde'>
<text class="my">我的</text> <text class="my">我的</text>
<text class="chengzhang_h" >成长值{{score}}</text> <text class="chengzhang_h" >成长值{{score}}</text>
<text class="my my_line">|</text> <text class="my my_line">|</text>
<!-- <text class="my">更多成长值</text> -->
<text class="view" style='color:{{view}}'>更多成长值</text> <text class="view" style='color:{{view}}'>更多成长值</text>
</view>
</view> -->
<view class="user-btns"> <view class="user-btns">
<!-- 我的订单 --> <!-- 我的订单 -->
<navigator url="/pages/order/index/index?id=all"> <navigator url="/pages/order/index/index?id=all">
@@ -46,7 +45,7 @@
</view> </view>
</view> </view>
</navigator> </navigator>
<navigator url="/pages/cardorder/index/index">
<!-- <navigator url="/pages/cardorder/index/index">
<view class="user-btn app-border-bottom"> <view class="user-btn app-border-bottom">
<view> <view>
<image class='icons' src="{{cardiconUrl}}" mode='widthFix'></image>我的卡包</view> <image class='icons' src="{{cardiconUrl}}" mode='widthFix'></image>我的卡包</view>
@@ -54,11 +53,11 @@
<text class="couponnum" wx:if="{{couponNum2=='couponNum2'}}"></text> <text class="couponnum" wx:if="{{couponNum2=='couponNum2'}}"></text>
</view> </view>
</view> </view>
</navigator>
</navigator> -->
</view> </view>
</view> </view>
</view> </view>
<view class='btns_bg' wx:if="{{ifStoreApp!=1}}">
<view class='btns_bg' wx:if="{{ifStoreApp==100}}">
<view class="user-btns"> <view class="user-btns">
<!-- 我的砍价 --> <!-- 我的砍价 -->
<navigator url="/pages/bargain/bargain?from=myhtml" open-type="navigate"> <navigator url="/pages/bargain/bargain?from=myhtml" open-type="navigate">
@@ -104,7 +103,7 @@
</view> </view>
</view> </view>
<!-- 小马快店样式 --> <!-- 小马快店样式 -->
<view class="top-content" wx:if="{{ifStoreApp==1}}">
<view class="top-content" wx:if="{{ifStoreApp==100}}">
<view class='user_title '> <view class='user_title '>
<view class="user-avatar" bindtap='gotoedit'> <view class="user-avatar" bindtap='gotoedit'>
<open-data class="open" type="userAvatarUrl"></open-data> <open-data class="open" type="userAvatarUrl"></open-data>
@@ -148,7 +147,7 @@
</view> </view>
</view> </view>
<view class="margin"></view> <view class="margin"></view>
<view class='of' wx:if="{{canIUse}}">
<!-- <view class='of' wx:if="{{canIUse}}">
<official-account class="gzh"></official-account> <official-account class="gzh"></official-account>
</view>
</view> -->
</view> </view>

正在加载...
取消
保存