酷炫直播运营系统小程序版本

expenseConfig.vue 1.3KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263
  1. <template>
  2. <uni-drawer ref="showinfoMask" mode="left">
  3. <view class="drawer_info">
  4. <view class="text-center">您的基础信息暂未配置<br>请配置完成后再添加报销!</view>
  5. <view class="footer">
  6. <view class="cancel" @click="closeDrawer">取消</view>
  7. <view class="confirm" @click="goInfoPage">去添加</view>
  8. </view>
  9. </view>
  10. </uni-drawer>
  11. </template>
  12. <script>
  13. export default {
  14. methods:{
  15. openDrawer(){
  16. this.$refs.showinfoMask.open()
  17. },
  18. closeDrawer () {
  19. this.$refs.showinfoMask.close()
  20. },
  21. goInfoPage () {
  22. uni.navigateTo({
  23. url: '../selfInfo/selfInfo'
  24. })
  25. },
  26. }
  27. }
  28. </script>
  29. <style lang="scss" scoped>
  30. .drawer_info {
  31. background-color: #2a2c3b;
  32. height: 100%;
  33. width: 750rpx;
  34. color: #fff;
  35. padding: 60rpx 50rpx;
  36. .footer {
  37. margin-top: 80rpx;
  38. display: flex;
  39. align-items: center;
  40. justify-content: center;
  41. .cancel {
  42. font-size: 28rpx;
  43. color: #747474;
  44. border-radius: 4px;
  45. border: 1px solid #747474;
  46. padding: 20rpx 50rpx;
  47. }
  48. .confirm {
  49. font-size: 28rpx;
  50. color: #fff;
  51. border-radius: 4px;
  52. border: 1px solid #5b80f4;
  53. padding: 20rpx 50rpx;
  54. background: #5b80f4;
  55. margin-left: 20rpx;
  56. }
  57. }
  58. }
  59. </style>