| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130 |
- <template>
- <view class="container">
- <!-- 图片区域 -->
- <img src="../../static/my/shopImg3.png" />
- <!-- 账户信息区域 -->
- <view class="box">
- <view class="box_title">账户信息</view>
- <view class="box_hotel">
- <view class="totel_left">民宿名称</view>
- <view class="">靖安民宿</view>
- </view>
- <view class="box_name">
- <view class="name_left">用户名</view>
- <view class="">dbhsbjh</view>
- </view>
- <view class="box_btn">
- <view class="btn_item type" @click="handleUnbind">去解绑</view>
- <view class="btn_item type2" @click="handleAgain">重新绑定</view>
- </view>
- </view>
- </view>
- </template>
- <script>
- export default {
- data() {
- return {}
- },
- methods: {
- // 去解绑按钮回调
- handleUnbind() {
- uni.navigateTo({
- url: '/pages/binding/binding?type=2'
- })
- },
- // 重新绑定按钮回调
- handleAgain() {
- uni.navigateTo({
- url: '/pages/binding/binding'
- })
- }
- }
- }
- </script>
- <style lang="scss" scoped>
- .container {
- display: flex;
- flex-direction: column;
- align-items: center;
- height: 100vh;
- background-color: #fff;
- img {
- margin-top: 31rpx;
- width: 390rpx;
- height: 390rpx;
- }
- .box {
- box-sizing: border-box;
- padding: 0 30rpx;
- margin-top: 20rpx;
- width: 690rpx;
- height: 548rpx;
- border-radius: 23rpx;
- box-shadow: 0px 0px 9px rgba(0, 0, 0, 0.25);
- .box_title {
- line-height: 113rpx;
- font-size: 32rpx;
- font-weight: bold;
- }
- .box_hotel {
- display: flex;
- height: 75rpx;
- font-size: 28rpx;
- border-bottom: 1rpx solid #e6e6e6;
- .totel_left {
- margin-right: 34rpx;
- color: #808080;
- }
- }
- .box_name {
- display: flex;
- align-items: center;
- height: 107rpx;
- font-size: 28rpx;
- border-bottom: 1rpx solid #e6e6e6;
- .name_left {
- margin-right: 62rpx;
- color: #808080;
- }
- }
- .box_btn {
- display: flex;
- justify-content: space-between;
- margin-top: 102rpx;
- height: 96rpx;
- .btn_item {
- display: flex;
- justify-content: center;
- align-items: center;
- width: 300rpx;
- height: 96rpx;
- font-size: 32rpx;
- border-radius: 64rpx;
- }
- .type {
- color: #096562;
- background-color: #fff;
- border: 1rpx solid #096562;
- }
- .type2 {
- color: #fff;
- background-color: #096562;
- }
- }
- }
- }
- </style>
|