lockInfo.vue 6.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435
  1. <template>
  2. <view>
  3. <lockInfo ref="lockInfoRef"></lockInfo>
  4. </view>
  5. </template>
  6. <script>
  7. import componentLogin from '@/components/componentLogin.vue';
  8. import lockInfo from '@/pages/business/as-components/componentLockInfo.vue';
  9. import * as API from '@/apis/pagejs/pagesIndex.js'
  10. export default {
  11. components: {
  12. componentLogin,
  13. lockInfo
  14. //'u-collapse-item': () => import('@/uni_modules/uview-ui/components/u-collapse-item/u-collapse-item'),
  15. //'u-collapse': () => import('@/uni_modules/uview-ui/components/u-collapse/u-collapse'),
  16. },
  17. data() {
  18. return {
  19. }
  20. },
  21. onLoad(op) {
  22. this.isOnLoad=1
  23. if(op.q){
  24. var val =decodeURIComponent(op.q);
  25. if(val&&val.indexOf("?id=")>-1){
  26. val=val.split("?id=")[1]
  27. if(val.indexOf("&")>-1){
  28. val=val.split("&")[0]
  29. }
  30. this.id = val
  31. }
  32. }
  33. if(op.id){
  34. this.id=op.id
  35. }
  36. //this.lockInfoOnLoad()
  37. },
  38. onShow(){
  39. //
  40. },
  41. onReady() {
  42. this.$refs['lockInfoRef'].initRef(this.id,1)
  43. },
  44. onShareTimeline(){
  45. return {
  46. title: '智泊e家',
  47. }
  48. },
  49. onShareAppMessage(res) {
  50. return {
  51. title: '智泊e家',
  52. }
  53. },
  54. methods: {
  55. }
  56. }
  57. </script>
  58. <style>
  59. page{
  60. background-color:#F2F4F6;
  61. }
  62. </style>
  63. <style scoped lang="scss">
  64. .body {
  65. padding: 32rpx;
  66. }
  67. .gradient-header {
  68. height: 0px;
  69. }
  70. .jpback {
  71. height: 760rpx;
  72. background: linear-gradient(180deg, rgba(203, 234, 255, 1) 0%, rgba(203, 234, 255, 0) 100%);
  73. }
  74. .isReady_2{
  75. margin-top: 80rpx;
  76. .r2text{
  77. text-align: center;
  78. .r2text1{
  79. color: rgba(51,51,51,1);
  80. font-size: 40rpx;
  81. font-weight: bold;
  82. }
  83. .r2text2{
  84. font-weight: 400;
  85. color: rgba(51,51,51,1);
  86. font-size: 32rpx;
  87. }
  88. }
  89. }
  90. .page-top {
  91. padding: 40rpx;
  92. padding-top: 0rpx;
  93. display: flex;
  94. flex-direction: column;
  95. align-items: center;
  96. .name {
  97. width: 320rpx;
  98. height: 320rpx;
  99. display: flex;
  100. align-items: flex-end;
  101. .img {
  102. width: 320rpx;
  103. height: 320rpx;
  104. }
  105. .img2 {
  106. width: 320rpx;
  107. height: 140rpx;
  108. }
  109. }
  110. .value {
  111. //margin-top: 24rpx;
  112. font-size: 40rpx;
  113. font-weight: bold;
  114. color: #333333;
  115. }
  116. }
  117. .pagemanage{
  118. margin-top: 80rpx;
  119. margin-bottom: 80rpx;
  120. .mitem{
  121. width: 33%;
  122. display: flex;
  123. flex-direction: column;
  124. align-items: center;
  125. img{
  126. width: 48rpx;
  127. height: 48rpx;
  128. margin-bottom: 8rpx;
  129. }
  130. border-right: 1px solid rgba(187,187,187,0.43);
  131. }
  132. .end{
  133. border-right:0
  134. }
  135. }
  136. .page {
  137. border-radius: 16rpx;
  138. background-color: rgba(255, 255, 255, 1);
  139. color: rgba(16, 16, 16, 1);
  140. box-shadow: 0px 4px 8px 0px rgba(22,119,255,0.2);
  141. padding: 32rpx;
  142. margin-bottom: 32rpx;
  143. font-size: 32rpx;
  144. color: rgb(16, 16, 16);
  145. width: 100%;
  146. .page-border{
  147. border-bottom: 1px solid rgba(232,232,232,1);
  148. padding-bottom: 16rpx;
  149. }
  150. .page-main {
  151. display: flex;
  152. justify-content: space-between;
  153. align-items: center;
  154. .name {
  155. color: rgba(51, 51, 51, 1);
  156. font-size: 36rpx;
  157. display: flex;
  158. flex-direction: column;
  159. display: flex;
  160. .name-info{
  161. display: flex;
  162. .name-text{
  163. font-size: 36rpx;
  164. font-weight: bold;
  165. }
  166. }
  167. .code-info{
  168. font-size: 24rpx;
  169. color: rgba(119,119,119,1);
  170. }
  171. }
  172. .tags{
  173. display: flex;
  174. align-items: center;
  175. margin-left: 8rpx;
  176. .tag {
  177. font-size: 24rpx;
  178. border: 1px solid rgba(187, 187, 187, 1);
  179. border-radius: 4px;
  180. color: rgba(22,119,255,1);
  181. padding: 1px 8rpx;
  182. margin-left: 8rpx;
  183. }
  184. .typeN1{
  185. color:#1677FF ;
  186. border: 1px solid #1677FF ;
  187. }
  188. .typeN2{
  189. color:#8161FF;
  190. border: 1px solid #8161FF;
  191. }
  192. .status1{
  193. color:#00B962;
  194. border: 1px solid #00B962;
  195. }
  196. .status0{
  197. color:#A7A2A2;
  198. border: 1px solid #A7A2A2;
  199. }
  200. }
  201. .value1{
  202. display: flex;
  203. flex-direction: column;
  204. align-items: center;
  205. justify-content: space-between;
  206. .item1{
  207. .img{
  208. width: 48rpx;
  209. height: 48rpx;
  210. }
  211. display: flex;
  212. }
  213. .item2 {
  214. font-size: 24rpx;
  215. color: rgba(119,119,119,1);
  216. }
  217. }
  218. }
  219. .page-info{
  220. padding-top: 16rpx;
  221. font-size: 24rpx;
  222. color: #777777;
  223. display: flex;
  224. justify-content: space-between;
  225. .address{
  226. .name{
  227. color: rgba(119,119,119,1);
  228. font-size: 28rpx;
  229. }
  230. .text{
  231. color: rgba(51,51,51,1);
  232. font-size: 24rpx;
  233. }
  234. }
  235. .value2{
  236. display: flex;
  237. flex-direction: column;
  238. align-items: center;
  239. justify-content: space-between;
  240. .item1{
  241. .img{
  242. width: 32rpx;
  243. height: 32rpx;
  244. }
  245. display: flex;
  246. }
  247. .item2 {
  248. font-size: 24rpx;
  249. color: rgba(119,119,119,1);
  250. }
  251. }
  252. }
  253. .page-content {
  254. .step {
  255. margin-bottom: 16rpx;
  256. }
  257. .tip-title {
  258. color: #101010;
  259. font-size: 36rpx;
  260. font-weight: bold;
  261. margin-bottom: 24rpx;
  262. }
  263. .tip1 {
  264. .step {
  265. color: #101010
  266. }
  267. border-bottom: 1px solid rgba(241, 241, 241, 1);
  268. margin-bottom: 24rpx;
  269. padding-bottom: 8rpx;
  270. }
  271. .tip2 {
  272. .step {
  273. color: #333333
  274. }
  275. }
  276. }
  277. }
  278. .jpbutton {
  279. margin-top: 30rpx;
  280. margin-bottom: 30rpx;
  281. border-radius: 100rpx;
  282. width: 400rpx;
  283. height: 84rpx;
  284. color: #fff;
  285. padding: 8rpx;
  286. display: flex;
  287. align-items: center;
  288. justify-content: center;
  289. font-size: 36rpx;
  290. .img {
  291. margin-right: 8rpx;
  292. width: 36rpx;
  293. height: 32rpx;
  294. }
  295. }
  296. .jpbutton1 {
  297. background-color: #2979FF;
  298. .img {
  299. width: 32rpx;
  300. height: 32rpx;
  301. }
  302. }
  303. .jpbutton2 {
  304. background-color: #2979FF;
  305. .img {
  306. width: 40rpx;
  307. height: 40rpx;
  308. animation: spin 2s linear infinite;
  309. /* 添加无限旋转动画 */
  310. }
  311. /* 定义旋转动画 */
  312. @keyframes spin {
  313. from {
  314. transform: rotate(0deg);
  315. /* 起始角度 */
  316. }
  317. to {
  318. transform: rotate(360deg);
  319. /* 结束角度 */
  320. }
  321. }
  322. }
  323. .jpbutton3 {
  324. background-color: #00B962;
  325. }
  326. .jpbutton4 {
  327. background-color: #A7A2A2;
  328. }
  329. .jpbutton6 {
  330. background-color: #FF7B00;
  331. }
  332. .jpbutton5 {
  333. background-color: #1677FF;
  334. }
  335. .page-role {
  336. padding-top: 120rpx;
  337. display: flex;
  338. flex-direction: column;
  339. align-items: center;
  340. .img {
  341. width: 500rpx;
  342. height: 500rpx;
  343. }
  344. .text1 {
  345. color: rgba(51, 51, 51, 1);
  346. font-weight: bold;
  347. font-size: 48rpx;
  348. margin-bottom: 16rpx;
  349. }
  350. .text2 {
  351. color: rgba(51, 51, 51, 1);
  352. font-size: 36rpx;
  353. margin-bottom: 200rpx;
  354. }
  355. .botton {
  356. border-radius: 100rpx;
  357. width: 360rpx;
  358. text-align: center;
  359. border: 1px solid rgba(187, 187, 187, 1);
  360. color: rgba(22, 119, 255, 1);
  361. padding: 16rpx;
  362. }
  363. }
  364. </style>