Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
saas_plus
/
business-assistant
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 906b942e
authored
Dec 26, 2022
by
chenwq
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
拨打电话,跳转众筹小程序
1 parent
dadc72b1
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
9 additions
and
7 deletions
components/proDetail/proDetail.js
components/proDetail/proDetail.wxml
packagesList/activityDetail/activityDetail.js
pages/viewProd/index.wxml
components/proDetail/proDetail.js
View file @
906b942
...
@@ -141,6 +141,10 @@ Component({
...
@@ -141,6 +141,10 @@ Component({
this
.
setData
({
this
.
setData
({
showCard
:
!
this
.
data
.
showCard
showCard
:
!
this
.
data
.
showCard
})
})
}
},
phoneCall
(
e
)
{
let
{
phone
}
=
e
.
currentTarget
.
dataset
;
wx
.
$api
.
phoneCall
(
phone
);
},
}
}
})
})
components/proDetail/proDetail.wxml
View file @
906b942
...
@@ -23,7 +23,7 @@
...
@@ -23,7 +23,7 @@
<image webp wx:if="{{ index < 3}}" webp class="img-item {{item.className?item.className:''}} img-item{{index}} img-item{{actNum}}{{index}}" src="{{item.url?item.url:item}}?v={{img_version}}">
<image webp wx:if="{{ index < 3}}" webp class="img-item {{item.className?item.className:''}} img-item{{index}} img-item{{actNum}}{{index}}" src="{{item.url?item.url:item}}?v={{img_version}}">
<block wx:if="{{ index == 0}}">
<block wx:if="{{ index == 0}}">
<!-- && phone -->
<!-- && phone -->
<view class="phone" bindtap="phoneCall" data-phone="{{phone}}">
<view class="phone" bindtap="phoneCall" data-phone="{{
share
phone}}">
<!-- <image src="{{IMGURL}}share-phone.png?v={{img_version}}" class="icon"></image> -->
<!-- <image src="{{IMGURL}}share-phone.png?v={{img_version}}" class="icon"></image> -->
<glsx-image webp src="index/phone.png" class="icon" />
<glsx-image webp src="index/phone.png" class="icon" />
请联系我
请联系我
...
...
packagesList/activityDetail/activityDetail.js
View file @
906b942
...
@@ -12,12 +12,10 @@ Page({
...
@@ -12,12 +12,10 @@ Page({
},
},
toActivity
(){
toActivity
(){
const
activityInfo
=
this
.
data
.
activityInfo
wx
.
navigateToMiniProgram
({
wx
.
navigateToMiniProgram
({
appId
:
'wxe10067a63c1856ac'
,
appId
:
'wxe10067a63c1856ac'
,
path
:
'pages/crowdfunding/index/index'
,
path
:
'pages/crowdfunding/index/index?id='
+
activityInfo
.
id
+
'&merchantId='
+
activityInfo
.
merchantNo
,
extraData
:
{
id
:
this
.
data
.
activityInfo
.
id
},
envVersion
:
'trial'
,
envVersion
:
'trial'
,
success
(
res
)
{
success
(
res
)
{
// 打开成功
// 打开成功
...
...
pages/viewProd/index.wxml
View file @
906b942
...
@@ -27,7 +27,7 @@
...
@@ -27,7 +27,7 @@
<image wx:if="{{ index < 3}}" webp class="img-item img-item{{index}} img-item{{actNum}}{{index}}" src="{{item}}?v={{img_version}}">
<image wx:if="{{ index < 3}}" webp class="img-item img-item{{index}} img-item{{actNum}}{{index}}" src="{{item}}?v={{img_version}}">
<block wx:if="{{ index == 0}}">
<block wx:if="{{ index == 0}}">
<!-- && phone -->
<!-- && phone -->
<view class="phone" bindtap="phoneCall" data-phone="{{phone}}">
<view class="phone" bindtap="phoneCall" data-phone="{{
share
phone}}">
<!-- <image src="{{IMGURL}}share-phone.png?v={{img_version}}" class="icon"></image> -->
<!-- <image src="{{IMGURL}}share-phone.png?v={{img_version}}" class="icon"></image> -->
<glsx-image webp src="index/phone.png" class="icon"></glsx-image>
<glsx-image webp src="index/phone.png" class="icon"></glsx-image>
请联系我
请联系我
...
...
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