Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
saas
/
mini-program
/
zhwy
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 4b8a930a
authored
Nov 06, 2023
by
杨北旺
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
挪车码版本
1 parent
e950c9ba
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
7 deletions
packageMine/pages/accident/index/index.js
packageMine/pages/accident/index/index.wxml
packageMine/pages/accident/index/index.js
View file @
4b8a930
...
@@ -82,7 +82,7 @@ Page({
...
@@ -82,7 +82,7 @@ Page({
wx
.
p
.
api
.
rescueApi
wx
.
p
.
api
.
rescueApi
.
getRescueCustomerView
({
.
getRescueCustomerView
({
codeId
,
codeId
,
customerPhone
:
this
.
qrCodePhone
?
this
.
qrCodePhone
:
this
.
data
.
phone
,
customerPhone
:
phone
,
})
})
.
then
(
async
(
res
)
=>
{
.
then
(
async
(
res
)
=>
{
if
(
res
.
code
==
0
)
{
if
(
res
.
code
==
0
)
{
...
@@ -195,12 +195,8 @@ Page({
...
@@ -195,12 +195,8 @@ Page({
* 生命周期函数--监听页面加载
* 生命周期函数--监听页面加载
*/
*/
onLoad
(
options
)
{
onLoad
(
options
)
{
console
.
log
(
options
);
if
(
options
.
codeId
)
{
if
(
options
.
codeId
)
{
this
.
codeId
=
options
.
codeId
this
.
codeId
=
options
.
codeId
this
.
qrCodePhone
=
options
.
phone
this
.
openId
=
options
.
openId
this
.
setData
({
qrCodePhone
:
this
.
qrCodePhone
})
}
else
return
wx
.
p
.
wxApi
.
showToast
(
"无效救援码ID"
);
}
else
return
wx
.
p
.
wxApi
.
showToast
(
"无效救援码ID"
);
},
},
...
...
packageMine/pages/accident/index/index.wxml
View file @
4b8a930
...
@@ -29,12 +29,12 @@
...
@@ -29,12 +29,12 @@
<block wx:if="{{qrCodePhone}}">
<block wx:if="{{qrCodePhone}}">
<glsx-image class="equity" bindtap="goCoupon" webp src="mine/rescue/equity.png"></glsx-image>
<glsx-image class="equity" bindtap="goCoupon" webp src="mine/rescue/equity.png"></glsx-image>
</block>
</block>
<view class="activity flex_scb" wx:if="{{rescueData.relLink&&!rescueData.buyExpGold&&qrCodePhone==''}}" bindtap="goActivity">
<
!-- <
view class="activity flex_scb" wx:if="{{rescueData.relLink&&!rescueData.buyExpGold&&qrCodePhone==''}}" bindtap="goActivity">
<view class="flex_sc">
<view class="flex_sc">
<glsx-image class="rescue-subsidy" webp src="mine/rescue/rescue-subsidy.png"></glsx-image>{{rescueData.expGoldActiveName}}
<glsx-image class="rescue-subsidy" webp src="mine/rescue/rescue-subsidy.png"></glsx-image>{{rescueData.expGoldActiveName}}
</view>
</view>
<view class="look-btn">立即查看</view>
<view class="look-btn">立即查看</view>
</view>
</view>
-->
<glsx-image class="rescue-tips" webp src="mine/rescue/rescue-tips.png"></glsx-image>
<glsx-image class="rescue-tips" webp src="mine/rescue/rescue-tips.png"></glsx-image>
<view class="rescue-info">
<view class="rescue-info">
<view data-mobile="{{4006123886}}" bindtap="callPhone">非事故免费救援:4006123886</view>
<view data-mobile="{{4006123886}}" bindtap="callPhone">非事故免费救援:4006123886</view>
...
...
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