Commit fdb875c2 by 张立顺

头部样式兼容

1 parent a59824c2
<!--pages/equity/index.wxml--> <!-- pages/equity/index.wxml -->
<navigation-bar bindnavbarReady="navbarReady" showMenu="{{true}}" bindback="back"> <navigation-bar class="navigation-header" bindnavbarReady="navbarReady" showMenu="{{true}}" bindback="back">
<picker range="{{storeListRange}}" value="{{subIndex}}" range-key="merchantName" bindchange="changePicker" bindtap="tapPicker" bindcancel="tapPicker" disabled="{{storeListRange.length < 2}}"> <picker range="{{storeListRange}}" value="{{subIndex}}" range-key="merchantName" bindchange="changePicker" bindtap="tapPicker" bindcancel="tapPicker" disabled="{{storeListRange.length < 2}}">
<view class="navigation-title"> <view class="navigation-title">
<view class="navigation-title-text text-hide"> <view class="navigation-title-text text-hide">{{storeListRange[subIndex].merchantName}}</view>
{{storeListRange[subIndex].merchantName}}
</view>
<view class="arrow {{moveArrow?'move':''}}" wx:if="{{storeListRange.length > 1}}"> <view class="arrow {{moveArrow?'move':''}}" wx:if="{{storeListRange.length > 1}}">
<image src="/images/arrow-bottom.png" /> <image src="/images/arrow-bottom.png" />
</view> </view>
......
// pages/sceneIndex/sceneIndex.js // pages/sceneIndex/sceneIndex.js
<<<<<<< Updated upstream
import logOutAPI from "../../tabMine/api"
=======
import logOutAPI from '../../tabMine/api' import logOutAPI from '../../tabMine/api'
>>>>>>> Stashed changes
const app = getApp() const app = getApp()
Page({ Page({
/** /**
...@@ -31,7 +27,7 @@ Page({ ...@@ -31,7 +27,7 @@ Page({
// 选择场景 // 选择场景
selectScene(e) { selectScene(e) {
let { index } = e.currentTarget.dataset let { index } = e.currentTarget.dataset
let { sceneList} = this.data let { sceneList } = this.data
if (index == 0) { if (index == 0) {
wx.$router.go('tabIndex.index') wx.$router.go('tabIndex.index')
} else { } else {
...@@ -39,11 +35,7 @@ Page({ ...@@ -39,11 +35,7 @@ Page({
} }
sceneList.map(i => (i.actived = false)) sceneList.map(i => (i.actived = false))
sceneList[index].actived = true sceneList[index].actived = true
<<<<<<< Updated upstream
wx.$util.setUserInfo({...wx.$util.getUserInfo(), selectedSceneType: `${sceneList[index].sceneType}`})
=======
wx.$util.setUserInfo({ ...wx.$util.getUserInfo(), selectedSceneType: `${sceneList[index].sceneType}` }) wx.$util.setUserInfo({ ...wx.$util.getUserInfo(), selectedSceneType: `${sceneList[index].sceneType}` })
>>>>>>> Stashed changes
this.setData({ this.setData({
sceneList sceneList
}) })
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!