set-user-sex.vue 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
  1. <template>
  2. <view class="flex-common-css">
  3. <Nav title="性别设置" titleColor="#333" bgckgroundBox='#fff'></Nav>
  4. <scroll-view :scroll-y="true" class="scroll-view-css">
  5. <view class="content-box">
  6. <view class="list-box box-border-box mb-80 bgc-f">
  7. <view class="item-box flex-justify-space" v-for="(item,index) in sexList" :key="index">
  8. <view class="fs-32 fc-3">
  9. {{item}}
  10. </view>
  11. <uni-icons color="#57CAFF" type="checkbox-filled" size="25"></uni-icons>
  12. </view>
  13. </view>
  14. <view class="but-box box-border-box">
  15. <view class="but fs-32 fc-f fw-600 b-rad-200 bgc-41ABF5 text-align-center">
  16. 保存
  17. </view>
  18. </view>
  19. </view>
  20. </scroll-view>
  21. </view>
  22. </template>
  23. <script>
  24. export default {
  25. components: {},
  26. data() {
  27. return {
  28. sexList:['保密','男','女'],
  29. sexId: 0
  30. };
  31. },
  32. onLoad(data) {},
  33. mounted() {},
  34. methods: {},
  35. }
  36. </script>
  37. <style lang="scss" scoped>
  38. .content-box{
  39. padding: 20rpx 0 0 0;
  40. }
  41. .list-box{
  42. padding: 0 32rpx;
  43. }
  44. .item-box{
  45. padding: 32rpx 0;
  46. border-bottom: 1rpx solid #EEEEEE;
  47. }
  48. .but-box{
  49. padding: 0 40rpx;
  50. }
  51. .but{
  52. width: 100%;
  53. height: 92rpx;
  54. line-height: 92rpx;
  55. }
  56. </style>