Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
saas
/
mini-program
/
hmd
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 b8dbe54e
authored
Jul 19, 2023
by
李伟康
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
修复BUG
1 parent
98a2ce44
Show whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
18 additions
and
8 deletions
api/env/index.js
components/SearchBox/SearchBox.wxml
components/image/index.js
packageMall/pages/pay/pay.scss
packageMall/pages/pay/pay.wxml
pages/tab/index/index.scss
pages/tab/index/index.wxml
pages/tab/mall/components/SearchBox/SearchBox.wxml
pages/tab/mall/components/SearchBox/SearchBox.wxss
api/env/index.js
View file @
b8dbe54
import
{
preReleaseAppId
}
from
'~/config'
import
{
preReleaseAppId
}
from
'~/config'
const
target
=
[
'ip'
,
'dev'
,
'uat'
,
'prod'
,
'preRelease'
]
const
target
=
[
'ip'
,
'dev'
,
'uat'
,
'prod'
,
'preRelease'
]
let
index
=
2
let
index
=
1
/**
/**
*
*
...
...
components/SearchBox/SearchBox.wxml
View file @
b8dbe54
...
@@ -7,7 +7,7 @@
...
@@ -7,7 +7,7 @@
<input type="text" bindinput="input" bindblur="blur" value="{{inputValue}}" placeholder-class="input-placeholder" placeholder="{{placeholder}}" confirm-type="search" class="input" bindconfirm="confirm" />
<input type="text" bindinput="input" bindblur="blur" value="{{inputValue}}" placeholder-class="input-placeholder" placeholder="{{placeholder}}" confirm-type="search" class="input" bindconfirm="confirm" />
<block wx:if="{{inputValue}}">
<block wx:if="{{inputValue}}">
<view class="clear-box" bindtap="clear">
<view class="clear-box" bindtap="clear">
<
view class="sprite-icon icon-clear"></view
>
<
icon type="clear" size="20" class="icon"></icon
>
</view>
</view>
</block>
</block>
</view>
</view>
...
...
components/image/index.js
View file @
b8dbe54
...
@@ -17,11 +17,11 @@ Component({
...
@@ -17,11 +17,11 @@ Component({
observer
:
async
function
(
url
,
o
)
{
observer
:
async
function
(
url
,
o
)
{
if
(
url
)
{
if
(
url
)
{
let
isWebp
=
url
.
includes
(
'webp'
)
let
isWebp
=
url
.
includes
(
'webp'
)
let
checkList
=
[
'https://'
,
'http://'
]
let
checkList
=
[
'https://'
,
'http://'
,
'data:image'
]
let
isFullAdd
=
checkList
.
map
(
item
=>
url
.
includes
(
item
)).
some
(
item
=>
item
)
let
isFullAdd
=
checkList
.
map
(
item
=>
url
.
includes
(
item
)).
some
(
item
=>
item
)
this
.
setData
({
this
.
setData
({
isWebp
,
isWebp
,
imagePath
:
`
${
isFullAdd
?
''
:
IMG_URL
}${
url
}
?v=`
+
await
systemApi
.
getImageVersion
(
)
imagePath
:
`
${
isFullAdd
?
''
:
IMG_URL
}${
url
}
`
+
(
isFullAdd
?
''
:
`?v=
${
await
systemApi
.
getImageVersion
()}
`
)
})
})
}
}
}
}
...
...
packageMall/pages/pay/pay.scss
View file @
b8dbe54
...
@@ -51,7 +51,7 @@
...
@@ -51,7 +51,7 @@
}
}
.address-box
.right
.icon
{
.address-box
.right
.icon
{
width
:
16
rpx
;
width
:
28
rpx
;
height
:
28rpx
;
height
:
28rpx
;
}
}
.content-box
{
.content-box
{
...
...
packageMall/pages/pay/pay.wxml
View file @
b8dbe54
...
@@ -19,7 +19,9 @@
...
@@ -19,7 +19,9 @@
选择收货地址
选择收货地址
</block>
</block>
<view class="right text-center">
<view class="right text-center">
<view class="sprite-icon icon-mine-arrow"></view>
<view class="icon">
<glsx-image src="mine/mine-arrow.png"></glsx-image>
</view>
</view>
</view>
</view>
</view>
</block>
</block>
...
...
pages/tab/index/index.scss
View file @
b8dbe54
...
@@ -174,3 +174,10 @@ page {
...
@@ -174,3 +174,10 @@ page {
font-size
:
12px
;
font-size
:
12px
;
color
:
#858A94
;
color
:
#858A94
;
}
}
.goods-bottom
{
padding
:
20rpx
0
;
text-align
:
center
;
font-size
:
24rpx
;
color
:
#999999
;
}
\ No newline at end of file
\ No newline at end of file
pages/tab/index/index.wxml
View file @
b8dbe54
...
@@ -61,6 +61,7 @@
...
@@ -61,6 +61,7 @@
</view>
</view>
</view>
</view>
</block>
</block>
<view class="goods-bottom">- 到 底 了 -</view>
</view>
</view>
</view>
</view>
<block wx:else>
<block wx:else>
...
...
pages/tab/mall/components/SearchBox/SearchBox.wxml
View file @
b8dbe54
...
@@ -8,7 +8,7 @@
...
@@ -8,7 +8,7 @@
placeholder="{{placeholder}}" confirm-type="search" class="input" bindconfirm="confirm" />
placeholder="{{placeholder}}" confirm-type="search" class="input" bindconfirm="confirm" />
<block wx:if="{{inputValue}}">
<block wx:if="{{inputValue}}">
<view class="clear-box" bindtap="clear">
<view class="clear-box" bindtap="clear">
<
view class="sprite-icon icon-clear"></view
>
<
icon type="clear" size="20" class="icon"></icon
>
</view>
</view>
</block>
</block>
</view>
</view>
...
...
pages/tab/mall/components/SearchBox/SearchBox.wxss
View file @
b8dbe54
...
@@ -58,7 +58,7 @@
...
@@ -58,7 +58,7 @@
align-items: center;
align-items: center;
justify-content: center;
justify-content: center;
}
}
.input-box .clear-box .
clear
{
.input-box .clear-box .
icon
{
width: 32rpx;
width: 32rpx;
height: 32rpx;
height: 32rpx;
opacity: .7;
opacity: .7;
...
...
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