Răsfoiți Sursa

修改问题

hejie 3 ani în urmă
părinte
comite
95c63e5d81

+ 6 - 3
src/pages/about/index.vue

@@ -24,9 +24,12 @@ import jyfParser from '@/components/jyf-parser/jyf-parser.vue'
 		},
 		methods:{
 			loadData(){
-				post("ShuZiTeaYW/shop/aboutUs").then(res => {
-				  if (res.status == 200) {
-				    this.content = res.data.content
+				let data = {
+					type:1
+				}
+				post("/my/article",data).then(res => {
+				  if (res.code == 0) {
+				    this.content = res.data.data.content
 					console.log(this.content)
 				    // this.BannerImg = res.list;
 				  }

+ 4 - 3
src/pages/accountDetails/integral.vue

@@ -43,11 +43,12 @@ export default {
                 { title: '收益', sauts: 1 },
                 { title: '支出', sauts: 2 }
             ],
-            list: []
+            list: [],
+            page:1
         };
     },
     onShow: function() {
-        page = 1
+        this.page = 1
         this.list = []
         this.loadData()
     },
@@ -60,7 +61,7 @@ export default {
                 limit: 10
             }
             uni.showLoading({ mask: true })
-            u_post("ShuZiTeaIntegral/integral/integralList", data).then(res => {
+            post("/my/integral", data).then(res => {
                 uni.hideLoading()
                 if (res.status == 200) {
                     let obj = res.dataList

+ 6 - 1
src/pages/cash/index.vue

@@ -69,9 +69,14 @@ export default {
   onLoad: function (e) {
     this.userinfo = uni.getStorageSync("userinfo");
     this.inputMoney = "";
-    // this.loadData();
+    this.getExolain();
   },
   methods: {
+    getExolain(){
+      post('/withdrawdesc').then(res => {
+        console.log(res,"qqqqqqqqqq");
+      })
+    },
     onSubForm() {
       let that = this;
       var priceTest = /^[0-9]+([.]{1}[0-9]{0,2}){0,1}$/;

+ 36 - 8
src/pages/course/index.vue

@@ -1,22 +1,50 @@
 <template>
-	<view>
-		
+	<view class="container">
+		<!-- 用户须知 -->
+		<jyf-parser :html="content" class="mar_t50"></jyf-parser>
+		<!-- 用户须知-end -->
+		<!-- <view  class="mar_t50" v-html="content"></view> -->
 	</view>
 </template>
 
 <script>
+let app=getApp();
+// let reqApi = new ReqApi();
+var appEv = app.$vm.$options;
+import { post } from "@/request/api.js";
+import jyfParser from '@/components/jyf-parser/jyf-parser.vue'
+// import { ReqApi } from "@/utils/reqTools.js";
 	export default {
 		data() {
 			return {
-				
+				content:''
+			};
+		},
+		onLoad(){
+			this.loadData()
+		},
+		methods:{
+			loadData(){
+				let data = {
+					type:3
+				}
+				post("/my/article",data).then(res => {
+				  if (res.code == 0) {
+				    this.content = res.data.data.content
+					console.log(this.content)
+				    // this.BannerImg = res.list;
+				  }
+				}); 
 			}
 		},
-		methods: {
-			
-		}
+		components:{
+					jyfParser
+		},
 	}
 </script>
 
-<style>
-
+<style lang="scss" scoped>
+// 用户须知
+.container{border-top: 20rpx solid #f5f5f5;padding: 0 20rpx;box-sizing: border-box;}
+// 用户须知-end
 </style>

+ 7 - 4
src/pages/notice/index.vue

@@ -24,13 +24,16 @@ import jyfParser from '@/components/jyf-parser/jyf-parser.vue'
 		},
 		methods:{
 			loadData(){
-				post("ShuZiTeaYW/shop/teaFriendNotice").then(res => {
-				  if (res.status == 200) {
-				    this.content = res.data.content
+				let data = {
+					type:2
+				}
+				post("/my/article",data).then(res => {
+				  if (res.code == 0) {
+				    this.content = res.data.data.content
 					console.log(this.content)
 				    // this.BannerImg = res.list;
 				  }
-				});
+				}); 
 			}
 		},
 		components:{