Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
saas_plus
/
dj-car-boutique-work-wechat
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
1
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit fdb875c2
authored
Mar 09, 2023
by
张立顺
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
头部样式兼容
1 parent
a59824c2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
14 deletions
packageEquity/pages/TabBar/equityPage.wxml
pages/sceneIndex/sceneIndex.js
packageEquity/pages/TabBar/equityPage.wxml
View file @
fdb875c
<!--
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
View file @
fdb875c
// 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
})
})
...
...
Write
Preview
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment