123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225 |
- <template>
- <!-- 结算中心页面 -->
- <view>
- <view class="top">
- <view class="content">
- <view class="content-one">
- </view>
- <text class="content-two">代理商2</text>
- <text class="content-three">核销返利</text>
- <view class="content-four">
- <text>品牌</text>
- <text>奖励</text>
- <text @click="checkedAll1">全选</text>
- </view>
- <view class="content-five">
- <view>
- <u-icon name="photo"></u-icon>
- </view>
- <view>
- 800万
- </view>
- <view>
- <u-checkbox-group>
- <u-checkbox
- v-model="checked1"
- ></u-checkbox>
- </u-checkbox-group>
- </view>
- </view>
- <view class="content-five">
- <view>
- <u-icon name="photo"></u-icon>
- </view>
- <view>
- 800万
- </view>
- <view>
- <u-checkbox-group>
- <u-checkbox
- v-model="checked2"
- ></u-checkbox>
- </u-checkbox-group>
- </view>
- </view>
- <view class="content-five">
- <view>
- <u-icon name="photo"></u-icon>
- </view>
- <view>
- 800万
- </view>
- <view>
- <u-checkbox-group>
- <u-checkbox
- v-model="checked3"
- ></u-checkbox>
- </u-checkbox-group>
- </view>
- </view>
- </view>
- </view>
- <view class="content2">
- <view class="content-one">
- </view>
- <text class="content-two">代理商1</text>
- <text class="content-three">核销返利</text>
- <view class="content-four">
- <text>品牌</text>
- <text>奖励</text>
- <text @click="checkedAll">全选</text>
- </view>
- <view class="content-five">
- <view>
- <u-icon name="photo"></u-icon>
- </view>
- <view>
- 800万
- </view>
- <view>
- <u-checkbox-group>
- <u-checkbox
- v-model="checked4"
- ></u-checkbox>
- </u-checkbox-group>
- </view>
- </view>
- <view class="content-five">
- <view>
- <u-icon name="photo"></u-icon>
- </view>
- <view>
- 800万
- </view>
- <view>
- <u-checkbox-group>
- <u-checkbox
- v-model="checked5"
- ></u-checkbox>
- </u-checkbox-group>
- <!-- <u-button @click="checkedAll">全选</u-button> -->
- </view>
- </view>
-
- </view>
- </view>
- </view>
- </template>
- <script>
- export default {
- data() {
- return {
- checked1: false,
- checked2: false,
- checked3: false,
- checked4: false,
- checked5: false
- };
- },
- methods: {
- // 选中某个复选框时,由checkbox时触发
- checkboxChange(e) {
- //console.log(e);
- },
- // 选中任一checkbox时,由checkbox-group触发
- checkboxGroupChange(e) {
- // console.log(e);
- },
- // 全选
- checkedAll() {
- this.checked4 = true
- this.checked5 = true
- },
- checkedAll1() {
- this.checked1 = true
- this.checked2 = true
- this.checked3 = true
- }
- },
- }
- </script>
- <style>
- .top {
- width: 750rpx;
- height: 331rpx;
- background: url(../../../static/sailun/background.png) no-repeat;
- background-size: 750rpx 331rpx;
- }
- .content {
- width: 712rpx;
- height: 445rpx;
- margin: 0 auto;
- background: #FFFFFF;
- box-shadow: 0px 0px 24px 0px rgba(101, 176, 249, 0.41);
- border-radius: 18px;
- position: relative;
- top: 30rpx;
- }
- .content2 {
- width: 712rpx;
- height: 351rpx;
- margin: 0 auto;
- background: #FFFFFF;
- box-shadow: 0px 0px 24px 0px rgba(101, 176, 249, 0.41);
- border-radius: 18px;
- position: relative;
- top: 170rpx;
- }
- .content-one {
- width: 6rpx;
- height: 30rpx;
- background-color: #0589F8;
- position: relative;
- top: 20rpx;
- left: 30rpx;
- }
- .content-two {
- font: 26rpx;
- font-weight: bolder;
- position: relative;
- top: -14rpx;
- left: 60rpx;
- }
- .content-three {
- width: 114rpx;
- height: 40rpx;
- display: inline-block;
- background-color: #3A9FF2;
- position: relative;
- top: -14rpx;
- left: 470rpx;
- border-radius: 10rpx;
- font-size: 24rpx;
- color: #fff;
- text-align: center;
- line-height: 40rpx;
- }
- .content-four {
- display: flex;
- justify-content: space-between;
- font-weight: bolder;
- font-size: 26rpx;
- margin-top: 40rpx;
- margin-left: 80rpx;
- margin-right: 50rpx;
- }
- .content-five {
- display: flex;
- justify-content: space-between;
- font-size: 24rpx;
- margin-top: 40rpx;
- margin-left: 100rpx;
- font-weight: bolder;
- margin-right: 30rpx;
- }
- </style>
|