页面制作

main
123456 4 months ago
parent 754ae7795b
commit 6b64f5e76d
  1. 8
      manifest.json
  2. 6
      pages/user/site.vue
  3. 2
      unpackage/dist/dev/.sourcemap/mp-weixin/pages/user/site.js.map
  4. 6
      unpackage/dist/dev/mp-weixin/app.json
  5. 4
      unpackage/dist/dev/mp-weixin/pages/user/site.js
  6. 2
      unpackage/dist/dev/mp-weixin/pages/user/site.wxml
  7. 2
      unpackage/dist/dev/mp-weixin/project.config.json

@ -61,7 +61,7 @@
"quickapp" : {},
/* */
"mp-weixin" : {
"appid" : "wx15c8046399298d65",
"appid" : "wx7ec370283c1def60",
"setting" : {
"urlCheck" : false,
"es6" : true,
@ -69,11 +69,7 @@
"minified" : true
},
"usingComponents" : true,
"permission" : {
"scope.userLocation" : {
"desc" : "获取当前位置"
}
}
"permission" : {}
},
"mp-alipay" : {
"usingComponents" : true

@ -32,7 +32,7 @@
</view>
</view> -->
</view>
<view class="btn" @click="openPage(6)">退出登录</view>
<view class="btn" v-if="token" @click="openPage(6)">退出登录</view>
</view>
</template>
@ -40,11 +40,11 @@
export default {
data() {
return {
userInfo: {}
token: {}
};
},
onShow() {
this.userInfo = uni.getStorageSync("userInfo")
this.token = uni.getStorageSync("token")
},
methods: {
openPage(index){

File diff suppressed because one or more lines are too long

@ -65,10 +65,6 @@
}
]
},
"permission": {
"scope.userLocation": {
"desc": "获取当前位置"
}
},
"permission": {},
"usingComponents": {}
}

@ -185,11 +185,11 @@ var _asyncToGenerator2 = _interopRequireDefault(__webpack_require__(/*! @babel/r
var _default = {
data: function data() {
return {
userInfo: {}
token: {}
};
},
onShow: function onShow() {
this.userInfo = uni.getStorageSync("userInfo");
this.token = uni.getStorageSync("token");
},
methods: {
openPage: function openPage(index) {

@ -1 +1 @@
<view class="site data-v-10427d3c"><view class="site-bd data-v-10427d3c"><view data-event-opts="{{[['tap',[['openPage',[1]]]]]}}" class="item data-v-10427d3c" bindtap="__e"><view class="a data-v-10427d3c">个人信息</view><view class="b data-v-10427d3c"><image src="https://zhengxin.njrenzhou.cn/static/icon-arrow.png" class="data-v-10427d3c"></image></view></view><view data-event-opts="{{[['tap',[['openPage',[2]]]]]}}" class="item data-v-10427d3c" bindtap="__e"><view class="a data-v-10427d3c">关于我们</view><view class="b data-v-10427d3c"><image src="https://zhengxin.njrenzhou.cn/static/icon-arrow.png" class="data-v-10427d3c"></image></view></view><view data-event-opts="{{[['tap',[['openPage',[3]]]]]}}" class="item data-v-10427d3c" bindtap="__e"><view class="a data-v-10427d3c">资质证明</view><view class="b data-v-10427d3c"><image src="https://zhengxin.njrenzhou.cn/static/icon-arrow.png" class="data-v-10427d3c"></image></view></view><view data-event-opts="{{[['tap',[['openPage',[4]]]]]}}" class="item data-v-10427d3c" bindtap="__e"><view class="a data-v-10427d3c">协议规则</view><view class="b data-v-10427d3c"><image src="https://zhengxin.njrenzhou.cn/static/icon-arrow.png" class="data-v-10427d3c"></image></view></view></view><view data-event-opts="{{[['tap',[['openPage',[6]]]]]}}" class="btn data-v-10427d3c" bindtap="__e">退出登录</view></view>
<view class="site data-v-10427d3c"><view class="site-bd data-v-10427d3c"><view data-event-opts="{{[['tap',[['openPage',[1]]]]]}}" class="item data-v-10427d3c" bindtap="__e"><view class="a data-v-10427d3c">个人信息</view><view class="b data-v-10427d3c"><image src="https://zhengxin.njrenzhou.cn/static/icon-arrow.png" class="data-v-10427d3c"></image></view></view><view data-event-opts="{{[['tap',[['openPage',[2]]]]]}}" class="item data-v-10427d3c" bindtap="__e"><view class="a data-v-10427d3c">关于我们</view><view class="b data-v-10427d3c"><image src="https://zhengxin.njrenzhou.cn/static/icon-arrow.png" class="data-v-10427d3c"></image></view></view><view data-event-opts="{{[['tap',[['openPage',[3]]]]]}}" class="item data-v-10427d3c" bindtap="__e"><view class="a data-v-10427d3c">资质证明</view><view class="b data-v-10427d3c"><image src="https://zhengxin.njrenzhou.cn/static/icon-arrow.png" class="data-v-10427d3c"></image></view></view><view data-event-opts="{{[['tap',[['openPage',[4]]]]]}}" class="item data-v-10427d3c" bindtap="__e"><view class="a data-v-10427d3c">协议规则</view><view class="b data-v-10427d3c"><image src="https://zhengxin.njrenzhou.cn/static/icon-arrow.png" class="data-v-10427d3c"></image></view></view></view><block wx:if="{{token}}"><view data-event-opts="{{[['tap',[['openPage',[6]]]]]}}" class="btn data-v-10427d3c" bindtap="__e">退出登录</view></block></view>

@ -19,7 +19,7 @@
},
"compileType": "miniprogram",
"libVersion": "",
"appid": "wx15c8046399298d65",
"appid": "wx7ec370283c1def60",
"projectname": "zhengxin",
"condition": {
"search": {

Loading…
Cancel
Save