1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374 |
- <template>
- <app-layout>
- <view class="container">
- <view class="cell-box main-left" v-if="record">
- <view class="head-img">
- <u-image
- width="140"
- height="140"
- :src="userData.head_img"
- shape="circle"></u-image>
- </view>
- <view class="info dir-top-wrap main-center">
- <view class="title">充值桥架会员</view>
- <view class="sub-title">充值时间:{{record.buy_time}}</view>
- </view>
- <view class="price main-center cross-center">¥{{record.order_fee}}</view>
- </view>
- </view>
- </app-layout>
- </template>
- <script>
- import appLayout from "@/components/app-layout"
- export default {
- components:{
- appLayout,
- },
- data() {
- return {
- userData: this.vuex_user_data,
- record: null
- }
- },
- methods: {
- getMemberRecord(){
- this.$u.api.memberRecord().then(res => {
- this.record = res
- })
- }
- },
- onLoad(){
- this.userData = this.vuex_user_data
- this.getMemberRecord();
- }
- }
- </script>
- <style lang="scss" scoped>
- .cell-box{
- padding: 30rpx 0;
- .head-img{}
- .info{
- flex: 1;
- padding: 0 30rpx;
- .title{
- color: #333333;
- font-size: 32rpx;
- font-weight: 600;
- }
- .sub-title{
- color: #cccccc;
- font-size: 24rpx;
- line-height: 60rpx;
- }
- }
- .price{
- width: 100rpx;
- color: $main-color;
- font-weight: 600;
- font-size: 36rpx;
- }
- }
- </style>
|