在url 前面加冒号:
<navigator class="card" v-for="(item,index) in datas" :key="index" :url="'approve-detail?id='+index" hover-class="hover"
hover-stay-time="100">
<!-- 左边装饰 -->
<view class="dec" :style="{'background-color':item.color}"></view>
<view class="content">
<view class="title">
<text style="color: #000;font-size: 28rpx;">{{item.title}}</text>
<text :style="{'color': item.color}">驳回</text>
</view>
<text style="margin-top: 20rpx;color: #5E76B2;">产品扶持申报</text>
<view style="height: 1px; background: #C7C7C7; margin: 31rpx 0;width: 100%;"></view>
<text style="color: #999999;">申报时间:{{item.time}}</text>
</view>
</navigator>
**