Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
肖康
/
H5_2.0
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
132cfcb6
authored
May 29, 2023
by
LJM
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
css
parent
625ce282
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
19 additions
and
78 deletions
assets/css/mine/dome.scss
pages/mine/dome.vue
uni_modules/uni-popup/components/uni-popup-share/uni-popup-share.vue
assets/css/mine/dome.scss
View file @
132cfcb6
...
...
@@ -115,6 +115,7 @@
.pic
{
width
:
144rpx
;
height
:
81rpx
;
overflow
:
hidden
;
margin-bottom
:
16rpx
;
box-sizing
:
border-box
;
}
...
...
@@ -175,6 +176,10 @@
font-size
:
26rpx
;
color
:
#1969f9
;
margin-bottom
:
2rpx
;
text-overflow
:
ellipsis
;
white-space
:
nowrap
;
overflow
:
hidden
;
width
:
250rpx
;
}
.t2
{
font-size
:
24rpx
;
...
...
pages/mine/dome.vue
View file @
132cfcb6
...
...
@@ -57,77 +57,18 @@
<view
class=
"cooperation"
>
<view
class=
"uni-swiper-wrap"
>
<swiper
class=
"swiper"
circular
:indicator-dots=
"indicatorDots"
:autoplay=
"autoplay"
:interval=
"interval"
:duration=
"duration"
>
<swiper-item>
<view
class=
"box row avarage"
>
<image
mode=
"aspectFill"
src=
"https://img.ichunt.com/images/ichunt/202305/27/58c2e7a3d42ed265a2c763bf704d807a.jpg"
lazy-load=
"true"
class=
"pic"
></image>
<image
mode=
"aspectFill"
src=
"https://img.ichunt.com/images/ichunt/202305/27/2ddce4486082a8b825f3026fe3e715aa.jpg"
lazy-load=
"true"
class=
"pic"
></image>
<image
mode=
"aspectFill"
src=
"https://img.ichunt.com/images/ichunt/202305/27/58c2e7a3d42ed265a2c763bf704d807a.jpg"
lazy-load=
"true"
class=
"pic"
></image>
<image
mode=
"aspectFill"
src=
"https://img.ichunt.com/images/ichunt/202305/27/2ddce4486082a8b825f3026fe3e715aa.jpg"
lazy-load=
"true"
class=
"pic"
></image>
<image
mode=
"aspectFill"
src=
"https://img.ichunt.com/images/ichunt/202305/27/58c2e7a3d42ed265a2c763bf704d807a.jpg"
lazy-load=
"true"
class=
"pic"
></image>
<image
mode=
"aspectFill"
src=
"https://img.ichunt.com/images/ichunt/202305/27/2ddce4486082a8b825f3026fe3e715aa.jpg"
lazy-load=
"true"
class=
"pic"
></image>
<image
mode=
"aspectFill"
src=
"https://img.ichunt.com/images/ichunt/202305/27/58c2e7a3d42ed265a2c763bf704d807a.jpg"
lazy-load=
"true"
class=
"pic"
></image>
<image
mode=
"aspectFill"
src=
"https://img.ichunt.com/images/ichunt/202305/27/2ddce4486082a8b825f3026fe3e715aa.jpg"
lazy-load=
"true"
class=
"pic"
></image>
</view>
</swiper-item>
<swiper-item>
<view
class=
"box row avarage"
>
<image
mode=
"aspectFill"
src=
"https://img.ichunt.com/images/ichunt/202305/27/58c2e7a3d42ed265a2c763bf704d807a.jpg"
lazy-load=
"true"
class=
"pic"
></image>
<image
mode=
"aspectFill"
src=
"https://img.ichunt.com/images/ichunt/202305/27/2ddce4486082a8b825f3026fe3e715aa.jpg"
lazy-load=
"true"
class=
"pic"
></image>
<image
mode=
"aspectFill"
src=
"https://img.ichunt.com/images/ichunt/202305/27/58c2e7a3d42ed265a2c763bf704d807a.jpg"
lazy-load=
"true"
class=
"pic"
></image>
<image
mode=
"aspectFill"
src=
"https://img.ichunt.com/images/ichunt/202305/27/2ddce4486082a8b825f3026fe3e715aa.jpg"
lazy-load=
"true"
class=
"pic"
></image>
</view>
<swiper-item
v-for=
"(item, index) in detail.h5_domestic_strategic_partner"
:key=
"index"
>
<view
class=
"box row avarage"
><image
mode=
"aspectFill"
v-for=
"(v, i) in item"
:key=
"i"
:src=
"v.images"
lazy-load=
"true"
class=
"pic"
></image></view>
</swiper-item>
</swiper>
</view>
</view>
<view
class=
"title row rowCenter verCenter"
>
国产热门型号
</view>
<view
class=
"content"
>
<view
class=
"head row bothSide verCenter"
>
<view
class=
"left"
>
<image
src=
"https://img.ichunt.com/images/ichunt/202305/27/58c2e7a3d42ed265a2c763bf704d807a.jpg"
mode=
"aspectFill"
class=
"pic"
></image>
<text
class=
"tt"
>
发光二极管
</text>
</view>
<view
class=
"right row verCenter"
>
<text
class=
"iconfont icon-a-juxing1"
></text>
<text
class=
"tt"
>
排名热度前10
</text>
</view>
</view>
<view
class=
"list row bothSide"
>
<view
class=
"box row"
v-for=
"(item, index) in 10"
:key=
"index"
>
<view
class=
"index-class"
>
{{ index + 1 }}
</view>
<view
class=
"text column"
>
<text
class=
"t1"
>
FTZ15N35G
</text>
<text
class=
"t2"
>
ABLIC
</text>
</view>
</view>
</view>
</view>
<view
class=
"content"
>
<view
class=
"head row bothSide verCenter"
>
<view
class=
"left"
>
<image
src=
"https://img.ichunt.com/images/ichunt/202305/27/58c2e7a3d42ed265a2c763bf704d807a.jpg"
mode=
"aspectFill"
class=
"pic"
></image>
<text
class=
"tt"
>
发光二极管
</text>
</view>
<view
class=
"right row verCenter"
>
<text
class=
"iconfont icon-a-juxing1"
></text>
<text
class=
"tt"
>
排名热度前10
</text>
</view>
</view>
<view
class=
"list row bothSide"
>
<view
class=
"box row"
v-for=
"(item, index) in 10"
:key=
"index"
>
<view
class=
"index-class"
>
{{ index + 1 }}
</view>
<view
class=
"text column"
>
<text
class=
"t1"
>
FTZ15N35G
</text>
<text
class=
"t2"
>
ABLIC
</text>
</view>
</view>
</view>
</view>
<view
class=
"content"
>
<view
class=
"content"
v-for=
"(item, index) in detail.h5_domestic_hot_goods"
:key=
"index"
>
<view
class=
"head row bothSide verCenter"
>
<view
class=
"left"
>
<image
src=
"https://img.ichunt.com/images/ichunt/202305/27/58c2e7a3d42ed265a2c763bf704d807a.jpg
"
mode=
"aspectFill"
class=
"pic"
></image>
<text
class=
"tt"
>
有源晶振
</text>
<image
:src=
"item.images
"
mode=
"aspectFill"
class=
"pic"
></image>
<text
class=
"tt"
>
{{ item.title }}
</text>
</view>
<view
class=
"right row verCenter"
>
<text
class=
"iconfont icon-a-juxing1"
></text>
...
...
@@ -135,11 +76,11 @@
</view>
</view>
<view
class=
"list row bothSide"
>
<view
class=
"box row"
v-for=
"(
item, index) in 10"
:key=
"index
"
>
<view
class=
"index-class"
>
{{ i
ndex
+ 1 }}
</view>
<view
class=
"box row"
v-for=
"(
v, i) in item.sku_list"
:key=
"i
"
>
<view
class=
"index-class"
>
{{ i + 1 }}
</view>
<view
class=
"text column"
>
<text
class=
"t1"
>
FTZ15N35G
</text>
<text
class=
"t2"
>
ABLIC
</text>
<text
class=
"t1"
>
{{ v.goods_name }}
</text>
<text
class=
"t2"
>
{{ v.standard_brand_name }}
</text>
</view>
</view>
</view>
...
...
@@ -150,7 +91,7 @@
</template>
<
script
>
import
{
Api_Url
}
from
'@/util/api.js'
;
import
{
Api_Url
,
Ichunt_Api
}
from
'@/util/api.js'
;
import
navElement
from
'@/components/nav.vue'
;
import
wx
from
'jweixin-module'
;
export
default
{
...
...
@@ -164,10 +105,10 @@ export default {
indicatorDots
:
true
,
autoplay
:
true
,
interval
:
20000
,
duration
:
500
duration
:
500
,
detail
:
{}
};
},
onLoad
(
options
)
{},
onShow
()
{
this
.
getData
();
},
...
...
@@ -250,9 +191,9 @@ export default {
});
},
getData
(
type
)
{
this
.
request
(
Api_Url
+
'/article/getArticleList'
,
'POST'
,
this
.
searchParams
,
true
,
true
).
then
(
res
=>
{
this
.
request
(
Ichunt_Api
+
'/api/Domestic/index'
,
'GET'
,
{}
,
true
,
true
).
then
(
res
=>
{
if
(
res
.
err_code
===
0
)
{
}
else
{
this
.
detail
=
res
.
data
;
}
});
}
...
...
uni_modules/uni-popup/components/uni-popup-share/uni-popup-share.vue
View file @
132cfcb6
...
...
@@ -53,11 +53,6 @@ export default {
text
:
'复制链接'
,
icon
:
'https://img.ichunt.com/images/ichunt/202305/27/726bff17f48ad6866f9e6956c19cb1a8.png'
,
name
:
'link'
},
{
text
:
'二维码'
,
icon
:
'https://img.ichunt.com/images/ichunt/202305/27/8478b5b31e6bc6f84676369ff18a9556.png'
,
name
:
'code'
}
]
};
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
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 comment