在url 前面加冒号:

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

    **