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
ff078931
authored
May 20, 2023
by
LJM
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
css
parent
bd1691b9
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
168 additions
and
30 deletions
assets/css/mine/news.scss
pages/mine/article.vue
pages/mine/forget.vue
router/index.js
assets/css/mine/news.scss
View file @
ff078931
...
...
@@ -87,4 +87,84 @@
font-size
:
44rpx
;
color
:
#1969f9
;
}
.detail
{
padding-top
:
40rpx
;
background-color
:
#ffffff
;
padding
:
0
24rpx
;
.title
{
margin-bottom
:
28rpx
;
font-size
:
32rpx
;
color
:
#292b33
;
font-weight
:
600
;
}
.info
{
margin-bottom
:
20rpx
;
.tt
{
text
{
font-size
:
24rpx
;
color
:
#919399
;
}
}
.time
{
font-size
:
24rpx
;
color
:
#919399
;
}
}
.label
{
.box
{
padding
:
0
16rpx
;
margin-right
:
14rpx
;
height
:
34rpx
;
background
:
#ffffff
;
border-radius
:
17rpx
;
border
:
1px
solid
#23a8f6
;
font-size
:
22rpx
;
color
:
#23a8f6
;
}
}
.content
{
border-bottom
:
1px
solid
#f0f0f2
;
padding-bottom
:
40rpx
;
margin-top
:
40rpx
;
font-size
:
26rpx
;
color
:
#484b59
;
line-height
:
50rpx
;
image
{
max-width
:
100%
;
}
}
}
.hot-article
{
padding
:
27rpx
24rpx
24rpx
24rpx
;
background-color
:
#ffffff
;
.title
{
margin-bottom
:
18rpx
;
.t1
{
font-size
:
28rpx
;
color
:
#292b33
;
font-weight
:
600
;
}
.iconfont
{
font-size
:
40rpx
;
color
:
#f98119
;
}
}
.list
{
.box
{
margin-bottom
:
24rpx
;
font-size
:
24rpx
;
color
:
#484b59
;
&
.curr
{
color
:
#1969f9
;
}
}
}
}
.ad
{
padding
:
28rpx
24rpx
30rpx
24rpx
;
image
{
width
:
100%
;
height
:
302px
;
}
}
}
pages/mine/article.vue
View file @
ff078931
...
...
@@ -5,7 +5,37 @@
<view
style=
"text-align: right;"
><text
class=
"iconfont icon-juxing5"
></text></view>
</
template
>
</navElement>
<view></view>
<view
class=
"detail"
>
<view
class=
"title"
>
猎芯以数字化方式构建全新质检体系,保障企业用“芯”无忧
</view>
<view
class=
"info row bothSide verCenter"
>
<view
class=
"tt"
>
<text
style=
"margin-right: 100rpx;"
>
来源:网络整理
</text>
<text>
阅读 232
</text>
</view>
<view
class=
"time"
>
2023-04-12 11:16
</view>
</view>
<view
class=
"label row"
>
<view
class=
"box row rowCenter verCenter"
>
专用传感器
</view>
<view
class=
"box row rowCenter verCenter"
>
美仁
</view>
<view
class=
"box row rowCenter verCenter"
>
猎芯动态
</view>
</view>
<view
class=
"content"
>
近日,猎芯质检中心完成检测设备与综合配套能力的全面升级!伴随着整体的质检场地扩容以及整套标准化质检程序的完善,猎芯质检中心现已具备对芯片等主动器件进行全量数据比对、外观检测、电气性能测试、可焊性测试、X-RAY无损透视检测、烘烤、真空包装等能力。同时拥有LCR测量,支持对电感、电容、电阻等被动器件全外观及标签的全功能电性功能检测能力。通过多设备多程序及系统作业,一方面确保猎芯质检中心基于基础器件检测结果的专业性,同时整体提升了质检全流程在交易履约服务中的应用效率!
</view>
</view>
<view
class=
"hot-article"
>
<view
class=
"title row verCenter"
>
<text
class=
"t1"
>
热门文章
</text>
<text
class=
"iconfont icon-a-juxing1"
></text>
</view>
<view
class=
"list"
>
<view
class=
"box curr"
>
1. 猎芯以数字化方式构建全新质检体系,保障企业用“芯”无忧
</view>
<view
class=
"box curr"
>
2. 猎芯以数字化方式构建全新质检体系,保障企业用“芯”无忧
</view>
<view
class=
"box curr"
>
3. 猎芯以数字化方式构建全新质检体系,保障企业用“芯”无忧
</view>
<view
class=
"box"
>
4. 猎芯以数字化方式构建全新质检体系,保障企业用“芯”无忧
</view>
<view
class=
"box"
>
5. 猎芯以数字化方式构建全新质检体系,保障企业用“芯”无忧
</view>
</view>
</view>
<view
class=
"ad"
><image
src=
"https://img.ichunt.com/images/ichunt/202305/20/ffa1060a38803d5b436b33259fe142d0.jpg"
mode=
"aspectFill"
></image></view>
<uni-popup
ref=
"share"
type=
"share"
safeArea
backgroundColor=
"#fff"
><uni-popup-share></uni-popup-share></uni-popup>
</view>
</template>
...
...
@@ -20,7 +50,11 @@ export default {
return
{};
},
onShow
()
{},
methods
:
{}
methods
:
{
open
()
{
this
.
$refs
.
popup
.
open
(
'bottom'
);
}
}
};
</
script
>
...
...
pages/mine/forget.vue
View file @
ff078931
<
template
>
<view
class=
"page-forget"
>
<navElement
title=
"重置密码"
v-back
></navElement>
<navElement
title=
"重置密码"
></navElement>
<view
class=
"tip row"
>
<text
class=
"iconfont icon-ts"
></text>
<text
class=
"tt"
>
猎芯网移动端目前仅支持手机号找回方式,如果您要通过邮箱账号找回密码,请使用电脑打开猎芯网www.ichunt.com
</text>
...
...
@@ -61,7 +61,12 @@
<
script
>
import
{
Ichunt_Api
,
Api_Url
,
Code_Url
}
from
'@/util/api.js'
;
import
navElement
from
'@/components/nav.vue'
;
export
default
{
components
:
{
navElement
},
data
()
{
return
{
code_text
:
'获取验证码'
,
...
...
@@ -71,8 +76,8 @@ export default {
textArr
:
[
'身份验证'
,
'重置密码'
,
'完成'
],
verify_flag
:
false
,
//是否显示验证码
pwd_flag
:
true
,
curr
:
2
,
url
:
Code_Url
,
curr
:
0
,
url
:
Code_Url
+
'?pf=2'
,
formParams
:
{
password
:
''
,
sms_verify
:
''
,
...
...
@@ -90,6 +95,16 @@ export default {
this
.
formParams
.
intl_code
=
this
.
array
[
e
.
detail
.
value
];
},
/**
* 刷新验证码
*/
refresh
()
{
var
Yo4teW_gid
=
getCookie
(
'Yo4teW_gid'
);
var
Yo4teW_csrf
=
getCookie
(
'Yo4teW_csrf'
);
var
Yo4teW_uid
=
getCookie
(
'Yo4teW_uid'
);
this
.
url
=
Code_Url
+
'?time='
+
new
Date
().
getTime
()
+
'&pf=2&Yo4teW_gid='
+
Yo4teW_gid
+
'&Yo4teW_csrf='
+
Yo4teW_csrf
+
'&Yo4teW_uid='
+
Yo4teW_uid
;
},
/**
* 手机验证码
*/
countdownChange
()
{
...
...
router/index.js
View file @
ff078931
...
...
@@ -65,13 +65,13 @@ const router = new Router({
title
:
'品牌详情'
}
},
{
path
:
'/pages/detail/detail/'
,
aliasPath
:
'/item'
,
meta
:
{
title
:
'商品详情'
}
},
{
path
:
'/pages/detail/detail/'
,
aliasPath
:
'/item'
,
meta
:
{
title
:
'商品详情'
}
},
{
path
:
'/pages/mine/login'
,
aliasPath
:
'/login'
,
...
...
@@ -98,70 +98,79 @@ const router = new Router({
aliasPath
:
'/user'
,
meta
:
{
title
:
'会员中心'
,
auth
:
true
auth
:
true
}
},
{
path
:
'/pages/mine/userOrder'
,
aliasPath
:
'/userOrder'
,
meta
:
{
title
:
'订单列表'
title
:
'订单列表'
,
auth
:
true
}
},
{
path
:
'/pages/mine/userCoupon'
,
aliasPath
:
'/userCoupon'
,
meta
:
{
title
:
'优惠券'
title
:
'优惠券'
,
auth
:
true
}
},
{
path
:
'/pages/mine/userAddress'
,
aliasPath
:
'/user/reciveaddress'
,
meta
:
{
title
:
'收货地址'
title
:
'收货地址'
,
auth
:
true
}
},
{
path
:
'/pages/mine/userAddressAdd'
,
aliasPath
:
'/userAddressAdd'
,
meta
:
{
title
:
'新增地址'
title
:
'新增地址'
,
auth
:
true
}
},
{
path
:
'/pages/mine/userAddressEdit'
,
aliasPath
:
'/userAddressEdit'
,
meta
:
{
title
:
'编辑地址'
title
:
'编辑地址'
,
auth
:
true
}
},
{
path
:
'/pages/mine/coupdz'
,
aliasPath
:
'/user/coupdz'
,
meta
:
{
title
:
'京东卡'
title
:
'京东卡'
,
auth
:
true
}
},
{
path
:
'/pages/mine/zqsx'
,
aliasPath
:
'/activity/zqsx'
,
meta
:
{
title
:
'账期服务'
title
:
'账期服务'
,
auth
:
true
}
},
{
path
:
'/pages/mine/news'
,
aliasPath
:
'/news'
,
meta
:
{
title
:
'新闻'
title
:
'新闻'
,
auth
:
true
}
},
{
path
:
'/pages/mine/article'
,
aliasPath
:
'/article'
,
meta
:
{
title
:
'新闻详情'
title
:
'新闻详情'
,
auth
:
true
}
},
{
...
...
@@ -176,14 +185,14 @@ const router = new Router({
//全局路由前置守卫
router
.
beforeEach
((
to
,
from
,
next
)
=>
{
if
(
to
.
meta
.
auth
)
{
if
(
!
getCookie
(
'Yo4teW_uid'
)
||
getCookie
(
'Yo4teW_uid'
)
==
0
)
{
uni
.
navigateTo
({
url
:
'/login?referer='
+
to
.
aliasPath
})
}
}
if
(
to
.
meta
.
auth
)
{
if
(
!
getCookie
(
'Yo4teW_uid'
)
||
getCookie
(
'Yo4teW_uid'
)
==
0
)
{
uni
.
navigateTo
({
url
:
'/login?referer='
+
to
.
aliasPath
})
}
}
//写入 Yo4teW_gid Yo4teW_csrf
if
(
!
getCookie
(
"Yo4teW_gid"
))
{
request
(
Api_Url
+
"/public/apiInit"
,
'get'
,
{}).
then
(
res
=>
{
...
...
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