12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091 |
- <template>
- <view class="record-page">
- <!-- 头部 -->
- <headContent>
- <template #left>
- <reverse-back />
- </template>
- <template #content>
- <view class="haed-title">
- 充币记录
- </view>
- </template>
- </headContent>
- <!--  -->
- <view class="record-type">
- <view class="type-info" @click.stop="openSelectCurrency()">
- <text class="type-text">{{ currencyVal || '全部币种'}}</text>
- <text class="type-icon iconfont "></text>
- </view>
- <view @click.stop="openSelectTime()" class="condition-icon iconfont"></view>
- </view>
-
- <selectCurrency ref="selectCurrency" :currencyVal.sync="currencyVal"/>
- <selectTime ref="selectTimeRef" />
- </view>
- </template>
- <script>
- import reverseBack from "@/components/headModules/reverse-back.vue"
- import selectCurrency from "./components/select-currency.vue"
- import selectTime from "./components/select-time.vue"
- export default {
- name: 'charge-record',
- components: {
- reverseBack,
- selectCurrency,
- selectTime
- },
- data() {
- return {
- // share
- currencyVal:undefined
- }
- },
- methods: {
- openSelectCurrency(){
- this.$nextTick(() => {
- this.$refs.selectCurrency.open();
- })
- },
- openSelectTime(){
-
- }
- }
- }
- </script>
- <style lang="scss" scoped>
- .record-type{
- width: 100%;
- height: 90rpx;
- border: 1rpx solid $border-color;
- padding: 0 $pages-padding;
- border-left: none;
- border-right: none;
- display: flex;
- justify-content: space-between;
- align-items: center;
- padding-bottom: 10rpx;
- .type-info{
- width: 220rpx;
- height: 60rpx;
- background-color: #f5f5f5;
- display: flex;
- justify-content: space-between;
- align-items: center;
- font-size: 24rpx;
- padding: 0 20rpx;
- .type-icon{
- font-size: 22rpx;
- color: #ccc;
- }
- }
- .condition-icon{
- color: #666;
- // font-size: rpx;
- }
- }
-
- </style>
|