success.vue 6.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294
  1. <template>
  2. <view>
  3. <!-- 胶囊 -->
  4. <mvBar :mysNavConfig="mysNavConfig"></mvBar>
  5. <view class="home">
  6. <view class="card">
  7. <view class=""
  8. style="display: flex;justify-content:center;width: 80%;margin: 0 auto;margin-top: 20rpx;margin-bottom: 20rpx;align-items: center;">
  9. <image src="../../static/img/sucess.png" mode=""
  10. style="width: 150rpx;height: 150rpx;"></image>
  11. <view class="" style="font-size: 32rpx;margin-left: 30rpx;">
  12. <p>已报名成功</p>
  13. </view>
  14. </view>
  15. </view>
  16. <view class="card" style="margin-top: 6%;">
  17. <view class="" style="width: 90%;margin-top: 20rpx;margin-bottom: 20rpx;">
  18. <p class='ipon1' style='margin-top: 5rpx;'>1.任务确认结果可随时在<span
  19. style="color: deepskyblue;">我的任务</span>中查看 </p>
  20. <p class='ipon1'> 2.品牌同意合作后我们会再次与您确认合作意向和收货地址,请及时操作,否则资格可能会被取消~ </p>
  21. <p class='ipon1'>3.请<span style="color: deepskyblue;">订阅</span>我们的通知消息~以防止超时操作的情况~</p>
  22. <p class='ipon1'> 4.点击右上角添加小程序,能更快找到我们哦~</p>
  23. <!-- <view class="" style="width: 80%;background-color: #C9C9C9;border-radius: 10rpx;">
  24. <view class="Tasktext">
  25. <image src="https://horastar.obs.cn-east-3.myhuaweicloud.com/talent/task20.png" mode="">
  26. </image>
  27. <span>样叽</span>
  28. <image src="https://horastar.obs.cn-east-3.myhuaweicloud.com/talent/task16.png"
  29. style="width: 20rpx;margin-left: 2%; height: 26rpx;" mode=""></image>
  30. </view>
  31. <view class=""
  32. style="border-bottom: 2rpx solid #333333;width: 95%; margin: 0 auto; margin-top: 2%;margin-bottom: 2%;">
  33. </view>
  34. <view class=""
  35. style="display: flex;justify-content:space-around;margin-top: 5%;padding-bottom: 10rpx;">
  36. <view class="" style="margin: 0 auto;">
  37. <view class="iimmg" style="margin: 0 auto;">
  38. <image src="https://horastar.obs.cn-east-3.myhuaweicloud.com/talent/task22.png"
  39. mode=""></image>
  40. </view>
  41. <p class='ppan'>发送给朋友</p>
  42. </view>
  43. <view class="" style="margin: 0 auto;">
  44. <view class="iimmg" style="margin: 0 auto;">
  45. <image src="https://horastar.obs.cn-east-3.myhuaweicloud.com/talent/task23.png"
  46. mode=""></image>
  47. </view>
  48. <p class='ppan'>添加到我的小程序</p>
  49. </view>
  50. </view>
  51. </view> -->
  52. </view>
  53. </view>
  54. <view class="" style="width: 100%;height: 180rpx;"> </view>
  55. </view>
  56. <view class="signup">
  57. <view class="signuptext">
  58. <button type="default" class="but1" @click="dingyue()"> 订阅通知</button>
  59. </view>
  60. <view class="signupbut">
  61. <button type="default" class="but1" @click="toDetail()"> 查看任务</button>
  62. </view>
  63. </view>
  64. </view>
  65. </template>
  66. <script>
  67. import mvBar from "@/components/mys_navBar/mysNavBar";
  68. export default {
  69. components: {
  70. mvBar,
  71. },
  72. data() {
  73. return {
  74. times: 5,
  75. mysNavConfig: {
  76. /* 占位开启 */
  77. // navPadding: true,
  78. /* 背景 */
  79. // bgColor: "#f8f8f8",
  80. /* 开启单页显示首页图标 */
  81. isHome: true,
  82. /* 固定导航 */
  83. navFixed: true,
  84. /* 标题 (屏幕中心居中 两边图标中心居中使用slot center1) */
  85. navTitle: {
  86. text: "报名成功",
  87. color: "",
  88. fontSize: "32rpx", // px upx rpx
  89. fontWeight: "", // 100 - 700
  90. },
  91. btnType: "type2",
  92. onLeftClick: "/pages/tasksquare/tasksquare",
  93. /* type2 按钮 */
  94. type2Config: {
  95. // 左图标
  96. leftPath: "/static/img/png2.png",
  97. // 右图标
  98. rightPath: "/static/img/png4.png",
  99. // 圆角
  100. radius: "40rpx",
  101. },
  102. /* 定义右侧图标 */
  103. // rightIconPath: "/static/s.png",
  104. },
  105. };
  106. },
  107. async onLoad(options) {
  108. let data = options.textObj.replace(/""/g, "");
  109. data = JSON.parse(decodeURIComponent(data))
  110. this.taskId = data.task_id
  111. },
  112. methods: {
  113. // 进入任务列表页面
  114. toDetail() {
  115. uni.navigateTo({
  116. url: '/pages/workspace/taskdetail?taskId=' + this.taskId,
  117. });
  118. },
  119. dingyue() {
  120. uni.showToast({
  121. title: '订阅成功',
  122. duration: 2000
  123. });
  124. },
  125. }
  126. };
  127. </script>
  128. <style lang="scss" scoped>
  129. p{
  130. color: #a9a9a9;
  131. }
  132. .butto {
  133. text-align: center;
  134. }
  135. .option {
  136. padding: 20rpx;
  137. }
  138. .uni-margin-wrap {
  139. width: 690rpx;
  140. width: 100%;
  141. ;
  142. }
  143. .swiper {
  144. height: 300rpx;
  145. }
  146. .swiper-item {
  147. display: block;
  148. height: 300rpx;
  149. line-height: 300rpx;
  150. text-align: center;
  151. }
  152. .swiper-list {
  153. margin-top: 40rpx;
  154. margin-bottom: 0;
  155. }
  156. .uni-common-mt {
  157. margin-top: 60rpx;
  158. position: relative;
  159. }
  160. .info {
  161. position: absolute;
  162. right: 20rpx;
  163. }
  164. .uni-padding-wrap {
  165. width: 550rpx;
  166. padding: 0 100rpx;
  167. }
  168. .card {
  169. width: 100%;
  170. // padding: 24rpx;
  171. margin-top: 30rpx;
  172. border-radius: 10rpx;
  173. margin: 0 auto;
  174. display: flex;
  175. flex-direction: column;
  176. align-items: center;
  177. justify-content: center;
  178. }
  179. .ipon {
  180. color: #333333;
  181. font-size: 26rpx;
  182. font-weight: 500;
  183. margin-bottom: 10rpx;
  184. }
  185. .ipon1 {
  186. color: #333333;
  187. font-size: 32rpx;
  188. margin-bottom: 5%;
  189. }
  190. .signup {
  191. // box-shadow: 0rpx 5rpx 40rpx #ccc;
  192. width: 100%;
  193. position: fixed;
  194. bottom: 0rpx;
  195. display: flex;
  196. height: 90rpx;
  197. padding: 2% 0;
  198. background-color: #FFFFFF;
  199. justify-content: space-around;
  200. }
  201. .signuptext {
  202. text-align: center;
  203. margin-top: 2%;
  204. }
  205. .signuptext p {
  206. font-size: 60%;
  207. color: #333333;
  208. }
  209. .signupbut {
  210. text-align: center;
  211. margin-top: 2%;
  212. }
  213. .but1 {
  214. width: 120%;
  215. text-align: center;
  216. background-color: #f3d500;
  217. border-radius: 10rpx;
  218. color: #000;
  219. font-size: 28rpx;
  220. line-height: 200%;
  221. justify-content: center;
  222. font-weight: 500;
  223. height: 80%;
  224. }
  225. .Tasktext {
  226. // padding-top: 5%;
  227. padding: 6%;
  228. // height: 80rpx;
  229. margin-top: 2%;
  230. }
  231. .Tasktext span {
  232. color: #333333;
  233. font-size: 60%;
  234. font-weight: 550;
  235. text-indent: 2em;
  236. }
  237. .Tasktext image {
  238. vertical-align: middle;
  239. width: 50rpx;
  240. height: 50rpx;
  241. display: inline-block;
  242. padding-right: 14rpx;
  243. }
  244. .iimmg {
  245. width: 80rpx;
  246. height: 80rpx;
  247. background-color: #FFFFFF;
  248. border-radius: 15%;
  249. }
  250. .iimmg image {
  251. width: 60%;
  252. height: 60%;
  253. padding: 20%;
  254. }
  255. .ppan {
  256. font-size: 60%;
  257. margin-top: 1%;
  258. }
  259. </style>