<template>
  <view class="wrap">
    <view class="card" @click="toUser">
      <view class="title">用户协议</view>
      <view class="desc">查看平台使用条款与隐私说明</view>
    </view>
    <view class="card" @click="toPurchase">
      <view class="title">购买协议</view>
      <view class="desc">查看盲盒购买规则与售后政策</view>
    </view>
  </view>
</template>

<script>
export default {
  methods: {
    toUser() { uni.navigateTo({ url: '/pages/agreement/user' }) },
    toPurchase() { uni.navigateTo({ url: '/pages/agreement/purchase' }) }
  }
}
</script>

<style scoped>
.wrap { padding: 24rpx }
.card { background: #fff; border-radius: 12rpx; padding: 24rpx; margin-bottom: 16rpx; box-shadow: 0 2rpx 8rpx rgba(0,0,0,0.04) }
.title { font-size: 30rpx; font-weight: 600 }
.desc { margin-top: 8rpx; font-size: 24rpx; color: #666 }
</style>