success.vue 6.4 KB

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