Просмотр исходного кода

[门店详情][增加]:[返回首页按钮]

tags/河北版C.8.1.01
meo 5 лет назад
Родитель
Сommit
70acfd8293
3 измененных файлов: 7 добавлений и 3 удалений
  1. +2
    -0
      pages/index/searchbar/detail/index.js
  2. +2
    -1
      pages/index/searchbar/detail/index.json
  3. +3
    -2
      pages/index/searchbar/detail/index.wxml

+ 2
- 0
pages/index/searchbar/detail/index.js Просмотреть файл

@@ -1,3 +1,4 @@
const navigationBarHeight = (getApp().statusBarHeight + 44) + 'px'
const Http = require("../../../../utils/HttpBasics");
const imgurl = require("../../../../utils/imgurl");
const config = require("../../../../config/config");
@@ -9,6 +10,7 @@ Page({
* 页面的初始数据
*/
data: {
navigationBarHeight,
noMerchant: imgurl.noMerchant.url,
noCoupon: imgurl.noCoupon.url,
poterbg: imgurl.poterbg.url,


+ 2
- 1
pages/index/searchbar/detail/index.json Просмотреть файл

@@ -4,6 +4,7 @@
"navigationBarTextStyle": "black",
"usingComponents": {
"c-banner": "../../../../components/banner/index",
"c-coupons": "../../../../components/coupons/index"
"c-coupons": "../../../../components/coupons/index",
"navbar": "../../../../components/navbar/navbar"
}
}

+ 3
- 2
pages/index/searchbar/detail/index.wxml Просмотреть файл

@@ -1,5 +1,6 @@
<button class='goback' bindtap='goback'><image src='{{wmhome}}' mode="widthFix"></image></button>
<view>
<!-- <button class='goback' bindtap='goback'><image src='{{wmhome}}' mode="widthFix"></image></button> -->
<navbar back home text="门店详情"></navbar>
<view style="padding-top:{{navigationBarHeight}};">
<swiper class="index-slide" autoplay="true" circular="false">
<block wx:for="{{imglist}}" wx:key="unique">
<swiper-item>


Загрузка…
Отмена
Сохранить