list
This commit is contained in:
@@ -3,15 +3,45 @@ Page({
|
||||
|
||||
data: {
|
||||
codes: [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16],
|
||||
faq: [
|
||||
{ title: '超出焊接时间', date: '08.04 00:48' },
|
||||
{ title: '时间超长', date: '08.04 00:48' },
|
||||
{ title: '常见问题常见问题', date: '08.04 00:48' }
|
||||
faq: [{
|
||||
title: '超出焊接时间',
|
||||
date: '08.04 00:48'
|
||||
},
|
||||
{
|
||||
title: '时间超长',
|
||||
date: '08.04 00:48'
|
||||
},
|
||||
{
|
||||
title: '常见问题常见问题',
|
||||
date: '08.04 00:48'
|
||||
}
|
||||
],
|
||||
knowledge: [
|
||||
{ title: '超出焊接时间', date: '08.04 00:48' },
|
||||
{ title: '时间超长', date: '08.04 00:48' },
|
||||
{ title: '常见问题常见问题', date: '08.04 00:48' }
|
||||
knowledge: [{
|
||||
title: '超出焊接时间',
|
||||
date: '08.04 00:48'
|
||||
},
|
||||
{
|
||||
title: '时间超长',
|
||||
date: '08.04 00:48'
|
||||
},
|
||||
{
|
||||
title: '常见问题常见问题',
|
||||
date: '08.04 00:48'
|
||||
}
|
||||
]
|
||||
},
|
||||
})
|
||||
},
|
||||
|
||||
jumpPage(e) {
|
||||
|
||||
let jumpType = e.currentTarget.dataset.jumptype;
|
||||
console.log(jumpType == 1);
|
||||
if(jumpType == 1){
|
||||
wx.navigateTo({
|
||||
url: "/pages/list/list?id=1"
|
||||
})
|
||||
}
|
||||
// wx.navigateTo({
|
||||
// url: this.data.category[index].url
|
||||
// })
|
||||
},
|
||||
})
|
||||
@@ -17,7 +17,7 @@
|
||||
<view class="section-title">故障码快速查询</view>
|
||||
<view class="code-grid">
|
||||
<block wx:for="{{codes}}" wx:key="index">
|
||||
<view class="code-button">{{item}}</view>
|
||||
<view class="code-button" bind:tap="jumpPage" data-jumpType="2">{{item}}</view>
|
||||
</block>
|
||||
</view>
|
||||
<view class="pagination">
|
||||
@@ -36,23 +36,23 @@
|
||||
<view class="group-item-header">
|
||||
<view class="group-item-header-tip"></view>
|
||||
<view class="group-item-header-title">常见问题解决</view>
|
||||
<view class="group-item-header-tip">
|
||||
<view class="group-item-header-tip" bind:tap="jumpPage" data-jumpType="1">
|
||||
<view class="group-item-header-tip-txt">全部</view>
|
||||
<image class="group-item-header-tip-image" src="../../images/jt.png"></image>
|
||||
</view>
|
||||
</view>
|
||||
<view class="group-txt-item">
|
||||
<text class="group-txt-item-bullet">•</text>
|
||||
<view class="group-txt-item" bind:tap="jumpPage" data-jumpType="2">
|
||||
<view class="group-txt-item-bullet"></view>
|
||||
<text class="group-txt-item-text">超出焊接时间</text>
|
||||
<text class="group-txt-item-text-time">08.04 00:48</text>
|
||||
</view>
|
||||
<view class="group-txt-item">
|
||||
<text class="group-txt-item-bullet">•</text>
|
||||
<view class="group-txt-item" bind:tap="jumpPage" data-jumpType="2">
|
||||
<view class="group-txt-item-bullet"></view>
|
||||
<text class="group-txt-item-text">超出焊接时间</text>
|
||||
<text class="group-txt-item-text-time">08.04 00:48</text>
|
||||
</view>
|
||||
<view class="group-txt-item">
|
||||
<text class="group-txt-item-bullet">•</text>
|
||||
<view class="group-txt-item" bind:tap="jumpPage" data-jumpType="2">
|
||||
<view class="group-txt-item-bullet"></view>
|
||||
<text class="group-txt-item-text">超出焊接时间</text>
|
||||
<text class="group-txt-item-text-time">08.04 00:48</text>
|
||||
</view>
|
||||
@@ -64,23 +64,23 @@
|
||||
<view class="group-item-header">
|
||||
<view class="group-item-header-tip"></view>
|
||||
<view class="group-item-header-title">超声波知识</view>
|
||||
<view class="group-item-header-tip">
|
||||
<view class="group-item-header-tip" bind:tap="jumpPage" data-jumpType="1">
|
||||
<view class="group-item-header-tip-txt">全部</view>
|
||||
<image class="group-item-header-tip-image" src="../../images/jt.png"></image>
|
||||
</view>
|
||||
</view>
|
||||
<view class="group-txt-item">
|
||||
<text class="group-txt-item-bullet">•</text>
|
||||
<view class="group-txt-item" bind:tap="jumpPage" data-jumpType="2">
|
||||
<view class="group-txt-item-bullet"></view>
|
||||
<text class="group-txt-item-text">超出焊接时间</text>
|
||||
<text class="group-txt-item-text-time">08.04 00:48</text>
|
||||
</view>
|
||||
<view class="group-txt-item">
|
||||
<text class="group-txt-item-bullet">•</text>
|
||||
<view class="group-txt-item" bind:tap="jumpPage" data-jumpType="2">
|
||||
<view class="group-txt-item-bullet"></view>
|
||||
<text class="group-txt-item-text">超出焊接时间</text>
|
||||
<text class="group-txt-item-text-time">08.04 00:48</text>
|
||||
</view>
|
||||
<view class="group-txt-item">
|
||||
<text class="group-txt-item-bullet">•</text>
|
||||
<view class="group-txt-item" bind:tap="jumpPage" data-jumpType="2">
|
||||
<view class="group-txt-item-bullet"></view>
|
||||
<text class="group-txt-item-text">超出焊接时间</text>
|
||||
<text class="group-txt-item-text-time">08.04 00:48</text>
|
||||
</view>
|
||||
@@ -93,23 +93,23 @@
|
||||
<view class="group-item-header">
|
||||
<view class="group-item-header-tip"></view>
|
||||
<view class="group-item-header-title">技术支持</view>
|
||||
<view class="group-item-header-tip">
|
||||
<view class="group-item-header-tip" bind:tap="jumpPage" data-jumpType="1">
|
||||
<view class="group-item-header-tip-txt">全部</view>
|
||||
<image class="group-item-header-tip-image" src="../../images/jt.png"></image>
|
||||
</view>
|
||||
</view>
|
||||
<view class="group-txt-item">
|
||||
<text class="group-txt-item-bullet">•</text>
|
||||
<view class="group-txt-item" bind:tap="jumpPage" data-jumpType="2">
|
||||
<view class="group-txt-item-bullet"></view>
|
||||
<text class="group-txt-item-text">超出焊接时间</text>
|
||||
<text class="group-txt-item-text-time">08.04 00:48</text>
|
||||
</view>
|
||||
<view class="group-txt-item">
|
||||
<text class="group-txt-item-bullet">•</text>
|
||||
<view class="group-txt-item" bind:tap="jumpPage" data-jumpType="2">
|
||||
<view class="group-txt-item-bullet"></view>
|
||||
<text class="group-txt-item-text">超出焊接时间</text>
|
||||
<text class="group-txt-item-text-time">08.04 00:48</text>
|
||||
</view>
|
||||
<view class="group-txt-item">
|
||||
<text class="group-txt-item-bullet">•</text>
|
||||
<view class="group-txt-item" bind:tap="jumpPage" data-jumpType="2">
|
||||
<view class="group-txt-item-bullet"></view>
|
||||
<text class="group-txt-item-text">超出焊接时间</text>
|
||||
<text class="group-txt-item-text-time">08.04 00:48</text>
|
||||
</view>
|
||||
|
||||
@@ -176,7 +176,7 @@ page {
|
||||
}
|
||||
|
||||
.group-item-header {
|
||||
height: 100rpx;
|
||||
height: 110rpx;
|
||||
/* background: chartreuse; */
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
@@ -187,12 +187,25 @@ page {
|
||||
}
|
||||
|
||||
.group-item-header-title {
|
||||
flex: 1;
|
||||
/* flex: 1; */
|
||||
|
||||
width: 255rpx;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
/* padding-left: 25rpx;
|
||||
padding-right: 25rpx;
|
||||
padding-top: 5rpx; */
|
||||
padding:5rpx 25rpx 0 25rpx;
|
||||
font-family: YouSheBiaoTiHei-1;
|
||||
text-align: center;
|
||||
font-size: 36rpx;
|
||||
color: #3c8af6;
|
||||
|
||||
background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAPUAAAA3CAYAAADUkQzaAAAACXBIWXMAAAsTAAALEwEAmpwYAAAE6klEQVR4nO3dzW8VVRzG8e8tgkrEDWnsRmtdQMGgK0JAdGGIgi9bTXDbgBEksjL+Be40vjRY4svORbdqwEBYKEpYsDC02rKA1m4qxI1V0Dbluvidhi7umZd7Z+6559znkzSEO3Pm/ELzMHNnzpzTaDabiEg6BkIXICLVUqhFEnOfb8O1xZVu1uG3NXQB0nV/hi6gMiPAi8B+YAcwDGxx25aAeeA34CLwPXCjzMG3DW1s+XnD951aoZZg4g71BuA14DiwF2gUbNcELgGfApPAal4DX6h1+S1SnQPAFPA1sI/igcbtu8+1nXLHaotCLdK5B4AJ4BwwWsHxRt2xJtyxS1GoRTozCPwAHKnh2EfcsQfLNFKoRdo3CPwI7K6xj92uj8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OrVlXf4ouN9irVWI1KyuwSe9OLndmYL76e63RC0r1Kkt6/I++VO8Lrn9RKKVFerUlnWZw55D+4K99px6rkv1iNQiK9S9saxLtc8wzwK7sDmwF7CvCQvu77vQpbckIGuK4LVlXcoOPun1ZV3msWfpIknKu1GmZV1EIpMXai3rIhKZIo+00lnWRaQPeF/oEJE4aeYTkcQo1CKJ+R8nM+7CXs93fAAAAABJRU5ErkJggg==);
|
||||
background-size: cover;
|
||||
/* background-position: center; */
|
||||
background-position: 0 0;
|
||||
background-repeat: no-repeat;
|
||||
|
||||
|
||||
}
|
||||
|
||||
@@ -242,11 +255,17 @@ page {
|
||||
/*最后一个元素不带虚线*/
|
||||
|
||||
.group-txt-item-bullet {
|
||||
color: #318bf7;
|
||||
/* color: #318bf7;
|
||||
margin-right: 10rpx;
|
||||
font-size: 40rpx;
|
||||
font-weight: bold;
|
||||
line-height: 85rpx;
|
||||
line-height: 85rpx; */
|
||||
|
||||
width: 12rpx;
|
||||
height: 12rpx;
|
||||
background-color: #3c8bf6;; /* 蓝色圆点 */
|
||||
border-radius: 50%;
|
||||
margin-right: 15rpx;
|
||||
}
|
||||
|
||||
.group-txt-item-text {
|
||||
|
||||
Reference in New Issue
Block a user