Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
saas
/
mini-program
/
ai-card
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 bc9c2442
authored
Dec 21, 2022
by
张立顺
Browse Files
Options
Browse Files
Tag
Download
Plain Diff
Merge branch 'huyue_v3.3.0' of
http://192.168.3.233:8090/saas/mini-program/ai-card
into huyue_v3.3.0
2 parents
08402b28
06f2628d
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
12 additions
and
24 deletions
components/PhoneNumber/PhoneNumber.js
components/PhoneNumber/PhoneNumber.scss
components/PhoneNumber/PhoneNumber.wxml
packagesList/pages/productDetail/productDetail.scss
packagesList/pages/productDetail/productDetail.wxml
components/PhoneNumber/PhoneNumber.js
View file @
bc9c244
...
@@ -9,11 +9,11 @@
...
@@ -9,11 +9,11 @@
import
{
ssoApi
}
from
"../../api/api"
;
import
{
ssoApi
}
from
"../../api/api"
;
import
{
componentsMixin
}
from
"../../mixins/index"
;
import
{
componentsMixin
}
from
"../../mixins/index"
;
Component
({
Component
({
externalClasses
:
[
'
test-class'
,
'
class'
],
externalClasses
:
[
'
custom-
class'
],
behaviors
:
[
componentsMixin
],
behaviors
:
[
componentsMixin
],
options
:
{
//
options: {
styleIsolation
:
'shar
ed'
// styleIsolation: 'isolat
ed'
},
//
},
/**
/**
* 组件的属性列表
* 组件的属性列表
*/
*/
...
...
components/PhoneNumber/PhoneNumber.scss
View file @
bc9c244
...
@@ -96,5 +96,9 @@
...
@@ -96,5 +96,9 @@
// .isFullSucreen {
// .isFullSucreen {
// width: 100%;
// width: 100%;
// }
// }
.product_full
{
flex
:
1
;
display
:
flex
;
align-items
:
center
;
}
components/PhoneNumber/PhoneNumber.wxml
View file @
bc9c244
<view class="fixBottom
test-class
class">
<view class="fixBottom
custom-
class">
<view wx:if="{{type == 'home'}}" class="isFullSucreen home-btn">
<view wx:if="{{type == 'home'}}" class="isFullSucreen home-btn">
<!-- <view class="isFullSucreen"> -->
<!-- <view class="isFullSucreen"> -->
<button wx:if="{{hasPhone}}" class="phoneNumber" bindtap="jump">合作申请1</button>
<button wx:if="{{hasPhone}}" class="phoneNumber" bindtap="jump">合作申请1</button>
<button wx:else class="phoneNumber" open-type="getPhoneNumber" bindgetphonenumber="getPhoneNumber">合作申请</button>
<button wx:else class="phoneNumber" open-type="getPhoneNumber" bindgetphonenumber="getPhoneNumber">合作申请</button>
<!-- </view> -->
<!-- </view> -->
</view>
</view>
<view wx:if="{{type == 'product'}}" class="isFullSucreen">
<view wx:if="{{type == 'product'}}" class="isFullSucreen
product_full
">
<block wx:if="{{hasPhone}}">
<block wx:if="{{hasPhone}}">
<view class="forward-box">
<view class="forward-box">
<image class="icon-forward" webp src="{{IMGURL}}home/icon-forward.png"></image>
<image class="icon-forward" webp src="{{IMGURL}}home/icon-forward.png"></image>
...
...
packagesList/pages/productDetail/productDetail.scss
View file @
bc9c244
...
@@ -10,19 +10,3 @@
...
@@ -10,19 +10,3 @@
height
:
100vh
;
height
:
100vh
;
overflow
:
hidden
;
overflow
:
hidden
;
}
}
.pro_phone_number
{
.isFullSucreen
{
flex
:
1
;
display
:
flex
!
important
;
align-items
:
center
!
important
;
}
}
.test
{
.isFullSucreen
{
flex
:
1
;
display
:
flex
;
align-items
:
center
;
}
}
\ No newline at end of file
\ No newline at end of file
packagesList/pages/productDetail/productDetail.wxml
View file @
bc9c244
<!--packagesList/pages/productDetail/productDetail.wxml-->
<!--packagesList/pages/productDetail/productDetail.wxml-->
<pro-detail id="pro-detail" custom-class="{{!hasPhoneNumber?'max_page_height':''}}" actNum="{{actNum}}" cardInfo="{{cardInfo}}" activeNavIdx="{{activeNavIdx}}"></pro-detail>
<pro-detail id="pro-detail" custom-class="{{!hasPhoneNumber?'max_page_height':''}}" actNum="{{actNum}}" cardInfo="{{cardInfo}}" activeNavIdx="{{activeNavIdx}}"></pro-detail>
<pro-phone-number test-class="pro_phone_number" type="product" hasPhoneNumber="{{hasPhoneNumber}}" bind:updatePhoneNumber="updatePhoneNumber"></pro-phone-number>
\ No newline at end of file
\ No newline at end of file
<pro-phone-number custom-class="pro_phone_number" type="product" hasPhoneNumber="{{hasPhoneNumber}}" bind:updatePhoneNumber="updatePhoneNumber"></pro-phone-number>
\ No newline at end of file
\ No newline at end of file
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