1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162 |
- <template>
- <view class="content">
- <view class="box">
- <view class="historyLine" v-for="(item,index) in historyList" @click="goDetail(item)">
- <image :src="item.logo" mode="" class="historylinecarImg"></image>
- <view class="historylinecar">{{item.title}}</view>
- </view>
- </view>
- </view>
- </template>
- <script>
- export default {
- components: {
-
- },
- data() {
- return {
- historyList:[],
- }
- },
- onLoad(opt) {
- this.queryHistory()
- },
- methods: {
- goDetail(e){
- uni.navigateTo({
- url:'/pages/index/byItem?nLevelID='+e.nLevelID+'&logo='+e.logo+'&value='+e.title+'&id='+e.groupID
- })
- },
- queryHistory(){
- this.$http2('queryHistory', {
-
-
- },'POST').then(res => {
-
- this.historyList=res.data
- })
- },
- }
- }
- </script>
- <style scoped>
- .box{
- padding: 0 24rpx;
- }
- .historylinecarImg{
- width: 46rpx;
- height: 46rpx;
- }
- .historylinecar{
- font-weight: 400;font-size: 26rpx;
- color: #1A1A1A;
- line-height: 37rpx;width: 636rpx;
- }
- .historyLine{
- display: flex;justify-content: space-between;
- padding: 30rpx 0;border-top: 1rpx solid #EEEEEE;
- }
- </style>
|