Bläddra i källkod

6-7 首次提交

徐浩岚 1 år sedan
förälder
incheckning
5fc9fe0e25
6 ändrade filer med 12 tillägg och 11 borttagningar
  1. 4 4
      manifest.json
  2. 2 2
      pages.json
  3. 4 4
      pages/index/index.vue
  4. 1 0
      pages/store/apply.vue
  5. BIN
      static/img/graduation.png
  6. 1 1
      store/index.js

+ 4 - 4
manifest.json

@@ -1,6 +1,6 @@
 {
     "name" : "永省购",
-    "appid" : "__UNI__082645B",
+    "appid" : "__UNI__CAC3A57",
     "description" : "",
     "versionName" : "1.0.0",
     "versionCode" : "100",
@@ -58,7 +58,7 @@
     "mp-weixin" : {
         /* 小程序特有相关 */
         "usingComponents" : true,
-        "appid" : "wx772958447aff07ff",
+        "appid" : "wxab837c74f1db2d90",
         "setting" : {
             "urlCheck" : true
         }
@@ -69,7 +69,7 @@
         }
     },
     "h5" : {
-        "title" : "鑫旺",
+        "title" : "A永省购",
         "domain" : "",
         "router" : {
             "base" : "/index/",
@@ -79,7 +79,7 @@
             "proxy" : {
                 "/api" : {
                     // "target" : "http://www.zjxwcm.cn/api",
-                    "target" : "http://ysg.liuniu946.com/api",
+                    "target" : "http://ysg2.liuniu946.com/api",
                     // "changeOrigin": true,
                     "pathRewrite" : {
                         "/api" : "" // rewrite path

+ 2 - 2
pages.json

@@ -566,8 +566,8 @@
 		}
 	],
 	"subPackages": [{
-		"root": "pagesA",
-		"pages": [
+		"root": "pagesA",//分包根目录
+		"pages": [//分包页面路径,相对于分包根目录
 		{
 			"path": "order/orderDl",
 			"style": {

+ 4 - 4
pages/index/index.vue

@@ -118,8 +118,8 @@
 					<view class="good-name clamp">加盟代理</view>
 					<!-- <view class="good-info clamp">纯植物无香精</view> -->
 					<view class="good-price">
-						<text class="new-price">5680起</text>
-						<text class="old-price">7550</text>
+						<text class="new-price">568起</text>
+						<text class="old-price">755</text>
 					</view>
 				</view>
 				<view class="good" v-for="item in dlVip"
@@ -459,8 +459,8 @@
 				path += 'spread=' + this.userInfo.uid;
 				let data = {
 					link: this.baseURL + path,
-					title: this.userInfo.nickname + '邀请您进入Xingwang永省购',
-					desc: '欢迎加入Xingwang永省购',
+					title: this.userInfo.nickname + '邀请您进入A永省购',
+					desc: '欢迎加入A永省购',
 					imgUrl: 'http://xw.liuniu946.com/static/img/logo.png'
 				};
 				console.log(data, '分享数据');

+ 1 - 0
pages/store/apply.vue

@@ -338,6 +338,7 @@
 				getVip({}).then(({
 					data
 				}) => {
+					console.log(data,'获取会员信息');
 					data.forEach((sj, index) => {
 						console.log(sj, '123456');
 						if (sj.explain == '村代') {

BIN
static/img/graduation.png


+ 1 - 1
store/index.js

@@ -7,7 +7,7 @@ Vue.use(Vuex)
 
 const store = new Vuex.Store({
 	state: {
-		baseURL:'https://ysg.liuniu946.com',//请求地址配置 
+		baseURL:'https://ysg2.liuniu946.com',//请求地址配置 
 		// baseURL:'',//请求地址配置 
 		urlFile:'/index',//项目部署所在文件夹
 		userInfo: {}, //登录信息