特易招,招聘小程序
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

255 lines
4.9 KiB

6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
  1. <template>
  2. <view class="page">
  3. <navbar title="记工记账" />
  4. <view class="page-tag">
  5. <uv-tabs :list="tabs"
  6. @click="clickTabs"
  7. lineWidth="55"
  8. lineHeight="8" :activeStyle="{
  9. color: '#3796F8',
  10. }" :inactiveStyle="{
  11. color: '#999999',
  12. }" itemStyle="padding:60rpx 20rpx 20rpx 20rpx;width: 44%;"></uv-tabs>
  13. </view>
  14. <view class="page-picture">
  15. <view class="page-picture-img">
  16. <view class="page-picture-group" @click="show = true">
  17. <image src="../../static/image/keepAccounts/artisan.png" mode="aspectFit" />
  18. <view>
  19. 新建账本
  20. </view>
  21. </view>
  22. </view>
  23. <view class="page-picture-img"
  24. @click="$utils.navigateTo('/pages_order/kepp/AnnualExpenditure')">
  25. <view class="page-picture-group">
  26. <image src="../../static/image/keepAccounts/wallet.png" mode="aspectFit" />
  27. <view>全年收支</view>
  28. </view>
  29. </view>
  30. <view class="page-picture-img" @click="$utils.navigateTo('/pages_order/kepp/MechanicProblem')">
  31. <view class="page-picture-group">
  32. <image src="../../static/image/keepAccounts/accountBook.png" mode="aspectFit" />
  33. <view>
  34. 技工问题
  35. </view>
  36. </view>
  37. </view>
  38. </view>
  39. <view style="font-weight: 500; margin-top: 20rpx;">
  40. <uv-tabs :list="tabsSatus" lineWidth="0" lineHeight="0" :activeStyle="{
  41. color: '#3796F8',
  42. }"></uv-tabs>
  43. </view>
  44. <uv-overlay :show="show">
  45. <view class="warp">
  46. <view class="rect">
  47. <view class="warp-top">
  48. 新建项目
  49. </view>
  50. <view class="rect-two">
  51. <view class="designation">项目名称</view>
  52. <view class="wire" />
  53. <view class="description">请输入项目名称</view>
  54. <input class="rect-input" />
  55. <view class="wire" style="margin-top: 20rpx;" />
  56. <view class="option">
  57. <select class="select">
  58. <option value="option1">收入 </option>
  59. </select>
  60. </view>
  61. <view class="introduce">
  62. 项目金额1314
  63. </view>
  64. <view class="button">
  65. <view @click="isShohw">取消</view>
  66. <view>确定</view>
  67. </view>
  68. </view>
  69. </view>
  70. </view>
  71. </uv-overlay>
  72. <tabber select="1" />
  73. </view>
  74. </template>
  75. <script>
  76. import tabber from '@/components/base/tabbar.vue'
  77. import mixinList from '@/mixins/list.js'
  78. export default {
  79. mixins : [mixinList],
  80. components: {
  81. tabber,
  82. },
  83. data() {
  84. return {
  85. tabs: [
  86. {
  87. name: '个人记工',
  88. },
  89. {
  90. name: '班组记工',
  91. },
  92. ],
  93. tabsSatus : [
  94. {
  95. name: '在建项目',
  96. },
  97. {
  98. name: '结束项目',
  99. },
  100. ],
  101. show: false,
  102. mixinsListApi : 'commonQueryStrartJobLists',
  103. apiType : '',
  104. }
  105. },
  106. computed: {
  107. },
  108. onReady() {
  109. },
  110. methods: {
  111. isShohw(){
  112. this.show = false
  113. },
  114. clickTabs({index}){
  115. this.apiType = index ? 's' : ''
  116. this.getData()
  117. },
  118. }
  119. }
  120. </script>
  121. <style scoped lang="scss">
  122. .page {
  123. .page-tag {
  124. font-weight: 600;
  125. }
  126. .page-picture {
  127. margin-top: 40rpx;
  128. display: flex;
  129. justify-content: space-around;
  130. .page-picture-img {
  131. width: 220rpx;
  132. height: 220rpx;
  133. display: flex;
  134. justify-content: center;
  135. align-items: center;
  136. background-color: #fff;
  137. border-radius: 10rpx;
  138. .page-picture-group {
  139. height: 80rpx;
  140. image {
  141. width: 100%;
  142. height: 100%;
  143. }
  144. }
  145. }
  146. }
  147. .warp {
  148. display: flex;
  149. justify-content: center;
  150. align-items: center;
  151. height: 100%;
  152. .rect {
  153. width: 90%;
  154. height: 700rpx;
  155. background-color: #fff;
  156. border-radius: 20rpx;
  157. overflow: hidden;
  158. .warp-top {
  159. text-align: center;
  160. font-size: 24rpx;
  161. padding: 15rpx 0;
  162. color: #FFFFFF;
  163. background-color: #3796F8;
  164. }
  165. .rect-two {
  166. width: 90%;
  167. margin-left: 5%;
  168. font-size: 28rpx;
  169. .designation {
  170. padding: 20rpx 0;
  171. color: #333;
  172. font-weight: 600;
  173. }
  174. }
  175. .wire {
  176. border-bottom: 4rpx dashed rgb(168, 197, 255);
  177. }
  178. .description {
  179. padding: 20rpx 0;
  180. color: #666666;
  181. }
  182. .rect-input {
  183. height: 60rpx;
  184. background-color: #EBF0FC;
  185. border: 2rpx solid #4280FD;
  186. border-radius: 14rpx;
  187. }
  188. .option {
  189. padding: 40rpx 40rpx 40rpx 0rpx;
  190. .select {
  191. background-color: #EBF0FC;
  192. padding: 10rpx 20rpx;
  193. color: #4280FD;
  194. border: 2rpx solid #4280FD;
  195. border-radius: 5rpx;
  196. }
  197. }
  198. .introduce {
  199. text-align: center;
  200. background-color: #EBF0FC;
  201. padding: 20rpx 0;
  202. color: #4280FD;
  203. }
  204. .button {
  205. display: flex;
  206. justify-content: space-around;
  207. text-align: center;
  208. align-content: center;
  209. margin-top: 70rpx;
  210. view:nth-child(1) {
  211. color: #575757;
  212. border: 2rpx solid #C7C7C7;
  213. }
  214. view:nth-child(2) {
  215. color: #FFFFFF;
  216. background-color: #3796F8;
  217. }
  218. view {
  219. width: 45%;
  220. padding: 15rpx 0;
  221. border-radius: 32rpx;
  222. font-size: 24rpx;
  223. }
  224. }
  225. }
  226. }
  227. }
  228. </style>