移动端
Nevar pievienot vairāk kā 25 tēmas Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.
 
 

362 rindas
8.7 KiB

  1. <template>
  2. <div class="app-container">
  3. <div class="header_main">
  4. 种子扫描
  5. <div class="return_btn" @click="onClickLeft"></div>
  6. <div class="add_btn" @click="onClickLeft"></div>
  7. <div class="top_box">
  8. <div class="top_01">
  9. <img src="../../../../static/images/lawEnforcement/new/retrospect_icon_10.png">
  10. <p>码上放心</p>
  11. </div>
  12. <img src="../../../../static/images/lawEnforcement/new/retrospect_icon_18.png" class="retrospect_icon" @click="$router.push({name:'lawEnforcementScan'})">
  13. <p class="tt">产品溯源信息</p>
  14. <div class="top_02">
  15. <p><i></i>一物一码</p>
  16. <p><i></i>扫码验真</p>
  17. <p><i></i>拒绝假货</p>
  18. </div>
  19. </div>
  20. <div class="jg"></div>
  21. </div>
  22. <div class="main">
  23. <div class="main_box">
  24. <a style="font-size: 14px;display: block;width: 100%;text-align: center;">{{scanLink}}</a>
  25. </div>
  26. <div class="iframe-wrap">
  27. <iframe id="iframe" src="http://y.acexe.cn?q=10946481001086181062569234199632" class="iframe" width="100%" frameborder="0"></iframe>
  28. </div>
  29. <!-- <div class="main_box center_box" style="margin-top: 10px;">-->
  30. <!-- <img src="../../../../static/images/lawEnforcement/new/retrospect_icon_15.png" alt="">-->
  31. <!-- <p>该产品单元识别代码合规</p>-->
  32. <!-- <p>1534565635645126353535335656</p>-->
  33. <!-- </div>-->
  34. <!-- <div class="main_box" style="margin-top: 10px;">-->
  35. <!-- <van-cell :border="false">-->
  36. <!-- <template #title>-->
  37. <!-- <span class="custom-title">草甘膦铵盐</span>-->
  38. <!-- </template>-->
  39. <!-- </van-cell>-->
  40. <!-- <van-cell title="登记证号" :border="false" value="登记证号" />-->
  41. <!-- <van-cell title="有效成分" :border="false" value="有效成分" />-->
  42. <!-- <van-cell title="剂型" :border="false" value="剂型" />-->
  43. <!-- <van-cell title="总含量" :border="false" value="总含量" />-->
  44. <!-- <van-cell title="有效期至" :border="false" value="有效期至" />-->
  45. <!-- <van-cell title="登记持有人" :border="false" value="登记持有人" />-->
  46. <!-- </div>-->
  47. <!-- <div class="main_box" style="margin-top: 10px;">-->
  48. <!-- <van-cell title="防伪追溯网址" :border="false" value="防伪追溯网址" />-->
  49. <!-- <van-cell title="单元识别代码" :border="false" value="单元识别代码" />-->
  50. <!-- </div>-->
  51. </div>
  52. </div>
  53. </template>
  54. <script>
  55. import {getScheme, getSurveyByCaseId} from "@/api/lawEnforcement/index";
  56. import Cookies from "js-cookie";
  57. export default {
  58. name: "programmeDetail",
  59. data() {
  60. return {
  61. showBankType:false,
  62. showPayeeType:false,
  63. showPicker:false,
  64. form:{},
  65. bankType:'',
  66. payeeType:'',
  67. value:'',
  68. bankTypeOptions:[],
  69. payeeTypeOptions:[],
  70. tEnforceSchemeHandlerList:[],
  71. minDate: new Date(2020, 0, 1),
  72. maxDate: new Date(2025, 10, 1),
  73. currentDate: new Date(2021, 0, 17),
  74. activeNames: ['1'],
  75. activeNames1: ['1'],
  76. activeNames2: ['1'],
  77. scanLink:'',
  78. };
  79. },
  80. created() {
  81. // this.getDictionaries()
  82. console.log("aaaaaaaaaa")
  83. },
  84. methods: {
  85. getDictionaries(){
  86. getScheme(this.$route.query.id).then((response) => {
  87. this.form = response.data;
  88. });
  89. },
  90. },
  91. watch: {
  92. $route (to, from ) {
  93. // 监听路由变化, 实现类似 小程序的 onShow 事件
  94. console.log(to.path)
  95. if (to.path === '/lawEnforcement/retrospectDetail') {
  96. // do anything you want
  97. if (Cookies.get('scanLink')){
  98. this.scanLink = Cookies.get('scanLink');
  99. }
  100. }
  101. }
  102. },
  103. }
  104. </script>
  105. <style scoped lang="scss">
  106. .jg{
  107. height: 80px;
  108. }
  109. .app-container {
  110. height: 100vh;
  111. overflow: hidden;
  112. }
  113. .iframe-wrap{
  114. position: relative;
  115. overflow: hidden;
  116. width: 100%;
  117. height: calc(100vh - 269PX);
  118. background: #eee;
  119. }
  120. .iframe{
  121. width: calc(100% + 20PX);
  122. border: none;
  123. position: absolute;
  124. right: -20PX;
  125. top: 0;
  126. bottom: 0;
  127. overflow-x: hidden; overflow-y: scroll;
  128. height: 100%;
  129. }
  130. .retrospect_icon{
  131. position: absolute;
  132. top: 0;
  133. right: 0;
  134. }
  135. .top_box{
  136. line-height: 1;
  137. text-align: left;
  138. width: 85%;
  139. margin: 0 auto;
  140. padding-bottom: 10PX;
  141. background: url('../../../../static/images/lawEnforcement/new/retrospect_icon_14.png') no-repeat right bottom;
  142. position: relative;
  143. .top_01{
  144. display: flex;
  145. align-items: center;
  146. font-size: 0.4rem;
  147. margin-top: 15PX;
  148. img{
  149. margin-right: 10PX;
  150. }
  151. }
  152. .tt{
  153. font-size: 0.7rem;
  154. margin-top: 15PX;
  155. }
  156. .top_02{
  157. display: flex;
  158. align-items: center;
  159. font-size: 0.3rem;
  160. margin-top: 15PX;
  161. i{
  162. display: inline-block;
  163. width: 15PX;
  164. height: 15PX;
  165. margin-right: 3PX;
  166. }
  167. p{
  168. display: flex;
  169. align-items: center;
  170. margin-right: 10PX;
  171. &:nth-child(1){
  172. i{
  173. background: url('../../../../static/images/lawEnforcement/new/retrospect_icon_11.png') no-repeat center;
  174. background-size: auto 15PX;
  175. }
  176. }
  177. &:nth-child(2){
  178. i{
  179. background: url('../../../../static/images/lawEnforcement/new/retrospect_icon_12.png') no-repeat center;
  180. background-size: auto 15PX;
  181. }
  182. }
  183. &:nth-child(3){
  184. i{
  185. background: url('../../../../static/images/lawEnforcement/new/retrospect_icon_13.png') no-repeat center;
  186. background-size: auto 15PX;
  187. }
  188. }
  189. }
  190. }
  191. }
  192. .main{
  193. position: relative;
  194. top: -30PX;
  195. }
  196. .center_box{
  197. text-align: center;
  198. padding: 30PX 0!important;
  199. p{
  200. margin-top: 15PX;
  201. &:nth-child(2){
  202. font-size: 0.4rem;
  203. color: #59C145;
  204. }
  205. &:nth-child(3){
  206. font-size: 0.4rem;
  207. color: #B4B0B0;
  208. display: inline-block;
  209. background: url('../../../../static/images/lawEnforcement/new/retrospect_icon_16.png') no-repeat left center;
  210. padding-left: 20PX;
  211. }
  212. }
  213. }
  214. /deep/ .van-cell{
  215. padding-bottom: 0;
  216. padding-top: 0;
  217. margin-bottom: 10PX;
  218. &:last-child{
  219. margin-bottom: 0;
  220. }
  221. }
  222. .header_main{
  223. height: 225PX;
  224. background: url('../../../../static/images/lawEnforcement/new/header_bg.png') no-repeat;
  225. background-size: 100% 100%;
  226. /*position: fixed;*/
  227. top: 0;
  228. left: 0;
  229. width: 100%;
  230. font-size: 36px;
  231. line-height: 116px;
  232. text-align: center;
  233. color: #fff;
  234. z-index: 999;
  235. .return_btn{
  236. width: 24px;
  237. height: 43.2px;
  238. background: url('../../../assets/images/sunVillage_info/list_icon_5.png') center center no-repeat;
  239. background-size: 20px 36px;
  240. position: absolute;
  241. left: 38px;
  242. top: 36px;
  243. }
  244. .add_btn{
  245. width: 56.4px;
  246. height: 40.8px;
  247. background: url('../../../../static/images/lawEnforcement/new/retrospect_icon_17.png') center center no-repeat;
  248. background-size: 47px 34px;
  249. position: absolute;
  250. right: 38px;
  251. top: 36px;
  252. }
  253. }
  254. /deep/ .van-radio--horizontal{
  255. margin-left: 0.32rem;
  256. margin-right: 0;
  257. }
  258. .peopleList{
  259. padding-right: 3%;
  260. .van-row{
  261. margin-bottom: 10PX;
  262. .van-col{
  263. text-align: center;
  264. font-size: 14PX;
  265. }
  266. &:first-child{
  267. .van-col{
  268. color: #1D6FE9;
  269. }
  270. }
  271. }
  272. }
  273. .main_title{
  274. font-size: 0.4rem;
  275. color: #1D6FE9;
  276. margin: 0.2rem 6%;
  277. margin-top: 0;
  278. position: relative;
  279. }
  280. .main_box{
  281. width: 96%;
  282. height: 58PX;
  283. margin: 0 auto 15PX;
  284. border-radius: 10PX;
  285. box-shadow: 0px 3px 6px 0px rgba(0,0,0,0.16);
  286. overflow: hidden;
  287. background-color: #FFF;
  288. padding: 10PX 0;
  289. .van-icon{
  290. vertical-align: middle;
  291. }
  292. .custom-title{
  293. font-size: 17PX;
  294. color: #333333;
  295. vertical-align: middle;
  296. line-height: 1;
  297. position: relative;
  298. }
  299. .tap{
  300. color: #1D6FE9;
  301. }
  302. .bgBlue{
  303. display: block;
  304. position: absolute;
  305. width: 17PX;
  306. height: 17PX;
  307. border-radius: 50%;
  308. background-color: rgba(29,111,233,0.26);
  309. top: -2PX;
  310. right: -8PX;
  311. }
  312. }
  313. .submitButton{
  314. width: 45%;
  315. margin: 0 auto;
  316. background-image: linear-gradient(to right, #2E79E9 , #77A6EF);
  317. text-align: center;
  318. color: #ffffff;
  319. height: 70px;
  320. line-height: 70px;
  321. border-radius: 8PX;
  322. margin-top: 25PX;
  323. }
  324. .addFamily{
  325. position: absolute;
  326. top: -2px;
  327. right: 0;
  328. border-radius: 50%;
  329. }
  330. </style>